* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

.container {
  display: grid;
  grid-template-rows: 7rem auto 10rem;
  grid-template-columns: minmax(min-content,80%) 1fr;
   overflow: hidden;
}


.header {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  background: #343a40;
  display: grid;
  grid-template-columns: 1fr 15% 50% 15% 1fr;
}

.header__content {
  grid-column: 2/5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.header__button {
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
}

.footer {
  grid-column: 1 / -1;
  grid-row: 3 / 4;
  background: #343a40;
  display: grid;
  grid-template-columns: 1fr 15% 50% 15% 1fr;
}

.footer__content {
  grid-column: 2/5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 400;
}

.footer__right {
  height: 9rem;
}

.footer__contacts {
  list-style: none;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-around;
} 

.footer__social-media-icons-item {
  width: 2.5rem;
}

.footer__icons {
  width: 2.5rem;
  margin-right: 1rem;
}

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

.footer__icons_phone>a {
  text-decoration: none;
  color: #fff;
}

.footer__phones {
  width: 50rem;
  display: flex;
  align-items: center;
  margin-right: 3.5rem;
}

.footer__phones>* {
  margin-right: 2rem;
}

.footer__phones>a {
  color: #fff;
  text-decoration: none;
}

.footer__mail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__mail>a {
  text-decoration: none;
  color: #fff;
}

.footer__list-item>a {
  color: #fff;
  text-decoration: none;
}

.footer__list-item {
  display: flex;
  align-items: center;
}

.footer__left>a {
  color: #fff;
  text-decoration: none;
}

.main-block {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: 1fr 15% 50% 15% 1fr;
  grid-template-rows: 100vh 90vh;
}

.content-wrapper {
  grid-column: 1 / -1;
  grid-row: 1/2;
  display: grid;
  grid-template-columns: 1fr 50% 1fr;
  grid-template-rows: 70% 30%;
  /* height: 100vh; */
}

.content {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  background: rgba(0, 0, 0, .7);
  display: grid;
  grid-template-columns: 1fr 90% 1fr;
  grid-template-rows: 7rem 10rem 15rem;
  grid-gap: 4rem;
}

.content__title {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  font-size: 4rem;
  color: #fff;
  font-weight: 400;
}

.content__text {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  font-size: 2rem;
  color: #fff;
  font-weight: 400;
  line-height: 3rem;
}

.content__button-box {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding-top: 8rem;
}

.content__button {
  width: 45%;
  height: 9rem;
  text-decoration: none;
  color: #fff;
  border: 1px #fff solid;
  border-radius: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  padding: 2rem;
  text-align: center;
}

.content__button:hover {
  background-color: #99cc33;
  color: #fff;
  box-shadow: inset 0 0 0 3px #99cc33;
}

.content__button:not(:last-child) {
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.about {
  grid-row: 2/3;
  grid-column: 1 / 5;
  display: grid;
  grid-template-columns: 0fr auto 0fr;
  grid-template-rows: 20vh 60vh;
}

.about__title {
  grid-row: 2/4;
  font-size: 4rem;
  font-weight: 400;
  padding-left: 10%;
}

.about__title-block {
  width: 100%;
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__contacts {
  grid-row: 2/3;
  grid-column: 1/-1;
  display: grid;
}

.about__contact-block {
  display: flex;
  flex-direction: column;
  height: 70vh;
  justify-content: space-between;
  grid-column: 1/2;
}

.about__contact-block iframe {
  width: 100vw;
  height: 70vh;
}

.about__contacts-title {
  font-size: 3rem;
  font-weight: 400;
}


/* 1140 */
@media (max-width: 1199px) {
  .footer {
    grid-template-columns: 1fr 15% 60% 15% 1fr;
  }

  .header {
    grid-template-columns: 1fr 15% 60% 15% 1fr;
  }

  .main-block {
    grid-template-columns: 1fr 15% 60% 15% 1fr;
  }

  .about__contacts {
    grid-gap: 10%;
  }
}

@media (max-width: 991px){
  .footer__phones>* {
    margin-right: 1rem;
  }

  .footer__phones {
    margin-right: 0;
  }

  .content-wrapper {
    grid-template-columns: 1fr 60% 1fr;
  }

  .content {
    grid-template-rows: 7rem 12rem 15rem;
  }

  .content__button {
    font-size: 1.3rem;
    width: 45%;
    height: 7rem;
  }

  .content__button-box {
    padding-top: 4rem;
  }
}

@media (max-width: 767px) {
  .container {
    grid-template-rows: 6rem auto 20rem;
  }
  .header {
    grid-template-columns: 10% 80% 10% ;
  }
  .header__content {
    grid-column: 2/3;
  }
  .header__logo {
    width: 66%;
  }
  .header__button {
    font-size: 1.5rem;
  }
  .main-block {
    grid-template-rows: 120vh 100vh;
  }
  .content {
    grid-column: 1/-1;
    grid-row: 1/-1;
    grid-gap: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }
  .content-wrapper {
    grid-template-rows: auto;
  }
  .content__title {
    padding-left: 2rem;
    font-size: 4rem;
  }
  .content__text {
    padding-left: 2rem;
    font-size: 2rem;
  }
  .content__button-box {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .content__button {
    width: 80%;
    height: 20%;
    font-size: 1.8rem;
  }
  .about {
    grid-row: 2/3;
    grid-column: 1 / 5;
    display: grid;
    grid-template-columns: 0fr auto 0fr;
    grid-template-rows: 20vh 100vh;
  }
  
  .about__title {
    grid-row: 2/4;
    font-size: 4rem;
    font-weight: 400;
    padding-left: 10%;
  }
  
  .about__contacts {
    grid-row: 2/3;
    grid-column: 1/-1;
    display: grid;
  }
  
  .about__contact-block {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    grid-column: 1/2;
  }
  
  .about__contact-block iframe {
    width: 100vw;
    height: 100vh;
  }
  
  .about__contacts-title {
    font-size: 3rem;
    font-weight: 400;
  }  
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
  }
  .footer__content {
    flex-direction: column;
  }
  .footer__icons {
    display: none;
  }
  .footer__phones {
    flex-direction: column;
  }
  
  .footer__social-media-icons {
    display: flex;
    justify-content: space-evenly;
    width: 30%;
  }
  .footer__icons_phone {
    width: 28rem;
  }
  .footer__list-item {
    flex-direction: column;
    width: 100% ;
  }
  .footer__content {
    width: 100%;
    padding-top: 3rem;
  }
  .footer__right {
    width: 100%;
    margin-bottom: 2rem;
    height: 11rem;
  }
  .footer__phones {
    width: 100%;
    margin-bottom: 1rem;
  }
  .footer__list-item {
    margin-bottom: 2rem;
  }
  .footer__icons_phone {
    margin-bottom: 2rem;
    justify-content: space-between;
    width: 30rem;
  }
  .footer__social-media-icons {
    width: 45%
  }
}

@media (max-width: 376px) {
  .container {
    grid-template-rows: 6rem auto 20rem;
  }
  .header {
    grid-template-columns: 10% 80% 10% ;
  }
  .header__content {
    grid-column: 2/3;
  }
  .header__logo {
    width: 47%;
  }
  .header__button {
    font-size: 1.5rem;
  }
  .main-block {
    grid-template-rows: 120vh 100vh;
  }
  .content {
    grid-column: 1/-1;
    grid-row: 1/-1;
    grid-gap: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
  }
  .content-wrapper {
    grid-template-rows: auto;
  }
  .content__title {
    padding-left: 1rem;
    font-size: 2.6rem;
  }
  .content__text {
    padding-left: 1rem;
    font-size: 2rem;
  }
  .content__button-box {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .content__button {
    width: 80%;
    height: 20%;
    font-size: 1.8rem;
  }
  .about {
    grid-row: 2/3;
    grid-column: 1 / 5;
    display: grid;
    grid-template-columns: 0fr auto 0fr;
    grid-template-rows: 20vh 100vh;
  }
  
  .about__title {
    grid-row: 2/4;
    font-size: 3rem;
    font-weight: 400;
    padding-left: 10%;
  }
  
  .about__contacts {
    grid-row: 2/3;
    grid-column: 1/-1;
    display: grid;
  }
  
  .about__contact-block {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    grid-column: 1/2;
  }
  
  .about__contact-block iframe {
    width: 100vw;
    height: 100vh;
  }
  
  .about__contacts-title {
    font-size: 3rem;
    font-weight: 400;
  }
  
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
  }
  .footer__content {
    flex-direction: column;
  }
  .footer__icons {
    display: none;
  }
  .footer__phones {
    flex-direction: column;
  }
  
  .footer__social-media-icons {
    display: flex;
    justify-content: space-evenly;
    width: 30%;
  }
  .footer__icons_phone {
    width: 28rem;
  }
  .footer__list-item {
    flex-direction: column;
  }
  .footer__content {
    width: 100%;
    padding-top: 3rem;
  }
  .footer__right {
    width: 100%;
    margin-bottom: 2rem;
    height: 11rem;
  }
  .footer__phones {
    width: 100%;
    margin-bottom: 1rem;
  }
  .footer__list-item {
    margin-bottom: 2rem;
  }
  .footer__icons_phone {
    margin-bottom: 2rem;
    justify-content: space-between;
    width: 29rem;
  }
  .footer__social-media-icons {
    width: 40%
  }
}