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

body {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' %3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='0' y1='0' y2='1' gradientTransform='rotate(0,0.5,0.5)'%3E%3Cstop offset='0' stop-color='%23C50000'/%3E%3Cstop offset='1' stop-color='%23FF7100'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpattern id='b' width='29' height='29' patternUnits='userSpaceOnUse'%3E%3Ccircle fill='%23ffffff' cx='14.5' cy='14.5' r='14.5'/%3E%3C/pattern%3E%3Crect width='100%25' height='100%25' fill='url(%23a)'/%3E%3Crect width='100%25' height='100%25' fill='url(%23b)' fill-opacity='0.04'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    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 {
        h1, h2 {
            color: whitesmoke;
            text-align: center;
            margin: 0;
        }
        h1 {
            font-size: 4rem;
            font-weight: 400;
        }
        h2 {
            font-size: 1.4rem;
            font-weight: 300;
        }
    }

    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:orangered;
                border-radius: 20px;
                color: black;
                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(-15px);
            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;
    }
    }
}