@font-face {
  font-family: Silka Regular;
  src: url(./fonts/silka-regular-webfont.ttf);
}

@font-face {
  font-family: Silka Medium;
  src: url(./fonts/silka-medium-webfont.ttf);
}

@font-face {
  font-family: Silka Bold;
  src: url(./fonts/silka-bold-webfont.ttf);
}

@font-face {
  font-family: Silka Italic;
  src: url(./fonts/silka-mediumitalic-webfont.ttf);
}

@font-face {
  font-family: Silka Bold Italic;
  src: url(./fonts/silka-bolditalic-webfont.ttf);
}

:root {
  --mainColor: #a5b962;
  --firstColor: #000000;
  --secondColor: #ffffff;
  --regularFont: "Silka Regular";
  --italicFont: "Silka Italic";
  --mediumFont: "Silka Medium";
  --boldFont: "Silka Bold";
  --boldItalic: "Silka Bold Italic";
  --smallFont: 1rem;
  --xsSize: 1.4rem;
  --sSize: 1.6rem;
  --mSize: 1.8rem;
  --lSize: 2rem;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  font-size: 10px;
  font-family: var(--regularFont);
}

body {
  overflow-x: hidden;
}

body.lock {
  overflow: hidden;
}

body,
button,
h1,
h2,
h3,
h4,
h5,
li,
p,
ul {
  margin: 0;
}

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

a {
  text-decoration: none;
  color: var(--firstColor);
  cursor: pointer;
  display: block;
}

button {
  border: 0;
  padding: 0;
  cursor: pointer;
  background: none;
}

img {
  width: 100%;
}

:focus,
:hover,
input:active {
  outline: 0;
  outline-offset: 0;
}

iframe {
  height: 100% !important;
}

.wrapper {
  max-width: 124rem;
  margin: 0 auto;
}

.header {
  background-color: var(--mainColor);
  position: fixed;
  width: 100%;
  z-index: 10;
  padding: 0 1rem;
}

.header__container {
  height: 8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 124rem;
}

.header-menu__icon {
  display: none;
}

.header-menu {
  width: 40%;
  display: flex;
  justify-content: space-between;
  font-size: var(--lSize);
  font-family: var(--boldFont);
}

.header-menu__item {
  position: relative;
  text-decoration: none;
  margin: 0 var(--lSize) 0 0;
}

.header-menu__item:last-child {
  margin: 0;
}

.section {
  padding-top: 8rem;
}

.section-propos__title {
  padding-right: 10rem;
}

.section-propos__description {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 7rem 0;
  font-family: var(--mediumFont);
  padding: 8rem 0 0 0;
}

.section-propos__title {
  width: 48%;
}

.section-title {
  font-size: 10rem;
  line-height: 12rem;
  margin: 0 0 3rem 0;
  font-family: var(--italicFont);
  font-weight: normal;
}

.section-description {
  font-size: 2.4rem;
  line-height: 2.8rem;
  font-family: var(--regularFont);
  margin: 0 0 3rem 0;
}

.section-img__part {
  width: 48%;
}

.section-img {
  width: 100%;
}

.title-section {
  margin: 0 0 5rem 0;
}

.slider__btns {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.swiper-button-prev {
  color: var(--firstColor);
  left: -5rem;
  z-index: inherit;
}

.swiper-button-next {
  position: absolute;
  color: var(--firstColor);
  right: 5rem;
  margin-right: -10rem;
  z-index: inherit;
}

.swiper-container {
  z-index: 0;
  overflow: hidden !important;
}

.slider-item {
  background-color: #e6e6e6;
  padding: 1rem;
  margin-right: var(--lSize);
}

.slider-item > img {
  width: 100%;
  display: block;
  margin: 0 auto;
  margin-bottom: var(--lSize);
}

.slider-item__likes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 1rem 0;
}

.likes__container {
  display: flex;
  align-items: center;
}

.slider-tag,
.slider-likes {
  font-size: var(--sSize);
  line-height: 1.9rem;
  font-weight: bold;
}

.slider-likes {
  margin: 0 1rem 0 0;
}

.slider-description {
  font-size: 1.5rem;
  line-height: var(--mSize);
}

.contacts {
  display: flex;
  margin: 0 0 8rem 0;
}

.map {
  width: 60%;
  height: 40rem;
}

.contact-list {
  margin: 4rem 12rem;
}

.contact-list__item {
  font-size: 2.4rem;
  line-height: 2.9rem;
  margin: 0 0 4.5rem 3rem;
  position: relative;
  font-weight: bold;
}

.contact-list__item::before {
  position: absolute;
  left: -5rem;
  top: 0.4rem;
}

.contact-list__phone::before {
  content: url(./img/phone.svg);
}

.contact-list__email::before {
  content: url(./img/email.svg);
}

.contact-list__instagram::before {
  content: url(./img/instagram.svg);
}

.contact-list__social::before {
  content: url(./img/social.svg);
}

.footer {
  height: 20rem;
  background-color: var(--firstColor);
  color: var(--secondColor);
  font-size: var(--xsSize);
  letter-spacing: 2px;
}

.footer__container {
  height: 20rem;
  position: relative;
}

.footer-wrapper {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;

}

.footer-title {
  position: absolute;
  top: 1rem;
  left: 0;
}

.footer-img {
  width: 9rem;
  height: 9rem;
}

.footer-copyright {
  font-size: 2.4rem;
  line-height: 3rem;
  letter-spacing: 1px;
}

@media (min-width: 768px) {
  .header-menu {
    width: 60%;
  }

  .header-menu__item:after,
  .active-link:before {
    display: block;
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background-color: var(--firstColor);
    content: "";
    transition: width 0.3s ease-out;
  }

  .header-menu__item:hover:after,
  .header-menu__item:focus:after,
  .active-link:before {
    width: 100%;
  }

  .section-description__last {
    margin: 0;
  }

  .footer {
    padding: 0 2rem;
  }

  .footer-title {
    top: 3rem;
  }

  .footer-img {
    margin-right: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .wrapper,
  .header__container {
    max-width: 70rem;
  }

  .section-title {
    font-size: 6rem;
    margin: 0;
  }

  .section-description {
    font-size: 1.6rem;
    line-height: 2rem;
  }

  .section-propos {
    padding-top: 10rem !important;
  }

  .section-propos__description {
    padding-top: var(--lSize);
    margin: 0;
  }

  .section-propos__title {
    padding: 0;
  }

  .swiper-container {
    width: 80%;
    margin: 0 auto !important;
  }

  .swiper-button-prev {
    left: 0;
  }

  .swiper-button-next {
    right: 100px;
  }

  .contacts {
    align-items: center;
    justify-content: space-around;
  }

  .map {
    width: 50%;
    height: 30rem;
  }

  .contact-list {
    margin: 0 0 0 6rem;
  }

  .contact-list__item {
    font-size: var(--sSize);
    margin-bottom: 3rem;
  }

  .footer-img {
    height: 7rem;
    width: 7rem;
  }
}

@media (min-width: 1024px) {
  .slider__btns {
    margin-bottom: 7rem;
  }

  .footer__container {
    max-width: 90rem;
  }
  
  .footer-img {
    margin-right: 3rem;
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .wrapper,
  .header__container {
    max-width: 90rem;
  }

  .section-title {
    font-size: 7rem;
  }

  .slider-description {
    font-size: 1.2rem;
  }

  .contact-list__item {
    font-size: var(--sSize);
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .section-propos__description {
    padding-top: 6rem;
  }

  .section-propos__title {
    padding: 0;
  }

  .section-description {
    font-size: var(--lSize);
  }

  .contacts {
    align-items: center;
  }

   .contact-list {
     margin-top: 0;
     margin-bottom: 0;
   }

   .contact-list__item {
     margin-bottom: 3rem;
   }

   .map {
     height: 35rem;
   }

  .footer {
    font-size: var(--smallFont);
  }

  .footer-wrapper {
    margin-top: 2rem;
  }

  .footer-copyright {
    font-size: var(--lSize);
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .wrapper,
  .header__container {
    max-width: 100rem;
  }

  .section-title {
    font-size: 8rem;
  }

  .map {
    height: 40rem;
  }

  .contact-list {
    margin-top: 2rem;
    margin-bottom: 0;
  }

  .contact-list__item {
    font-size: var(--sSize);
  }
}

@media (min-width: 320px) and (max-width: 374px) {
  .wrapper {
    max-width: 26rem;
  }

  .header-menu__icon span,
  .header-menu__icon::before,
  .header-menu__icon::after {
    position: absolute;
    left: 0;
    height: 11%;
    width: 100%;
    transition: all 0.3s ease 0s;
    background-color: var(--firstColor);
  }

  .footer-img {
    height: 4rem;
    width: 4rem;
  }
}

@media (min-width: 375px) and (max-width: 767px) {
  .wrapper {
    max-width: 30rem;
  }

  .header-menu__icon span,
  .header-menu__icon::before,
  .header-menu__icon::after {
    position: absolute;
    left: 0;
    height: 15%;
    width: 100%;
    transition: all 0.3s ease 0s;
    background-color: var(--firstColor);
  }

  .footer-img {
    height: 5rem;
    width: 5rem;
  }
}

@media (min-width: 320px) and (max-width: 767px) {
  .timer-burger {
    transition: 0s;
  }

  .header__container {
    height: 5rem;
  }

  .header-logo__container {
    z-index: 5;
  }

  .header-logo__img {
    height: 3.5rem;
  }

  .header-menu__icon {
    display: block;
    z-index: 5;
    position: relative;
    width: 3rem;
    height: var(--sSize);
    cursor: pointer;
  }

  .header-menu__icon::before,
  .header-menu__icon::after {
    content: "";
  }

  .header-menu__icon span {
    top: 50%;
    transform: scale(1) translate(0px, -50%);
  }

  .header-menu__icon.show span {
     transform: scale(0) translate(0px, -50%);
   }

  .header-menu__icon::before {
    top: 0;
  }

  .header-menu__icon.show::before {
    top: 50%;
    transform: rotate(-45deg) translate(0px, -50%);
  }

  .header-menu__icon::after {
    bottom: 0;
  }

  .header-menu__icon.show::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0px, 50%);
  }

  .header-menu {
    font-size: var(--smallFont);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: -100%;
    background-color: var(--mainColor);
    padding: 10rem 3rem;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    overflow: auto;
    transition: left 0.3s ease 0s;
  }

  .header-menu::before {
    content: "";
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 5rem;
    z-index: 2;
    box-shadow: 2px 2px 2px 1px rgba(0,0,0, 0.3); 
  }

  .header-menu.show {
    left: 0;
  }

  .header-menu__item > a {
    color: var(--firstColor);
    font-size: 3rem;
  }

  .header-menu__item {
    margin: 0 1rem 0 0;
  }

  .section-propos {
    padding-top: 6rem !important;
  }

  .section-title {
    font-size: 3rem;
    line-height: 5rem;
    padding-top: var(--lSize);
    margin: 0 0 2rem 0;
    font-weight: bold;
  }

  .section-description {
    font-size: var(--sSize);
    line-height: 2.2rem;
    font-family: var(--regularFont);
  }

  .section-propos__title {
    width: 100%;
  }

  .section-propos__description {
    padding-top: 0;
    margin: 0;
    flex-direction: column;
  }

  .section-propos__title {
    padding: 0;
  }

  .section-img__part {
    width: 100%;
    /* margin-bottom: 3rem; */
  }

  .section {
    padding-top: 3rem;
  }

  .swiper-container {
    width: 65%;
    height: auto;
    margin: 0 auto;
  }

  .slider-item {
    margin-right: 0;
  }

  .swiper-button-prev {
    left: 0;
  }

  .swiper-button-next {
    right: 100px;
  }

  .contacts {
    flex-direction: column;
    margin: 0 0 3rem 0;
  }

  .map {
    width: 100%;
    height: 30rem;
    order: 1;
  }

  .contact-list {
    margin: 1rem 0 3rem 5rem;
  }

  .contact-list__item {
    font-size: 1.2rem;
    line-height: var(--mSize);
    margin: 0 0 var(--lSize) 0;
  }

  .contact-list__item::before {
    top: -0.2rem;
  }

  .footer {
    height: 10rem;
    font-size: var(--smallFont);
    letter-spacing: 0;
    padding: 0 1rem;
  }

  .footer__container {
    height: 10rem;
    max-width: 40rem;
  }

  .footer-wrapper {
    margin-top: 1rem;
  }

  .footer-img {
    margin-right: 0.5rem;
  }

  .footer-copyright {
    font-size: var(--smallFont);
    line-height: var(--mSize);
  }
}
