*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}
:root
{
    --clr: #222327;
}
.logotext {
    color: #29fd53;
    font-weight: 700;
    font-size: 1.5em;
}
header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: black;
    border-bottom: 1px solid #29fd53;
    box-shadow: 0 0 10px #29fd53;
    padding: 28px 12%;
    transition: all .50s ease;
}
.mobile-nav-toggle {
    display: none;
}
body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--clr);
    overflow-x: hidden;
    color: #29fd53;
}
.caption {
    width: 300px;
    text-align:center;
} 
.button.boxlink{
    outline-color: transparent;
    background-color: #29fd53;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    padding: 20px 50px;
    font-size: 30px;
    font-weight: bold;
}

.logo {
    display: flex;
    align-items: center;
    width: 70px;
    height: auto;
    float: left;
}
.navbar {
    display: flex;
}
.navbar li
{
    position: relative;
    list-style: none;
    width: 70px;
    height: 70px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navbar li:hover .indicator{
    display: block;
}
.navbar li a
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-weight: 500;
}
.navbar li a .icon
{
    position: relative;
    display: block;
    line-height: 75px;
    font-size: 2em;
    text-align: center;
    transition: 0.5s;
    color: #29fd53;
}
.navbar li:hover a .icon
{
    transform: translateY(-17px);
    color: purple;
}
.navbar li a .text
{
    position: absolute;
    color: purple;
    font-weight: 400;
    font-size: 1.25em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(50px);
}
.navbar li:hover a .text
{
    opacity: 1;
    color: #fff;
    transform: translateY(30px);
}

.main{
    display: flex;
    align-items: center;
}
.main a{
    margin-right: 25px;
    margin-left: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all .50s ease;
}
.main a:hover{
    color: purple;
}
.user{
    display: flex;
    align-items: center;
}
.user i{
    color: white;
    font-size: 28px;
    margin-right: 7px;
}
#menu-icon{
    font-size: 35px;
    color: white;
    cursor: pointer;
    z-index: 100;
    display: none;
}
.indicator
{
    position: absolute;
    top: 50%;
    width: 70px;
    height: 70px;
    background: #29fd53;
    transform: translateY(-80%);
    border-radius: 50%;
    border: 6px solid var(--clr);
    transition: 0.5s;
    display: none;
    z-index: -1;
}

@media (max-width: 1280px){
    header{
        padding: 14px 2%;
        transition: .2s;
    }
    .navbar a{
        padding: 5px 0;
        margin: 0px 20px;
    }
}
@media (max-width: 1024px){
    #menu-icon {
        display: block;
    }
    .navbar li:hover .indicator{
        display: none;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: -100%;
        width: 75px;
        height: flex;
        background: #29fd53;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        border-radius: 10px;
        transition: all .50s ease;
    }
    .navbar a{
        display: block;
        margin: 12px 0;
        padding: 0px 25px;
        transition: all .50s ease;
    }
    .navbar a:hover{
        color: purple;
        transform: translateY(5px);
    }
    .navbar li a .icon
    {
    position: relative;
    display: block;
    line-height: 75px;
    font-size: 1.5em;
    text-align: center;
    transition: 0.5s;
    color: #000000;
    }
    .navbar li:hover a .text
{
    opacity: 1;
    color: purple;
    transform: translateY(20px);
}
    .navbar.open{
        right: 2%;
    }
    .main a{
        
        color: white;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all .50s ease;
    }  
}
@media (max-width: 35rem){
    .navbar{
        position: fixed;
        right: 0;
        z-index: 1000;
        inset: 0 0 0 60%;
        flex-direction: column;
        padding: min(30vh, 5rem) 0em;
        background: hsla(132, 98%, 58%, 0.75);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
    }
    @supports (backdrop-filter: blur(1rem)){
        .navbar {
            background: hsla(132, 98%, 58%, 0.75);
            backdrop-filter: blur;
        }
    }

    .navbar[data-visible="true"] {
        transform: translateX(0%);
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 9999;
        background-color: transparent;
        background-image: url("menu-button.png");
        color: white;
        background-repeat: no-repeat;
        width: 5rem;
        border: 0;
        aspect-ratio: 1;
        top: 2rem;
        right: 2rem;
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        background-image: url("menu-close.png");
    }

    .logotext{
        display: none;
    }
}