.body {
  overflow-x: hidden;
}

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

.home {
  background-image: url("./img/home-bg.png");
  height: 100vh;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.home__ppl {
  background-image: url("./img/home-pp.png");
  background-position: center;
  background-size: cover;
  width: 343px;
  height: 506px;
  position: relative;
  top: 100px;
}

.texts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  margin-bottom: 100px;
}

.texts-first {
  font-family: "Comic Neue", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 81%;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  color: #30401c;
  margin-bottom: 10px;
}

.texts-second {
  font-family: "Dancing Script", sans-serif;
  font-weight: 400;
  font-size: 96px;
  line-height: 106%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #30401c;
  margin-bottom: 30px;
}

.texts-third {
  font-family: "Comic Neue", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 125%;
  text-align: center;
  color: #353535;
  margin-bottom: 30px;
}

.texts-fourth {
  font-family: "Comic Neue", sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 123%;
  text-transform: uppercase;
  text-align: center;
  color: #353535;
}

.day,
.after {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 140px;
}

.day {
  margin-bottom: 100px;
}

.day-box-title {
  font-family: "Dancing Script", sans-serif;
  font-weight: 400;
  font-size: 74px;
  line-height: 104%;
  letter-spacing: -0.03em;
  text-align: center;
  color: #30401c;
}

.day-box-text {
  font-family: "Comic Neue", sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 45px;
  text-transform: uppercase;
  text-align: center;
  color: #353535;
}

@media screen and (max-width: 1024px) {
  .day,
  .after {
    gap: 60px;
  }

  .texts-second {
    font-size: 72px;
  }

  .day-box-title {
    font-size: 56px;
  }
}

@media screen and (max-width: 768px) {
  .home__ppl {
    width: 220px;
    height: 325px;
    top: 70px;
  }

  .texts {
    margin-bottom: 60px;
    padding: 0 20px;
  }

  .texts-second {
    font-size: 56px;
  }

  .texts-first {
    font-size: 13px;
  }

  .texts-third {
    font-size: 16px;
  }

  .texts-fourth {
    font-size: 20px;
  }

  .day,
  .after {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
  }

  .after {
    flex-direction: column-reverse;
  }

  .day {
    margin-bottom: 60px;
  }

  .day-box-title {
    font-size: 48px;
  }

  .day-box-text {
    font-size: 18px;
    line-height: 34px;
  }

  .day-box.img-box img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .home__ppl {
    width: 180px;
    height: 265px;
    top: 60px;
  }

  .texts {
    margin-bottom: 40px;
    padding: 0 16px;
  }

  .texts-second {
    font-size: 42px;
  }

  .texts-first {
    font-size: 11px;
    letter-spacing: 0.15em;
  }

  .texts-third {
    font-size: 14px;
  }

  .texts-fourth {
    font-size: 16px;
  }

  .day {
    margin-bottom: 40px;
  }

  .day,
  .after {
    padding: 0 16px;
  }

  .day-box-title {
    font-size: 38px;
  }

  .day-box-text {
    font-size: 15px;
    line-height: 28px;
  }
}