﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html{
    overflow-x: hidden;
}

body{
    width: 100%;
    height: 100vh;
    background:
            linear-gradient(45deg, #7A6EB7 0%, #A3FFE2 100%),
            linear-gradient(-45deg, #172D38 0%, #1C2330 100%);
    background-blend-mode: multiply;
    
    background-attachment: fixed;
    background-repeat: no-repeat;
}

nav{
    width: 100%;
    height: 10vh;
    position: sticky;
    z-index:9999;
}


.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo{
    font-size: 2rem;
    font-weight: bolder;
}
a:any-link{
    text-decoration: none;
}

.logo span{
    color: #FFF080;
    text-shadow: 0 0 2px #424CFF;
}

.logo i{
    color: #191919;
    font-size: 2rem;
    font-weight: bolder;
    text-shadow: 0 0 10px #424CFF;
    background-color:transparent;
    transition: 0.2s linear;
}

.logo i:hover{
    scale: 1.2;
    color: rgb(216, 6, 33);
    filter: drop-shadow(0 0 10px rgb(216, 6, 33));
    text-shadow: 0 0 20px rgb(255,255,255);
}

.nav-container .links {
    display: flex;
    align-items: center;

    gap: clamp(7rem, 9vw, 2rem);     /* spacing scales with width */
    
}

.nav-container .links a{
    position: relative;
    font-size: 1.2rem;
    color: #FFF080;
    text-decoration: none;
    font-weight: 500;
}

.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #FFF080;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before{
    width: 100%;
}

.nav-container .links a:hover{
    color: #424CFF;
}

@media (max-width:884px) {
    body{
        overflow-y: visible;
    }

    nav .logo{
        font-size: 1.5rem;

        position: static;
        flex-shrink: 0;
        min-width: 175px;
        white-space: nowrap;
    }

    .nav-container{
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 1rem;
    }

    .nav-container .links{
        display: flex;
        flex: 1;
        justify-content: flex-end;
        flex-wrap: wrap;

        gap: clamp(0.5rem, 2vw, 2rem);
        font-size: clamp(0.6rem, 1vw, 1rem);

    }
    
    @media (max-width: 500px) {
        .nav-container {
            padding: 0 0.5rem;
        }
    }
}