/*  */
.h1 {
    z-index: 99;
}

:root {
    --pg-clr1: black;
    --pg-clr2: white;
    --pg-clr3: #000b22;
    --pg-clr4: #14df7d;
    --pg-clr5: #ff5800;
    --pg-clr6: #e1e5ef;
    --pg-clr7: #f4f4f4;
    --pg-clr8: gold;

    --pg-clr3: #0f2d49;}
/*  */

.s1 {
    color: var(--pg-clr1);
    background-color: var(--pg-clr3);
    padding: 3rem 0;
}

.s1-r1 {
    width: 90%;
    max-width: 80rem;
    margin-inline: auto;
}

.s1-r1-b1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.s1-r1-b1-c1--p {
    color: var(--pg-clr8);
    font-size: 1.5rem;
    text-transform: capitalize;
}

.s1-r1-b1-c1--h1 {
    font-size: 3rem;
    font-family: Arial, sans-serif;
    color: var(--pg-clr2);
    letter-spacing: .5px;
    line-height: 1em;
    padding-bottom: 1rem;
}

.s1-r1-b2 {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 90%;
    padding-top: 2rem;
}

.s1-r1-b2-c1--div {
    justify-self: right;
    border-top: 17px solid var(--pg-clr8);
    width: 50px;
}

.s1-1 {
    background-color: var(--pg-clr3);
    padding-bottom: 3rem;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0);
    margin-bottom: 2rem;
}

@media (max-width: 50rem) {
    .s1-r1-b1-c1--p {
        font-size: 1rem;
        justify-self: center;
    }

    .s1-r1-b1-c1--h1 {
        font-size: 2rem;
        justify-self: center;
    }
}

/*  */

.s2 {
    color: var(--pg-clr3);
    background-color: var(--pg-clr2);

    padding-top: 3rem;
    padding-bottom: 5rem;
}

.s2-r1 {
    width: 90%;
    max-width: 80rem;
    margin-inline: auto;

    /* * */

    background-color: var(--pg-clr2);

    display: grid;
    grid-template-columns: 1fr;
}

.s2-r1-b1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;

    justify-self: center;
    max-width: 50rem;
}

/*  */

.s2-r1-b1-c1--img {
    justify-self: center;
}

.s2-r1-b1-c1--h2 {
    font-size: 3rem;
    font-family: Arial, sans-serif;
    line-height: 1em;

    justify-self: center;
    text-transform: capitalize;
}

.s2-r1-b1-c1--p {
    color: var(--pg-clr5);
    font-size: 1.2rem;
    font-weight: bold;

    justify-self: center;
}

.s2-r1-b1-c2--p {
    padding-left: 2rem;
    border-left: 2px solid var(--pg-clr5);
    line-height: 1.8em;
    font-size: 1.2rem;
    letter-spacing: .5px;
    opacity: .5;
}

/*  */

.s2-r1-b1-c1--div {
    justify-self: right;
    border-top: 30px solid var(--pg-clr6);
    width: 30px;
}

.s2-r1-b1-c2--div {
    justify-self: right;
    margin-right: 50px;
    border-top: 40px solid var(--pg-clr4);
    width: 40px;
}

/*  */

@media (max-width: 50rem) {
    .s2 {
        padding-top: 0;
        padding-bottom: 2rem;
    }

    .s2-r1 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .s2-r1-b1 {
        max-width: 90%;
        justify-self: center;
    }

    .s2-r1-b1-c1--h2 {
        font-size: 1.5rem;
    }

    .s2-r1-b1-c2--p {
        font-size: 1rem;
    }
}

/*  */

.s3 {
    color: var(--pg-clr3);
    background-color: var(--pg-clr2);

    padding-bottom: 5rem;
}

.s3-r1 {
    width: 90%;
    max-width: 80rem;
    margin-inline: auto;

    /* * */

    background-color: var(--pg-clr2);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
}

.s3-r1-b1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;

    align-self: start;
}

/*  */

.s3-r1-b1-c1--h2 {
    font-size: 3rem;
    font-family: Arial, sans-serif;
    line-height: 1em;
    text-transform: capitalize;
}

.s3-r1-b1-c1--p {
    color: var(--pg-clr5);
    font-size: 1.2rem;
    font-weight: bold;
}

.s3-r1-b1-c2--p {
    line-height: 1.8em;
}

.s3-r1-b1-c3--p {
    line-height: 1.8em;
    opacity: .7;
}

.s3-r1-b2 {
    align-self: center;
    justify-self: right;
}

.s3-r1-b2-c1--img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 50rem) {
    .s3 {
        padding-top: 0;
        padding-bottom: 2rem;
    }

    .s3-r1 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .s3-r1-b1 {
        max-width: 90%;
        justify-self: center;
    }

    .s3-r1-b1-c1--h2 {
        font-size: 1.5rem;
    }

    .s3-r1-b2 {
        justify-self: center;
        width: 50%;
    }
}


/* * */

.s4 {
    color: var(--pg-clr1);
    background-color: var(--pg-clr2);

    padding-bottom: 3rem;
}

.s4-r1 {
    width: 90%;
    max-width: 80rem;
    margin-inline: auto;
    background-color: var(--pg-clr3);
}

.s4-r1-b1 {
    padding: 5rem 7rem;
    margin-bottom: 4rem;

    /* * */

    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.s4-r1-b1-c1--h2 {
    line-height: 1.2em;
    font-weight: 700;
    font-size: 3.125rem;
    color: var(--pg-clr7);
}

.s4-r1-b1-c1--a {
    font-weight: 500;
    font-size: 1.125rem;
    background-color: var(--pg-clr5);
    padding: 1.125rem 2.5rem;
    align-self: center;
    justify-self: center;
    color: var(--pg-clr2);
}

/* *********************************************** */

.s4-r1-b1-c1--p {
    display: inline;
    transition: 300ms;
    font-size: 1.125rem;
}

.s4-r1-b1-c1--a:hover .s4-r1-b1-c1--p {
    transition: 300ms;
    margin-left: 1rem;
}

/* *********************************************** */

.s4-r2 {
    width: 90%;
    max-width: 80rem;
    margin-inline: auto;

    /* * */

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding-top: 2rem;
}

.s4-r2-b1-c1--h3 {
    line-height: 1.3em;
    font-size: 1.25rem;
    font-family: Arial, sans-serif;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.s4-r2-b1-c1--p {
    line-height: 1.3em;
    font-size: 1.25rem;
}

.s4-r2-b2-c1--p {
    line-height: 1.3em;
    font-size: 1.25rem;

    border-bottom: 1px solid var(--pg-clr5);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.s4-r2-b3-c1--a {
    font-size: 1.1rem;
    line-height: 1.8em;

    display: block;
    margin-bottom: 1rem;
}

.s4-r2-b3-c1--a:hover {
    color: var(--pg-clr5);
    opacity: .75;
}

.s4-r2-b3 {
    justify-self: end;
    padding-right: 3rem;
}


@media (max-width: 50rem) {

    .s4-r1-b1 {
        padding: 1rem;
        margin-bottom: 2rem;
        /*  */
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }

    .s4-r1-b1-c1--h2 {
        font-size: 1.5rem;
        padding-bottom: 1rem;
    }

    .s4-r1-b1-c1--a {
        font-size: 1rem;
        padding: 1rem;
    }

    .s4-r2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-top: 2rem;

        padding-left: .5rem;
    }

    .s4-r2-b1-c1--h3 {
        font-size: 1.2rem;
    }

    .s4-r2-b2-c1--p {
        font-size: 1.2rem;
        margin-bottom: 0;
        margin-top: 1rem;

        border-bottom: 0;
        padding-bottom: 0;
    }

    .s4-r2-b3 {
        justify-self: start;
        padding-right: 0;
        margin-top: 1rem;
    }
}

/* * */