@charset "UTF-8";

#navbar {
    background-color: #9470dbb0;
    padding: 0.8em 0.8em 0.3em 0.8em;
    border-bottom: 3px solid var(--colorviolet-two);
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

#navbartwo {
    display: none;
    background-color: #9470dbb0;
    padding: 0.8em 0.8em 0.3em 0.8em;
    border-bottom: 3px solid var(--colorviolet-two);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

#username {
    color: var(--colorgray-three);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.315);
    font: normal bold 1.4em var(--fontpixel-art);
    letter-spacing: 0.2px;
    display: inline-block;
    transform: translateY(8px);
    position: relative;
    transition: 0.8s ease-in-out;
}

#username:hover {
    animation: float 1s ease-in-out 0.5s infinite alternate;
    top: 5px;
    font-size: 1.6em;
}

#username::before {
    content: "</";
    color: black;
}
#username::after {
    content: ">";
    color: black;
}

#iconmenu {
    font-size: 2.1em;
    font-weight: 500;
    color: var(--colorwhite);
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.438);
    cursor: pointer;
    padding: 5px;
    transform: translateY(-5px);
    float: right;
}

#iconmenu:hover {
    border-radius: 50%;
    background-color: #6969695d;
}

#areamenu {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1;
    text-align: center;
    top: 4em;
    left: -1px;
    background-color: rgba(85, 64, 124, 0.932);
    overflow-x: hidden;
}

#itensmenu {
    list-style-type: none;
    height: 90%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-evenly;
    align-items: center;
}

#areamenu a {
    color: var(--colorwhite);
    text-decoration: none;
    display: block;
    font: normal bold 2em var(--fonthover);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.363);
    transition: font-size 0.3s ease-in-out;
}

#areamenu a:hover {
    color: var(--colorgray-two);
    font-size: 2.5em;
}

@media screen and (min-width: 762px) {
    #navbar {
       display: none;
    }  

    #navbartwo {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.3em;
    }

    #username {
        transform: translateY(0px);
    }

    #iconmenu {
        display: none;
    }

    #areamenu {
        display: none;
    }

    #areamenutwo {
        display: block;
        position: initial;
        height: auto;
        width: auto;
        z-index: auto;
        background-color: rgba(0, 0, 0, 0);
    }

    #areamenutwo a {
        color: var(--colorwhite);
        text-decoration: none;
        display: block;
        font: normal bold 2em var(--fonthover);
        margin-bottom: 2em;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.363);
        transition: font-size 0.3s ease-in-out;
    }

    #itensmenu {
        flex-flow: row nowrap;
        justify-content: space-around;
    }

    #areamenutwo a {
        margin-bottom: 0;
        font: normal 500 1.4em var(--fonthover);
        margin-left: 3em;
        display: flex;
        align-items: center;
    }

    #areamenutwo a:hover {
        font-size: 1.5em;
    }

    #areamenutwo a::before {
        content: "🟪";
        margin-right: 5px;
        font-size: 0.5em;
    }
}

@media screen and (min-width: 992px) {
    #username {
        flex: 1 0 auto;
    }

    #areamenutwo {
        flex: 1 0 auto;
    }
}
