﻿@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    word-wrap: break-word;
    font-variant-numeric: tabular-nums;
}

html {
    overflow: hidden;
    height: 100%;
    --red: #EA947C;
    --orange: #EBB571;
    --greyDark: #242424;
    --grey: #343434;
    --greyLite: #787878;
    --white: #FFFFFF;
}

body {
    overflow: hidden;
    height: 100%;
    width: 100%;
    background: fixed;
    background-color: var(--grey);
}

/*
    font-family: 'Josefin Sans', sans-serif;
    font-family: 'Josefin Sans', sans-serif;
    font-family: 'Roboto Mono', monospace;
    font-family: 'Roboto Mono', monospace;
*/

a {
    display: block;
    font-family: 'Josefin Sans', sans-serif;
    text-decoration: none;
    font-size: 12pt;
    font-weight: 300;
    color: var(--red);
}

i {
    display: inline;
}

p {
    display: block;
    font-family: 'Josefin Sans', sans-serif;
    text-align: left;
    font-size: 13pt;
    font-weight: 400;
    color: var(--greyLite);
    padding: 0 10px 20px 10px;
    margin: 0 auto;
    line-height: 1.5;
}

ul {
    padding: 0 50px 10px 50px;
    list-style-type: disc;
    list-style-position:inside;
}

li {
    display: list-item;
    font-family: 'Roboto Mono', monospace;
    text-align: left;
    font-size: 11pt;
    font-weight: 400;
    color: var(--grey);
    padding: 0 0 10px 20px;
    text-indent: -20px;
    margin: 0 auto;
    line-height: 1.5;
}

code {
    font-family: 'Roboto Mono', monospace;
    text-align: left;
    font-size: 11pt;
    font-weight: 400;
    color: var(--red);
}

    p a {
        display: inline;
        font-weight: 400;
        text-decoration: underline;
        color: var(--red);
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
    }

bold{
    font-weight: 700;
}
p bold {
    color: var(--grey);
}

italic {
    font-weight: inherit;
    font-style: italic;
}

h1 {
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;
    font-size: 35pt;
    color: var(--white);
    font-weight: 700;
}

h2 {
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;
    font-size: 45pt;
    font-weight: 600;
    color: var(--orange);
    padding: 30px 0 20px 0;
}

h3 {
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;
    font-size: 25pt;
    font-weight: 700;
    color: var(--grey);
    padding: 5px 0 15px 0;
}

h4 {
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    font-size: 13pt;
    font-weight: 300;
    color: var(--orange);
    padding: 5px 0;
}

h5 {
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    font-size: 16pt;
    font-weight: 300;
    color: var(--red);
    padding: 5px 25px;
    margin: 5px auto;
    border-radius: 18px;
    background-color: var(--greyDark);
    width:fit-content;
}

/* Animations */
@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 150px, 0);
        transform: translate3d(0, 150px, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@-moz-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 150px, 0);
        transform: translate3d(0, 150px, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@-o-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 150px, 0);
        transform: translate3d(0, 150px, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 150px, 0);
        transform: translate3d(0, 150px, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* Content Tabs */

#active-content {
    width: calc(100% - 4vw);
    max-width: 875px;
    min-height: 50%;
    margin: 0 auto;
    border-radius: 0 0 5px 5px;
    background-color: var(--white);
    padding: 0 2vw 140px 2vw;
}

/* Adjust Content Images to screen size */

@media screen and (min-width: 925px), screen and (max-width: 800px) and (min-width: 650px) {
    .float {
        margin: 20px 25px;
        border-radius: 18px;
        width: 40%;
        min-width: 215px;
        max-width: 400px;
        float: right;
        transition: .7s width ease-in-out, .7s box-shadow ease-in-out;
    }

    iframe.float {
        border-radius: 0;
        margin: 20px 25px;
        width: 60%;
        min-width: 215px;
        max-width: 400px;
        min-height: 200px;
        height: auto;
        float: right;
    }

    .float.stagger {
        float: left !important;
    }

    .float.bigger {
        margin: 12px 25px;
        border-radius: 10px;
        width: 60%;
        min-width: 350px;
        max-width: 570px;
    }

    .float.grow {
        box-shadow: var(--orange) 0 5px;
        margin: 20px 30px;
        max-width: none !important;
    }

        .float.grow:hover {
            width: 95%;
            box-shadow: none;
            transition: .7s width ease-in-out, .7s box-shadow ease-in-out;
        }
}

@media screen and (max-width: 925px) and (min-width: 800px), screen and (max-width: 650px) {
    .float {
        margin: 10px auto 25px auto;
        float: none !important;
        border-radius: 18px;
        width: 90%;
        min-width: 275px;
        max-width: 400px;
        display: block;
    }

    iframe.float {
        border-radius: 0;
        min-height: 200px;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .float.grow {
        box-shadow: none;
        margin: 10px auto 25px auto !important;
    }
}


/* Buttons */

.btn {
    border-radius: 0px;
    margin: 10px auto;
    cursor: pointer;
    min-width: 100px;
    max-width: 35%;
    background-color: var(--greyDark);
    border: 2px solid var(--grey);
    box-shadow: 0 4px var(--grey);
    padding: 15px 0;
}

    .btn, .btn p {
        font-family: 'Roboto Mono', monospace;
        font-weight: 300;
        color: var(--white);
        text-align: center;
        font-size: 14pt;
    }

        .btn p bold {
            font-weight: 700;
            color: var(--white);
        }

        .btn:hover, .btn:focus {
            background-color: var(--grey);
            border: 2px solid var(--greyDark);
            z-index: 2;
            box-shadow: none;
            transform: translateY(4px);
        }

        .btn:hover, .btn:focus, .btn:hover *, .btn:focus * {
            color: var(--orange);
        }

        .btn:active, .btn:focus {
            background-color: var(--white);
            border: 1px solid var(--greyDark);
            color: var(--grey);
        }

            .btn:active *, .btn:focus * {
                color: var(--grey);
            }

/* Sidebar and Contents Flex Box */

#title-img {
    height: 175px;
    width: 175px;
    padding: 5px;
}

/* Sidebar and Contents Flex Box For Larger Screens */

@media screen and (min-width: 800px) {
    #page-flex {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-content: stretch;
        align-items: stretch;
        height: 100%;
        width: 100%;
    }

    #flex-sidebar {
        order: 0;
        flex: 1 1 auto;
        align-self: auto;
        min-width: 350px;
        max-width: 30%;
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: auto;
        background-image: linear-gradient(var(--red) 3%, var(--grey) 37%);
    }

        #flex-sidebar > * {
            display: block;
        }

    #flex-content {
        min-width: 450px;
        max-width: 70%;
        order: 0;
        flex: 1 1 auto;
        align-self: auto;
        background-color: var(--white);
        overflow-y: auto;
    }

    #title > * {
        display: block;
    }

    #title-img {
        margin: 20px auto 20px auto;
    }

    /* Animate Fade in for all active content */

    #active-content {
        padding-top: 60px;
        -webkit-animation: fadeInUp 1.5s ease-in-out;
        -moz-animation: fadeInUp 1.5s ease-in-out;
        -o-animation: fadeInUp 1.5s ease-in-out;
        animation: fadeInUp 1.5s ease-in-out;
    }
}
/* Sidebar and Contents Flex Box For Smaller Screens */

@media screen and (max-width: 800px) {
    h1, h4{
        text-align: right;
        padding-right: 50px;
    }

    #page-flex {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-content: stretch;
        align-items: stretch;
        height: 100%;
        overflow-y: auto;
    }

    #flex-sidebar {
        order: 0;
        flex: 1 1 auto;
        align-self: auto;
        padding-bottom: 50px;
        background-image: linear-gradient(var(--red) 0%, var(--grey) 100%);
    }

        #flex-sidebar > * {
            display: block;
        }

    #flex-content {
        order: 0;
        flex: 2 1 auto;
        align-self: auto;
        background-color: var(--grey);
    }

    #active-content {
        border-radius: 40px;
        width: calc(90% - 4vw);
        padding-top: 50px;
    }

    #title {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-content: center;
        align-items: center;
    }

    #title-img {
        margin: 20px 20px 0 0;
    }
}

/* Sidebar and Contents Flex Box For Smallest & Short Screens */

@media screen and (max-width: 650px), screen and (max-height: 700px) {
    #flex-sidebar > * {
        display: block;
    }

    #title > *, #title {
        display: block;
    }

    #title-img {
        margin: 10px auto 10px auto;
        height: 110px;
        width: 110px;
    }
}

/* Navigation Bar */

#nav-toggle, #nav-toggle i {
    display: none;
}

#nav {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin-top: 30px;
}

.nav-link {
    font-family: 'Roboto Mono', monospace;
    display: block;
    text-align: center;
    font-size: 14pt;
    font-weight: 100;
    padding: 10px 0px;
    color: var(--white);
    width: 100%;
    background-color: var(--greyDark);
    transition: .5s background-color ease-in-out, .5s font-weight ease-in-out, .3s padding ease-in-out;
}

    .nav-link:hover {
        background-color: var(--greyLite);
        font-weight: 600;
        padding: 20px 0px;
        transition: .5s background-color ease-in-out, .5s font-weight ease-in-out, .3s padding ease-in-out;
    }

.active-nav-link {
    color: var(--red);
}

.nav-divider {
    width: 100%;
    height: 3px;
    background-color: var(--grey);
    margin: 0 auto;
}

.social-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
    align-items: center;
    padding: 15px 25%;
    width: 50%;
    background-color: var(--greyDark);
}

.socials {
    display: block;
    font-size: 28px;
    text-align: center;
    color: var(--red);
    transition: .3s color ease-in-out;
}

    .socials:hover {
        color: var(--white);
        transition: .3s color ease-in-out;
    }

/* Navigation Bar on Smaller Screens */

@media screen and (max-width: 800px), screen and (max-height: 700px) {

    /* Navigation Toggle Button */
    #nav-toggle {
        display: block;
        text-align: center;
        position: fixed;
        bottom: 65px;
        right: 25px;
        height: 75px;
        width: 75px;
        border-radius: 10px;
        border: 2px solid var(--grey);
        background-color: var(--greyDark);
        cursor: pointer;
        z-index: 50;
        -webkit-animation: fadeInUp 1.5s ease-in-out;
        -moz-animation: fadeInUp 1.5s ease-in-out;
        -o-animation: fadeInUp 1.5s ease-in-out;
        animation: fadeInUp 1.5s ease-in-out;
    }

        #nav-toggle i {
            display: block;
            font-size: 45px;
            margin: auto;
            text-align: center;
            padding-top: 14px;
            color: var(--white);
        }

        #nav-toggle:hover {
            background-color: var(--grey);
            border: 2px solid var(--greyDark);
            border-width: 2px;
        }

            #nav-toggle:hover i {
                color: var(--orange);
            }

    #nav {
        display: none;
        position: fixed;
        right: 0;
        top: -30px;
        height: 100vh;
        width: 100vw;
        z-index: 1000;
        background-color: var(--greyDark);
        background-image: linear-gradient(var(--red), var(--grey));
    }

    .nav-link {
        text-align: center;
        font-size: 18pt;
        padding: 10px 0 10px 0;
        text-shadow: none;
        width: 100%;
    }
}

/* Footer */

#footer {
    position: sticky;
    bottom: 0;
    left: 0;
    background-color: var(--greyDark);
    min-height: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    padding: 8px 0 6px 0;
}

.footer-txt {
    font-family: 'Roboto Mono', monospace;
    margin: auto;
    text-align: center;
    font-weight: 400;
    font-size: 10pt;
    padding: 0;
    display: inline;
    text-decoration: none;
    color: var(--white);
}

a.footer-txt {
    color: var(--orange);
}

iframe {
    border: none;
    margin: auto auto 30px auto;
    resize: vertical;
}

iframe.resume {
    min-height: 550px;
    height: 700px;
    max-height: 1200px;
    width: 100%;
    overflow: scroll;
}