/* NAVIGATION BAR */
.nav {
    position: absolute;
    top: 0;
    width: 100vw;

    z-index: 1;

    background-color: var(--foreground);
    box-shadow: var(--shadow);
}

.logo {
    padding: 15px;
    padding-left: 0;
}

/* EXPANDED ELEMENTS */
.nav-container {
    display: flex;

    margin-left: auto;
    margin-right: auto;

    gap: 10px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;

    max-width: 1000px;
}

.btn-container {
    width: 100%;

    display: none;
    gap: 10px;
}

.nav-btn {
    border-radius: 15px;
    width: 100px;
    padding: 10px;

    line-height: 40px;
    text-align: center;

    font-family: 'ITC Lubalin', serif;
    font-weight: normal;
    font-style: normal;
    color: black;
    text-decoration: none;

    transition: 0.4s;
}

body.hasHover .nav-btn:hover {
    background-color: var(--background);
    box-shadow: var(--shadow) inset;
}

.end-btn {
    margin-left: auto;
}

/* COLLAPSED ELEMENTS */
.ham-container {
    display: none;
    width: 100vw;

    z-index: 1;
    
    background-color: var(--foreground);
    box-shadow: 0px 6px 6px -3px rgba(0, 0, 0, 0.1);
}

.ham-btn{
    display: block;
    padding: 5px;
    padding-left: 35px;
    line-height: 40px;

    background-color: var(--foreground);

    font-family: 'ITC Lubalin', serif;
    font-weight: normal;
    font-style: normal;
    color: black;
    text-decoration: none;

    transition: 0.4s;
}

body.hasHover .ham-btn:hover {
    background-color: var(--background);
}

.ham-icon {
    margin-left: auto;
    width: 45px;
    padding: 15px;
    padding-right: 0;

    text-decoration: none;
}

/* NAVIGATION CONTROL */
@media only screen and (min-width: 650px) {
    .btn-container {
        display: flex;
    }

    .ham-icon {
        display: none;
    }

    .nav {
        position: fixed;
    }
}

/* LAYOUT */
.main {
    position: relative;
    width: 100vw;
    min-height: 100vh;

    padding-top: 80px;
    padding-bottom: 80px;

    background-color: var(--background);
}

.content {
    max-width: 1000px;

    margin-left: auto;
    margin-right: auto;

    overflow: auto;

    padding: 20px;
    padding-top: 0;
}

.footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;

    padding: 20px;

    box-shadow: 0px -3px 6px rgba(0, 0, 0, 0.1);

    background-color: var(--foreground);
}