/* Options */
body {
  background-color: #fff;
  font-family: 'Gotham Pro';
  font-weight: normal;
  color: #292929;
}


a {
  text-decoration: none;
  color: #000;
  margin: 0;
  padding: 0;
}

ul,li {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,h2,h3,h4,h5,h6 {
  padding: 0;
  margin: 0;
}

/* Styles Project */
.container {
  max-width: 940px;
  padding: 0 15px;
  margin: 0 auto;
}

/* Button */
.button {
  display: inline-block;
  background-color: #FFD200;
  transition: background 0.25s;
}
.button:hover {
  background-color: #FFD700;
}

/* Header */
.top-header  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}
.top-callback {
  display: inline-flex;
  align-items: center;
}
.top-callback .phone-number {
  font-size: 18px;
  font-weight: bold;
  color: #292929;
  text-align: right;
}
.phone-number span {
  font-size: 11px;
  color: #969696;
  font-weight: normal;
}

.button-reverse {
  font-size: 12px;
  background-color: transparent;
  border: 2px solid #292929;
  padding: 15px 25px;
  margin-left: 30px;
  transition: background 0.25s;
}
.button-reverse:hover {
  background-color: #FFD700;
}

/* Navigation */
.top-nav {
  display: inline-block;
  margin-top: 30px;
  background-color: #FFCC00;
  padding: 0px 20px;
  z-index: 10;
}
.top-nav li {
  display: inline-flex;
}
.top-nav li a {
  font-size: 14px;
  padding: 22px 40px;
  font-weight: 500;
  transition: background 0.25s;
}
.top-nav li a:hover {
  background-color: #FFD700;
}
/* Banner */
.top-banner {
  height: 550px;
  background-image: url('../img/banner.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  margin-top: -30px;
  z-index: 1;
}
.bunner-content {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  color: #fff;
  padding-top: 162px;
}
.bunner-content .h1 {
  font-size: 36px
}
.bunner-content span {
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  margin-top: 35px;
}
.banner-links {
  margin-top: 84px;
}
.banner-links .button {
  font-size: 12px;
  padding: 18px 29px;
  font-weight: 500;
  margin-right: 30px;
}
.banner-links .banner-catalog-link {
  font-size: 12px;
  font-weight: 500;
  text-decoration: underline;
  color: #fff;
  margin-left: 30px;
}


/* Always in stock section */
.always-in-stock {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 75px;
  margin-bottom: 80px;
}
.always-in-stock .h4 {
  font-size: 20px;
  text-transform: uppercase;
}
.tabs-container {
  display: flex;
  flex-direction: row;
}
.tab-template {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  border: 2px solid #F6F6F6;
  padding: 0px 20px;
  margin-top: 60px;
}
.tab-template:nth-child(2) {
  margin-left: 20px;
  margin-right: 20px;
}
.tab-template .tab-img {
  margin-top: 40px;
}
.tab-template .tab-title{
  font-style: 15px;
  font-weight: 500;
  text-decoration: underline;
  margin-top: 40px;
}
.tab-template .tab-description {
  font-size: 13px;
  font-weight: 300;
  color: #626262;
  line-height: 1.3;
  margin-top: 17px;
}
.tab-template .price {
  font-weight: 500;
  margin-top: 15px;
}
.tab-template .tab-btn .button {
  font-size: 12px;
  font-weight: 500;
  padding: 18px 55px;
  margin-top: 32px;
  margin-bottom: 36px;
}
.tab-template .tab-btn .button:hover {
  text-decoration: underline;
}

/* Our advantages section */
.our-advantages {
  background-color: #F4F4F4;
}
.our-advantages-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-top: 75px;
  padding-bottom: 80px;
}
.our-advantages-content {
  font-size: 20px
}
.our-advantages-block-container {
  display: flex;
  flex-direction: row;
  margin-top: 60px;
}
.our-advantages-block {
  max-width: 300px;
  height: 249px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border: 2px solid #fff;
  padding-right: 21px;
  padding-left: 21px;
  transition: all 0.5s;
  cursor: pointer;
}
.our-advantages-block:nth-child(2) {
  margin-right: 20px;
  margin-left: 20px;
}
.our-advantages-block:hover {
  background-color: #fff;
  box-shadow: 0px 9px 21px rgba(0, 0, 0, 0.1); 
}
.our-advantages-block .tab-img {
  margin-top: 40px;
}
.our-advantages-block .tab-title {
  margin-top: 40px;
  font-weight: 500;
  font-size: 15px;
}
.our-advantages-block .tab-description {
  font-size: 12px;
  font-weight: 300;
  margin-top: 16px;
  margin-bottom: 26px;
}

/* Popular goods section  */
.popular-goods {
  display: flex;
  text-align: center;
  flex-direction: column;
  margin-top: 75px;
  margin-bottom: 80px;
}
.popular-goods .h4 {
  font-size: 20px;
  text-transform: uppercase;
}
.popular-goods .tabs-container .tab-template {
  margin-top: 56px;
  padding-right: 16px;
  padding-left: 16px;
}
.popular-goods .tabs-container .tab-template:nth-child(3) {
  margin-right: 20px;
}
.popular-goods .tabs-container .tab-template .tab-img {
  position: relative;
  margin-top: 20px;
}
.popular-goods .tabs-container .tab-template .tab-img span {
  position: absolute;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 6px 8px;
  color: #fff;
  background-color: #FF0000;
  margin: 10px;
  left: 0;
  top: 0;
}
.popular-goods .tabs-container .tab-template .tab-title {
  font-size: 13px;
  margin-top: 20px;
}
.popular-goods .tabs-container .tab-template .price{
  margin-top: 20px;
}
.popular-goods .tabs-container .tab-template .price-red {
  margin-top: 20px;
  color: #FF0000;
}
.popular-goods .tabs-container .tab-template .price-red .discount-price {
  font-size: 10px;
  color: #979797;
  text-decoration: line-through;
  padding-right: 15px;
}
.popular-goods .tabs-container .tab-template .button {
  padding: 18px 71px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Rent section */
.rent {
  background-color: #F4F4F4;
}
.rent-content {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-top: 75px;
  padding-bottom: 80px;
}
.rent-content .h4 {
  font-size: 20px;
  text-transform: uppercase;
}
.rent-content .our-advantages-block {
  max-width: 300px;
  min-width: 296px;
  height: 249px;
  padding-right: 0;
  padding-left: 0;
}
.rent-content .our-advantages-block .tab-img {
  margin-top: 50px;
}
.rent-content .our-advantages-block .tab-title {
  text-decoration: underline;
  margin-bottom: 40px;
}

/* Footer */
.top-footer {
  height: 520px;
  background-image: url('../img/footer-map.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
}
.footer-content {
  display: flex;
  justify-content: flex-end;
}
.contact-block {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  margin-top: 80px;
  padding: 60px 50px 70px 60px;
}
.contact-block .h4 {
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 45px;
}
.contact-block img {
  margin-right: 17px;
}
.contact-block span {
  display: inline-flex;
  font-size: 14px;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
}
.contact-block .location {
  margin-top: 64px;
}
.contact-block .mail {
  margin-top: 37px;
}
.contact-block .mail span {
  text-decoration: underline;
}

/* Footer bottom */
.footer-bottom {
  background-color: #292929;
  color: #fff;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 43px;
}
.logo-footer, .footer-number {
  display: flex;
  flex-direction: column;
}
.logo-footer span {
  font-size: 12px;
  margin-top: 53px;
}
.footer-number a{
  font-size: 12px;
  color: #fff;
  margin-top: 40px;
  text-align: center;
}
.footer-number .phone-number, .footer-number span {
  color: #fff;
  text-align: right;
}


/* VIEWPORT */

@media (max-width: 767.98px) {
  .top-header {
    flex-direction: column;
  }
  .top-callback {
    margin-top: 40px;
  }
  .top-callback .phone-number {
    font-size: 13px;
    font-weight: bold;
    color: #292929;
    text-align: right;
  }
  .button-reverse {
    font-size: 12px;
    padding: 10px 15px;
    margin-left: 40px;
    transition: background 0.25s;
  }
}

@media (max-width: 991.98px) {
  .bunner-content {
    align-items: center;
    text-align: center;
  }
  .top-nav {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
  }
  .top-nav li {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .top-nav li a {
    padding: 20px 40px;
  }
  .tabs-container {
    flex-direction: column;
    align-items: center;
  }
  .tab-template {
    justify-content: center;
    margin-right: 0;
    margin-left: 0;
  }
  .popular-goods .tabs-container .tab-template:nth-child(3) {
    margin-right: 0px;
  }
  .our-advantages-block-container {
    flex-direction: column;
    align-items: center;
  }
  .our-advantages-block {
    margin-top: 20px;
  }
  .footer-content {
    display: flex;
    justify-content: center;
  }
  .footer-bottom-content {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
  }
  .footer-number .phone-number, .footer-number span {
    text-align: center;
  }
  .logo-footer {
    margin-top: 40px;
  }
}



