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

body {
    background-color: #2780B3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1630' height='1630' viewBox='0 0 20 20'%3E%3Cg fill-opacity='0.24'%3E%3Cpolygon fill='%2337B6FF' points='20 10 10 0 0 0 20 20'/%3E%3Cpolygon fill='%2337B6FF' points='0 10 0 20 10 20'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    font-family: Poppins, sans-serif;
    color: white;
}

nav.controls {
    position: fixed;
    a:is(:link, :visited) {
        border-radius: 70px;
        display: flex;
        align-content: center;
        justify-content: center;
        background-color: #0009;
        height: 40px;
        transform: scale(0.8);
        opacity: 0.6;
        padding: 10px;
        width: 40px;
        transition: all 0.4s ease-in;
    }
    a:is(:hover) {
        opacity: 1;
        transform: scale(1);
    }
    svg {
        width: 40px;
    }

}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    min-height: 100vh;

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        
        h1, h2 {
            color: whitesmoke;
            text-align: center;
            margin: 0;
        }
        h1 {
            font-size: 4rem;
            font-weight: 400;
        }
        h2 {
            font-size: 1.4rem;
            font-weight: 300;
        }
        img {
            
            width: 170px;
            height: 130px;
        }
    }

    menu {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 1rem;

        a:is(:link, :visited) {
            background-color: #fff9;
            border-radius: 50px;
            display: flex;
            color: #0009;
            gap: 1rem;
            align-items: center;
            padding: 1rem;
            text-decoration: none;
            transition: all 0.5s ease-in;
            width: 280px;
            
            i {
                background-color: #34bcfc;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1630' height='1630' viewBox='0 0 20 20'%3E%3Cg fill-opacity='0.24'%3E%3Cpolygon fill='%2337B6FF' points='20 10 10 0 0 0 20 20'/%3E%3Cpolygon fill='%2337B6FF' points='0 10 0 20 10 20'/%3E%3C/g%3E%3C/svg%3E");;
                border-radius: 20px;
                color: floralwhite;
                font-style: normal;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: all 0.9s ease-in;
                height: 40px;
                width: 40px;
            }
        }

        a:is(:hover)  {
            transform: translate(-10px);
            background-color: whitesmoke;
            
        }

        a:is(:hover) i {
            transform: scale(1.4) rotateX(720deg);
        }
    }

    section {
        border-radius: 10px;
        background-color: #fff9 ;
        color: #0009;
        padding: 10px;
        width: 400px;
        

        h3{
        border-bottom: 2px dotted #0004;    
        color: #0009;
        font-size: 1.4rem;
        margin: 0;
        width: fit-content;
    }
    p {
        font-size: 1rem;
        margin: 10px 0;
    }
     xmp{
        border-radius: 10px;
        background-color: #0009;
        color: #fff9;
        padding: 0 10px 10px 10px;
    }
    }
}