html{
     scroll-behavior: smooth; 
}



body{
    color: white;
    font-family: "Roboto", sans-serif;
    cursor:default;
}

#bgvid{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


nav{
    background-color: rgba(0, 0, 0, 0.3);
    text-align: left;
    color: white;
    padding: 10px;
    margin:0px;
    text-decoration: none;
    position: fixed;
    top:0;
    left:0;
    right:0;
    z-index: 1000;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 16px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

a{
    text-decoration: none;
    color: white;
}

h2, h3, p{
    text-align: center;
}


#home {
    margin-bottom: 30px; 
    gap: 100px; 
    padding-top:30vh;
    padding-bottom:40vh;
    border:0;
    display:flex; 
    justify-content:center; 
    align-items:center; 
    backdrop-filter: blur(3px);
}


.header-container {
    text-align: center;
    width: 100%;
}

.floating-text {
    text-align: center;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px); /* Moves up 10px */
  }
  
}


.flex-cards {
    display: flex;
    gap: 20px; /* Space between the two cards */
    flex-wrap: wrap; /* Allows cards to stack on smaller screens */
    justify-content: center;
    perspective: 1000px;
    cursor:default;
    align-items: center;

}

.flex-cards .glass-card {
  flex: 1 1 300px; /* Takes equal space, minimum width 300px */
  background: rgba(15, 12, 29, 0.5);
  border: 1px solid rgba(138, 114, 244, 0.25);
  border-radius: 16px;
  padding: 25px;
  backdrop-filter: blur(12px);
  color: #ffffff;
}

.rot {
    text-align: center;
    display: inline-block;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}




.reveal {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.changing-text {
  display: block;
  overflow: hidden;
  animation: changeText 0.5s infinite;
  min-width: 120px; /* Adjust based on your longest word, e.g., "Developer" */
}

@keyframes changeText {
    
    0% {
        font-family: "Roboto", sans-serif ;
    }
    25% {
        font-family:Verdana, Geneva, Tahoma, sans-serif;
    }
    50% {
        font-family: "Georgia", serif;
    }
    75% {
        font-family: "Arial", sans-serif;
    }

    
}