*{
    box-sizing: border-box;
}

.link{
    color: rgb(0, 162, 255);
}

.link:visited{
    color: #d166a8;
}

body{
    margin: 0;
    padding: 0;
    background-color: rgb(63, 63, 80);
    display: flex;
    flex-flow: column;
}

.container{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

header{
    width: 100%;
    padding: 0.5em 5%;
    background-color: #000 0%;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bolder;
    font-size: smaller;
    position: fixed;
    top: 0;
    z-index: 999;
}

h1{
    font-size: 150%;
    border-bottom: solid #24a172;
}

header>nav{
    margin: 0 0 0 auto;
}

header>nav>ul{
    list-style: none;
    margin: 0;
    display: flex;
}

header>nav>ul>li{
    margin: 0 1em;
    padding: 0.5em;
}

header a{
    text-decoration: none;
    color: inherit;
}

nav .current-page{
    background-color: #24a172;
    color: #fff;
}

footer{
    bottom: 0;
    width: 100%;
    background-color: #000;
    color: #9c9c9c;
    margin-top: auto;
}

footer p{
    margin: 1em 20%;
    text-align: center;
    font-size: 90%;
}

#main{
    width: 100%;
}

.external-link::after{
    content: " ";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url(external\ link.png);
    background-size: cover;
    margin-left: 0.2em;
    vertical-align: middle;
}

@media screen and (max-width: 750px){
    
    .mobile-nav{
        margin-left: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 20px;
        cursor: pointer;
    }

    .mobile-nav span{
        display: block;
        width: 25px;
        height: 3px;
        background-color: #000000;
    }

    header > nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        z-index: 998;
        text-align: center;
        pointer-events: none;
        overflow: hidden;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.5s ease-in-out, opacity 0.3s;
    }

    header > nav.active{
        transform: translateY(0);
        opacity: 1;
        display: block;
        pointer-events: all;
    }

    header > nav > ul {
        padding: 1em;
        display: block;
    }

    header > nav > ul >li a{
        display: block;
    }

    nav .current-page{
        background-color: #24a172;
        color: #fff;
    }
}