@charset "UTF-8";
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
body {
  margin: 0;
}

ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: currentColor;
}

button {
  font-family: inherit;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

input,
textarea {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  width: 24px;
  height: 24px;
  display: block;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* Змінні для кольорів */
/* Змінні для шрифтів */
/* Міксини для медіа-запитів */
body {
  font-family: "Montserrat", sans-serif;
  color: #333333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lora", serif;
  color: #333333;
  margin-top: 0;
}

.container {
  max-width: 345px;
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

.title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
  color: #79b4b7;
}
@media (min-width: 768px) {
  .title {
    font-size: 36px;
    margin-bottom: 40px;
  }
}
@media (min-width: 1024px) {
  .title {
    font-size: 44px;
    margin-bottom: 50px;
  }
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 16px;
}
.btn--contained {
  background-color: #79b4b7;
  color: #ffffff;
  border: 1px solid #79b4b7;
}
.btn--contained:hover {
  background-color: #62a0a3;
  border-color: #62a0a3;
}
.btn--outlined {
  background-color: transparent;
  color: #79b4b7;
  border: 1px solid #79b4b7;
}
.btn--outlined:hover {
  background-color: #79b4b7;
  color: #ffffff;
}
@media (min-width: 768px) {
  .btn {
    padding: 15px 30px;
    font-size: 18px;
  }
}

.header {
  background-color: #ffffff;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .header {
    padding: 20px 0;
  }
}
.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  font-family: "Lora", serif;
  font-size: 24px;
  font-weight: bold;
  color: #79b4b7;
  text-decoration: none;
}
@media (min-width: 768px) {
  .header__logo {
    font-size: 28px;
  }
}
@media (min-width: 1024px) {
  .header__logo {
    font-size: 32px;
  }
}
.header__nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #9dcec3;
  padding-top: 80px;
  transition: left 0.4s ease-in-out;
  z-index: 90;
  overflow-y: auto;
}
@media (min-width: 1024px) {
  .header__nav {
    position: static;
    display: block;
    width: auto;
    height: auto;
    background-color: transparent;
    padding-top: 0;
    overflow-y: visible;
  }
}
.header__nav.active {
  left: 0;
}
.header__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 1024px) {
  .header__menu {
    flex-direction: row;
  }
}
.header__menu-item {
  margin: 15px 0;
}
@media (min-width: 1024px) {
  .header__menu-item {
    margin-left: 30px;
  }
  .header__menu-item:first-child {
    margin-left: 0;
  }
}
.header__menu-link {
  font-size: 22px;
  color: #ffffff;
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.header__menu-link:hover {
  color: #79b4b7;
}
@media (min-width: 1024px) {
  .header__menu-link {
    font-size: 17px;
    color: #333333;
    padding: 0;
  }
}
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 100;
}
@media (min-width: 1024px) {
  .header__burger {
    display: none;
  }
}
.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333333;
  transition: all 0.3s ease;
}
.header__burger.active .header__burger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.header__burger.active .header__burger-line:nth-child(2) {
  opacity: 0;
}
.header__burger.active .header__burger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.hero {
  min-height: 80vh;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
  display: flex;
  align-items: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero__wrapper {
  max-width: 100%;
}
@media (min-width: 768px) {
  .hero__wrapper {
    max-width: 70%;
    margin: 0 auto;
  }
}
@media (min-width: 1024px) {
  .hero__wrapper {
    max-width: 60%;
  }
}
.hero__title {
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 48px;
  }
}
@media (min-width: 1024px) {
  .hero__title {
    font-size: 60px;
  }
}
.hero__text {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}
@media (min-width: 768px) {
  .hero__text {
    font-size: 20px;
  }
}
@media (min-width: 1024px) {
  .hero__text {
    font-size: 22px;
  }
}

.about {
  padding: 60px 0;
  background-color: #ffffff;
}
@media (min-width: 768px) {
  .about {
    padding: 80px 0;
  }
}
@media (min-width: 1024px) {
  .about {
    padding: 100px 0;
  }
}
.about .title {
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .about .title {
    margin-bottom: 50px;
  }
}
.about__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.about__description {
  max-width: 100%;
}
.about__text {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 20px;
}
.about__text:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .about__text {
    font-size: 17px;
  }
}

.footer {
  background-color: #333333;
  color: #ffffff;
  padding: 40px 0 20px;
}
@media (min-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }
}
.footer__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .footer__wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (min-width: 1024px) {
  .footer__wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
  }
}
.footer__block {
  text-align: center;
}
@media (min-width: 768px) {
  .footer__block {
    text-align: left;
  }
}
.footer__block p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 15px;
}
.footer__logo {
  font-family: "Lora", serif;
  font-size: 26px;
  font-weight: bold;
  color: #79b4b7;
  text-decoration: none;
  display: block;
}
@media (min-width: 768px) {
  .footer__logo {
    font-size: 30px;
  }
}
.footer__title {
  font-size: 20px;
  color: #9dcec3;
  margin-bottom: 20px;
  font-family: "Lora", serif;
}
@media (min-width: 768px) {
  .footer__title {
    font-size: 22px;
  }
}
.footer__menu, .footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__menu-item, .footer__list-item {
  margin-bottom: 10px;
}
.footer__menu-item:last-child, .footer__list-item:last-child {
  margin-bottom: 0;
}
.footer__menu-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: color 0.3s ease;
}
.footer__menu-link:hover {
  color: #79b4b7;
}
.footer__list-item {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}
.footer__list-item strong {
  color: #ffffff;
}
.footer__copy {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .footer__copy {
    margin-top: 30px;
  }
}