body {
    background: #121212;
}

@keyframes title_animation {
    0%, 100% {
        background-position: 0 0;
    }
    50% {
        background-position: 100% 0%;
    }
}

@keyframes border_animation {
    0% {
        border-color: #ff3399;
    }

    20% {
        border-color: #FF9C33;
    }

    40% {
        border-color: #FCFF33;
    }

    60% {
        border-color: #70FF33;
    }

    80% {
        border-color: #33EEFF;
    }

    90% {
        border-color: #D333FF;
    }
    100% {
        border-color: #FF3399;
    }
}

@keyframes stroke {
    0% {
      fill: rgba(72, 138, 204, 0);
      stroke: rgba(54, 95, 160, 1);
      stroke-dashoffset: 25%;
      stroke-dasharray: 0 50%;
      stroke-width: 2;
    }
    70% {
      fill: rgba(72, 138, 204, 0);
      stroke: rgb(59, 119, 216);
    }
    80% {
      fill: rgba(72, 138, 204, 0);
      stroke: rgba(54, 95, 160, 1);
      stroke-width: 3;
    }
    100% {
      fill: rgb(62, 146, 230);
      stroke: rgba(54, 95, 160, 0);
      stroke-dashoffset: -25%;
      stroke-dasharray: 50% 0;
      stroke-width: 0;
    }
  }
  
  svg {
    font-family: "Quicksand", sans-serif;
    width: 100%;
    height: 100%;
  }
  
  svg text {
    font-weight: 700;
    stroke: none;
    fill: url(#gradient);
    font-size: 130px;
    animation: stroke 7s forwards;
  }
  
  linearGradient {
    id: gradient;
    x1: 0%;
    y1: 0%;
    x2: 100%;
    y2: 0%;
    spreadMethod: reflect;
  }
  
  stop {
    offset: 0%;
    stop-color: rgba(72, 138, 204, 1);
  }
  
  stop {
    offset: 100%;
    stop-color: rgba(54, 95, 160, 1);
  }
  
  
#title {
    width: 100%; height: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 10vh;
    text-decoration: none;
    margin: 0 auto;
    margin-bottom: -1%;
    text-align: center;
    stroke-width: 2;
	animation: stroke 7s infinite alternate;
	stroke-width: 2;
	stroke: #365FA0;
}

.footer {
    z-index: 1000;
    position: fixed;
    bottom: 0;
    right: 0;
    background: rgba(24, 24, 24, 0.98);
    backdrop-filter: blur(10px);
    padding: 7px 20px;
    border-radius: 15px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.footer a {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #64b5f6, #90caf9, #bbdefb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer a:hover {
    background: linear-gradient(135deg, #42a5f5, #64b5f6, #90caf9);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.footer a::before {
    content: '©';
    font-size: 12px;
    opacity: 0.8;
    background: linear-gradient(135deg, #90a4ae, #b0bec5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes rainbow_animation {
    0%, 100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}


small {
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 590;
    font-size: 5vh;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(45deg, red, orange, red);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: rainbow_animation 5s linear infinite, glow_animation 5s linear infinite;
}

#things {
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 590;
    font-size: 5vh;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
    background-clip: text;
    -webkit-background-clip: text;
    margin-bottom: 3%;
    background-size: 400% 100%;
    color: transparent;
    animation: rainbow_animation 5s ease-in-out infinite;
}

.tryout-container {
    z-index: 1;
    text-justify: auto;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

#tryout {
    margin: 10px;
    text-align: center;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 4vh;
    padding: 10px;
    border-radius: 20px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 3px solid transparent;
    object-position: relative;
    animation: border_animation 5s linear infinite; /* Add the rainbow animation */
}
#tryout:hover {
    opacity: 0.8;
}
#tryout2 {
    margin-top: 5vh;
    text-align: center;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 4vh;
    padding: 10px;
    border-radius: 20px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 3px solid transparent;
    object-position: relative;
    animation: border_animation 5s linear infinite; /* Add the rainbow animation */
}
#tryout2:hover {
    opacity: 0.8;
}

.topnav {
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ceve {
    z-index: 1;
    width: 100%;
    text-decoration: none;
    padding: 10px 20px; /* Button padding */
    border-radius: 30px; /* Button border radius */
    transition: background-color 0.3s ease; /* Add a smooth hover effect */
}
#ceve:hover {
    background-color: #121213; /* Change the background color on hover */
}

.button-container {
    z-index: 1;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.button-right {
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    border-radius: 30px;
    font-weight: 600;
    color: #f2f2f2;
    text-align: center;
    padding: 0.8% 1%;
    text-decoration: none;
    background: linear-gradient(to right, #7ECCFD 0%, #80B7FF 100%) border-box;
    border: 1px solid transparent;
    font-size: 17px;
}
/* Change the color of links on hover */
.topnav a:hover {
    background-color: #121212;
    color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Home Navigation Bar */
.home-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: clamp(6px, 1vw, 15px) clamp(8px, 1.2vw, 20px);
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: clamp(45px, 6vh, 60px);
    flex-wrap: nowrap;
    overflow: visible;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.2vw, 20px);
    flex: 0 0 auto;
    min-width: clamp(180px, 20vw, 280px);
    margin-right: clamp(8px, 1.2vw, 20px);
}

.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
    gap: clamp(8px, 1.2vw, 20px);
    align-items: center;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
    z-index: 2001;
    height: auto;
    flex-wrap: nowrap;
    overflow: visible;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.2vw, 20px);
    flex: 0 0 auto;
}

.navbar-brand {
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 1.8vw, 2.4rem);
    background: linear-gradient(to right, rgb(33, 155, 226), #399cdf);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    gap: clamp(8px, 1.2vw, 20px);
    align-items: center;
    flex-wrap: nowrap;
}

.nav-button {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(11px, 1.3vw, 20px);
    font-weight: 600;
    color: white;
    text-decoration: none;
    padding: clamp(5px, 0.7vw, 9px) clamp(10px, 1.3vw, 20px);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.nav-button.about-btn {
    background: linear-gradient(45deg, #FFFFFF, #F8F9FA);
    color: #424242;
    border: 1px solid #E0E0E0;
}

.nav-button.about-btn:hover {
    background: linear-gradient(45deg, #FFFFFF, #F5F5F5);
    color: #212121;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 
                0 0 50px rgba(255, 255, 255, 0.6), 
                0 0 80px rgba(255, 255, 255, 0.4),
                0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Tooltip Styles */
.tooltip-container {
    position: relative;
    overflow: visible !important;
    z-index: 10001;
}

.tooltip {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(28, 28, 28, 0.98);
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    min-width: max-content;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(28, 28, 28, 0.98);
}

.tooltip-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Add top margin to body content to account for fixed navbar */
.main-content {
    margin-top: 80px;
}

/* Responsive breakpoints for different screen resolutions */
/* Extra small screens - very tight spacing */
@media screen and (max-width: 1200px) and (min-width: 1025px) {
    .home-navbar {
        padding: clamp(4px, 0.8vw, 8px) clamp(6px, 1vw, 12px);
        flex-wrap: nowrap;
        overflow: visible;
    }
    
    .navbar-brand {
        font-size: clamp(1rem, 1.5vw, 1.8rem);
    }
    
    .nav-button {
        font-size: clamp(10px, 1.1vw, 16px);
        padding: clamp(4px, 0.6vw, 7px) clamp(8px, 1.1vw, 14px);
    }
    
    .navbar-left, .navbar-right, .navbar-center {
        gap: clamp(4px, 0.8vw, 12px);
    }
    
    .navbar-left {
        min-width: clamp(150px, 18vw, 200px);
        margin-right: clamp(4px, 0.8vw, 12px);
    }
}

/* 1366x768 and similar resolutions */
@media screen and (max-width: 1366px) and (min-width: 1201px) {
    .home-navbar {
        padding: clamp(5px, 1vw, 10px) clamp(8px, 1.2vw, 15px);
    }
    
    .navbar-brand {
        font-size: clamp(1.1rem, 1.6vw, 2rem);
    }
    
    .nav-button {
        font-size: clamp(11px, 1.2vw, 18px);
        padding: clamp(5px, 0.7vw, 8px) clamp(9px, 1.2vw, 16px);
    }
    
    .navbar-left, .navbar-right, .navbar-center {
        gap: clamp(6px, 1vw, 15px);
    }
}

/* 1280x720 and similar resolutions */
@media screen and (max-width: 1280px) and (min-width: 1025px) {
    .home-navbar {
        padding: clamp(4px, 0.8vw, 8px) clamp(6px, 1vw, 12px);
        flex-wrap: nowrap;
        overflow: visible;
    }
    
    .navbar-brand {
        font-size: clamp(1rem, 1.4vw, 1.6rem);
    }
    
    .nav-button {
        font-size: clamp(9px, 1.1vw, 14px);
        padding: clamp(3px, 0.5vw, 6px) clamp(8px, 1.1vw, 12px);
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .navbar-left, .navbar-right, .navbar-center {
        gap: clamp(4px, 0.8vw, 10px);
        flex-shrink: 0;
    }
    
    .navbar-left {
        min-width: clamp(140px, 18vw, 180px);
        margin-right: clamp(4px, 0.8vw, 10px);
    }
}

/* 1024x768 and tablet landscape */
@media screen and (max-width: 1024px) and (min-width: 801px) {
    .home-navbar {
        padding: clamp(3px, 0.6vw, 6px) clamp(5px, 0.8vw, 10px);
        flex-wrap: nowrap;
        overflow: visible;
    }
    
    .navbar-brand {
        font-size: clamp(0.9rem, 1.3vw, 1.4rem);
    }
    
    .nav-button {
        font-size: clamp(8px, 1vw, 12px);
        padding: clamp(3px, 0.5vw, 5px) clamp(6px, 1vw, 10px);
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .navbar-left, .navbar-right, .navbar-center {
        gap: clamp(3px, 0.6vw, 8px);
        flex-shrink: 0;
    }
    
    .navbar-left {
        min-width: clamp(120px, 16vw, 160px);
        margin-right: clamp(3px, 0.6vw, 8px);
    }
    
    .navbar-center {
        gap: clamp(2px, 0.5vw, 6px);
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
}

@media screen and (max-width: 800px) {
    h1 {
        font-size: 6vh;
    }
    small {
        font-size: 3.2vh;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-left {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        min-width: auto;
    }
    
    .navbar-center {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        padding: 0 20px;
        gap: 15px;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: flex-start;
        transform: none;
        opacity: 0;
        visibility: hidden;
        z-index: 2001;
    }
    
    .navbar-center.active {
        height: auto;
        min-height: 280px;
        padding: 20px;
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-right {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(18, 18, 18, 0.98);
        padding: 0 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        margin-top: 400px;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        justify-content: center;
        align-items: center;
    }
    
    .navbar-right.active {
        height: auto;
        min-height: 80px;
        padding: 20px;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-button {
        width: 100%;
        text-align: center;
        padding: 18px 24px;
        font-size: 16px;
        margin-bottom: 10px;
        display: block;
        white-space: normal;
    }
    
    .nav-button.about-btn {
        background: linear-gradient(45deg, #FFFFFF, #F8F9FA);
        color: #424242;
        border: 1px solid #E0E0E0;
        width: 100%;
        margin-bottom: 0;
    }
    
    .home-navbar {
        padding: 10px 15px;
        overflow-x: visible;
    }
    
    .navbar-brand {
        font-size: 1.6rem;
    }
    
    .main-content {
        margin-top: 70px;
    }
}

/* Removed problematic column layout - keep navbar horizontal until mobile breakpoint */