:root {
    --green: #475c46;
    --red: #664141;
}

@font-face {
    font-family: 'roboto';
    src: url('../font/Roboto-Light.ttf');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'roboto';
    src: url('../font/Roboto-LightItalic.ttf');
    font-weight: lighter;
    font-style: italic;
}

@font-face {
    font-family: 'roboto';
    src: url('../font/Roboto-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'roboto';
    src: url('../font/Roboto-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Headline';
    src: url('../font/HYPE.ttf');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0px;
    padding: 0px;
    color: #ddd;
    font-family: roboto;
}

h1, h2, h3, h4 {
    font-size: 1.3rem;
    font-family: Headline;
    font-weight: bold;
    line-height: 1.5rem;
}
h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    font-family: 'roboto';
    text-transform: uppercase;
}

h6 {
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    margin-top: 20px;
    color: var(--green);
}

small {
    font-size: 1rem;
}

p, a {
    font-weight: lighter;
}
i {
    font-size: 1rem;
    color: #888;
}

article {
    padding: 4rem 3rem;
    max-width: 900px;
    font-size: 1.25rem;
}

.headline-section {
    margin-top: 40px;
    margin-bottom: -40px;
}

HTML, BODY {
    background: #2a2a2a;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

HEADER {
    height: 50px;
    width: 100%;
    background-color: #1a1a1a;
    display: block;
    padding: 10px 0px;
    position: fixed;
    z-index: 100;
    top: 0;
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 10%), 0 6px 20px 0 rgb(0 0 0 / 10%) !important;
}

SECTION {
    width: 100%;
    display: block;
}

ol {
    list-style: disc;
}

header ol {
    list-style: none;
    display: flex;
    height: 100%;
    float: right;
    margin-right: 50px;
}

header div {
    height: 100%;
    float: left;
    margin-left: 50px;
}
@keyframes loadHint {
    0% { top: 70px; }
    75% { top: 70px; }
    100% { top: 30px; }
}

footer {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    top: 30px;
    height: 40px;
    transition: top 0.3s ease-in-out;
    padding-bottom: 50px;
    animation-name: loadHint;
    animation-duration: 4s;
}
header:hover ~ footer, footer:hover {
    top: 70px !important;
    transition: top 0.3s ease-in-out;
}
.footerTab {
    width: 100%;
    background: #333;
    height: 100%;
    margin: auto;
    padding: 0px;
    display: flex;
    /* vertical-align: middle; */
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    border-right: 2px solid #666;
    box-shadow: 0px 15px 20px 0px rgb(0 0 0 / 50%);
    transition: background 0.3s;
}
    .footerTab:hover {
        background: var(--green);
        transition: background 0.3s;
    }
.footer-logo {
    height: 30px;
    display: block;
}

    .footer-logo a {
        display: inline-flex;
        align-items: center;
        width: 100%;
        height: 100%;
        text-transform: uppercase;
        justify-content: center;
        font-size: 1.4rem;
        text-decoration: none;
    }

    .footer-logo img {
        width: auto;
        margin: 0px 10px;
    }

    .footer-logo a:hover img {
        filter: brightness(1);
    }

footer .button {
    margin: 0px;
    width: 100%;
}

li {
    margin-left: 1rem;
}
p + ol li {
    margin-top: 10px;
    margin-left: 2rem;
}
p > img, li > img {
    display: inline-block;
    object-fit: contain;
    width: auto;
    height: 1rem;
}
header a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

header ol a:hover p {
    display: block;
    position: absolute;
    top: 70px;
    left: 50%;
    z-index: 1;
    padding: 10px;
    background: #1a1a1a;
    transform: translate(-50%, 0px);
    white-space: nowrap;
}

header p {
    display: none;
}

.button:hover {
    background-color: #646464;
    transition: background-color ease-in-out 0.3s;
    /* color: #fff; */
}

.button {
    text-transform: uppercase;
    background-color: var(--green);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: background-color ease-in-out 0.3s;
    margin: 10px 0px;
    padding: 5px 30px;
    font-size: 1rem;
    cursor: pointer;
}

.paragraph {
    margin-top: 100px;
    min-height: 400px;
    background-color: #222;
    display: flex;
    align-items: stretch;
}

    .paragraph img, .paragraph video {
        filter: brightness(0.8);
    }

    .paragraph:nth-of-type(2) {
        margin-top: 0px;
    }

#profile {
    filter: brightness(0.6) saturate(0);
    transition: filter ease-in-out 0.3s;
}
    #profile:hover {
        filter: brightness(0.8) saturate(0);
        transition: filter ease-in-out 0.3s;
    }

#logo {
    float: left;
    white-space: nowrap;
    text-decoration: none;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1rem;
    margin-top: -2px;
}

    #logo p {
        display: block;
        margin-top: -2px;
        font-weight: lighter;
    }

.homepage {
    height: calc(100vh - 70px);
    margin-top: 70px;
}

    .homepage > DIV {
        display: grid;
        height: 100%;
        width: 100%;
        grid-template-columns: 1fr 1.62fr;
    }

.main {
    height: 100%;
}

    .main > DIV {
        display: grid;
        height: 100%;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        transition: all ease-in-out 0.3s;
    }

.paragraph > DIV {
    width: 62%;
    display: flex;
    align-items: center;
}

    .paragraph > DIV:first-of-type {
        width: 38%;
    }

.projectCard {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
}

IMG {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
    overflow: auto;
}

header img {
    object-fit: contain;
    width: auto;
    margin: 0px 10px;
    filter: invert(32%) sepia(27%) saturate(354%) hue-rotate(69deg) brightness(45%) contrast(93%);
    transition: filter ease-in-out 0.3s;
}

header a:hover img {
    filter: invert(0) sepia(0) saturate(0) hue-rotate(0) brightness(0.8) contrast(0);
    transition: filter ease-in-out 0.3s;
}

video, iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: auto;
    filter: brightness(0.3);
}

a:hover video {
    filter: brightness(1);
    transition: all linear 0.3s;
}
video:fullscreen {
    filter: none;
}
.projectCard IMG:hover {
    filter: brightness(0.7);
    transition: all linear 0.3s;
}

.projectInfo {
    position: absolute;
    z-index: 50;
    padding: 10px 5%;
    font-size: 1.2rem;
    top: 50%;
    left: 0;
    width: 90%;
    text-align: center;
    transform: translate(0%, -50%);
    pointer-events: none;
    background: #000000bb;
    height: 20%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.details {
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.25rem;
    margin: 1rem 0rem;
}

.paragraph article .details {
    margin-bottom: 0px;
}

}

h1 {
    font-size: 2rem;
}

.hero {
    margin-top: 70px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

    .hero video {
        height: 400px;
    }

.mytabs {
    display: flex;
    flex-wrap: wrap;
    margin-top:15px;
}

    .mytabs input[type="radio"] {
        display: none;
    }

    .mytabs label {
        padding: 5px 20px;
        background: #333;
        cursor: pointer;
        transition: background 0.3s;
        border-right: 1px solid #666;
        display: inline-block;
    }
        .mytabs label:hover {
            background: #666;
            transition: background 0.3s;
        }

    .mytabs .tab {
        width: 100%;
        order: 1;
        display: none;
        min-height: 150pt;
    }

        .mytabs .tab h2 {
            font-size: 3rem;
        }

    .mytabs input[type='radio']:checked + label + .tab {
        display: block;
    }

    .mytabs input[type="radio"]:checked + label {
        background: var(--green);
        transition: background 0.3s;
    }
