@import url("https://fonts.googleapis.com/css2?family=Coiny&family=Titan+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nerko+One&family=Sriracha&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /* add this */
}

:root {
  --color-pink: #feecea;
  --color-white: #fff;
  --color-black: #333;
  --color-text-pink: #ff7882;
  --color-heart: #ff7882;
  --color-bg-letter: #fff8e4;
  --color-border: #daccbf;
}
html {
  height: 100%;
}
body {
  position: relative;
  font-size: 16px;
  margin: 0;
  padding: 0;
  height: 100%;
  background-image: url("images/Background1.jpg"); /* path to your image */
  background-size: cover; /* make the image cover the whole page */
  background-position: center; /* center the image */
  background-repeat: no-repeat;
}
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* adjust darkness */
  z-index: 0;
}

#passwordScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.passwordBox {
  background: #ff7882;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  width: 300px;
  color: white;
  font-family: "Poppins", sans-serif;
}

.passwordBox input {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  border-radius: 8px;
  border: none;
  outline: none;
}

.passwordBox button {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  background: black;
  color: white;
  cursor: pointer;
}

#errorMsg {
  color: yellow;
  margin-top: 10px;
}

#wrapper {
  display: none;
  position: relative;
  background-color: transparent; /* keep transparent */
  background-image: none; /* remove the white grid lines */
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.flag__birthday {
  display: flex;
  justify-content: space-between;
  transform: translateY(-200px);
  animation: translateYFlag 1.5s 2s forwards;
}
@keyframes translateYFlag {
  to {
    transform: translateY(-10px);
  }
}
.flag__birthday .flag__left {
  transform: rotate(-10deg) translate(-20px, 30px);
}
.flag__birthday .flag__right {
  transform: rotate(10deg) translate(20px, 30px) scaleX(-1);
}
.content {
  width: 100%;
  position: relative;
  display: flex;
  padding-top: 3rem;
}
.content .left,
.content .right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.content .left {
  width: 40%;
}
.content .right {
  width: 60%;
}
.left .btn {
  transform: scale(0);
  animation: scaleCricle 2s 16s forwards ease-in-out;
}
#btn__letter {
  position: relative;
  margin-top: 30px;
  background-color: var(--color-text-pink);
  outline: none;
  padding: 5px 15px;
  font-size: 1rem;
  border-radius: 50px;
  border: 3px solid var(--color-black);
  font-family: "Sriracha", cursive;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transform: scale(1);
  transition: all 0.5s ease-in-out;
}
#btn__letter:active {
  transform: scale(0.7);
}
#btn__letter i {
  margin-left: 5px;
}
#btn__letter:hover {
  border-color: var(--color-heart);
  background-color: var(--color-heart);
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#btn__letter:hover i {
  animation: rotateHeart 1s infinite linear;
}
@keyframes rotateHeart {
  0%,
  50%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(12deg);
  }
  75% {
    transform: rotate(-12deg);
  }
}
.title {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  font-family: "Titan One", sans-serif;
  font-size: 3rem;
  flex-direction: column;
  perspective: 1000px;
}
.title .happy,
.title .birthday {
  position: relative;
  text-shadow: 4px 4px var(--color-black), -4px 4px var(--color-black),
    4px -4px var(--color-black), -4px -4px var(--color-black),
    4px 8px 0 var(--color-black);
  font-weight: bold;
  display: flex;
  justify-content: center;
}
.title .happy {
  color: var(--color-white);
}
.title .happy span,
.title .birthday span {
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  animation: txtTranslateY 0.5s var(--t) forwards;
}
@keyframes txtTranslateY {
  100% {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}
.title .birthday {
  color: var(--color-text-pink);
}

.title .hat {
  position: absolute;
  right: 45px;
  top: -350px;
  transform: rotate(-40deg);
  z-index: -1;
  animation: topHat 4s 7s forwards ease;
}
@keyframes topHat {
  20%,
  30% {
    top: -30px;
    transform-origin: left;
    transform: rotate(-40deg);
  }
  35%,
  100% {
    top: -30px;
    transform: rotate(0deg);
  }
}
.date__of__birth,
.name {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: var(--color-text-pink);
  border-radius: 50px;
  margin-top: 20px;
  font-family: "Sriracha", cursive;
}
.date__of__birth {
  border: 3px solid var(--color-black);
  position: relative;
  transform: translateY(-100px);
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  width: 0px;
  animation: dateOfBirth 5s 9s forwards;
}
@keyframes dateOfBirth {
  20%,
  40% {
    width: 0px;
    height: 0;
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
  }
  45% {
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
    width: 300px;
    height: 0px;
  }
  50%,
  100% {
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
    width: 300px;
    height: 50px;
  }
}
.name {
  position: absolute;
  padding: 0px 20px;
  bottom: -20px;
  border: 3px solid var(--color-black);
  font-family: "Dancing Script", cursive;
}
.date__of__birth span,
.name span {
  font-weight: bold;
  margin: 0px 40px;
}
.date__of__birth span {
  font-size: 1.2rem;
}
.name span {
  font-size: 1.7rem;
}
.right .box__account {
  position: relative;
  transform: translateY(700px);
  animation: topBoxImage 8s 7s forwards ease-in;
}
@keyframes topBoxImage {
  to {
    transform: translateY(0);
  }
}
.content .right .image {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  border: 6px solid var(--color-black);
}
.content .right .image img {
  width: 100%;
  object-fit: cover;
}
.cricle {
  position: absolute;
  top: 20px;
  right: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
  animation: scaleCricle 3s 15s forwards ease-in-out;
}
@keyframes scaleCricle {
  0% {
    transform: scale(0);
  }
  10% {
    transform: scale(1.3);
  }
  20% {
    transform: scale(0.7);
  }
  30%,
  100% {
    transform: scale(1);
  }
}
.text__cricle {
  width: 100px;
  height: 100px;
  background-color: var(--color-text-pink);
  border-radius: 50%;
  border: 5px solid var(--color-black);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: rotateCricle 5s linear infinite;
}
@keyframes rotateCricle {
  to {
    transform: rotate(360deg);
  }
}
.text__cricle span {
  top: 0%;
  left: 50%;
  position: absolute;
  color: var(--color-black);
  transform: rotate(calc(var(--i) * 24deg));
  transform-origin: 0 45px;
  font-family: "Sriracha", cursive;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.fa-heart {
  color: var(--color-heart);
  filter: drop-shadow(0 0 3px var(--color-heart));
  animation: scaleHeart 1s infinite linear;
}
.cricle .fa-heart {
  position: absolute;
  transform: scale(0.85);
}
@keyframes scaleHeart {
  50% {
    transform: scale(1.2);
  }
}
.right .balloon_one {
  position: absolute;
  top: -70px;
  left: -70px;
  animation: balloon1 2s infinite linear;
}
@keyframes balloon1 {
  0%,
  50%,
  100% {
    transform-origin: bottom right;
    transform: rotate(0deg);
  }
  25% {
    transform-origin: bottom right;
    transform: rotate(3deg);
  }
  75% {
    transform-origin: bottom right;
    transform: rotate(-3deg);
  }
}
.right .balloon_two {
  position: absolute;
  top: 170px;
  right: -65px;
  z-index: -1;
  transform: rotate(10deg);
  animation: balloon2 2s infinite linear;
}
@keyframes balloon2 {
  0%,
  50%,
  100% {
    transform-origin: bottom left;
    transform: rotate(10deg);
  }
  25% {
    transform-origin: bottom left;
    transform: rotate(7deg);
  }
  75% {
    transform-origin: bottom left;
    transform: rotate(13deg);
  }
}

.decorate_star {
  position: absolute;
  transform: scale(0);
  background-color: var(--color-black);
  clip-path: polygon(
    0 50%,
    35% 35%,
    50% 0,
    65% 35%,
    100% 50%,
    65% 65%,
    50% 100%,
    35% 65%
  );
  animation: scaleCricle 3s var(--t) forwards,
    scaleStar 2s 16s infinite ease-in-out;
}
.decorate_star.star1 {
  width: 20px;
  height: 20px;
  top: 75px;
  left: 300px;
}
.decorate_star.star2 {
  width: 15px;
  height: 20px;
  top: 35px;
  right: 360px;
}
.decorate_star.star3 {
  width: 14px;
  height: 14px;
  top: 290px;
  left: 630px;
}
.decorate_star.star4 {
  width: 18px;
  height: 18px;
  bottom: 60px;
  left: 35px;
}
.decorate_star.star5 {
  width: 16px;
  height: 18px;
  bottom: 140px;
  left: 500px;
}
@keyframes scaleStar {
  25% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.1);
  }
}
.decorate_bottom {
  position: absolute;
  right: 0;
  bottom: -10px;
}
.decorate_flower--one {
  position: absolute;
  top: 250px;
  left: 50px;
  transform: scale(0);
  animation: scaleCricle 3s var(--t) forwards ease-in-out;
}
.decorate_flower--two {
  position: absolute;
  top: 225px;
  left: 540px;
  transform: scale(0);
  animation: scaleCricle 3s var(--t) forwards ease-in-out;
}
.decorate_flower--three {
  position: absolute;
  top: 150px;
  right: 235px;
  transform: scale(0);
  animation: scaleCricle 3s var(--t) forwards ease-in-out;
}
.smiley__icon {
  position: absolute;
  bottom: 180px;
  left: 600px;
  transform: scale(0);
  animation: scaleCricle 3s 15s forwards ease-in-out;
}

.boxMail {
  position: fixed;
  background: rgb(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  opacity: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.3);
  visibility: hidden;
  transition: all 0.5s;
  z-index: 100000000;
}
.boxMail.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.boxMail .boxMail-container {
  position: absolute;
  width: 750px;
  height: 500px;
  display: flex;
  margin: 0;
  transform: scale(0.9);
  -webkit-perspective: 2000px;
  perspective: 2000px;
  transition: all 0.5s;
}
.boxMail .boxMail-container:hover {
  transform: rotate(-5deg);
  filter: drop-shadow(0 0 10px #ff7882);
}
.boxMail .boxMail-container:hover .card1 {
  transform: translate(-187px, -250px) rotateY(-140deg);
}
.boxMail .boxMail-container .card1,
.boxMail .boxMail-container .card2 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid black;
}
.boxMail .boxMail-container .card1 {
  position: absolute;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, #ff7882, #ff7882 63%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.boxMail-container .card1 {
  z-index: 1;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transform-origin: left;
  transition: all 1s ease-in-out;
}
.boxMail .boxMail-container .card1 .userImg {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  cursor: pointer;
  margin-bottom: 20px;
}
.boxMail .boxMail-container .card1 .userImg img {
  position: absolute;
  object-fit: cover;
  width: calc(100%);
  height: calc(100%);
}
.boxMail .boxMail-container .card1 h3 {
  font-family: "Georgia", serif;
  font-size: 40px;
  text-transform: uppercase;
  width: 80%;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 5px;
  transform: rotate(-5deg);
  text-shadow: 0 0 5px white, 0 0 10px white;
}
.boxMail .boxMail-container .card2 {
  position: relative;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, #e0e0e0, #ffffff 30%);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transform-origin: left;
  transition: all 1s;
}
.boxMail .boxMail-container .card2 .card2-content {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #ff7882;
  transition: all 1s;
  overflow: hidden;
  font-family: "Inter", serif;
  color: #fff;
}
.boxMail .boxMail-container:hover .card2-content {
  transform: translate(20px, 20px);
  box-shadow: -1px -1px 5px rgb(0, 0, 0, 0.4);
}
.boxMail .boxMail-container .card2 h3 {
  font-family: "Dancing Script", cursive;
  padding: 20px 0px 10px 60px; /* fixed left padding */
  opacity: 1; /* make it visible immediately */
  visibility: visible;
  font-size: 25px;
  text-shadow: 0 0 8px #ff7882;
}

/* Remove any animation on hover */
.boxMail .boxMail-container .card2:hover h3 {
  animation: none;
  transition: none;
}

/* No keyframes needed */

.boxMail .boxMail-container .card2 h2 {
  font-family: "Dancing Script", cursive;
  padding: 0px 20px;
  text-indent: 20px;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.boxMail .boxMail-container .card2:hover h2 {
  opacity: 1;
}
@keyframes texth2 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.boxMail .boxMail-container .card2 .card2-content .imageCute2 {
  position: absolute;
  top: 5px;
  left: 20px;
  opacity: 0;
  transition: 1s;
}
.boxMail .boxMail-container .card2 .card2-content:hover .imageCute2 {
  animation: cute3 1s linear infinite, cute4 3s 2s forwards;
  animation-delay: 2s;
  transition: 1s;
}
@keyframes cute3 {
  0% {
    opacity: 1;
    transform: rotate(0deg);
  }
  25% {
    opacity: 1;
    transform: rotate(5deg);
  }
  50% {
    opacity: 1;
    transform: rotate(0deg);
  }
  75% {
    opacity: 1;
    transform: rotate(-5deg);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg);
  }
}
@keyframes cute4 {
  0% {
    left: 20px;
  }
  100% {
    left: 100px;
  }
}
.boxMail .boxMail-container .card2 .card2-content .imageCute2 img {
  width: 40px;
}
.boxMail .fa-xmark {
  position: fixed;
  top: 0;
  right: 0;
  font-size: 30px;
  padding: 10px 25px;
  cursor: pointer;
  color: white;
  z-index: 10000000000000000;
}

.options {
  display: none;
  flex-direction: column;
  margin-top: 10px;
}

#btn__letter:hover .options {
  display: flex;
}

.options span {
  background: white;
  color: black;
  padding: 6px;
  margin-top: 5px;
  border-radius: 10px;
  cursor: pointer;
}

/* ---------- Gallery Box ---------- */
.galleryBox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95); /* slightly darker for more focus */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* ---------- Morph Slider Wrapper ---------- */
.slider-wrapper {
  width: 900px; /* increased from 700px */
  height: 440px; /* increased to allow bigger images and scale */
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible; /* allow images to pop out */
}

/* ---------- Slider Track ---------- */
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ---------- Slider Images ---------- */
.slider-img {
  position: absolute;
  width: 160px; /* increased from 120px */
  height: auto;
  max-height: 260px; /* increased from 180px */
  object-fit: contain;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.6s ease;
  opacity: 0.5;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35); /* slightly stronger shadow */
  transform-origin: center center;
}

/* ---------- Center (Focused) Image ---------- */
.slider-img.active {
  transform: scale(
    1.5
  ); /* keep same scale, larger base makes it bigger visually */
  opacity: 1;
  z-index: 5;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

/* ---------- Controls ---------- */
/* ---------- Controls (Bottom) ---------- */
.controls {
  position: absolute;
  bottom: 20px; /* distance from bottom of gallery */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px; /* space between buttons */
  z-index: 10;
}

.controls button {
  margin: 0; /* remove default margin */
  padding: 12px 16px; /* keep slightly bigger for visibility */
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 12px;
  background-color: var(--color-text-pink);
  border: 2px solid var(--color-black);
  color: white;
  transition: transform 0.3s ease;
}

.controls button:hover {
  transform: scale(1.1);
}

/* ---------- Close Button ---------- */
.galleryBox .closeGallery {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px; /* slightly bigger */
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.galleryBox .closeGallery:hover {
  transform: scale(1.2);
}

/* ------------------ Gallery Button Style ------------------ */
#btn__gallery {
  position: relative;
  margin-top: 17px;
  width: 150px; /* same as #btn__letter */
  padding: 6px 4px; /* same padding */
  font-size: 1rem; /* same font size */
  border-radius: 50px; /* rounded corners */
  border: 3px solid var(--color-black);
  background-color: var(--color-text-pink);
  font-family: "Sriracha", cursive;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease-in-out;
  gap: 8px; /* spacing between text and icon */
  left: 15px;
}

#btn__gallery i {
  font-size: 1rem; /* icon matches text size */
}

/* Hover effect (like letter button) */
#btn__gallery:hover {
  transform: scale(1.1); /* pop effect */
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3); /* subtle shadow */
  border-color: transparent; /* remove black border */
  color: #ffffff; /* text white */
  background-color: #ff8b96; /* slightly brighter pink */
}

#btn__gallery:hover i {
  color: #ffffff; /* icon white */
}
/* ---------- MOBILE LAYOUT OPTIMIZED (up to 480px) ---------- */

@media (max-width: 480px) {
  /* Body */
  body {
    font-size: 14px;
    background-position: top center;
    padding: 0 10px;
  }

  /* Stack content vertically */
  .content {
    flex-direction: column !important;
    align-items: center;
    padding-top: 1rem;
    gap: 15px;
  }

  /* Title */
  .title {
    width: 100%;
    font-size: 1.8rem !important;
    flex-direction: column;
    align-items: center;
    perspective: none;
    margin-bottom: 15px;
  }
  .title .happy,
  .title .birthday {
    font-size: 1.6rem !important;
    text-align: center;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
  }
  .title .happy span,
  .title .birthday span {
    font-size: 34px;
  }
  .title .hat {
    top: -90px !important;
    right: 15px !important;
    transform: rotate(0deg) !important;
    animation: none !important;
  }

  /* Flag */
  .flag__birthday {
    width: 100%;
    justify-content: center !important;
    transform: translateY(0) !important;
    margin-bottom: 10px;
  }
  .flag__birthday .flag__left,
  .flag__birthday .flag__right {
    transform: rotate(0deg) translate(0, 0) scaleX(1) !important;
  }

  /* Date & Name */
  .date__of__birth,
  .name {
    position: relative !important;
    transform: translateY(0) !important;
    bottom: 0 !important;
    width: 95% !important;
    margin: 8px 0;
    padding: 8px 15px;
    font-size: 1rem;
  }
  .date__of__birth {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important; /* prevent line break */
    white-space: nowrap !important; /* force one line */
  }

  .date__of__birth span {
    margin: 0;
    font-size: 16px !important;
  }
  .name span {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
  }

  /* Buttons */
  #btn__letter,
  #btn__gallery {
    width: 140px;
    padding: 8px 12px;
    font-size: 0.95rem;
    margin: 10px 0;
    left: 0 !important;
    display: flex;
    justify-content: center;
  }
  button,
  .btn button {
    min-width: 180px;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 15px;
  }
  .btn {
    gap: 12px;
  }

  /* Right box / image */
  .right {
    width: 100% !important;
    transform: none !important;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .right .box__account {
    transform: none !important;
    animation: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .right .image {
    width: 220px !important;
    height: 220px !important;
    border-radius: 12px !important;
    border: 4px solid var(--color-black);
  }

  /* Balloons */
  .right .balloon_one,
  .right .balloon_two {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: -15px 0;
    animation: none !important;
  }

  /* Circle / Text Circle */
  .cricle {
    top: 5px !important;
    right: 5px !important;
    transform: scale(0.6) !important;
  }
  .text__cricle {
    width: 60px !important;
    height: 60px !important;
  }
  .text__cricle span {
    font-size: 0.5rem !important;
  }

  /* Stars & Flowers */
  .decorate_star,
  .decorate_flower--one,
  .decorate_flower--two,
  .decorate_flower--three {
    transform: scale(0.45) !important;
  }

  /* Slider */
  .slider-wrapper {
    width: 90%;
    height: 280px;
  }
  .slider-img {
    width: 120px;
    max-height: 170px;
  }

  /* Gallery controls */
  .controls button {
    font-size: 1.1rem;
    padding: 8px 10px;
  }

  /* Letter content */
  .boxMail .card2 h2 {
    font-size: 15px;
    line-height: 1.6;
    padding: 0 10px;
  }
  .boxMail .card2 h3 {
    font-size: 14px;
  }

  /* Close icons */
  .boxMail i.fa-xmark,
  .galleryBox i {
    font-size: 22px;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  * {
    animation-duration: 0.85s !important;
    transition-duration: 0.3s !important;
  }

  .content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 15px;
  }

  .image {
    width: 220px;
    height: 220px;
  }
}
