@import url(keyframes.css);
@import url(https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&family=Borel&display=swap);
.hero,
header {
  align-items: center;
}
.hamburger,
footer p,
nav ul {
  background: rgba(255, 255, 255, 0.64);
}
canvas,
header {
  position: fixed;
  width: 100%;
}
#goBack,
.hamburger {
  position: absolute;
  cursor: pointer;
}
*,
.about h1 {
  font-display: swap;
}
.hero,
footer p {
  text-align: center;
}
footer p,
nav ul {
  backdrop-filter: blur(10px);
}
footer p,
nav ul li a {
  font-size: 16px;
  color: #381e4e;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  scroll-behavior: smooth;
  font-family: "Josefin Sans";
}
body {
  background: linear-gradient(to bottom, #381e4e, #944e94);
  background-attachment: fixed;
}
canvas {
  height: 100%;
}
header {
  top: 15px;
  height: 60px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  z-index: 1000;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  line-height: 20px;
  border: 2px solid #e4aa5e;
  padding: 10px 20px;
  border-radius: 20px;
  transition: background 0.3s;
}
nav ul li a {
  text-decoration: none;
  padding: 10px;
  border-radius: 20px;
  transition: 0.8s;
}
nav ul li a span {
  font-size: 20px;
}
nav ul li a.active,
nav ul li a:hover {
  background: #381e4e;
  color: #fff;
}
.hamburger {
  right: 25px;
  top: 5px;
  width: 45px;
  height: 45px;
  border: 2px solid #e4aa5e;
  border-radius: 10px;
  display: none;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  z-index: 1100;
}
.hero,
.social-icons {
  display: flex;
  justify-content: center;
}
.hamburger i {
  font-size: 22px;
  color: #381e4e;
  transition: transform 0.3s, color 0.3s;
}
.hamburger.active i {
  transform: rotate(180deg);
  color: #e4aa5e;
}
.hamburger.active i::before {
  content: "\f00d";
}
.hero {
  height: 100dvh;
  perspective: 5000px;
  animation: 1.5s ease-out openSlider;
}
.hero .slider {
  position: relative;
  width: 200px;
  height: 250px;
  transform-style: preserve-3d;
  animation: 20s linear infinite autoRun;
  z-index: 2;
  margin: 0 auto;
  top: -100px;
  will-change: transform;
}
.hero .slider .item {
  position: absolute;
  inset: 0;
  transform: rotateY(
      calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)
    )
    translateZ(380px);
}
.hero .slider .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e4aa5e;
}
#social {
  height: 100vh;
  position: relative;
}
.logo-wrapper {
  position: absolute;
  left: 30px;
  top: -5px;
  z-index: 999;
  transition: 0.8s;
}
.logo-wrapper img {
  width: 120px;
}
.social-icons {
  opacity: 0;
  transition: opacity 0.5s;
  align-items: center;
}
.social-icons li,
.social-icons ul {
  justify-content: center;
  display: flex;
}
.social-icons.show {
  opacity: 1;
}
.social-icons ul {
  list-style: none;
  gap: 30px;
  align-items: center;
}
.social-icons li {
  align-items: center;
}
.social-icons a {
  text-decoration: none;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid white;
  padding: 7px;
  border-radius: 10px;
}
.social-icons i {
  font-size: 30px;
  transition: transform 0.5s, color 0.5s;
}
.social-icons a:hover i {
  transform: scale(1.2);
  color: #e4aa5e;
}
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  padding: 1px 10px;
}
.grid-item {
  border-radius: 10px;
  overflow: hidden;
}
.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
  border: 2px solid #e4aa5e;
  border-radius: 10px;
}
.grid-item img.show {
  transform: translateY(0);
}
.span-2 {
  grid-column: span 2;
  grid-row: span 2;
}
.span-3 {
  grid-column: span 3;
  grid-row: span 3;
}
.fullscreen-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fullscreen-container img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}
#goBack {
  top: 20px;
  left: 20px;
  background: #c09c32;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  border-radius: 5px;
  z-index: 10;
}
#about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
}
.about {
  max-width: 600px;
  background: #fbdbf5;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  font-weight: 310;
}
.profile {
  width: 40%;
  border-radius: 50%;
  display: block;
  margin: 0 auto 40px;
  border: 2px solid #e4aa5e;
}
.about h1 {
  font-size: 2rem;
  margin: 20px 0 10px;
  color: #1b0f36;
  text-shadow: 0 0 10px rgba(255, 156, 218, 0.3);
  font-family: Borel, serif;
  text-align: left;
  text-decoration: underline #e4aa5e;
}
.about h2 {
  font-size: 18px;
  color: #ff9cda;
  background: #1b0f36;
  margin-top: 30px;
  text-align: left;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
}
.about li,
.about p {
  font-size: 18px;
  line-height: 1.6;
  color: #1b0f36;
}
.about p {
  text-align: justify;
  margin-bottom: 15px;
}
.about ul {
  list-style: none;
  margin: 10px 0 30px;
}
.about li {
  margin: 5px 0;
}
.star {
  color: #e4aa5e;
  margin-right: 5px;
}
footer p {
  padding: 5px;
  position: relative;
  bottom: 0;
  width: 100%;
}
