@font-face {
    font-family: 'Mona Sans';
    src:
        url('./fonts/Mona-Sans.woff2') format('woff2 supports variations'),
        url('./fonts/Mona-Sans.woff2') format('woff2-variations');
    font-weight: 200 900;
    font-stretch: 75% 125%;
}

::selection {
    background:  rgba(132, 0, 255, 0.05);
    color: rgb(132, 0, 255);
}

/* For Firefox */
::-moz-selection {
    background:  rgba(132, 0, 255, 0.05);
    color: rgb(132, 0, 255);
}

/* Initial state  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
article {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 85em;
    margin: auto;
    opacity: 0;
    gap: 2rem;
    padding: 9.5vh 1.5rem calc(9vh + 64px);
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(1vh);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Variable Definitions  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.dark {
    --bg-color: 0, 0, 0;
    --ct-color: 255, 255, 255;
    --ct-color-10: rgba(var(--ct-color), 0.05);
    --nav-bg: rgba(var(--ct-color), 0.1);
    --shadow-color-10: rgba(0, 0, 0, .1);
}

.horizon {
    --bg-color: 11, 12, 44;
    --ct-color: 255, 255, 255;
    --ct-color-10: rgba(var(--ct-color), 0.05);
    --nav-bg: rgba(var(--ct-color), 0.1);
    --shadow-color-10: rgba(0, 0, 0, .1);
}

.mustard,
.tony-robbins {
    --bg-color: 246, 246, 248;
}

.disney {
    --bg-color: 25, 25, 25;
    --ct-color: 255, 255, 255;
    --ct-color-10: rgba(var(--ct-color), 0.05);
    --nav-bg: rgba(0, 0, 0, .5);
    --shadow-color-10: rgba(0, 0, 0, .1);
}

.iconic-products {
    --bg-color: 239, 235, 217;
    --ct-color: 35, 19, 41;
    --ct-color-10: rgba(var(--ct-color), 0.05);
    --nav-bg: rgba(var(--bg-color), 0.6);
    --shadow-color-10: rgba(0, 0, 0, .1);
}

.moxi {
    --bg-color: 246, 246, 246;
    --ct-color: 0, 0, 0;
    --ct-color-10: rgba(var(--ct-color), 0.05);
    --nav-bg: rgba(var(--bg-color), 0.6);
    --shadow-color-10: rgba(0, 0, 0, .1);
}

:root {
    --bg-color: 255, 255, 255;
    --ct-color: 0, 0, 0;
    --ct-color-10: rgba(var(--ct-color), 0.05);
    --nav-bg: rgba(var(--bg-color), 0.6);
    --shadow-color-10: rgba(0, 0, 0, .1);
}

/* Reset and Global Styles  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Header Styles  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
header,
.saturation {
    position: fixed;
    width: 188px;
    height: 64px;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    padding: 12px;
    border-radius: 10em;
    z-index: 2;
}

header {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0px 5px 20px var(--shadow-color-10), 0px 0px 2px var(--shadow-color-10), inset 0 0 1px rgba(255, 255, 255, 0.3);
    align-items: center;
    background-color: var(--nav-bg);
}

.saturation {
    -webkit-backdrop-filter: saturate(300%);
    backdrop-filter: saturate(300%);
    pointer-events: none;
}

header nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

header a {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
    font-size: 0;
    box-shadow: inset 0 0 0 1px var(--ct-color-10);
    transition: all .2s;
    border: none;
}

.inactive {
    opacity: .3;
    pointer-events: none;
}

header a:hover {
    background-color: var(--ct-color-10);
    box-shadow: inset 0 0 0 20px var(--ct-color-10);
    border: none;
}

header a svg path,
nav a svg path {
    fill: rgb(var(--ct-color)) !important;
}

/* Main Content Styles  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
body {
    font-family: 'Mona Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    color: rgb(var(--ct-color));
    font-size: 1rem;
    font-weight: 450;
    line-height: 160%;
    letter-spacing: .017em;
    text-rendering: optimizeLegibility;
    background-color: rgb(var(--bg-color));
    font-stretch: 98%;
}

a {
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(var(--ct-color), 0.2);
    color: rgb(var(--ct-color));
    transition: all .15s;
    font-weight: 500;
}

a:hover {
    border-bottom: 1px solid rgba(var(--ct-color), 0.5);
    color: rgb(var(--ct-color));
}

ul,
nav {
    list-style: none;
}

h1 {
    font-size: 2rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 120%;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 120%;
    display: block;
    width: 100%;
    margin-top: 3rem;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 120%;
    display: block;
    width: 100%;
    margin-top: 1.5rem;
}

p,
.big {
    padding-top: 1rem;
    font-size: .9rem;
    line-height: 160%;
    color: rgb(var(--ct-color), .7);
}

.big {
    font-size: 1rem;
    color: rgb(var(--ct-color));


}

span,
strong {
    font-weight: 550;
}

article.fade-in {
    animation: fadeIn 1s cubic-bezier(0.2, 1, 0.68, 1) forwards;
}

.one,
.two,
.two-b,
.three,
.four,
.five {
    display: grid;
    gap: 2rem;
}

.narrow {
    max-width: 40em;
    display: flex;
    flex-direction: column;
}

.text {
    padding: 1.5rem 1rem;
}

.final {
    padding: 1.5rem 1rem;
    opacity: .6;
}

.final p {
    font-size: .9rem;
    font-stretch: 90%;
    letter-spacing: .02em;
    padding: .5em 0;
    line-height: 160%;
}

.tweet figure {
    padding: 0;
    margin: 2em 0 3em;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    background-color: red;
    overflow: hidden;
}

.tweet video,
.tweet img {
    margin: -1px 0 -10px;
}

.meta {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    padding: .5rem 0;
}

.meta li {
    font-size: .9rem;
    font-stretch: 90%;
    letter-spacing: .02em;
    opacity: .5;
}

figcaption {
    font-size: .9rem;
    font-stretch: 90%;
    letter-spacing: .02em;
    opacity: .5;
    padding: .5em 0;
    line-height: 160%;
}

figure {
    padding: 0;
    margin: 0;
}

.mgm video {
    padding: 30% 15%;
    background-color: rgb(246, 246, 246);
    border-radius: 10px;
}

.width-350 {
    max-width: 350px;
}

.tony-robbins video {
    border-radius: 36px;
    border: 4px solid black;
    box-shadow: inset 0 0 0 1px black;
}

.mgm .bg-dark {
    padding: 30% 15%;
    background-color: rgb(52, 42, 49);
}

.phone {
    max-width: 350px;
    border: 10px rgb(0, 0, 0) solid;
    border-radius: 40px;
}

img,
video {
    width: 100%;
    padding: 0;
    margin: 0;
}

.one {
    grid-template-columns: repeat(1, 1fr);
}

.two {
    grid-template-columns: repeat(1, 1fr);
}

.two-b {
    grid-template-columns: repeat(2, 1fr);
}

.three {
    grid-template-columns: repeat(1, 1fr);
}

.four {
    grid-template-columns: repeat(2, 1fr);
}

.five {
    grid-template-columns: repeat(3, 1fr);
}

/* homepage  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -*/
.home article {
    max-width: 63em;
    gap: 4rem;
    padding-bottom: 9.5vh;
}

.home-header {
    max-width: 48em;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.home-header svg {
    margin-bottom: 2rem;
}


.home h1,
.home h2,
.home h3,
.home p {
    margin: 0;
    padding: 0;
}

.home h1 {
    display: none;
}

.home strong {
    color: black;
}

.stretch {
    font-size: inherit;
    font-weight: 430;
    font-stretch: 90%;
    letter-spacing: .02em;
    opacity: .5;
}

.home .big {
    font-size: clamp(1.2rem, 2.8vw, 1.7rem);
    letter-spacing: 0;
}

.center {
    text-align: center;

}


.current,
.past {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}



.past {
    padding-top: 3rem;
    border-top: rgba(0, 0, 0, 0.055) 1px solid;

}


.current section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    border-bottom: none;


}

.current section a {
    border-bottom: none;
    padding: 4px;
    border-radius: 12px;
}

.current section a:hover {
    transform: translate(0px, -3px);
}

.current div {
    background-size: 100%;
    display: flex;
    flex-direction: column;
    gap: .75rem;

}

.current div .description {
    display: flex;
    flex-direction: column;
    gap: .3em;
    padding: 0;
    margin: 0;
}

.description p {
    font-weight: 450;
}

.dot {
    padding: 0 .5rem;
}


.company {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-image: url(../images/sketch.png);
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: left top 4px;
    padding: 50px 0 0 0;
    margin-bottom: 1.5rem;

}

.company>* {
    flex: 1;
}

.past-description {
    display: flex;
    gap: .5rem;
    flex-direction: column;

}

.work-list li {
    font-size: .9rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5em;

}

.work-list {

    border-top: 1px solid rgba(var(--ct-color), 0.05);


}

.work-list li a {

    text-decoration: none;
    border-bottom: none;
    padding: .5rem 0;
    padding-left: 1rem;
    background-image: url(../images/dash.svg);
    background-repeat: no-repeat;
    background-position: left top 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid rgba(var(--ct-color), 0.05);


}

.work-list li a:hover {
    padding-left: 1.5em;
}


.studio {
    background-image: url(../images/studio.png);
}

.fueled {
    background-image: url(../images/fueled.png);
}

.personal {
    background-image: none;
}

.social {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

footer {
    display: block;
    width: 100%;
    overflow: hidden;
    margin: auto;
}

footer ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1em;
}

footer a {
    background-image: url(../images/social/email.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    font-size: 0;
    height: 44px;
    width: 44px;
    display: block;
    box-shadow: inset 0 0 0 1px var(--ct-color-10);
    border-radius: 50%;
    border: none;
}

.dribbble {
    background-image: url(../images/social/dribbble.svg);

}

.twitter {
    background-image: url(../images/social/twitter.svg);

}

.read-cv {
    background-image: url(../images/social/read-cv.svg);

}

footer a:hover {
    background-color: var(--ct-color-10);
    box-shadow: inset 0 0 0 20px var(--ct-color-10);
    border: none;
}

/* Media Queries - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media only screen and (min-width: 640px) {
    article {
        padding: 9.5vh 3rem calc(9vh + 64px);
    }

    .current,
.past {

    gap: 3rem;
}


    p {
        font-size: 1rem;
    }

    .big {
        font-size: 1.1em;
    }

    .two {
        grid-template-columns: repeat(2, 1fr);
    }

    .three {
        grid-template-columns: repeat(2, 1fr);
    }

    .four {
        grid-template-columns: repeat(3, 1fr);
    }

    .five {
        grid-template-columns: repeat(5, 1fr);
    }

    /* homepage- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
    .current section {
        flex-direction: row;
    }

    .company {

        flex-direction: row;
        gap: 3.5rem;


    }



}

@media only screen and (min-width: 1024px) {

    h1 {
        font-size: 2.5rem;
    }

    article,
    .one,
    .two,
    .three,
    .four {
        gap: 2.5rem;
    }

    .two {
        grid-template-columns: repeat(2, 1fr);
    }

    .three {
        grid-template-columns: repeat(3, 1fr);
    }

    .four {
        grid-template-columns: repeat(4, 1fr);
    }



    .company {
        padding: 0 0 0 50px;

    }

}