a {
    text-decoration: none;
}

a:hover {
    color: #ff9f32;
    cursor: pointer;
}


p {
    text-indent: 2rem;
}

/* Phone screen */
@media screen and (max-height: 800px),
(max-width: 800px) {

    html {
        font-size: 16px;
    }


    body {
        height: 100vh;
        width: 100%;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .grid {
        width: 100%;
        height: 100%;
        position: relative;
        box-sizing: border-box;
        min-height: 700px;
        max-width: 1920px;
        display: grid;
        grid-template: 5% 1fr 8px 1fr 1fr 8px 8fr 5% 25px / 3% 1fr 3%;
    }

    nav,
    p,
    h1,
    h2 {
        font-family: "Roboto Mono", monospace;
    }

    header {
        margin-left: 0.25rem;
        font-size: 3rem;
        grid-area: 2 / 2 / span 1 / span 1;
        align-self: end;
        margin-bottom: 0.5rem;

    }

    footer {
        color: #b0b0b0;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        grid-area: 9 / 1 / span 1 / span 3;
        font-size: 0.8rem;
    }

    footer p {
        margin: 0;
    }

    nav {
        height: 100%;
        width: 100%;
        position: relative;
        box-sizing: border-box;
        font-size: 1.5rem;
        grid-area: 4 / 2 / span 1 / span 1;
        display: grid;
        grid-template: 1fr / repeat(4, 1fr);
    }

    .navl1 {
        grid-area: 1 / 1 / span 1 / span 1;
    }

    .navl2 {
        grid-area: 1 / 2 / span 1 / span 1;
    }

    .navl3 {
        grid-area: 1 / 3 / span 1 / span 1;
    }

    .navl4 {
        grid-area: 1 / 4 / span 1 / span 1;
    }


    .navb1 {
        grid-area: 1 / 1 / span 1 / span 1;
    }

    .navb2 {
        grid-area: 1 / 2 / span 1 / span 1;
    }

    .navb3 {
        grid-area: 1 / 3 / span 1 / span 1;
    }

    .navb4 {
        grid-area: 1 / 4 / span 1 / span 1;
    }


    .nav-buttons {
        text-align: left;
        align-content: center;
        font-size: 100%;
        background-color: transparent;
        border: none;
        color: #b0b0b0;
        width: 100%;
        z-index: 5;
    }

    .nav-buttons:hover {
        color: #ff9f32;
        cursor: pointer;
    }

    .nav-labels {
        text-decoration: none;
        color: black;
        align-content: center;
        padding-left: 1.2rem;
    }

    h2 {
        box-sizing: border-box;
        font-size: 2.75rem;
        color: #692dd7;
        align-self: end;
        grid-area: 5 / 2 / span 1 / span 1;
    }

    p {
        margin-top: 2rem;
        margin-left: 2rem;
        margin-right: 2rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    article {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding-bottom: 2rem;
    }

    .content {
        grid-area: 7 / 2 / span 1 / span 1;
        height: 100%;
        width: 100%;
    }


    .decor-black {
        background-color: black;
        width: 100%;
        height: 100%;
        position: relative;
        box-sizing: border-box;
        overflow: hidden;
    }

    .nav-decor {
        grid-area: 1 / 2 / span 5 / span 1;
        margin-top: 1.1rem;
        visibility: hidden;
    }

    .decor-three-quarter {
        grid-area: 3 / 2 / span 1 / span 1;
        height: 100%;
        width: 100%;
        position: relative;
        box-sizing: border-box;
        display: grid;
        grid-template: 1fr / repeat(14, 1fr);
    }

    .header-decor {
        grid-area: 1 / 4 / span 1 / span 10;
    }

    .decor-top-header {
        visibility: hidden;
    }

    .decor-half {
        grid-area: 6 / 2 / span 1 / span 1;
        height: 100%;
        width: 100%;
        position: relative;
        box-sizing: border-box;
        display: grid;
        grid-template: 1fr / repeat(6, 1fr);
    }

    section {
        width: 100%;
        min-width: 400px;
        display: flex;
        align-items: stretch;
        flex-direction: row;
    }

    .section-decor-top {
        grid-area: 1 / 1 / span 1 / span 3;
    }

    .decor-content-right {
        width: 6px;
        display: grid;
        grid-template: repeat(6, 1fr) / 1fr;
    }

    .section-decor-right {
        grid-area: 2 / 1 / span 4 / span 1;
    }


    .decor-half-sect {
        height: 6px;
        position: relative;
        box-sizing: border-box;
        display: grid;
        grid-template: 1fr / repeat(6, 1fr);
    }

    .section-decor-bottom {
        grid-area: 1 / 3 / span 1 / span 3;
    }


    .headerarrow {
        position: absolute;
        text-align: left;
        align-content: center;
        font-size: 100%;
        background-color: transparent;
        border: none;
        width: 29rem;
        z-index: 5;
        font-size: 3.3rem;
    }

    h1 {
        margin-left: 2rem;
    }

    .headerarrow:hover {
        color: #ff9f32;
        cursor: pointer;
    }


}




@media screen and (min-width: 800px) {



    html {
        font-size: 16px;
    }

    body {
        height: 100vh;
        width: 100%;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }


    .grid {
        width: 100%;
        height: 100%;
        position: relative;
        box-sizing: border-box;
        min-height: 700px;
        max-width: 1920px;
        display: grid;
        grid-template: 20% 1fr 8px 6px 0.5fr 6fr 20% 25px / 10% 6px 1fr 10% 4fr 10%;
    }

    nav,
    p,
    h1,
    h2 {
        font-family: "Roboto Mono", monospace;
    }

    header {
        font-size: 3rem;
        grid-area: 2 / 3 / span 1 / span 1;
        align-self: end;
        display: inline-flex;
    }


    footer {
        color: #b0b0b0;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        grid-area: 8 / 1 / span 1 / span 6;
        font-size: 1rem;
    }

    footer p {
        margin: 0;
    }

    nav {
        height: 100%;
        width: 100%;
        position: relative;
        box-sizing: border-box;
        font-size: 3rem;
        grid-area: 6 / 3 / span 1 / span 1;
        display: grid;
        grid-template: repeat(6, 60px) / 1fr 6px 10fr;
    }

    .navl1 {
        grid-area: 1 / 3 / span 1 / span 1;
    }

    .navl2 {
        grid-area: 2 / 3 / span 1 / span 1;
    }

    .navl3 {
        grid-area: 3 / 3 / span 1 / span 1;
    }

    .navl4 {
        grid-area: 4 / 3 / span 1 / span 1;
    }


    .navb1 {
        grid-area: 1 / 1 / span 1 / span 1;
    }

    .navb2 {
        grid-area: 2 / 1 / span 1 / span 1;
    }

    .navb3 {
        grid-area: 3 / 1 / span 1 / span 1;
    }

    .navb4 {
        grid-area: 4 / 1 / span 1 / span 1;
    }


    .nav-buttons {
        text-align: left;
        align-content: center;
        font-size: 100%;
        background-color: transparent;
        border: none;
        color: #b0b0b0;
        padding-right: 10px;
        width: 700%;
        z-index: 5;
    }

    .nav-buttons:hover {
        color: #ff9f32;
        cursor: pointer;
    }

    .nav-labels {
        text-decoration: none;
        color: black;
        align-content: center;
        padding-left: 10px;
    }

    h2 {
        box-sizing: border-box;
        font-size: 2.75rem;
        color: #692dd7;
        align-self: end;
        grid-area: 2 / 5 / span 1 / span 1;
    }

    p {
        margin-top: 1.5rem;
        margin-left: 0rem;
        margin-right: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.35;
    }

    article {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .content {
        grid-area: 5 / 5 / span 2 / span 1;
        height: 100%;
        width: 100%;
    }


    .decor-black {
        background-color: black;
        width: 100%;
        height: 100%;
        position: relative;
        box-sizing: border-box;
        overflow: hidden;
    }

    .nav-decor {
        grid-area: 1 / 2 / span 5 / span 1;
        margin-top: 1.1rem;
    }

    .decor-three-quarter {
        grid-area: 4 / 3 / span 1 / span 1;
        height: 100%;
        width: 100%;
        position: relative;
        box-sizing: border-box;
        display: grid;
        grid-template: 1fr / repeat(10, 1fr);
    }

    .header-decor {
        grid-area: 1 / 4 / span 1 / span 7;
    }

    .decor-top-header {
        grid-area: 1 / 2 / span 1 / span 1;
        position: relative;
        left: 50px;
        top: 52%;
        height: 60%;
        width: 6px;
    }

    .decor-half {
        grid-area: 4 / 5 / span 1 / span 1;
        height: 100%;
        width: 100%;
        position: relative;
        box-sizing: border-box;
        display: grid;
        grid-template: 1fr / repeat(6, 1fr);
    }

    section {
        width: 100%;
        min-width: 400px;
        display: flex;
        align-items: stretch;
        flex-direction: row;
    }

    .section-decor-top {
        grid-area: 1 / 1 / span 1 / span 3;
    }

    .decor-content-right {
        width: 6px;
        display: grid;
        grid-template: repeat(6, 1fr) / 1fr;
    }

    .section-decor-right {
        grid-area: 2 / 1 / span 4 / span 1;
    }


    .decor-half-sect {
        height: 6px;
        position: relative;
        box-sizing: border-box;
        display: grid;
        grid-template: 1fr / repeat(6, 1fr);
    }

    .section-decor-bottom {
        grid-area: 1 / 3 / span 1 / span 3;
    }

    .headerarrow {
        position: absolute;
        text-align: left;
        align-content: center;
        font-size: 100%;
        background-color: transparent;
        border: none;
        width: 29rem;
        z-index: 5;
        font-size: 3rem;
    }

    h1 {
        margin-left: 2rem;
    }

    .headerarrow:hover {
        color: #ff9f32;
        cursor: pointer;
    }


    /*
    Ultrawide and large resolution 
*/
    @media screen and (min-height: 1100px) {
        .decor-top-header {
            height: 67%;
        }
    }

    /*
    Narrow landscape monitor
*/
    @media screen and (min-width: 800px) and (max-width: 1260px) {
        .grid {
            width: 100%;
            height: 100%;
            position: relative;
            box-sizing: border-box;
            min-height: 400px;
            display: grid;
            grid-template: 20% 1fr 8px 6px 0.5fr 6fr 20% 25px / 2% 6px 250px 3% 8fr 2%;
        }

        header {
            margin-left: 0.25rem;
            font-size: 2rem;
            grid-area: 1 / 3 / span 1 / span 1;
            align-self: end;
            position: relative;
        }


        .headerarrow {
            position: absolute;
            text-align: left;
            align-content: center;
            font-size: 100%;
            background-color: transparent;
            border: none;
            width: 20rem;
            z-index: 5;
            font-size: 2.1rem;
        }

        .decor-three-quarter {
            grid-area: 1 / 3 / span 1 / span 1;
            height: 6px;
            width: 100%;
            box-sizing: border-box;
            display: grid;
            grid-template: 1fr / repeat(10, 1fr);
            align-self: end;
            top: 1rem;
        }

        .decor-top-header {
            grid-area: 1 / 2 / span 1 / span 1;
            position: relative;
            left: 41px;
            top: 18%;
            height: 60%;
            width: 6px;
        }

        /* Fix height */
        @media screen and (min-height: 1100px) {
            .decor-top-header {
                height: 64%;
            }
        }

        nav {
            height: 100%;
            width: 70%;
            position: relative;
            box-sizing: border-box;
            font-size: 2rem;
            grid-area: 5 / 3 / span 1 / span 1;
            display: grid;
            grid-template: repeat(6, 45px) / 1fr 6px 10fr;
        }

        h2 {
            box-sizing: border-box;
            font-size: 2.75rem;
            color: #692dd7;
            align-self: end;
            grid-area: 3 / 5 / span 1 / span 1;
            position: relative;
            top: 400%;
        }

        .decor-half {
            grid-area: 4 / 5 / span 1 / span 1;
            height: 100%;
            width: 100%;
            position: relative;
            box-sizing: border-box;
            display: grid;
            grid-template: 1fr / repeat(6, 1fr);
            position: relative;
            top: 600%;
        }

        .content {
            grid-area: 5 / 5 / span 2 / span 1;
            height: 100%;
            width: 100%;
            position: relative;
            top: 6%;
        }

        h1 {
            margin-left: 1.5rem;
        }

    }

}

/* } */
