*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;

  font-family: 'Play', sans-serif;

  --dark-brown: #1E222A;
  --yellow: #f0932b;
  --wheat: #F9F9F9;
  --grey: #383838;
  --light-grey: #E2E2E2;
  --light-blue: #74b9ff;
  --green: #00b894;

  --red: #c23616;
}

body {
  width: 100%;
  overflow-x: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 1140px;
  margin: 0 auto;
  height: 100%;
  width: 100%;
}

.container-fluid {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.start {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--wheat);
  background-size: cover;
  background-repeat: no-repeat;
}

.start__header-first-row {
  display: grid;
  grid-template-columns: 1fr 4fr 2fr;
  justify-content: center;
  margin-bottom: 50px;
  padding-top: 10px;
}

.start__header-logo {
  width: 100px;
  margin-left: auto;
}

.start__header-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.start__header-info-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.start__header-info-row:not(:last-child) {
  margin-bottom: 20px;
}
.start__header-info-img {
  width: 27px;
}
.start__header-info-text {
  font-weight: 300;
  font-size: 20px;
  margin-left: 7px;
  text-decoration: none;
  color: var(--dark-brown);
}

.start__header-title {
  text-align: center;
  margin: auto;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

.start__header-title h1{
  font-weight: 900;
  display: inline-flex;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);

  font-size: 60px;

  color: var(--red);
}

.start__header-title h3 {
  margin-top: 5px;
  letter-spacing: 5px;
  font-weight: 100;
  font-size: 32px;
}

.start__header-tel {
  text-decoration: none;
  color: var(--dark-brown);
  font-size: 22px;
  text-align: right;
}

.start__overlay {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  padding-bottom: 70px;
}

.start__header {
  width: 100%;
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.start__header__row {
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /*border: 1px solid blue;*/
}

.start__show-menu {
  display: flex;
  background-color: transparent;
  padding: 5px;

  border-radius: 5px;
  border: 2px solid var(--wheat);
  cursor: pointer;
  transition: 0.2s all;
  display: none;
}

.hide-menu {
  display: none;
  background-color: transparent;
  padding: 5px;
  border-radius: 5px;
  font-size: 27px;
  font-weight: 900;
  color: var(--dark-brown);
  border: 2px solid var(--dark-brown);
  cursor: pointer;
  transition: 0.2s all;
}

.start__show-menu-image {
  width: 30px;
}

.start__show-menu:active {
  transform: scale(0.8);
}

.start__navigation {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 100% !important;
  /*border: 1px solid red;*/
}

.start__navigation-item {
  color: var(--dark-brown);
  text-transform: none;
  text-decoration: none;
  font-size: 20px;
  font-weight: 100;
  border: 2px solid var(--yellow);
  padding: 5px 20px;
  display: block;

  transition: 0.2s all;
  box-shadow: inset 0 0 0;
  border-radius: 3px;
}

.start__navigation-item:hover {
    box-shadow: inset 0 0 100px var(--yellow);
}

.start__navigation-item:active {
  background-color: var(--yellow);
  transform: scale(0.85);
}


.smooth-navigation {
  text-decoration: none;
}

.start__contacts {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.start__contacts-item {
  font-size: 20px;
  font-weight: 300;
  text-decoration: none;
  color: var(--wheat);

  padding: 5px 10px;
}


.start__block {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
  border-radius: 60px;
  overflow: hidden;
  margin-top: 33px;
}

.start__image {
  width: 100%;
  overflow: hidden;
  object-fit: contain;
}
.start__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);

  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 15px 25px;
}
.start__logo {
  width: 60px;
  margin-right: 30px;
}
.start__title {
  color: var(--wheat);
  font-weight: 100;
  font-size: 35px;
}

.button {
  border-radius: 4px;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 70px;
  font-size: 20px;
  cursor: pointer;
  transition: 0.4s all;
}

.start__gocontacts {
  border: 2px solid var(--yellow);
  color: var(--wheat);
  background-color: transparent;
  margin-top: 30px;
  box-shadow: inset 0 0 0;
}

.start__gocontacts:hover {
  box-shadow: inset 0 0 200px var(--yellow);
}

.start__gocontacts:active {
  transform: scale(0.9);
  background-color: var(--yellow);
}

.services {
  background-color: var(--wheat);
  padding: 45px 0;
}

.section-title {
  font-size: 40px;
  position: relative;
  text-align: center;
  margin: auto;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: 5px;
}

.section-title::before {
  content: "";
  display: inline-block;
  height: 10px;
  width: 10px;
  border-radius: 100%;
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-40%);
}

.section-title::after {
  content: "";
  display: inline-block;
  height: 10px;
  width: 10px;
  border-radius: 100%;
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-40%);
}

.services__title {
  color: var(--grey);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--yellow);
}

.services__title2 {
  margin-top: 60px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--yellow);
}

.services__title:nth-child(1)::before, .services__title:nth-child(1)::after {
  background-color: var(--yellow);
}

.services__title2::before, .services__title2::after {
  background-color: var(--yellow);
}

.services__description {
  margin: auto;
  text-align: center;
  max-width: 55%;
  font-size: 18px;
  font-weight: 100;
  color: var(--grey);
}

.services__grid {
  margin-top: 20px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}

.services__grid2 {
  margin-top: 20px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}



.service {
  background-color: var(--yellow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 0 7px rgba(0, 0, 0, .2);
}



.service__image {
  height: 130px;
  overflow: hidden;
  object-fit: cover;
}

.services__grid2 .service .service__image{
  max-width: 100%;
  height: auto;
  width: 100%;
}

.services__grid2 .service .service__title{
  max-width: 100%;
  height: auto;
  width: 100%;
}

.service__content {
  display: flex;
  flex-direction: column;
  padding: 10px 10px;
  padding-bottom: 15px;
}

.service__title {
  font-weight: 100;
  color: var(--wheat);
  font-size: 25px;
}

.services__grid2 .service {
  display: flex;
  justify-content: space-between;
  background-color: var(--yellow);
}

.services__grid2 .service .service__title{
  margin-top: auto;
  color: var(--wheat);
  font-weight: 100;
  font-size: 25px;
}

.service__gocontacts {
  border: 2px solid var(--yellow);
  color: var(--yellow);
  background-color: transparent;
  margin-top: 60px;
  transition: 0.3s all;
}

.service__gocontacts:hover {
  box-shadow: inset 0 0 200px var(--yellow);
  color: var(--dark-brown);
}

.service__gocontacts:active {
  transform: scale(0.9);
  background-color: var(--yellow);
}

.sales {
  width: 100%;
  background-color: #f7f1e3;
  padding-top: 40px;
  padding-bottom: 50px;
}

.new__title {
  color: var(--dark-brown);
}

.new__title::before, .new__title::after {
  background-color: var(--yellow);
}

.sales-grid {
  display: grid;
  margin-top: 20px;
  grid-gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.sale {
  border-radius: 5px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 200px;
}

.sale:first-child {
  background-image: url("./images/sale_old.jpg");
}

.sale:last-child {
  background-image: url("./images/sale_birthday.jpg");
}

.sale__content {
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 30px 10px;
  justify-content: space-between;
}

.sale__title {
  font-size: 30px;
  font-weight: 900;
  color: var(--wheat);
  text-align: center;
}

.sale__text {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 300;
  color: var(--wheat);
  text-align: center;
}

.certificates {
  width: 100%;
  background-color: #f7f1e3;
  padding-top: 50px;
  padding-bottom: 70px;
}

.certificates__title {
  color: var(--dark-brown);
}

.certificates__title::before, .certificates__title::after {
  background-color: var(--yellow);
}

.certificate {
  margin-top: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.certificate__image {
  height: 200px;
  object-fit: cover;
  border-radius: 3px;
  margin-right: 20px;
}

.certificate__text {
  font-weight: 100;
  font-size: 18px;
  color: var(--dark-brown);
  max-width: 66%;
}

.contacts {
  background-color: var(--wheat);
  padding-top: 50px;
  padding-bottom: 70px;
}

.contacts__title {
  color: var(--dark-brown);
}

.contacts__title::before, .contacts__title::after {
  background-color: var(--yellow);
}

.new__map-container {
  margin-top: 30px;
  background-color: var(--light-grey);
  padding: 0;
  margin-bottom: 50px;
}

.mapAndImage {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.mapAndImage img {
  height: 300px;
  object-fit: contain;
  margin-left: 20px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  margin: auto;
}

.map-frame {
  width: 100%;
  height: 300px;
}

.info__row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.info__row:not(:last-child) {
  margin-bottom: 20px;
}

.info__row-image {
  width: 27px;
  margin-right: 20px;
}

.info__row-text {
  font-weight: 100;
  font-size: 24px;
  font-style: italic;
  color: var(--dark-brown);
  text-decoration: none;
}


.footer {
  padding-top: 50px;
  padding-bottom: 60px;
  background-color: var(--dark-brown);
}

.footer__logo {
  width: 80px;
}

.footer__navigation {
  display: flex;
  margin-top: 30px;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.footer__navigation-item {
  color: var(--wheat);
  font-size: 18px;
  font-weight: 100;
  text-decoration: none;
  letter-spacing: 2px;

  display: block;

  padding: 2px 25px;
  border: 2px solid var(--yellow);
  border-radius: 5px;

  transition: 0.2s all;
}

.footer__navigation-item:hover {
  background-color: var(--yellow);
}

.footer__navigation-item:active {
  transform: scale(0.85);
}

.footer__navigation-item:not(:last-child) {
  margin-right: 30px;
}

.footer__social {
  margin-left: auto;
}

.footer__social-image {
  width: 30px;
  margin-right: 12px;
}

.footer__copyright {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
}
.footer__title {
  font-weight: 900;
  font-size: 20px;
  color: var(--wheat);
}
.footer__rights {
  margin-top: 7px;
  font-weight: 300;
  font-size: 13px;
  color: var(--wheat);
}

.footer__social {
  display: flex;
  text-decoration: none;
  align-items: center;
  font-size: 20px;
  color: var(--yellow);
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .start__header-first-row {
    grid-template-columns: 1fr 5fr 3fr;
  }

  .start__navigation-item {
    font-size: 14px;
    padding: 5px 10px;
  }

  .start__navigation-item:not(:first-child) {
    margin-left: 2px;
  }

  .start__contacts-item {
    font-size: 17px;
  }

  .start__title {
    font-size: 30px;
  }

  .start__header-title h1{
    font-size: 40px;
  }

  .start__header-title h3{
    font-size: 30px;
  }

  .start__header-info-text {
    font-size: 15px;
  }

  .start__header-info-img {
    width: 22px;
  }

  .start__block {
    border-radius: 30px;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .service__title {
    font-size: 20px !important;
  }

  .sales-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .sale__title {
    font-size: 20px;
  }

  .certificate__text {
    font-size: 15px;
  }

  .sale__text {
    font-size: 14px;
  }

  .info__row-text {
    font-size: 20px;
  }

  .info__row-image {
    width: 22px;
  }

  .footer__navigation-item {
    padding: 2px 20px;
    font-size: 15px;
  }

  .footer__social-image {
    margin-right: 6px;
    width: 20px;
  }

  .footer__social {
    align-items: center;
    display: flex;
    flex-direction: row;
    font-size: 15px;
  }

  .footer__navigation-item:not(:last-child) {
    margin-right: 15px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .section-title {
    font-size: 30px;
  }

  .start__header-first-row {
    grid-template-columns: 4fr 2fr;
    grid-gap: 20px;
  }

  .start__show-menu-image {
    width: 40px;
    margin-right: 10px;
  }

  .start__show-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background-color: white;
    padding: 5px 15px;
    border-radius: 10px;
    border: 2px solid var(--dark-brown);
  }


  .start__header-logo {
    display: none;
  }

  .start__block {
    border-radius: 5px 40px 5px 40px;
  }

  .start__title {
    font-size: 20px;
  }


  .start__navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    flex-direction: column;
    transform: translateX(-100%);
    opacity: 0;
    transition: 0.2s all;
    background-color: var(--wheat);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
    padding: 0 20px;
    z-index: 999;
  }

  .start__navigation-item {
    padding: 5px 0;
    font-size: 20px;
    width: 100%;
    margin: 0 auto !important;
    margin-top: 20px !important;
    border: 2px solid var(--yellow);
    border-radius: 7px;
    color: var(--dark-brown);

  }

  .hide-menu {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    padding: 0;
    width: 42px;
    border-radius: 5px;
    height: 45px;
    justify-content: center;
    align-items: center;
    margin-right: auto !important;
  }

  .opened {
    transform: translateX(0);
    z-index: 999;
    align-items: center;
    text-align: center;
    opacity: 1;
  }

  .start__contacts-item {
    font-size: 25px;
  }

  .start__header {
    padding: 10px 0;
  }

  .start__show-menu {
    display: flex;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
  }

  .sales-grid {
    grid-template-columns: 1fr 1fr;
  }

  .certificate {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .certificate__image {
    height: auto;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
  }

  .certificate__text {
    max-width: 95%;
    font-size: 17px;
    margin-top: 10px;
  }

  .mapAndImage {
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
    padding-top: 10px;
  }

  .mapAndImage img {
    margin: auto;
    margin-top: 20px;
    height: 200px;
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
  }

  .map-frame {
    height: 200px;
  }

  .footer__navigation-item {
    font-size: 15px;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: 0;
    min-width: 50%;
  }

  .footer__navigation {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__social {
    margin: 0;
    margin-top: 20px;
    font-size: 23px;
  }

  .footer__social-image {
    width: 25px;
  }

  .footer__navigation-item {
    border: 0;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    font-size: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--wheat);
    border-radius: 0;
  }

  .footer__navigation-item:hover {
    background-color: transparent;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 95%;
  }

  .start {
    min-height: auto;
  }

  .section-title {
    font-size: 30px;
  }

  .button {
    font-size: 22px;
    padding: 10px 0;
  }
  .start__block {
    border-radius: 3px 20px 3px 20px;
  }

  .services__description {
    max-width: 100%;
    font-size: 14px;
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
    grid-gap: 7px;
  }

  .services__grid2 {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
  }

  .sales-grid {
    grid-column-gap: 10px;
  }

  .sale__image {
    height: 120px;
  }

  .service__title {
    font-size: 14px;
  }

  .certificate__text {
    font-size: 14px;
    text-align: center;
  }

  .button {
    width: 95%;
    text-align: center;
  }

  .info__row {
    padding: 0 10px;
  }

  .info__row-image {
    width: 25px;
  }

  .info__row-text {
    font-size: 18px;
  }

  .start__contacts-item {
    font-size: 23px;
  }

  .map-frame {
    width: 100%;
    height: 200px;
  }

  .section-title {
    font-size: 22px;
    width: auto;
    margin-bottom: auto;
    letter-spacing: 2.5px;
  }


  .start__header-first-row {
    display: flex;
    flex-direction: column-reverse;
  }

  .start__header-info {
    text-align: center;
    margin: auto;
  }

  .start__header-title h1 {
    font-size: 34px;
  }

  .start__header-title h3 {
    font-size: 23px;
  }

  .start__header-info-text {
    font-size: 16px;
    margin-left: 20px;
  }

  .start__block {
    margin-top: 10px;
  }

  .services {
    padding-top: 35px;
  }

  .sales-grid {
    grid-template-columns: 1fr;
  }

  .sale {
    min-height: 175px;
  }
  .sale__content {
    padding: 15px 7px;
  }

  .certificates {
    padding-top: 15px;
  }

  .contacts {
    padding-top: 25px;
  }

  .start__header-logo {
    display: flex;
    order: 1;
    margin: 0 auto;
  }
}
