@font-face {
    font-family: 'Roboto Mono';
    font-style: normal;
    font-weight: 400;
    src: url('RobotoMono.ttf') format('truetype'); 
}

html {
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

body {
    color: white;
    font-family: 'Roboto Mono';
    background-color: black;
    margin: 0;

    background-image: url("../Images/background.svg"); 
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.main-content {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    width: 100dvw;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.navbar {
    flex: 0 0 5vw;

    font-weight: bolder;
    background-color: #000C1F;
    color: white;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#right {
    display: flex;
    justify-content: right;
    align-items: center;
    flex-direction: row;
    gap: 5vw;
    padding-right: 5vw;
}

#left {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: row;
    gap: 5vw;
    padding-left: 1vw;
}

.footer {
    flex: 0 0 5vw;

    background-color: #001633;
    color: white;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer::after {
    content: "";
    flex: 1;
}

.socials {
    flex: 1;
    display: flex;
    justify-content: left;
    align-items: center;
    flex-direction: row;
    gap: 5vw;
    padding: 0 5vw;
}

.copyrights {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    font-size: 1vw;
}

.Brand {
    width: 2vw;
    aspect-ratio: 1 / 1;
}

.Brand:hover {
    cursor: pointer;
}

.Logo {
    width: 3vw;
    aspect-ratio: 1 / 1;
}

#right a {
    color: white;
    text-decoration: none;
    font-size: 1.2vw;
}

#right a:hover {
    border-bottom: 0.3vw solid #DC0000;
}

.selected {
    border-bottom: 0.3vw solid #DC0000;
}

button {
    cursor: pointer;
    transition: transform 0.01s ease;
}

button:hover {
    transform: scale(1.02);
}

@media (orientation: portrait) {
    .content {
        flex-direction: column;
    }

    .navbar {
        flex: 0 0 8vh;
        padding: 0 2vw;
    }

    .footer {
        flex: 0 0 8vh;
    }

    .footer::after {
        flex: 0;
    }

    .Brand {
        width: 2vh;
        aspect-ratio: 1 / 1;
    }

    .Logo {
        width: 4vh;
        aspect-ratio: 1 / 1;
    }

    .copyrights {
        font-size: 1vh;
        text-wrap: nowrap;
        text-align: center;
    }

    .socials {
        flex: 0 0 auto;
    }

    #right a {
        font-size: 1.4vh;
    }

    #right a:hover {
        border-bottom: 0.3vh solid #DC0000;
    }

    .selected {
        border-bottom: 0.3vh solid #DC0000;
    }
}

@media (max-width: 350px) {
    #right {
        gap: 2.5vw;
        padding-right: 1.5vw;
    }

    #right a {
        font-size: 1.25vh;
    }

    .copyrights {
        text-wrap: wrap;
    }
}