*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: black;
    background-color: white;

    font-family: Arial, sans-serif;
}

h3,
h4 {
    font-family: "Times New Roman", serif;
}

li {
    list-style: none;
}

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

/*  */
.h1 {
    --h1-clr1: black;
    --h1-clr2: white;
    --h1-clr3: #070803;
    --h1-clr4: gold;
    --h1-clr5: #ebebeb;
    --h1-clr5: aliceblue;
    --h1-clr6: orange;

    color: var(--h1-clr2);
    background-color: var(--h1-clr3);

    position: sticky;
    top: 0;
}

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

    padding: 2rem 0;
}

.h1-r1-b1 {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: space-between;
}

.h1-r1-b1-c1--a {
    font-size: 1.5rem;
    color: var(--h1-clr2);
    letter-spacing: 2px;
}

.h1-r1-b1-c1--spn {
    color: var(--h1-clr4);
    /* color: gold; */
}

.h1-r1-b1-c1--div {
    display: none;
}

.h1-r1-b1-c1--ul {
    display: grid;
    grid-template-columns: repeat(5, max-content);
    gap: 2rem;
}

.h1-r1-b1-c2--a {
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--h1-clr2);

    padding: .5rem 0;
    position: relative;

    text-transform: capitalize;
}

.h1-r1-b1-c2--spn {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    border-bottom: 1px solid var(--h1-clr4);
    transition: width .3s;
}

.h1-r1-b1-c2--a:hover .h1-r1-b1-c2--spn {
    width: 100%;
}

.h1-r1-b1-c3--a {
    border-bottom: 2px solid var(--h1-clr4);
}

/*  */

.h1-r1-b1-c2--div {
    position: absolute;
    padding-top: 1rem;
    display: none;
}

.h1-r1-b1-c3--div {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    background-color: var(--h1-clr5);
    border: 1px solid var(--h1-clr5);
    border-radius: 5px;
    color: var(--h1-clr3);
}

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

.h1-r1-b1-c1--li:hover .h1-r1-b1-c2--div {
    display: block;
}

/*  */
.h1-r1-b1-c4--a {
    font-size: 1.1rem;
    text-transform: capitalize;
    letter-spacing: 1px;
    color: var(--h1-clr3);

    padding: .5rem 0;
    position: relative;

}

.h1-r1-b1-c3--spn {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    border-bottom: 2px solid var(--h1-clr6);
    transition: width .3s;

}

.h1-r1-b1-c4--a:hover .h1-r1-b1-c3--spn {
    width: 100%;
}

.h1-r1-b1-c5--a {
    border-bottom: 2px solid var(--h1-clr6);
}

/*  */

@media (max-width: 50rem) {

    .h1-r1 {
        padding: 1rem 0;
    }

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

    .h1-r1-b1-c1--nav {
        display: none;
    }

    .h1-r1-b1-c2--a {
        font-size: 1rem;
        padding: .3rem 0;
    }

    .h1-r1-b1-c1--div {
        display: block;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        color: var(--h1-clr2);
        padding: 0 0.5rem;
    }

    .h1-r1-b1-c10 {
        grid-template-areas: "a b"
            "c c";
        row-gap: 1rem;
    }

    .h1-r1-b1-c10--a {
        grid-area: a;
        justify-self: left;
    }

    .h1-r1-b1-c10--div {
        grid-area: b;
        justify-self: right;

        border: 1px solid var(--h1-clr2);
        border-radius: 5px;
    }

    .h1-r1-b1-c10--nav {
        grid-area: c;
        justify-self: center;
        padding: 1rem;

        display: grid;
        grid-template-columns: 1fr;
        border: 1px solid var(--h1-clr2);
    }

    .h1-r1-b1-c1--ul {
        justify-self: center;

        grid-template-columns: 1fr;
        gap: 1rem;

    }

    /*  */

    .h1-r1-b1-c2--div {
        position: static;
        display: block;
        padding-left: .5rem;
    }

    .h1-r1-b1-c3--div {
        border: none;
        border-left: 1px solid var(--h1-clr3);
        padding: 0;
        padding-left: 1rem;
    }

    .h1-r1-b1-c4--a {
        font-size: .9rem;
        padding: .3rem 0;
    }

    /*  */

    .h1-r1-b1-c3--div {
        padding: 1rem;
        grid-template-columns: 1fr;
        gap: 1rem;

    }

    /*  */
    .h1-r1-b1-c3--div .h1-r1-b1-c2--ul:nth-child(1) li:nth-child(3) {
        display: none;
    }

    .h1-r1-b1-c3--div .h1-r1-b1-c2--ul:nth-child(2) li:nth-child(3) {
        display: none;
    }

    /*  */
}

/*  */
.f1 {
    --f1-clr1: black;
    --f1-clr2: white;
    --f1-clr3: #c6c6c6;
    --f1-clr4: #070803;

    color: var(--f1-clr3);
    background-color: var(--f1-clr4);
}

.f1-r1 {
    width: 90%;
    max-width: 80rem;
    margin-inline: auto;
    padding: 1rem 0;
}

.f1-r1-b1 {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: space-between;
}

.f1-r1-b1-c1--p {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.f1-r1-b1-c1--a {
    color: var(--f1-clr2);
    padding: 0 .1rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.f1-r1-b1-c1--a:hover {
    color: var(--f1-clr2);
    border-bottom: 1px solid var(--f1-clr3);
}

@media (max-width: 50rem) {
    .f1-r1-b1 {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1rem;
    }

    .f1-r1-b1-c1--p {
        text-align: center;
    }
}

/*  */