@import url('https://fonts.googleapis.com/css?family=Sometype%20Mono:700|Sometype%20Mono:400');
body {
    font-family: 'Sometype Mono';
    font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sometype Mono';
  font-weight: 500;
}

html {font-size: 90%;} /* 16px */

h1 {font-size: 4.210rem; /* 67.36px */}

h2 {font-size: 3.158rem; /* 50.56px */}

h3 {font-size: 2.369rem; /* 37.92px */}

h4 {font-size: 1.777rem; /* 28.48px */}

h5 {font-size: 1.333rem; /* 21.28px */}

small {font-size: 0.750rem; /* 12px */}

:root {
    --prefers-color-scheme: dark;
}

@media (prefers-color-scheme: light) {
    :root {
        --text: #1f1d14;
        --background: #fbfaf9;
        --primary: #5d573c;
        --secondary: #a0bf9b;
        --accent: #5d9266;
    }
}
@media (prefers-color-scheme: dark) { 
    :root {
        --text: #ebe9e0;
        --background: #060504;
        --primary: #c3bda2;
        --secondary: #446440;
        --accent: #6da276;
    }
} 

* {
    margin: 0px;
    padding: 0px;
    color: var(--text);
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/*  Nav Bar */
nav {
    position: fixed;
    bottom: 0.1rem;
    left: 0.8rem;
    right: 0.8rem;
    transition: transform 0.5s ease-in-out;
    z-index: 999;
}
nav::before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    background-color: var(--secondary);
    transform: skewX(-30deg);
    border-radius: 0.5rem;
    z-index: -1;
    box-shadow: 0.3rem 0.3rem 6px rgba(0, 0, 0, 0.1);
}
.move-hide {
    transform: translate(-3rem, 6rem);
}

header ul {
    list-style-type: none;
    justify-content: space-around;
}
header li a {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 1rem;
    transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out;
}
header li a:hover {
    background-color: var(--accent);
    color: black;
}
/*  Nav Bar */

body {
    background-color: var(--background);
    overflow: hidden;
}

#hero {
    overflow: hidden;
    height: 100vh;
}

#hero .description {
    float: left;
    padding: 1rem;
    height: 70%;
    justify-content: space-between;
}

#hero .description ul {
    padding: revert;
}

#hero .secondary-description {
    float: right;
    padding: 1rem;
    height: 70%;
    width: 30vw;
    justify-content: space-between;
}
#hero .secondary-description figure {
    height: auto;
    width: 172px;
}

#hero h3 {
    color: var(--accent);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#illustration-container {
    justify-content: center;
    height: 30vh;
    align-items: center;
}

#hero .secondary-description img {
    animation: illustration_rotate 2s linear infinite;
}

@media only screen and (max-width: 768px) {
    #hero div {
        float: unset !important;
        width: 100% !important;
        justify-content: unset !important;
        height: unset !important;
    }
    #illustration-container {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    html {
        font-size: 80% !important;
    }
}

@keyframes illustration_rotate {
    to {
        transform: rotateZ(360deg);
    }
}