@font-face {
    font-family: 'Trajan';
    font-style: normal;
    font-weight: 400;
    src: url('assets/Trajan Pro Regular.OTF');
}

@font-face {
    font-family: 'Berkeley';
    font-style: normal;
    /* font-weight: 400; */
    src: url('assets/Berkeley Oldstyle Medium.otf');
}

:root {
    --merlin-blue: rgb(172, 232, 255);
}

p, div, ul {
    font-family: sans-serif;
}

h1, h2 {
    margin-left: 10px;
    font-family: 'Trajan', serif;
    font-weight: normal;
    text-transform: uppercase;
}

h3, h4, h5, h6 {
    font-family: 'Berkeley', serif;
    font-weight: normal;
}

.glass, .glass-heavy {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
	
.glass-heavy {
    background: rgba(255, 255, 255, 0.75);
}

.glass, .glass-heavy {
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    }

.nav {
    position: fixed;
    height: 80px;
    top: 0;
    left: 0;

    width: 100%;

    background: rgba(172, 232, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);

    overflow: hidden;
    display: flex;
    z-index: 100;
    flex-wrap: wrap;
}

.nav img {
    height: 80px;
}

.nav a {
    text-decoration: none;
    color: black;
}

footer {
    width: 100%;
    margin: 0;
    padding: 20px;
    padding-left: 10%;

    background: rgba(172, 232, 255, 0.5);
}

@media screen and (min-width: 601px) {
    .nav {
        position: absolute;

        height: 80px;
        left: 20px;
        margin-top: 20px;

        width: 25vw;
        min-width: 400px;

        border-radius: 20px;

        z-index: 100;
    }

    .glass, .glass-heavy {
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    }

    .overlay {
        position: absolute;
        left: 20px;
        top: 100px;

        border-radius: 20px;
        margin-top: 20px;
        margin-bottom: 20px;

        width: 40%;
        min-width: min(400px, calc(100vw - 40px));
        max-height: calc(100% - 100px - 40px);

        z-index: 50;
        overflow-y: scroll;
    }
}