/* MOBILE SCREEN DESIGN */
@media screen and (min-width: 320px){

    body {
        background-color: #1c1c1c;
        margin: 0;
    }

    nav {
        position: sticky;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        background-color: #141414;
        height: 100px;
        overflow: hidden;
        border: #4a4a4a 5px;
    }

    nav ul {
        position: inherit;
        top: 0;
        left: 0;
        height: inherit;
        list-style-type: none;
        padding: 0;
        margin: 0 auto;
        align-items: center;
        display: flex;
        overflow: hidden;
        justify-content: center;
    }

    nav li {
        display: inline-block;
        padding: 1em;
        height: inherit;
        margin-bottom: 2px;
        line-height: 100px;
        width: 75vw;
        text-align: center;
        color: #555;
        transition: background-color 0.5s 0.2s ease, color 0.3s ease;
        cursor: pointer;
        font-size: .5em;
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 800;
        font-family: 'Lato', serif;
    }

    nav li:hover {
        color: #ececec;
    }
    nav li:active {
        background-color: #222;
    }


    @keyframes gradient {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }



    .header-title h1 {
        font-family: 'JetBrains Mono', serif;
        color: white;
        font-size: 2em;
        padding-left: 5%;
    }

    .main-content-border {
        background: linear-gradient(to top left, #000000, #0e0e0e, #1c1c1c, #212121);
        background-size: 400% 400%;
        animation: gradient 15s ease infinite;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: 100%;
        height: 50vw;
    }

    .main-content {
        padding-top: 1%;
        width: 99%;
        margin-left: auto;
        margin-right: auto;
        height: 99%;
        background-color: #1c1c1c;
    }

    .header-title {
        height: 8em;
        display: flex;
        align-items: center;
        width: 25em;
        margin-left: 2em;
    }

    .header-title h1 {
        font-family: 'JetBrains Mono', serif;
        color: white;
        font-size: 1.2em;
        padding-left: 5%;
        height: inherit;
        display: flex;
        align-items: center;
    }

    .main-content p {
        font-family: 'Lato', serif;
        color: white;
        margin-left: 3em;
        font-size: 1.1em;

        width: 70%;
    }

    .previous-experience span {
        background: #7A7C80;
        width: .2em;
        height: 17em;
    }

    .experience-title {
        color: white;
        font-family: 'JetBrains Mono', serif;
        margin-left: 2em;
        width: 90%;
    }

    .experience-title h1 {
        font-size: 1em;
        margin-bottom: -.4em;
    }

    .experience-title h2 {
        font-size: .8em;
        color: #a5a0a0;
        margin-bottom: -.4em;
    }

    .experience-title h3 {
        font-size: .8em;
        color: #3f3c3c;
    }

    .experience-title p {
        color: white;
        font-family: 'JetBrains Mono', serif;
        font-size: .8em;
        margin-left: 0;
    }

    .previous-experience {
        display: flex;
        align-items: center;
        margin-left: 3em;
    }

    .contact {
        display: flex;
        align-items: center;
        margin-left: 1em;
        height: 5vw;
        width: 10vw;

        padding-bottom: 2em;
    }

    .contact span {
        background: #7A7C80;
        width: .2em;
        height: 3em;
        padding: 0;
    }

    .active-link p {
        background: inherit;
        padding-left: 1vw;
        color: white;
        width: 1vw;
    }

    .active-link {
        display: inline-flex;
        align-items: center;
        text-decoration: none;

        height: 3vw;
    }

    .link-icon {
        scale: 10%;
    }



}

/* DESKTOP SCREEN DESIGN */
@media screen and (min-width: 600px){
    body {
        background: #0e0e0e;
        font-family: 'JetBrains Mono', serif;
    }

    nav {
        position: sticky;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        background-color: #141414;
        height: 100px;
        overflow: hidden;
        border: #4a4a4a 5px;
    }

    .main-content-border {
        background: linear-gradient(to top left, #000000, #0e0e0e, #1c1c1c, #212121);
        background-size: 400% 400%;
        animation: gradient 15s ease infinite;
        margin-left: auto;
        margin-right: auto;
        max-width: 50%;
        width: 50%;
        height: 100%;
    }

    .main-content {
        padding-top: 1%;
        width: 99%;
        margin-left: auto;
        margin-right: auto;
        height: 120%;
        background-color: #1c1c1c;
    }


    nav ul {
        position: inherit;
        top: 0;
        left: 0;
        height: inherit;
        list-style-type: none;
        padding: 0;
        margin: 0 auto;
        align-items: center;
        display: flex;
        overflow: hidden;
        justify-content: center;
    }

    nav li {
        display: inline-block;
        height: inherit;
        margin-bottom: 2px;
        line-height: 100px;
        width: 20vw;
        text-align: center;
        color: #555;
        transition: background-color 0.5s 0.2s ease, color 0.3s ease;
        cursor: pointer;
        font-size: 1em;
        text-transform: uppercase;
        letter-spacing: 5px;
        font-weight: 800;
    }

    nav li:hover {
        color: #ececec;
    }
    nav li:active {
        background-color: #222;
    }


    @keyframes gradient {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }

    .header-title {
        height: 8em;
        display: flex;
        align-items: center;
        width: 25em;
        margin-left: 4em;

        padding-top: 5em;
    }

    .header-title h1 {
        color: white;
        font-size: 2.5em;
        padding-left: 5%;
        height: inherit;
        display: flex;
        align-items: center;
    }

    .main-content p {
        color: white;
        margin-left: 4em;
        font-size: 1.3em;
    }

    .experience-title {
        color: white;
        margin-left: 2em;
        width: 90%;
    }

    .previous-experience span {
        background: #7A7C80;
        width: .2em;
        height: 15em;
    }

    .experience-title h1 {
        font-size: 1.2em;
        margin-bottom: -.5em;
    }

    .experience-title h2 {
        font-size: 1em;
        color: #a5a0a0;
        margin-bottom: -.4em;
    }

    .experience-title h3 {
        font-size: 1em;
        color: #3f3c3c;
    }

    .experience-title p {
        color: white;
        font-size: 1em;
        margin-left: 0;
    }

    .previous-experience {
        display: flex;
        align-items: center;
        margin-left: 6em;
    }

    .diagonal {
        --skew-angle: -10deg;
        --background: linear-gradient(
                45deg,
                #41e77b,
                #e1ed71,
                #f64f59
        );

        position: relative;
        isolation: isolate;
        height: 1vw;
        margin-top: 3vw;
        margin-bottom: 2vw;
        color: white;
    }

    .diagonal::after {
        content: '';
        background: var(--background);
        position: absolute;
        z-index: -1;
        inset: 0;
        transform: skewY(var(--skew-angle));
    }

    .diagonal-right {
        --skew-angle: 10deg;
        --background: linear-gradient(
                90deg,
                #41e77b,
                #3e9cd7,
                #d945b6
        );

        position: relative;
        isolation: isolate;
        height: 1vw;
        margin-top: 8vw;
        margin-bottom: 1vw;
        color: white;
    }

    .diagonal-right::after {
        content: '';
        background: var(--background);
        position: absolute;
        z-index: -1;
        inset: 0;
        transform: skewY(var(--skew-angle));
    }

    .contact {
        display: flex;
        align-items: center;
        margin-left: 1em;
        height: 5vw;
        width: 10vw;
    }

    .contact span {
        background: #7A7C80;
        width: .2em;
        height: 3em;
        padding: 0;
    }

    .active-link p {
        background: inherit;
        padding-left: 1vw;
        color: white;
        width: 1vw;
    }

    .active-link {
        display: inline-flex;
        align-items: center;
        text-decoration: none;

        height: 3vw;
    }

    .link-icon {
        scale: 10%;
    }






}


 a {
     color: inherit;
     text-decoration: none;
 }


