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

HTML {
    scroll-behavior: smooth;
}

body {
    background-color: white;
    font-family: 'Roboto Condensed';
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.overlay {
    height: 100vh;
    width: 100vw;
    position: relative;
    background-image: url(../images/background_x.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    text-align: center;
    color: white;
}

.overlay h1 {
    margin-top: 500px;
    font-size: 40px;
    z-index:1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.792);
    /* background-color: rgba(42, 35, 35, 0.9); */
    background-color: #466672;
}

.header-menu {
    width: 100%; 
    /* background-color: rgba(255, 255, 255, 0.9); */
    background-color: #c9d9e2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    border-radius: 0;   
    margin: 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}   

.nav .nav-item {
    display: flex;
    justify-content: space-between;
    flex: 1;
    padding: 0 40px;
}

.nav a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color:rgb(67, 64, 64);
    /* color: #466672; */
    font-weight: 700;
    font-size:25px;
}

/* .nav a:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.587);
} */

.nav a:hover {
    color: white;
}

.submenu-container {
    position: relative;
    display: inline-block;
}

.submenu {
    display: none;
    position: absolute;
    background-color: #c9d9e2;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 10;
    min-width: 200px;
    
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color:rgb(67, 64, 64);
    text-decoration: none;
    white-space: nowrap;
}

.submenu a:hover {
    /* background-color: #f0f0f0; */
    background-color: #96bdcd;
    color: white;
}

.submenu-container:hover .submenu {
    display: block;
}


.back_to_top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color:rgb(168, 168, 168);
    border-radius: 0.5rem;
    padding: 0.5rem;
    text-decoration: none;
    transition: 0.2s ease-out;
    opacity: 0;
    pointer-events: none;
}

.back_to_top.show {
    opacity: 1;
    pointer-events: auto;
}

.back_to_top span {
    color: white;
    font-size: 2rem;
    transition: 0.2s ease-out;

}

.back_to_top:hover {
    background-color: #232c2b;
}

.back_to_top:hover span{
    transform: translateY(-4px);
}

.site-footer {
    margin-top: 100 px;
    /* background-color: black; */
    background-color: #466672;
    /* color:rgb(168, 168, 168); */
    color:white;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    width: 100%;
}

.site-footer a {
    text-decoration: none;
    /* color:rgb(168, 168, 168); */
    color: white;
}

.site-footer a:hover {
    color: white;
}

.additional_links {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap:25px;
    font-size: 20px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex:1;
}
