@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Solway:wght@300;400;500;700;800&display=swap');

/* Navbar styling */

nav {
    width: 100%;
    background-color: #070c1b;
    padding-top: .25%;
    padding-bottom: .25%;
}

.stylingbelownav {
    width: 100%;
    height: 1vw;
    background-color: #0A0F25;
    border: 2.5px solid #000000;
    border-right: none;
    border-left: none;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    align-items: center;
    padding-left: 0;
    height: 2.5vw;
}

nav li {
    display: flex;
    align-items: center;
    height: 2.5vw;
}



nav a {
    text-decoration: none;
    color: white;
    height: 100%;
    margin: 0 50px;
    display: inline-flex;
    align-items: center;
    font-size: 1.3vw;
    text-align: center;
    width: 100%;
}



li a:hover:not(#logo) {
    background-color: rgba(0, 0, 0, 0.697);
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
    height: 65px;
}

li a:focus {
    background-color: rgba(0, 0, 0, 0.697);
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
    height: 65px; 
}

li img:focus {
     background-color: rgba(0, 0, 0, 0.697);
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
    height: 65px;
}

.activePage {
    height: 65px;
    border-radius: 13px;
    transition: background-color 0.3s ease;
    text-decoration: underline ;
    text-underline-offset: 50%;
}

li img {
    padding-right: 10%;
}

.logofont {
    font-size: 20px;
    text-align: left;
}

.rightalign {
    margin-left: auto;
    position: relative;
    margin-right: 2.5%;
    z-index: 2;
}

.component10 {
    position: absolute;
    z-index: 99;
    left: 0%;
    z-index: 3;
}

.Group15 {
    cursor: pointer;
}

.acountbutton {
    background: none;
    border: none;
    cursor: pointer;
}

/* Settings Popup Styling */

.settings {
    background-color: #262626;
    color: white;
    font-size: 28px;
    width: 15vw;
    padding: 2vh 1vw 2vh 1vw;
    text-align: left;
    border-left: 4px solid black;
    border-bottom: 4px solid black;
    font-family: 'Solway', serif;
    font-weight: 400;
    position: absolute;
    left: 82.8%;
    z-index: 99;
}

.settingssvg {
    width: 40px;
    height: 40px;
    padding-right: 5%;
    position: absolute;
    right: 78%;
    bottom: -15%;
}

.settingsdiv {
    position: relative;
    padding-left: 20%;

}

.avatar {
    display: block;
    margin: auto;
    width: 90px ;
    height: 90px ;
}

.avatarname {
    text-align: center;
}

.signout {
    padding: 2.5% 5% 2.5% 5%;
    font-family: 'Solway', serif;
    font-weight: 400;
    background-color: #434343;
    color: white;
    border-radius: 10px;
    border: 2px solid white;
    cursor: pointer;
    font-size: 28px;
    text-align: center;
    display: block;
    margin: auto;
}

.settings a {
    text-decoration: none;
    color: white;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 50px; 
}

.hideonpc {
    display: none;
}

.sidebar li a {
    justify-content: center;
}

/* Styling for the close button SVG. Padding makes it a little farther away from the far left. */
.close {
    padding-left: 5%;
}

/* Changes the width of the list items to 100%, making it easier for mobile users to click the navigation buttons. */
.sidebar li {
    width: 100%;
}

/* Same as the previous. */
.sidebar a {
    width: 100%;
    font-size: 32px;
}

.sidebar img {
    position: absolute;
    left: 5%;
    top: 2%;
}

li button {
    border: none;
    background: none;
}

/* Mobile UI */
@media (max-width: 1100px) {
    .infoblocks {
        flex-direction: column;
        gap: 50px;
    }
    .hideonmobile {
        display: none;
    }
    nav ul {
        height: 5vh;
    }
    nav li {
        height: 5vh;
    }
    .logofont {
        font-size: 2vw;
        text-align: left;
        margin-left: 10%;
    }
    .hideonpc {
        display: flex;
        margin-right: 8%;
    }
    .sidebar {
        width: 50vw;
        height: 100vh;
        margin-top: 0;
    }
    .settings {
        width: 100vw;
        left: 0;
        padding-right: 0;
        
    }
    #hamburgermenu {
        margin-left: 0;
    }
    .settingsdiv {
        padding-left: 13%;
    }
    .settingssvg {
        left: 1%;
    }
    .rightalign {
        margin-right: 5%;
    }
}

@media (max-width: 560px) {
    .hideonmobile {
        display: none;
    }
    nav ul {
        height: 5vh;
    }
    nav li {
        height: 5vh;
    }
    .logofont {
        font-size: 5vw;
        text-align: left;
        margin-left: 10%;
    }
    .hideonpc {
        display: flex;
        margin-right: 8%;
    }
    .sidebar {
        width: 100vw;
        height: 100vh;
        margin-top: 0;
    }
    .settings {
        width: 100vw;
        left: 0;
    }

}