* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: serif;
  display: flex;
  background-color: #081b29;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  
  transition: background 0.8s ease-in-out;
  place-items: center;
}

.image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.image-row img {
  width: 50%;
  height: auto;
}

#loader-screen {
  position: fixed;
  z-index: 9999;
  background: transparent;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 1s ease;
}


#loader-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

#main-content {
  opacity: 0;
  transition: opacity 1.5s ease;
}

#main-content.visible {
  opacity: 1;
}

.loader {
  width: 0;
  height: 4.8px;
  display: inline-block;
  position: relative;
  background: #FFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
  animation: animFw 8s linear infinite;
  margin-left: 2.8rem;
}

  .loader::after,
  .loader::before {
    content: '';
    width: 10px;
    height: 1px;
    background: #FFF;
    position: absolute;
    top: 9px;
    right: -2px;
    opacity: 0;
    transform: rotate(-45deg) translateX(0px);
    box-sizing: border-box;
    animation: coli1 0.3s linear infinite;
  }
  .loader::before {
    top: -4px;
    transform: rotate(45deg);
    animation: coli2 0.3s linear infinite;
  }

@keyframes animFw {
    0% {
  width: 0;
}
    100% {
  width: 100%;
}
  }

@keyframes coli1 {
    0% {
  transform: rotate(-45deg) translateX(0px);
  opacity: 0.7;
}
    100% {
  transform: rotate(-45deg) translateX(-45px);
  opacity: 0;
}
  }

@keyframes coli2 {
    0% {
  transform: rotate(45deg) translateX(0px);
  opacity: 1;
}
    100% {
  transform: rotate(45deg) translateX(-45px);
  opacity: 0.7;
}
  }
  
  

#gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.welcome-txt {
  font-size: 2rem;
  color: white;
  text-decoration: underline;
  text-decoration-color: royalblue;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 3px white;
}


.about-title {
  font-size: 1.6rem;
  text-align: left;
  color: white;
  margin-top: 20px;
  margin-left: 10px;
  text-shadow: 0 0 3px cyan;
}

.underline {
  width: 30%;
  height: 4px;
  background: linear-gradient(to right, #ff7eb3, #ff5573, #ff3b5c, #ff1f4a, #d9003f);
  border-radius: 2px;
  margin-bottom: 20px;
  margin-left: 10px;
}

.About-content {
  font-size: 1rem;
  color: white;
  text-shadow: 0 0 2px yellow;
  text-align: left;
  margin-left: 10px;
}


@media (max-width: 1024px) {
  .welcome-txt {
    font-size: 2rem;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .About-content {
    font-size: 0.9rem;
  }
}


@media (max-width: 768px) {
  .welcome-txt {
    font-size: 1.6rem;
  }

  .about-title {
    font-size: 1.3rem;
  }

  .About-content {
    font-size: 1rem;
  }
}


@media (max-width: 480px) {
  .welcome-txt {
    font-size: 1.2rem;
  }

  .about-title {
    font-size: 1rem;
  }

  .About-content {
    font-size: 0.7rem;
  }
}



@keyframes fadeInBounce {  
    0% { opacity: 0; transform: scale(0.8); }  
    60% { opacity: 1; transform: scale(1.05); }  
    100% { transform: scale(1); }  
}  
  
@keyframes borderAnimation {  
    0% { background-position: 0% 0%; }  
    25% { background-position: 100% 0%; }  
    50% { background-position: 100% 100%; }  
    75% { background-position: 0% 100%; }  
    100% { background-position: 0% 0%; }  
} 
.content-box {  
    width: 80%;  
    max-width: 50vw;  
    padding: 2%;  
    position: relative;  
    text-align: center;  
    margin: 5% auto;  
    background: transparent;  
    border-radius: 2%;  
    backdrop-filter: blur(40px);  
    box-shadow: 0 0.4vw 2vw rgba(0, 0, 0, 0.2);  
    border: 0.3vw solid transparent;  
}  
  
.content-box::before {  
    content: "";  
    position: absolute;  
    top: -0.5vw;  
    left: -0.5vw;  
    right: -0.5vw;  
    bottom: -0.5vw;  
    border-radius: 2%;  
    z-index: -1;  
    background: linear-gradient(90deg, #ff6b6b, #ffb86c, #50fa7b, #8be9fd, #ff79c6, #ff6b6b);  
    background-size: 300% 300%;  
    animation: borderAnimation 6s infinite linear;  
}  

.content-box::before {  
    border: 0.2vw solid transparent;  
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);  
    mask-composite: exclude;  
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);  
    -webkit-mask-composite: xor;  
}  

.logo {  
    width: 10vw;  
    height: 10vw;  
    margin-bottom: 1.5vw;  
}




h2 {  
    color: white;  
    font-size: 3vw;  
    text-decoration: underline;  
    text-decoration-color: #50fa7b;  
}  

.desc {  
    color: white;  
    text-align: left;  
    font-size: 2vw;  
    margin: 1vw 0;  
}  

.lang-title {  
    color: #50fa7b;  
    text-align: left;  
    font-size: 2.5vw;  
    margin-top: 2vw;  
    text-decoration: underline;  
    text-decoration-color: #50fa7b;  
}  

.languages {  
    color: white;  
    text-align: left;  
    font-size: 2vw;  
  margin-top: 2vw;  
}  

.button-container {  
    display: flex;  
    justify-content: space-between;  
    margin-top: 2vw;  
}  

button {  
    padding: 1vw 2vw;  
    font-size: 2vw;  
    border: none;  
    border-radius: 1vw;  
    cursor: pointer;  
    transition: transform 0.3s ease-in-out;  
    position: relative;  
    overflow: hidden;  
}  

.left-btn, .right-btn {  
    background: transparent;  
    color: white;  
    box-shadow: 0 0 0.5vw cyan;  
    border: 0.2vw solid cyan;  
    position: relative;  
}  

.left-btn:hover, .right-btn:hover {  
    background: cyan;  
    color: white;  
    box-shadow: 0 0 7vw cyan;  
    
}  




@media (max-width: 1024px) {
    .content-box {
        width: 90%;
        max-width: 70vw;
        padding: 3%;
    }
.button-container {
    margin-top: 3vw;
  }

  button {
    padding: 1.2vw 2.5vw;
    font-size: 2.3vw;
    border-radius: 1.2vw;
  }
    .logo {
        width: 40vw;
        height: auto;
    }

    h2 {
        font-size: 3.5vw;
    }

    .desc,
    .languages {
        font-size: 2.2vw;
    }

    .lang-title {
        font-size: 2.8vw;
    }

    
}


@media (max-width: 768px) {
    .content-box {
        width: 90%;
        max-width: 90vw;
        padding: 7%;
    }
.button-container {
    margin-top: 4vw;
    flex-direction: column;
    align-items: center;
    gap: 2vw;
  }

  button {
    padding: 2.5vw 4vw;
    font-size: 4vw;
    border-radius: 2vw;
  }
    .logo {
        width: 45vw;
        height: auto;
    }

    h2 {
        font-size: 4.2vw;
    }

    .desc,
    .languages {
        font-size: 2.7vw;
    }

    .lang-title {
        font-size: 3.2vw;
    }

    
}


@media (max-width: 480px) {
    .content-box {
        width: 98%;
        max-width: 80vw;
        padding: 5%;
    }

    .logo {
        width: 27vw;
        height: auto;
    }
.button-container {
    margin-top: 5vw;
    gap: 2.5vw;
  }

  button {
    padding: 3vw 5vw;
    font-size: 4.5vw;
    border-radius: 2.5vw;
  }
    h2 {
        font-size: 5vw;
    }

    .desc,
    .languages {
        font-size: 3vw;
    }

    .lang-title {
        font-size: 3.5vw;
    }

    
}

.project-footer {
    width: 100%;
    padding: 50px 20px;
    background: transparent;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 10%, transparent 70%);
    transform: translateX(-50%);
    filter: blur(50px);
    opacity: 0.8;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-content h2 {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00eaff, #00ff9f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow-text 2s infinite alternate;
}

@keyframes glow-text {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

.footer-content p {
    font-size: 16px;
    margin: 8px 0;
    opacity: 0.9;
}

.footer-line {
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.6), rgba(0, 255, 255, 0.1));
    margin: 20px auto;
    border-radius: 5px;
}

.copyright {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .project-footer {
        padding: 40px 15px;
    }

    .footer-glow {
        width: 250px;
        height: 250px;
        top: -40px;
        filter: blur(40px);
    }

    .footer-content h2 {
        font-size: 1rem;
    }

    .footer-content p {
        font-size: 14px;
    }

    .footer-line {
        width: 90%;
    }

    .copyright {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .project-footer {
        padding: 30px 10px;
    }

    .footer-glow {
        width: 200px;
        height: 200px;
        top: -30px;
        filter: blur(30px);
    }

    .footer-content h2 {
        font-size: 0.9rem;
    }

    .footer-content p {
        font-size: 13px;
    }

    .footer-line {
        width: 95%;
        height: 2px;
    }

    .copyright {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .project-footer {
        padding: 6px 2px;
    }

    .footer-glow {
        width: 300px;
        height: 300px;
        top: 0px;
        filter: blur(20px);
    }

    .footer-content h2 {
        font-size: 0.5rem;
    }

    .footer-content p {
        font-size: 8px;
    }

    .footer-line {
        width: 100%;
        height: 2px;
    }

    .copyright {
        font-size: 8px;
    }
}



