@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  cursor:
    url("paw1.png") 32 32,
    auto;
}

body {
  background: #ffffff;
  font-family: "Inter", sans-serif;
  height: 100vh;
}

section {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.Portfolio {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  width: 280px;
  top: 5%;

  img {
    width: 100%;
  }
}

.label {
  position: absolute;
  font-size: 26px;
  font-weight: 600;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 3px;

  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  white-space: nowrap;
  z-index: 10;
  animation:
    flowFloat 6.5s ease-in-out infinite,
    fadeInScale 1.4s ease forwards;
}

.label:hover {
  color: #000;
  transform: scale(1.35) !important;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  z-index: 20;
  cursor:
    url("paw2.png") 32 32,
    pointer;
}

.container {
  position: relative;
  width: 1500px;
  height: 700px;
}

.central-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  z-index: 5;

  overflow: hidden;

  animation: fadeInScale 1.4s ease forwards;
}

.central-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes flowFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.about-me {
  top: 22%;
  left: 12%;
  animation:
    fadeInLeft 0.9s 0.1s ease forwards,
    flowFloat 7s 0.2s ease-in-out infinite;
}
.gifs {
  top: 38%;
  left: 8%;
  animation:
    fadeInLeft 0.9s 0.3s ease forwards,
    flowFloat 6.8s 0.8s ease-in-out infinite;
}
.graphic-design {
  top: 65%;
  left: 14%;
  animation:
    fadeInLeft 0.9s 0.6s ease forwards,
    flowFloat 7.2s 1.1s ease-in-out infinite;
}

.photography {
  top: 23%;
  right: 12%;
  animation:
    fadeInRight 0.9s 0.2s ease forwards,
    flowFloat 6.5s 0.4s ease-in-out infinite;
}
.video-label {
  top: 48%;
  right: 11%;
  animation:
    fadeInRight 0.9s 0.5s ease forwards,
    flowFloat 7s 0.9s ease-in-out infinite;
}
.interactive {
  top: 70%;
  right: 13%;
  animation:
    fadeInRight 0.9s 0.7s ease forwards,
    flowFloat 6.7s 1.3s ease-in-out infinite;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-link {
  text-decoration: none;
  color: inherit;
}

.bg-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, #e0e0e0 1px, transparent 1px);
  background-size: 35px 35px;
  opacity: 0.4;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .Portfolio {
    top: 1%;
    width: 200px;
    height: 300px;
  }
}
@media screen and (max-width: 768px) {
  .central-video {
    width: 150px;
    height: 150px;
  }
}
@media screen and (max-width: 768px) {
  .photography {
    top: 15%;
  }
}
@media screen and (max-width: 768px) {
  .about-me {
    top: 28%;
  }
}

@media screen and (max-width: 768px) {
  .video-label {
    top: 35%;
  }
}
@media screen and (max-width: 768px) {
  .gifs {
    top: 65%;
  }
}
@media screen and (max-width: 768px) {
  .graphic-design {
    top: 85%;
  }
}
@media screen and (max-width: 768px) {
  .interactive {
    top: 74%;
  }
}
