@font-face {
  font-family: "Poppins";
  font-weight: 200;
  src: local("Poppins"), url(../fonts/Poppins-ExtraLight.ttf) format("truetype");
}

@font-face {
  font-family: "Poppins";
  src: local("Poppins"), url(../fonts/Poppins-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-weight: 700;
  src: local("Poppins"), url(../fonts/Poppins-Bold.ttf) format("truetype");
}

:root {
  --main-yellow: #ffdb28;
  --dark-grey: #706f6f;
  --light-gray: #b2b2b2;
}

body {
  font-family: "Poppins", "sans-serif";
}

.content-container {
  width: min(95%, 1100px);
  margin: 0 auto;
}

.header-top {
  background-color: black;
}

.header-content {
  background-color: black;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 30px;
  color: white;
  max-width: 1400px;
  margin: 0 auto;
}

.header-content .title {
  margin-right: 20px;
  color: white;
}

.header-content .title div:first-of-type {
  font-size: 18px;
  font-variant: small-caps;
  margin-bottom: 5px;
  font-weight: 200;
}

.header-content .title div:nth-of-type(2) {
  font-size: 24px;
  font-weight: bold;
  line-height: 29px;
}

.header-content .hamburger {
  margin-top: 15px;
}

.header-content .phone,
.header-content .contact-link {
  display: none;
}

.header-menu-background {
  background-color: var(--main-yellow);
}

.header-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: var(--main-yellow);
  padding: 20px;
  box-sizing: content-box;
  width: 60%;
  max-width: 333px;
  transform: translateX(100%);
  transition: transform 0.2s, visibility 0s 1s;
  z-index: 10;
}

.header-menu.open {
  /* visibility: unset; */
  transform: translateX(0);
  transition: transform 0.2s linear;
}

.header-menu .menu-close {
  text-align: right;
  margin-top: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.header-menu a {
  display: block;
  text-decoration: none;
  color: black;
  padding: 10px;
  margin-bottom: 28px;
  border-bottom: 1px solid black;
  cursor: pointer;
}

.cover-background {
  background-color: var(--dark-grey);
}

.cover {
  background-color: var(--dark-grey);
  color: var(--main-yellow);
  text-align: center;
  padding: 30px 0;
  font-size: 28px;
  font-weight: bold;
  line-height: 42px;
  margin: 0 auto;
}

.cover h2:first-of-type {
  margin-bottom: 20px;
}

.welcome {
  padding: 0 1em;
}

.welcome a {
  color: var(--main-yellow);
}

.welcome p {
  margin-top: 30px;
  color: white;
  font-size: 20px;
  line-height: 42px;
  font-weight: normal;
}

.cover-img {
  height: 288px;
  background-image: url(../images/DZS_cover.png);
  background-position: right;
  background-size: 1100px;
  background-repeat: no-repeat;
}

/* .under-maintenece {
    background-color: var(--dark-grey);
    padding: 30px 0;
    text-align: center;
}

.under-maintenece p {
    font-size: 20px;
    line-height: 42px;
}

.under-maintenece p:first-of-type {
    color: white;
    margin-bottom: 30px;
}

.under-maintenece p:nth-of-type(2) {
    color: var(--main-yellow);
}

.under-maintenece .contact {
    font-size: 32px;
    margin: 30px 0;
    color: var(--main-yellow);
    font-weight: 900;
}

.under-maintenece .contact h2 {
    margin-bottom: 20px;
}

.under-maintenece .contact p {
    font-weight: normal;
    font-style: 18px;
}

.under-maintenece .contact h2:nth-of-type(2) {
    font-size: 22px;
} */

.section {
  padding: 70px 0;
}

.section-title {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  margin: 0 auto 40px;
  max-width: 90%;
  line-height: 30px;
}

.section-title.light {
  color: var(--main-yellow);
}

.section-subtitle {
  font-weight: 200;
  font-size: 18px;
  text-align: center;
  margin-top: -30px;
  margin-bottom: 40px;
}

.services .service-buttons {
  max-width: 850px;
  margin: 0 auto;
}

.services .service-button {
  background-color: var(--dark-grey);
  color: var(--main-yellow);
  font-size: 24px;
  max-width: 288px;
  margin: 0 auto 32px;
  padding: 20px 0 20px 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 3px;
  display: block;
}

.services .service-button span {
  position: relative;
  z-index: 1;
}

.services .service-button-img {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 106px;
  height: 106px;
}

.services .service-button-img.gas {
  top: -12px;
}

.recommendation {
  background-color: var(--dark-grey);
  clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
}

.recommendation .section-title {
  padding: 0 30px;
  line-height: 39px;
}

.recommendation-blocks {
  margin-bottom: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.recommendation-block {
  text-align: center;
  margin-bottom: 50px;
  max-width: 300px;
  flex: 1 0 auto;
}

.recommendation-block .block-icon {
  margin-bottom: 20px;
}

.recommendation-block p {
  color: white;
  font-size: 18px;
  line-height: 35px;
}

.recommendation .contact-line {
  display: block;
  text-decoration: none;
  text-align: center;
  color: var(--main-yellow);
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 20px;
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, 100px);
  grid-auto-rows: auto;
  gap: 20px;
  justify-content: center;
  justify-items: center;
}

.gallery-images a {
  text-decoration: none;
}

.gallery-images a img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

footer {
  background-color: var(--dark-grey);
  padding: 50px 0;
}

.footer-block {
  text-align: center;
  margin-bottom: 40px;
  color: white;
  font-size: 14px;
}

.footer-block a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  margin: 0 20px;
}

.footer-block .block-title {
  font-weight: bold;
  margin-bottom: 18px;
}

.footer-block .service-list,
.footer-block p {
  line-height: 28px;
}

footer .copyright,
footer .author {
  color: white;
  font-size: 14px;
  text-align: center;
  margin-bottom: 8px;
}

footer .author a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.service-title {
  margin-top: 50px;
  height: 96px;
  font-size: 30px;
}

.service-list {
  background-color: var(--dark-grey);
}

.service-list ul {
  text-align: center;
  line-height: 23px;
  color: white;
}

.service-list ul li:not(:last-of-type){
  margin-bottom: 50px;
  position: relative;
}

.service-list ul li:not(:last-of-type):not(.dont-separate)::after {
  position: absolute;
  content: "";
  bottom: -25px;
  left: 10%;
  width: 80%;
  height: 1px;
  background-color: var(--light-gray);
}

.service-list ul li span {
  font-weight: bold;
  color: var(--main-yellow);
}



@media (min-width: 470px) {
  .services .service-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .services .service-button {
    width: 200px;
    height: 200px;
    margin: 11px;
    padding: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
  }

  .services .service-button span {
    transition: all 0.1s linear;
  }

  .services .service-button:hover span {
    text-shadow: 0px 4px 10px rgb(0, 0, 0, 0.6);
    transform: translateY(-7px);
    transition: all 0.1s linear;
  }

  .services .service-button img {
    transition: all 0.1s linear;
  }

  .services .service-button:hover img {
    transform: scale(0.9);
    transition: all 0.1s linear;
  }

  .services .service-button-img {
    width: 90%;
    height: 90%;
    opacity: 0.5;
  }

  .recommendation-block {
    padding: 16px;
  }

  .gallery-images {
    grid-template-columns: repeat(auto-fit, 200px);
  }

  .gallery-images a img {
    width: 200px;
    height: 200px;
  }

}

@media (min-width: 768px) {
  .header-content .hamburger {
    display: none;
  }

  .header-menu {
    position: unset;
    height: unset;
    width: unset;
    max-width: unset;
    visibility: unset;
    transform: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: unset;
    transition: unset;
    max-width: 1400px;
    margin: 0 auto;
  }

  .header-menu .menu-close {
    display: none;
  }

  .header-menu a {
    flex: 1;
    margin-bottom: 0;
    border: unset;
    text-align: center;
    padding: 15px 0;
  }

  .header-menu a:hover {
    background-color: #e4c116;
  }

  .header-content {
    align-items: center;
  }

  .header-content .contact-link {
    display: block;
  }

  .header-content .contact-link a {
    text-decoration: none;
    background: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    color: black;
  }

  .cover {
    background-image: url(../images/DZS_cover2.png);
    background-position: 76%;
    background-size: cover;
    padding-top: 50px;
  }

  .cover .welcome {
    width: 50%;
  }

  .cover-img {
    display: none;
  }
}

@media (min-width: 1024px) {
  .cover {
    padding: 50px 0;
  }

  .cover .welcome {
    margin-left: 100px;
  }

  .welcome h2 {
    font-size: 37px;
    line-height: 50px;
  }

  .welcome p {
    width: 90%;
    margin: 30px auto 0;
    font-size: 22px;
  }

  .recommendation {
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
    padding-top: 100px;
  }

  .recommendation .contact-line,
  .section-title {
    font-size: 34px;
    line-height: 49px;
  }

  .section-subtitle {
    margin-bottom: 60px;
  }

  /* .under-maintenece {
        padding: 50px 0;
    } */

  .services .service-button {
    margin: 26px;
  }

  .footer-blocks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 50px;
  }

  .footer-block {
    text-align: left;
    max-width: 400px;
  }

  .footer-block .service-list {
    display: flex;
    flex-direction: column;
  }

  .footer-block a {
    margin: unset;
  }

  .service-title {
    font-size: 36px;
    height: 120px;
  }

  .service-list ul li {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .welcome {
    margin-left: 125px;
  }

  /* .under-maintenece {
        padding-top: 100px;
    } */
}

@media (min-width: 1440px) {
  .header-content {
    padding: 20px 0;
  }
}
