@import url("https://fonts.googleapis.com/css2?family=Londrina+Shadow:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Monoton:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Plaster:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;700&display=swap");

/* ----------------------------------------------
 * Generated by Animista on 2025-5-3 17:48:35
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-bck-center
 * ----------------------------------------
 */
/* ----------------------------------------------
 * Generated by Animista on 2025-5-3 17:53:8
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-down-center
 * ----------------------------------------
 */
@-webkit-keyframes scale-down-center {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
@keyframes scale-down-center {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes drop-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: white;
  text-decoration: none;
}

body {
  background-image: url("bg.png");
  color: white;
  font-family: "IBM Plex Sans", sans-serif;
}
.main {
  background-color: #002029;
  opacity: 0.96;
  position: fixed; /* 'fixed' makes it stick to the viewport */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* ensures it's behind everything, optional */
  overflow-y: scroll;
  padding-inline: 12px;
  scroll-behavior: smooth;
}

nav {
  margin-inline: auto;
  background-color: #093a47;
  border: 1px solid #093a47;
  border-radius: 30px;
  margin-inline: auto;
  margin-top: 16px;
  width: 500px;
  max-width: 90%;
  display: flex;
  justify-content: space-between;
  padding: 16px 36px;
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  height: 58px;
}

.animated-nav {
  overflow: hidden;
  white-space: nowrap;
  border: 0;

  width: 0;
  padding: 0;
  transition: all 1500ms cubic-bezier(0.5, 0.5, 0.06, 0.95);
  transition-delay: 0.3s;
}

.animated-nav a {
  opacity: 0;
  transition: opacity 300ms;
  transition-delay: 0.7s;
}

.animated-nav a:hover {
  color: #5093a5;
  transition: color 0.3s;
}

/* Final visible state */
.animated-nav.show {
  width: 500px;
  padding: 16px 36px;
  max-width: 90%;
  border: 1px solid #093a47;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.animated-nav.show a {
  opacity: 1;
}

.hero {
  width: 100%;
  height: calc(100% - 50px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  align-items: center;
}

.hero-name {
  font-size: 100px;
  text-transform: uppercase;
  word-spacing: 32px;
  letter-spacing: 4px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.9);
  animation: fade-in 1s ease-out forwards,
    scale-down-center 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite;
  animation-delay: 0.1s;
  margin-inline: auto;
  text-align: center;
}

.hero-tags {
  display: flex;
  gap: 16px;
}

.hero-desc {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  max-width: 600px;
  line-height: 1.5;
  opacity: 0;
  animation: fade-in 0.5s ease-out forwards;
  animation-delay: 0.1s;
}
.hero-tag {
  background-color: rgb(11, 11, 11);
  border-radius: 10px;
  height: 35px;
  padding: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  opacity: 0;
  animation: fade-in 0.5s ease-out forwards;
  animation-delay: 0.1s;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.3s ease, width 0.3s ease;
  width: 35px; /* icon only */
}

/* Reveal text on hover */
.hero-tag:hover {
  background-color: #1f1f1f;
  width: 100px; /* or auto with min-width and padding tricks */
  transition: 0.5s ease;
}

.hero-tag-text {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-tag:hover .hero-tag-text {
  opacity: 1;
}

.latest-works {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 16px 32px;
  margin-bottom: 128px;
}

.latest-works-title {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 8px;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 32px;
}

.latest-works-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.latest-work {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.latest-work img {
  background-color: #1f1f1f;
  height: 400px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.latest-work-title {
  font-size: 20px;
  color: rgba(255, 255, 255, 1);
}

.latest-work-desc {
  color: rgba(255, 255, 255, 0.5);
  text-align: justify;
}

.latest-work-links {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}

.work-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.work-link:hover {
  color: #03e9f4;
}

.technologies {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 16px 32px;
  margin-bottom: 64px;
}

.technologies-title {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 8px;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 32px;
}

.technologies-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.technology-category-title {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.technology-category-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.technology {
  display: flex;
  gap: 12px;
  align-items: center;
  background-color: #01303d;
  padding: 12px 12px;
  border-radius: 4px;
  width: 250px;
  height: 55px;
  max-width: 100%;
  cursor: pointer;
}

.technology:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Adjust the shadow as needed */
  transition: 0.4s ease;
}
.technology-name {
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
}

.technology-icon {
  font-size: 22px;
}

.footer {
  margin-inline: auto;
  max-width: 1200px;
  margin-top: 128px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-top-style: dotted;
  padding: 16px 16px;
}

.footer-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-socials {
  display: flex;
  gap: 16px;
  font-size: 24px;
  cursor: pointer;
}

.latest-work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.work-tag {
  display: flex;
  align-items: center;
  background-color: #0b0b0b;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 14px;
  color: #ddd;
  gap: 6px;
}

.work-tag i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero-name {
    font-size: 60px;
  }
  .latest-works-list {
    grid-template-columns: 1fr;
  }

  .technology {
    width: 180px;
    padding: 8px 8px;
    height: 48px;
  }

  nav {
    max-width: 98%;

    padding: 8px 16px;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    height: 58px;
  }
}
