/* General */

* {
    margin-bottom: 0.5rem;
}

body {
    background: linear-gradient(
        to right,
        rgb(225, 224, 224),
        rgb(164, 164, 164),
        rgb(110, 97, 79),
        rgb(137, 119, 94)
    );
    border: 2.5px solid black;
    box-shadow: 0 6px 0 6px black;
    filter: drop-shadow(10px 7px 10px rgb(233, 232, 232));
    padding: 0.5rem;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 0.2fr 0.7fr 0.5fr 0.5fr 0.5fr 0.5fr 0.2fr;
    gap: 50px 50px;
    grid-auto-flow: row;
    grid-template-areas:
        'top-bar top-bar top-bar top-bar'
        'intro intro intro intro'
        'web-dev web-dev web-dev web-dev'
        'guest guest guest guest'
        'learn learn tech tech'
        'archive archive archive archive'
        'bottom-bar bottom-bar bottom-bar bottom-bar';
}

.html {
    scroll-behavior: smooth;
    font-family: 'Melodrama', serif;
    font-family: 'Telma', cursive;
    font-family: 'General Sans', sans-serif;
}

#titles:hover {
    cursor: default;
}

#titles {
    display: flex;
    justify-content: center;
    font-family: 'Melodrama', serif;
    font-size: 70px;
    padding: 23px;
    margin-bottom: 0.1rem;
    column-span: all;
}

h3 {
    text-align: center;
    margin-bottom: 25px;
    font-family: 'General Sans', sans-serif;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-height: 12vh;
    padding: 15px;
    margin-top: 20rem;
    gap: 2rem;
    list-style: none;
    font-size: 1rem;
    font-weight: 475;
}

.nav-links_hd-ft {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 15vh;
    padding: 15px;
    margin-top: 4rem;
    gap: 2rem;
    list-style: none;
    font-size: 1.1rem;
    font-weight: 700;
}

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

a:hover {
    color: rgb(215, 213, 213);
    text-decoration: underline;
    text-underline-offset: 0.3rem;
    filter: drop-shadow(10px 7px 10px black);
}

button {
    font-weight: 600;
    background-color: rgb(4, 4, 4);
    color: rgb(239, 239, 239);
    padding: 1rem;
    max-width: 5rem;
    border: 1.5px solid black;
    border-radius: 3px;
    filter: drop-shadow(10px 7px 10px black);
}

button:hover {
    cursor: pointer;
    background-color: rgb(141, 142, 142);
}

.btn {
    color: whitesmoke;
}

.dropdown-menu {
    display: none;
    position: absolute;
    font-size: 0.8rem;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 0.6rem;
    background-color: rgb(68, 68, 68);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-menu li {
    padding: 1px;
    margin: 25px;
}

.dropdown-menu li a {
    color: rgb(217, 216, 216);
    border-radius: 0.3rem;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background-color: rgb(148, 145, 143);
}

.dropdown:hover .dropdown-menu {
    display: block;
    list-style: none;
    border: 0.1rem solid black;
    border-radius: 2rem;
    filter: drop-shadow(10px 7px 10px black);
}

p {
    columns: 200px 2;
    column-gap: 30px;
    padding: 25px;
    font-weight: 425;
}

/* Header Section */

.top-bar {
    grid-area: top-bar;
}

#b_x-1 {
    border: 0.5rem solid black;
}

/* Intro Section */

.intro {
    grid-area: intro;
    text-align: justify;
    align-items: center;
    justify-content: center;
    font-family: 'Panchang', sans-serif;
    font-size: 15px;
    border: 1rem double rgb(35, 34, 34);
    padding: 15px;
    margin-bottom: 15px;
}

.avatar-pic {
    display: block;
    max-height: 50vh;
    max-width: 35vw;
    padding: 0.4rem;
    padding-top: 25px;
    margin: 0 auto;
    margin-top: 75px;
    margin-bottom: 55px;
    border: 0 solid transparent;
    border-radius: 8rem;
    box-shadow: 0 10px 0 10px black;
    filter: drop-shadow(10px 7px 10px);
}

.greeting {
    font-family: 'Telma', cursive;
    font-size: 60px;
    font-weight: 200;
    text-align: center;
    justify-content: center;
    text-decoration: underline;
    text-underline-offset: 1.24rem;
    margin-bottom: 15rem;
    column-span: all;
}

.credentials {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    max-height: 5vh;
    padding: 50px;
    margin: 125px;
    margin-left: 55px;
    margin-bottom: 20rem;
    gap: 2rem;
    font-weight: 700;
}

.credentials-list {
    display: block;
    gap: 3rem;
    padding: 25px;
    margin-top: 50px;
    list-style: none;
}

/* Web Dev Section */

.web-dev {
    grid-area: web-dev;
    text-align: justify;
    align-items: center;
    justify-content: center;
    font-family: 'Panchang', sans-serif;
    font-size: 15px;
    border: 1rem double rgb(35, 34, 34);
    padding: 15px;
    margin-bottom: 15px;
}

/* Guest Section */

.guest {
    grid-area: guest;
    text-align: justify;
    align-items: center;
    justify-content: center;
    font-family: 'Panchang', sans-serif;
    font-size: 15px;
    border: 1rem double rgb(35, 34, 34);
    padding: 15px;
    margin-bottom: 15px;
}

.avatar-pic-2 {
    display: block;
    max-height: 50vh;
    max-width: 35vw;
    padding: 0.4rem;
    padding-top: 25px;
    margin: 0 auto;
    margin-top: 75px;
    margin-bottom: 55px;
    border: 0 solid transparent;
    border-radius: 8rem;
    box-shadow: 0 10px 0 10px black;
    filter: drop-shadow(10px 7px 10px);
}

/* Learn Section */

.learn {
    grid-area: learn;
    text-align: justify;
    align-items: center;
    justify-content: center;
    font-family: 'Panchang', sans-serif;
    font-size: 15px;
    border: 1rem double rgb(35, 34, 34);
    padding: 15px;
    margin-bottom: 15px;
}

/* Tech Section */

.tech {
    grid-area: tech;
    text-align: justify;
    align-items: center;
    justify-content: center;
    font-family: 'Panchang', sans-serif;
    font-size: 15px;
    border: 1rem double rgb(35, 34, 34);
    padding: 15px;
    margin-bottom: 15px;
}

/* Archive Section */

.archive {
    grid-area: archive;
    text-align: justify;
    align-items: center;
    justify-content: center;
    font-family: 'Panchang', sans-serif;
    font-size: 15px;
    border: 1rem double rgb(35, 34, 34);
    padding: 15px;
    margin-bottom: 15px;
}

.arch-img {
    display: block;
    max-height: 50vh;
    max-width: 35vw;
    padding: 0.4rem;
    padding-top: 25px;
    margin: 0 auto;
    margin-top: 75px;
    margin-bottom: 55px;
    border: 0 solid transparent;
    border-radius: 8rem;
    box-shadow: 0 10px 0 10px black;
    filter: drop-shadow(10px 7px 10px);
}

/* Footer */

.bottom-bar {
    grid-area: bottom-bar;
}

#b_x-8 {
    border: 0.5rem solid black;
}

.end {
    margin-top: 15rem;
}

.box-text_ft {
    text-align: justify;
    margin-bottom: 25px;
    font-family: 'General Sans', sans-serif;
    font-size: 1rem;
    font-weight: 750;
}

.box-text_ft-sig {
    font-size: 2rem;
    font-family: 'Telma', cursive;
}

/* Media Queries */

@media (max-width: 575px) {
    .container {
        display: block;
        grid-template-columns: 1fr;
        grid-template-rows: 0.2fr 0.7fr 0.5fr 0.5fr 0.5fr 0.5fr 0.2fr;
        grid-template-areas:
            'top-bar'
            'intro'
            'web-dev'
            'guest'
            'learn'
            'tech'
            'archive'
            'bottom-bar';
    }

    #titles,
    .greeting {
        font-size: 2rem;
    }

    .box-text,
    .end {
        font-size: 0.9rem;
    }

    .nav-links,
    .nav-links_hd-ft {
        display: block;
        text-align: center;
        font-size: 0.9rem;
        margin-top: 0;
    }

    button {
        font-size: 0.6rem;
        height: 1.4rem;
        text-align: center;
        padding-top: 0.29rem;
    }
}

@media (min-width: 576px) and (max-width: 800px) {
    /* add the 320px to this */

    .container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 0.2fr 0.7fr 0.5fr 0.5fr 0.5fr 0.5fr 0.2fr;
        grid-template-areas:
            'top-bar'
            'intro'
            'web-dev'
            'guest'
            'learn'
            'tech'
            'archive'
            'bottom-bar';
    }

    #titles,
    .greeting {
        font-size: 2.5rem;
    }

    .box-text,
    .end {
        font-size: 0.9rem;
    }

    .nav-links,
    .nav-links_hd-ft {
        display: block;
        text-align: center;
        font-size: 0.9rem;
        margin-top: 0;
    }

    button {
        font-size: 0.6rem;
        height: 1.6rem;
        text-align: center;
        padding-top: 0.4rem;
    }
}
