*,
*:before,
*:after {
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
}

*{
    font-family: "Sour Gummy", sans-serif;
}

html, body {
    margin: 0; 
    height: 100%; 
    overflow: hidden;
}

:root {
    --primary-color: #B7E4F7;
    --secondary-color: #133E87;
    --tertiary-color_1: #608BC1;
    --tertiary-color_2: #CBDCEB;
}

body{
    min-height: 100vh;
    background-color: var(--primary-color);
}

#logo{
    width: 28px; 
    height: 26px;
}

nav{
    padding: 10px;
    min-height: 10dvh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li{
    height: 50px; 
}

nav a.active, a.active_close{
    height: 100%;
    padding: 0;
    margin: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 20px;
    color: var(--tertiary-color_1);
    position: relative;
    letter-spacing: 0.5px;
}

nav a.logo_name{
    height: 100%;
    padding: 0;
    margin: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    position: relative;
    letter-spacing: 0.5px;
}

nav li:first-child{
    margin-right: auto;
}

nav a.active:after{
    content: "";
    position: absolute;
    background-color: var(--secondary-color);
    height: 3px;
    width: 0;
    left: 0;
    bottom: 5px;
    transition: 0.3s;
    border-radius: 30px;
}

nav a.selected:after{
    width: 100%;
    color: var(--secondary-color);
}
nav a.selected{
    color: var(--secondary-color);
}

nav a.active:hover{
    color: var(--secondary-color);
}
nav a.active:hover:after{
    width: 100%;
}



.sidebar{
    position: fixed;
    top: 0; 
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: var(--tertiary-color_2);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    z-index: 3;
    justify-content: flex-start;
}

.sidebar li{
    width: 100%;
}

.sidebar a{
    width: 100%;
}

.menu-button{
    display: none;
}

.logo_name{
    padding-left: 10px;
    font-size: 1.5em;
}

.logo_name img{
    width: 50px; 
    padding-right: 10px;
}


div.flex-container{
    width: 100vw;
}

div.body{
    position: relative; 
    z-index: 2;
}

div.footer{
    position: absolute; 
    bottom: -8%; 
    width: 100vw; 
    z-index: 1;
}


@media(max-width: 1200px){
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
}

/* laptop */
@media(max-width:992px) {
    .logo_name p{
        font-size: 35px;
    }
}

/* tablets */
@media (max-width:768px) {
    .sidebar{
        width: 60%;
    }

    .logo_name p{
        font-size: 25px;
    }

    /* html, body {
        overflow: auto;
    } */

    div.footer{
        bottom: -2%; 
    }
}

/* smartphones */
@media (max-width:600px) {
    .sidebar{
        width: 100%;
    }

    .logo_name p{
        font-size: 20px;
        line-height: 0.7;
    }

    .logo_name img{
        width: 40px; 
    }

    div.footer{
        bottom: -1%; 
    }
}