/* NAV */

header {
    position: absolute;
    top: 0;
    width: 100%;
}

.header-content {
    position: fixed;
    width: 100%;
    background-color:  rgba(20, 30, 48, 0.8);
    backdrop-filter: blur(5px);
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

nav {
    margin: 0 250px;
    font-family: 'Roboto Mono', monospace;
    margin: auto;
    display: flex;
    box-sizing: border-box;
}

.header-content.transparent {
    background-color: rgba(0, 0, 0, 0);
    border: rgba(255, 255, 255, 0);;
}

nav a {
    text-decoration: none;
    color: white;
    margin: auto 0;
}

nav .logo {
    color: white;
    margin: auto 0;
}	

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin-left: auto;
}

nav ul a, .dropdown-button {
    padding: 20px;
    color: white;
    text-decoration: none;
    transition: 0.1s;
    border-radius: 5px;
    font-weight: bold;
}

nav ul a * {
    font-size: 16px;
    height: 16px;
}

nav ul a div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
}

nav ul a div img {
    position: absolute;
    width: 32px;
    height: 32px;
}

nav ul a:hover {
    background-color: rgba(0, 0, 0, 0.30);
}

.dropdown {
    position: relative;
    display: inline-block;
    width: inherit;
}

.dropdown-button {
    width: inherit;
    background-color: transparent;
    border: none;
    height: 100%;
    text-wrap: nowrap;
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    font-size: 16px;
}

.dropdown-button i {
    font-size: 10px;
}
.dropdown-button:hover {
    background-color: rgba(0, 0, 0, 0.30);
    cursor: pointer;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    min-width: inherit;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;

    background-color: rgba(20, 30, 48, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    border: solid 1px rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.dropdown-menu button {
    width: 100%;
    background-color: transparent;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: left;
    text-decoration: none;
    display: block;
    font-size: 16px;
    transition: 0.1s;
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    font-size: 14px;
    align-items: center;
    display: flex;
}

.dropdown-menu button img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.dropdown-menu button:hover {
    background-color: rgba(0, 0, 0, 0.30);
    cursor: pointer;

}

@media screen and (min-width: 2400px){
    nav {
        width: 1700px;
    }
    header {
        position: absolute;
        top: 0;
        width: 100%;
    }
    
    .header-content {
        position: fixed;
        width: 100%;
        background-color:  rgba(20, 30, 48, 0.8);
        backdrop-filter: blur(5px);
        border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    }
}

@media screen and (max-width: 2399px){
    nav {
        margin: 0 250px;
    }
}

@media screen and (max-width: 1700px) {
    nav {
        margin: 0 100px;
    }
}

@media screen and (max-width: 720px) {

    nav {
        padding: 0;
        margin: 0;
    }

    nav .logo {
        display: none;
    }

    nav ul {
        width: 100%;
    }

    nav ul a {
        padding: 20px 0;
        width: inherit;
        text-align: center;
    }

    nav ul a div {
        width: auto;
    }
}