/* Reset/basics */
@font-face {
    font-family: OpenSans;
    src: url(/css/fonts/OpenSans-Regular.ttf);
}
*{
    margin: 0;
}
body{
    display: flex;
    min-height: 80%;
    flex-direction: column;
    font-family: OpenSans, sans-serif;
    transition: 0.4s ease-in-out;
    background: #222;
}
a{
    text-decoration: none;
    color: #23e;
}
body,html{
    height: 100%;
}

/* Column management */
.container{
    display: flex;
    height: 600px;
    width: 100%;
    justify-content: center;
}
.column{
    margin: 20px;
    width: 1200px;
    max-width: 100%;
}
main{
    flex: 1;
}

/* Nav */
nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    align-items: center;
    height: 80px;
    display: flex;
    backdrop-filter: blur(4px);
}
nav ul.mobile{
    left: 0;
}
nav .logo{
    margin: 0 auto 0 2em;
}
nav ul{
    list-style-type: none;
    display: flex;
    margin-right: 2em;
}
nav li{
    margin: 0.5em;
}
nav a{
    color: #fff;
}

/* Mobile */
@media (max-width: 560px){
    nav ul{
        width: 40vw;
        top: 0;
        position: absolute;
        margin: 0;
        transition: 0.4s ease-in-out;
        text-align: center;
        left: -42vw;
        height: 100vh;
        background: #222;
        padding: 0;
        display: block;
    }
    nav ul li{
        display: block;
        padding: 1em;
        margin: 0;
        transition: 0.4s ease-in-out;
        background: #222;
    }
    nav ul li:hover{
        background: #444;
    }
    .menu{
        display: block !important;
    }
}
@media (max-width: 550px){
    header{
        text-align: center !important;
    }
    body{
        overflow-x: hidden;
        position: absolute;
        width: 100%;
        right:0;
    }
    footer{
        flex-direction: column;
    }
    footer div:nth-child(2){
        padding-top: 0;
    }
}
body.mobile{
    right: -40vw;
}
.menu{
    display: none;
    cursor: pointer;
    margin-right: 2em;
}

/* Header */
header{
    height: 600px;
    max-height: 100%;
    color: #fff;
    text-align: right;
    flex: none;
}
header h1{
    font-size: 3.3em;
}
header h1 span{
    display: inline-block;
}
header .container{
    align-items: center;
}
#particles{
    position: absolute;
    height: 600px;
    width: 100%;
    z-index: -100;
}
#particles canvas{
    background-color: #111;
}

/* Actual Site Content */
.strip{
    padding: 0.8em;
    color: #fff;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 1.3em;
    background: linear-gradient(75deg, #2dd7d7, #ff4ef3);
    flex: none;
    min-height: 2em;
}
.strip svg{
    margin-right: 0.5em;
    min-width: 20px;
}

main{
    background-color: #eee;
}

/* Footer */
footer{
    background-color: #111;
    color: #fff;
    flex: none;
    display: flex;
}
footer div{
    padding: 2em;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}
