@import url("https://fonts.googleapis.com/css2?family=Bad+Script&family=Poiret+One&family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap");

body {
  font-family: "Poiret One", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  background-color: #ffffff;
  color: black;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.welcome,
.location,
.timing,
.photo,
.telegram,
.confirmation,
.countdown,
.footer {
  margin: 6rem 0;
}

.container__audio {
  display: flex;
  width: max-content;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}

.container__music-item {
  border: none;
  padding: 0;
  margin: 0;
  max-width: none;
  width: 50px;
  height: 50px;
  margin: 1rem;
  background-color: #ad0f51;
  border-radius: 50%;
  cursor: pointer;
  animation: sound-animation 4s infinite linear;
}

@keyframes sound-animation {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.img-music {
  width: 100%;
}

.container__music-item:hover {
  background-color: #ad0f51;
}

.intro {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.container__intro-img {
  position: relative;
  background-image: url("../img/intro.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 80vh;
  width: 100%;
}

.intro__title {
  font-family: "Poiret One", serif;
  font-style: normal;
  font-size: 5rem;
  text-align: center;
  color: black;
  margin-top: 1rem;
}

.intro__date {
  font-family: "Poiret One", serif;
  font-style: normal;
  color: black;
  text-align: center;
}

h1 {
  font-family: "Bad Script", serif;
  font-style: italic;
  font-size: 5rem;
  text-align: center;
  color: black;
}

h2 {
  font-family: "Bad Script", serif;
  font-style: italic;
  font-size: 3rem;
  line-height: 4rem;
  text-align: center;
  color: black;
}

p {
  font-style: normal;
  font-size: 2rem;
  line-height: 3rem;
  text-align: center;
  color: black;
  width: 75%;
  margin: 2.5rem 0;
}

@media (max-width: 425px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
    line-height: 2rem;
  }

  p {
    font-size: 1rem;
    line-height: 2rem;
    width: 90%;
  }
}

@media (max-width: 768px) {
  .intro__title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
  }
}

@media (max-width: 425px) {
  .intro__title {
    font-size: 2.5rem;
  }

  .intro__date {
    margin-top: -1rem;
  }
}

@media (max-width: 375px) {
  .intro__title {
    top: 210px;
    right: 100px;
    font-size: 3rem;
  }

  .intro__subtitle {
    margin-top: -9rem;
    margin-right: 8rem;
  }
}

@media (max-width: 320px) {
  .intro__title {
    right: 60px;
  }

  .intro__subtitle {
    margin-top: -8rem;
    margin-right: 0rem;
  }
}

.container__arrow-item {
  display: flex;
  justify-content: center;
  animation: move-vertical 2s infinite linear;
}

@keyframes move-vertical {
  from {
    transform: translateY(50%);
  }
  to {
    transform: translateY(100%);
  }
}

.container__arrow-item img {
  width: 70px;
  height: 70px;
}

@media (max-width: 425px) {
  .container__arrow-item img {
    width: 50px;
    height: 50px;
  }
}

.container {
  font-style: normal;
}

.calendar-month {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.days-of-week-container,
.calendar-container {
  display: grid;
  text-align: right;
  grid-template-columns: repeat(7, 3rem);
  font-size: 1.5rem;
  line-height: 3rem;
  justify-items: center;
}

.calendar-container {
  position: relative;
}

.calendar-container div:first-child {
  grid-column: 2;
}

.container__heart {
  position: relative;
  height: 100%;
  width: 100%;
  text-align: center;
  color: white;
}

.container__img-item {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  height: 100%;
  width: 100%;
  transform: translate(-50%, -50%);
  animation: heart-animation 2s infinite linear;
}

.img-item {
  width: 100%;
}

@keyframes heart-animation {
  0% {
    height: 100%;
    width: 100%;
  }
  20% {
    height: 110%;
    width: 110%;
  }
  40% {
    height: 120%;
    width: 120%;
  }
  50% {
    height: 125%;
    width: 125%;
  }
  60% {
    height: 120%;
    width: 120%;
  }
  80% {
    height: 110%;
    width: 110%;
  }
  100% {
    height: 100%;
    width: 100%;
  }
}

@media (max-width: 425px) {
  .calendar-month {
    font-size: 1.5rem;
  }

  .days-of-week-container,
  .calendar-container {
    grid-template-columns: repeat(7, 2rem);
    line-height: 2rem;
    font-size: 1rem;
  }
}

.location-photo {
  height: 70vh;
  background-image: url("../img/location.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

button {
  font-family: "Poiret One", serif;
  display: block;
  margin: 2rem auto 0;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  background-color: transparent;
  color: #020202;
  border: 2px solid #020202;
  cursor: pointer;
  text-align: center;
  transition: all ease 1s;
}

button:hover {
  background-color: black;
}

button:hover a {
  color: white;
}

a,
a:active {
  font-family: "Poiret One", serif;
  text-decoration: none;
  color: black;
}

.timing-items {
  width: 100%;
  margin: 2.5rem 0;
}

.timing-item {
  display: flex;
  font-size: 2em;
  justify-content: space-evenly;
  text-align: end;
}

.timing-item:nth-child(2n + 1) {
  text-align: start;
}

.line {
  width: 2px;
  height: 100%;
  background-color: black;
}

.desc {
  width: 100%;
  font-style: normal;
  padding: 0 2rem;
}

.container__time {
  display: flex;
  justify-content: flex-end;
}

.timing-item:nth-child(2n + 1) .container__time {
  justify-content: flex-start;
}

.timing-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
}

.timing-icon img {
  width: 100%;
}

.time {
  margin-bottom: 0.5rem;
}

.desk__title {
  font-size: 1.6rem;
  line-height: 2.6rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.desk__desc {
  font-size: 1.6rem;
  line-height: 2rem;
}

@media (max-width: 425px) {
  .timing-icon {
    width: 50px;
    height: 50px;
  }

  .time {
    font-size: 1.5rem;
  }

  .desc {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .desk__title {
    font-size: 0.8rem;
    line-height: 1.6rem;
  }

  .desk__desc {
    font-size: 0.8rem;
    line-height: 1.5rem;
  }
}

.photo {
  background-image: url("../img/line.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  height: 100vh;
}

.photo-gr {
  position: relative;
  margin: 2.5rem 0;
}

.container__photo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: white;
  box-shadow: 0 0 10px rgb(198 187 187 / 80%);
  width: max-content;
  height: 450px;
}

.container__photo img {
  display: block;
  max-width: 100%;
  max-height: 85%;
  padding: 1rem;
}

.photo1 {
  transform: rotate(-17deg);
  transition: all 1s;
}

.photo2 {
  transform: rotate(10deg);
  margin-right: -14rem;
  transition: all 1s;
}

.photo__title {
  font-family: "Bad Script", serif;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 1;
  color: #ad0f51;
  font-size: 1.4rem;
}

.container__photo:hover {
  scale: 1.2;
  transform: rotate(0deg);
  position: relative;
  z-index: 3;
}

.container__photo:hover + .photo__title {
  color: #575757;
}

@media (max-width: 425px) {
  .container__photo {
    width: 270px;
    height: 370px;
  }

  .photo2 {
    margin-right: -4rem;
  }

  .photo__title {
    top: 21.5rem;
    left: 9rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 320px) {
  .container__photo {
    width: 220px;
    height: 320px;
  }

  .photo__title {
    top: 18rem;
    left: 8rem;
    font-size: 1rem;
  }
}

form {
  font-size: 1.4rem;
  width: 75%;
}

.confirmation {
  background-color: #ad0f51;
  padding: 4rem 0.5rem;
}

.confirmation h2,
.confirmation p,
form div {
  color: white;
}

.form__name {
  display: flex;
  flex-direction: column;
}

.label__name {
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.input__name {
  font-family: "Poiret One", serif;
  text-decoration: none;
  border: none;
  background-color: transparent;
  border-bottom: 2px solid white;
  font-size: 1.2rem;
  color: white;
  padding-bottom: 0.5rem;
  cursor: pointer;
}

.input__name::placeholder {
  font-size: 1.2rem;
  font-family: "Poiret One", serif;
  font-weight: 400;
  color: white;
  opacity: 0.7;
}

.input__name:focus {
  outline: none;
  font-size: 1.2rem;
  font-family: "Poiret One", serif;
  font-weight: 400;
  color: white;
  box-shadow: rgb(255 255 255 / 10%) 0px 25px 25px;
  text-shadow: 0 0 5px white, 0 0 10px white;
}

span {
  display: inline-block;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form__radio {
  margin: 1rem 0;
}

.form__item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.input__radio {
  display: none;
}

.input__radio:checked + .label__radio::after {
  transform: scale(1);
}

.label__radio {
  width: 100%;
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.label__radio::before {
  content: "";
  flex: 0 0 24px;
  height: 24px;
  background-color: transparent;
  border-radius: 50%;
  border: white 2px solid;
  margin-right: 1rem;
}

.label__radio::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 6px;
  background-color: white;
  transform: scale(0);
  transition: transform ease 0.5s;
}

.input__radio:checked + .label__radio {
  text-shadow: 0 0 5px white, 0 0 10px white;
}

@media (max-width: 375px) {
  .label__radio::after {
    width: 8px;
    height: 8px;
    top: 4px;
    left: 4px;
  }
}

.btn-form {
  width: 700px;
  color: white;
  border: 2px solid white;
  width: 100%;
  max-width: 100%;
  transition: all ease 1s;
}

.btn-form:hover {
  color: #020202;
  background-color: white;
}

@media (max-width: 425px) {
  form {
    width: 100%;
    font-size: 1rem;
  }

  span {
    line-height: 1.5rem;
  }

  .label__name {
    line-height: 1.5rem;
  }
}

.timer {
  font-family: "Poiret One", serif;
  font-style: italic;
  display: flex;
  justify-content: center;
  font-size: 7rem;
  padding: 1.5rem 0;
}

.timer__item {
  position: relative;
  padding: 0 1.5rem;
}

.timer__item::before {
  content: attr(data-title);
  display: block;
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #020202;
}

@media (max-width: 768px) {
  .timer {
    font-size: 6rem;
  }
}

@media (max-width: 425px) {
  .timer {
    font-size: 2.5rem;
  }

  .timer__item {
    padding: 0px 1rem;
  }

  .timer__item::before {
    font-size: 1.1rem;
  }
}

@media (max-width: 375px) {
  .label__radio::before {
    flex: 0 0 12px;
    height: 12px;
  }

  .timer {
    font-size: 2rem;
    padding: 1.5rem 0;
  }
}

@media (max-width: 320px) {
  .timer {
    font-size: 1.5rem;
    padding: 1.5rem 0;
  }

  .timer__item::before {
    font-size: 1rem;
  }
}

.footer__title {
  font-family: "Poiret One", serif;
  align-self: flex-end;
  text-align: end;
  font-size: 4rem;
  line-height: 5rem;
  color: #ad0f51;
  padding-right: 1rem;
}

.black {
  color: black;
}

.container__footer img {
  width: 100%;
}

@media (max-width: 425px) {
  .container__footer {
    margin-top: 4rem;
  }

  .footer__title {
    font-size: 2rem;
    line-height: 2.2rem;
  }
}

@media (max-width: 320px) {
  .footer__title {
    font-size: 2rem;
    line-height: 2rem;
    padding-right: 0;
  }
}
