/* GLOBAL */

:root {
    --bg-color: #34435E;
    --nav-bg: #34435E;
    --nav-brand: #6369D1;
    --h2-color: #60E1E0;
    --font-color: #F4D8CD;
    --feat-img-cover: #F4D8CD;
    --link-color: #B88E8D;
    --link-hover: #6369D1;
    --proj-used: #B88E8D;
    --proj-used-hover: #6369D1;
    --list-name-border: #6369D1;
    --title-font: 'Lora', serif;
    --font: 'Quicksand', sans-serif;
    --link-font: 'Arvo', serif;
}

body {
    width: 100;
    background-color: var(--bg-color);
    font-family: var(--font);
    font-size: 2rem;
    color: var(--font-color);
    margin: 0 0 0 0rem;
    padding: 0 3rem;

}

::selection {
    background-color: orange;
}

a {
    font-family: var(--link-font);
    color: var(--link-color) !important;

}

a:hover {

    color: var(--link-hover) !important;
    text-decoration: none;
}

h2 {
    font-family: var(--title-font);
    font-size: 3rem;
    color: var(--h2-color);
}

p {
    margin-bottom: 0;
}

/* RESPONSIVE */
@media screen and (min-width: 1024px) {
    body {
        font-size: 3rem;
    }

    nav {
        font-size: 1.8rem;
        margin-bottom: 12rem;
    }

    .navbar {
        padding: 0.5rem 3rem;
    }

    h2 {
        font-size: 3.5rem;
    }

    a {
        font-size: 2.5rem;
    }

    .main-content {
        padding: 0 5rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }


    .name-box {
        display: block;
    }

    .background p {
        font-size: 1.3rem;
    }

    .skilltable .col-4 {
        font-size: 1.2rem;
    }

    .project_featured p {
        font-size: 1.5rem;

    }

    .listed p {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 812px) {
    body {
        font-size: 2.5rem;
    }

    nav {
        font-size: 1.4rem;
        margin-bottom: 15rem;
    }

    h2 {
        font-size: 3rem;
    }

    a {
        font-size: 2rem;
    }

    .main-content {
        padding: 0 2rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .name-box {
        display: block;
    }

    .aboutme p {
        font-size: 2rem;
    }

    .background p {
        font-size: 1.2rem;
    }

    .skilltable .col-4 {
        font-size: 1rem;
    }

    .project_featured p {
        font-size: 1.75rem;
    }

    .listed p {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 300px) and (max-width: 811px) {
    body {
        padding: 0 1rem;
    }

    nav {
        font-size: 1.4rem;
        margin-bottom: 15rem;
    }

    .name-box {
        width: calc(100vw * .9) !important;
        font-size: 2.2rem;
        display: block;
    }

    .aboutme {
        width: calc(100vw * .8) !important;
    }

    .aboutme p {
        font-size: 2rem;
    }

    .background p {
        font-size: 1.2rem;
    }

    .skilltable .col-4 {
        font-size: 1rem;
    }

    .project_featured p {
        font-size: 1.75rem;
    }

    .listed p {
        font-size: 1.2rem;
    }

    footer {
        padding: 25px 10px !important;
    }
}


/* NAVBAR STYLE */
.navbar {
    width: 100%;

}

.mynav {
    background-color: var(--nav-bg);
}


.navbar-brand {
    font-family: var(--title-font);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--nav-brand) !important;
}

.navbar-toggler::selection {
    color: none;
}

.navbar-toggler-icon {
    opacity: 1;
    transform: translateY(0px);
    display: inline-block;
}

/* PADDING & MARGINS */


.skills,
.projects {
    margin-top: 5%;
}

/* BG */
.aboutme {
    width: calc(100vw * .75);
}

.background {
    font-size: .75em;
    margin-top: 15%;

}

/* PROJECTS */
.project_list,
.project_featured {
    text-align: left;
}

.project_featured {
    align-content: center;
    margin: 3% 0;
}


.project_list .listed a {
    border-bottom: 1px solid var(--list-name-border);
}

.project_used {
    display: inline-block;
    margin: 3px 3px 3px 0;
    font-family: Inconsolata, monospace;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    color: var(--proj-used);
    border: 1px solid var(--proj-used);
    background: 0 0;
    transition: .5s ease;
}

.project_used:hover {
    color: var(--h2-color);
    border: 1px solid var(--h2-color);
}

#live {
    border-bottom: 0 !important;
}

.live {
    display: inline-block;
    margin: 3px 3px 3px 10px;
    font-family: Inconsolata, monospace;
    font-size: .9rem;
    font-weight: 700;
    color: var(--nav-brand);
    transition: .5s ease;
}

.live:hover {
    color: var(--h2-color);
}

.featuredimage {
    background-color: var(--feat-img-cover);
}

.featuredimage img {
    width: 100%;
    object-fit: cover;
    opacity: .2;
    transition: 1s ease;
}

.featuredimage img:hover {
    opacity: 1;
}

.name span.stay:nth-child(1) {
    opacity: 1;
    transition: all .75s ease;
    transform: translateX(0px);
    display: inline-block;
}

.name span.stay:nth-child(3) {
    opacity: 1;
    transition: all .75s ease;
    transform: translateX(-.6em);
    display: inline-block;
}

.name span.stay:nth-child(5) {
    opacity: 1;
    transition: all .75s ease;
    transform: translateX(-1.2em);
    display: inline-block;
}

.name span.stay:nth-child(6) {
    opacity: 1;
    transition: all .75s ease;
    transform: translateX(-1.2em);
    display: inline-block;
}


.name span.stay:nth-child(8) {
    opacity: 1;
    transition: all .75s ease;
    transform: translateX(-1.3em);
    display: inline-block;
}

.name span.stay:nth-child(9) {
    opacity: 1;
    transition: all .75s ease;
    transform: translateX(-1.3em);
    display: inline-block;
}

.name span.stay:nth-child(11) {
    opacity: 1;
    transition: all .75s ease;
    transform: translateX(-1.9em);
    display: inline-block;
}

.name span.stay:nth-child(13) {
    opacity: 1;
    transition: all .75s ease;
    transform: translateX(-2.5em);
    display: inline-block;
}

.spread {
    opacity: 1;
    transition: all .75s ease;
    transform: translateX(0rem) !important;
    display: inline-block;
}

.f {
    opacity: 0;
    transition: all .75s ease;
    transform: translateY(50px);
    display: inline-block;
}

.fader {
    opacity: 1;
    transform: translateY(0px);
}

.asec h2,
.asec p,
.asec a,
.section {
    opacity: 1;
    transition: opacity 4s ease;
}

.ahid h2,
.ahid p,
.ahid a,
.hidden {
    opacity: 0;
}

/* FOOTER */
footer {
    padding: 50px 80px;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}

.footer__copyright {
    font-weight: 700;
    width: 200px;
    font-size: 1rem;
}

.footer-links {
    box-sizing: inherit;
    display: block;
}

.footer-links a {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-size: 2rem;
    margin: 0 10px;
    color: var(--font-color) !important;
}