* {
  padding: 0;
  margin: 0;
  font-family: "Questrial", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 100;
  line-height: 1.3;
  font-size: 1em;

  box-sizing: border-box;
}

body {
  background-color: var(--secondary-color);
}

:root {
  --primary-color: #181f08;
  --secondary-color: #f9f8f3;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: var(--secondary-color);
  padding: 1em 0em;
}

a {
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: var(--secondary-color);
  cursor: pointer;
  transition: all 0.3s;
}

a:hover {
  opacity: 0.7;
}

header {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  min-height: 100vh;
  padding: 0em 4em;
  background-image: url("photos/linie.svg");
  background-repeat: no-repeat;
  background-position: center bottom -2rem;
  background-size: 100%;
  position: relative;
}

.nav__flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
}

.header__main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  gap: 1em;
  padding: 7rem 0 4rem 0;
}
.header__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  height: 100%;
  max-width: 50%;
  gap: 1em;
}
h1 {
  font-size: 3em;
}

.header__slogan {
  max-width: 20ch;
}

.header__paragraph {
  max-width: 40ch;
}

.header__links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
  margin-top: 1em;
}

.primary-button {
  color: var(--secondary-color);
  padding: 0.5em 1.5em;
  border: 1px solid var(--secondary-color);
  border-radius: 4em;
}

.header__photos {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: end;
  gap: 1em;
  max-width: 50%;

  right: 0;
}

header img {
  max-width: 45%;
  border-radius: 1.7em;
  object-fit: cover;
  min-height: 25rem;
  aspect-ratio: 6/7;
}

img {
  border-radius: 1.7em;
  object-fit: cover;

  height: auto;
  transition: all 0.3s;
}

img:hover {
  transform: scale(1.02);
}

.header__photos--second {
  border-radius: 2em 0 0 2em;
  max-width: 40%;
}

.green-box {
  background-color: var(--primary-color);
  height: 3rem;
  position: relative;
  width: 100%;
}
.white-box {
  background-color: var(--secondary-color);
  height: 3rem;
  position: absolute;
  border-radius: 10em 10em 0 0;
  width: 100%;
}

.white-box2 {
  background-color: var(--secondary-color);
  height: 3rem;
  position: relative;
  width: 100%;
}
.green-box2 {
  background-color: var(--primary-color);
  height: 3rem;
  position: absolute;
  border-radius: 10em 10em 0 0;
  width: 100%;
}
.services,
.about-me {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 4rem;
  margin-inline: auto;
  max-width: min(90vw, 900px);
  padding: 4em 0 0 0;
  flex-wrap: wrap;
}

.services__text,
.about-me__text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.7em;
  width: 42%;
}

h2 {
  font-size: 2.5em;
  margin-bottom: 0.5rem;
}

.services__pic {
  min-height: 40vh;
  width: 42%;
  min-width: 300px;
}
.about-me {
  margin-bottom: 4rem;
}

.reviews__flex {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;

  justify-content: center;
}
.reviews__paragraph {
  max-width: 30ch;
  margin-bottom: 0.5rem;
  position: relative;
}
.reviews__name {
  margin-top: 1rem;
  font-size: 0.8rem;
}
.reviews__icon {
  position: absolute;
  top: -2.5rem;
  left: -1rem;
  font-size: 6rem;
  opacity: 0.1;
}
.vouchers {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;

  background-color: var(--primary-color);
  padding: 4rem 12rem 6rem 12rem;
  background-image: url("photos/linie.svg");
  background-repeat: no-repeat;
  background-position: center top 0rem;
  background-size: 100%;
  position: relative;
}
.vouchers__text {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  gap: 0.7em;
  width: 30%;
  color: var(--secondary-color);
}

.vouchers__paragraph {
  max-width: 40ch;
  margin-bottom: 0.5rem;
}

.vouchers__pic {
  height: 40vh;
  min-width: 60%;
}

.prices__flex {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 6rem;

  padding: 2rem 0;
  flex-wrap: wrap;
}
.prices {
  padding: 2rem 12rem;
}
.prices__paragraph {
  max-width: 60ch;
}
.minutes {
  font-size: 2rem;
}

.price {
  font-size: 1.5rem;
}

.contact,
.adress,
.reviews {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;

  padding: 2rem 12rem 4rem 12rem;
}

.reviews__header {
  padding: 0 12rem;
}
.contact__pic {
  width: 48%;
  min-height: 40vh;
}

.map {
  width: 100%;
  object-position: left bottom;
}

.adress_hyperlink {
  width: 48%;
  min-height: 40vh;
}

.contact__text {
  width: 38%;
}

.primary-button2 {
  display: inline-block;
  color: black;
  padding: 0.5em 1.5em;
  border: 1px solid black;
  border-radius: 4em;

  margin: 2rem 0;
}

.icon {
  max-width: 1.5rem;
  max-height: 1.5rem;
  display: inline;
  border-radius: 0;
  object-fit: cover;
}

.icon__flex {
  display: flex;
  flex-direction: row;
  gap: 1em;
  margin-bottom: 0.7rem;
}
.mail_phone {
  margin-bottom: 1rem;
}
.black {
  color: black;
}

.adress__paragraph {
  max-width: 30ch;
  color: var(--primary-color);
}
.adress__paragraph_2 {
  max-width: 30ch;
}
.adress__flex {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  width: 38%;
}

footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 4rem 10rem;
  margin: 2rem;
  border-radius: 2rem;
}

.footer__flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

h3 {
  font-size: 1.5rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.inverse {
  filter: invert();
}

@media (min-width: 1921px) {
  header {
    padding: 0em 32em;
  }

  .header__photos--second {
    max-width: 30%;
  }

  .services,
  .about-me {
    gap: 6rem;
    max-width: min(90vw, 1200px);
  }

  .services__text,
  .about-me__text {
    width: 40%;
  }

  .services__pic {
    width: 40%;
  }
  .reviews__paragraph {
    max-width: 40ch;
  }

  .vouchers {
    padding: 4rem 32rem 6rem 32rem;
  }

  .vouchers__text {
    width: 30%;
  }

  .vouchers__pic {
    max-width: 60%;
  }

  .prices {
    padding: 4rem 32rem;
  }

  .contact,
  .adress,
  .reviews {
    gap: 1rem;
    padding: 4rem 32rem 6rem 32rem;
  }
  .reviews__header {
    padding: 0 32rem;
  }

  .contact__pic {
    width: 58%;
  }
  .map {
    width: 100%;
  }
  .adress_hyperlink {
    width: 58%;
  }

  footer {
    padding: 4rem 12rem;
  }

  h1 {
    font-size: 4.5em;
  }
}
@media (max-width: 1023px) {
  .services {
    padding: 2em 0 0 0;
  }
  header {
    padding: 0em 2rem;
  }
  .header__main {
    padding: 4rem 0 2rem 0;
  }
  .header__photos--second {
    display: none;
  }

  .header__photos {
    max-width: 100%;
  }

  .header__photos--first {
    max-width: 30%;
    border-radius: 2em 0 0 2em;
    margin-bottom: 3rem;
  }
  .vouchers {
    padding: 4rem 2rem 6rem 2rem;
  }
  .prices {
    padding: 2rem 2rem 0 2rem;
  }
  .prices__flex {
    gap: 2rem;
  }
  .contact,
  .adress,
  .reviews {
    padding: 2rem 2rem 2rem 2rem;
  }
  .reviews__header {
    padding: 0 2rem;
  }

  footer {
    padding: 4rem 2rem;
    margin: 1rem;
  }
}

@media (max-width: 767px) {
  .header__photos--second {
    display: none;
  }

  .header__photos {
    position: relative;
  }
  .header__main {
    flex-wrap: wrap;
    gap: 2em;
  }
  .header__photos--first {
    max-width: 100%;
    border-radius: 2em;
  }
  header img {
    max-width: 100%;
  }
  .header__text {
    max-width: 100%;
  }
  .services__text,
  .about-me__text {
    width: 100%;
  }
  .services__pic {
    width: 100%;
  }
  .about-me {
    flex-direction: column-reverse;
  }
  .vouchers__text {
    width: 100%;
  }
  .vouchers__pic {
    width: 100%;
  }
  .contact__pic,
  .map {
    width: 100%;
  }
  .adress_hyperlink {
    width: 100%;
  }
  .nav__flex {
    display: none;
  }
  .contact__text,
  .adress__flex {
    width: 100%;
  }
  .adress {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 479px) {
  h1 {
    font-size: 2.5em;
  }
  h2 {
    font-size: 2em;
  }
  h3 {
    font-size: 1.2em;
  }
  .vouchers {
    padding: 4rem 1rem;
  }
  .prices {
    padding: 2rem 1rem;
  }
  header {
    padding: 0em 1rem;
  }
  .contact,
  .adress,
  .reviews {
    padding: 2rem 1rem;
  }
  .services {
    padding: 1em 0 0 0;
    gap: 2rem;
  }
  .header__main {
    padding: 2rem 0;
  }
  .vouchers,
  .reviews__header {
    padding: 1rem;
  }

  footer {
    padding: 3rem 1rem;
  }
}
