:root {
    --col-bg-cream: #FFF7E2;
    --col-bg-black: rgb(17, 17, 17);
    --col-text-red: #941a1a;
    --col-text: #FFFCF2;
    --fnt-heading: "Barlow Condensed", sans-serif;
    --fnt-link: "Barlow Condensed", sans-serif;
    --fnt-body: "Joan", serif;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.page-container {
    position: relative;
    min-height: 100vh;
    background-color: var(--col-bg-black);
}

main {
    padding-bottom: 35px;
}

body {
    box-sizing: border-box;
    margin: 0;
}

header {
    position: relative;
    background-color: var(--col-bg-cream);
    width: 100%;
    color: var(--col-text-red);
}

header h1 {
    font-family: var(--fnt-heading);
    font-weight: 600;
    font-style: normal;
}

.header-links .active {
    text-decoration: underline;
}

.header-link:hover {
    font-weight: bold;
}

.header-link {
    text-decoration: none;
    color: var(--col-text-red);
    font-family: var(--fnt-link);
    font-weight: 600;
    font-style: normal;
}

footer {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    height: 45px;
    width: 100%;
    background-color: var(--col-bg-cream);
    color: var(--col-text-red);
    font-family: var(--fnt-body);
}

.footer-contents {
    margin-left: 10px;
    font-size: 12px;
    font-family: var(--fnt-body);
    font-weight: 400;
}

.footer-contents a {
    color: var(--col-text-red);
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a {
    text-decoration: none;
    margin: 0 5px;
    display: flex;
    align-items: center;
}

.footer-link-icon {
    height: 30px;
    width: 30px;
}

h2 {
    font-family: var(--fnt-heading);
    font-weight: 600;
    font-style: normal;
    color: var(--col-text);
}

@media only screen and (max-width: 599px) {
    header {
        height: 100px;
        overflow: hidden;
        text-wrap: nowrap;
    }

    header h1 {
        margin: 0;
        padding: 0.5vw;
        text-align: center;
        font-size: 50px;
    }

    .header-links {
        width: 100%;
        text-align: center;
    }

    .header-link {
        margin: 0 2px;
        font-size: 20px;
    }

    h2 {
        font-size: 30px;
        text-align: center;
        margin: 25px 5px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
    header {
        height: 138px;
    }

    header h1 {
        margin: 0;
        padding: 0.5vw;
        text-align: center;
        font-size: 60px;
    }

    .header-links {
        width: 100%;
        text-align: center;
        padding: 7px;
    }

    .header-link {
        margin: 0 2px;
        font-size: 25px;
    }

    .header-link:hover {
        font-weight: bold;
    }

    h2 {
        font-size: 35px;
        text-align: center;
        margin: 30px 5px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    header {
        height: fit-content;
    }

    header h1 {
        margin: 0;
        padding: 10px 20px;
        text-align: left;
        font-size: 55px;
    }

    .header-links {
        position: absolute;
        top: 0;
        right: 10px;
        height: 100%;
        align-content: center;
    }

    .header-link {
        margin: 0 4px;
        font-size: 25px;
    }

    h2 {
        font-size: 4.75vw;
        text-align: center;
        margin: 30px 5px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {    
    header {
        height: fit-content;
    }

    header h1 {
        margin: 0;
        padding: 10px 20px;
        text-align: left;
        font-size: 65px;
    }

    .header-links {
        position: absolute;
        height: 100%;
        top: 0;
        right: 20px;
        align-content: center;
    }

    .header-link {
        font-size: 25px;
        margin: 0 5px;
    }

    h2 {
        font-size: 3.5vw;
        text-align: center;
        margin: 35px 5px;
    }
}

@media only screen and (min-width: 1200px) {
    header {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 130px;
    }

    .headercontents {
        width: 65%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header h1 {
        margin: 0 0 0 50px;
        padding: 0.5vw;
        text-align: center;
        font-size: 75px;
    }

    .header-links {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: center;
    }

    .header-link {
        font-size: 30px;
        margin: 0 5px;
    }

    h2 {
        font-size: 50px;
        text-align: center;
        margin: 40px 5px;
    }
}