/* ==================================================
   CUSTOM FONTS
================================================== */

@font-face {
    font-family: mycontentfont;
    src: url("../font/Oswald-Regular.ttf");
}

@font-face {
    font-family: myheaderfont;
    src: url("../font/Migra-Extrabold.eot");
    src:
        url("../font/Migra-Extrabold.otf") format("opentype"),
        url("../font/Migra-Extrabold.ttf") format("truetype"),
        url("../font/Migra-Extrabold.woff") format("woff"),
        url("../font/Migra-Extrabold.woff2") format("woff2");
}

@font-face {
    font-family: myitalicfont;
    src: url("../font/Quicksand_Book_Oblique.otf");
}


/* ==================================================
   RESET AND BASE STYLES
================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #eac08c;
    cursor: url("../img/cursor.png"), auto;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4 {
    color: #9A3227;
    font-family: myheaderfont;
}

p {
    color: black;
    font-family: mycontentfont;
}

a {
    color: #9A3227;
    font-weight: bold;
    text-decoration: none;
    cursor: url("../img/pointer.png"), pointer;
}


/* ==================================================
   GENERAL CONTAINERS
================================================== */

.container {
    width: 100%;
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
}


/* ==================================================
   PAGE HEADER
================================================== */

.header {
    padding: 60px 20px 80px;
}

.pageheader {
    margin: 0;
    padding: 0;
    font-size: 5em;
    line-height: 1;
    text-align: center;
}

.pagedesc {
    margin: 0.75em 3em 0;
    padding: 0;
    text-align: center;
    font-family: myheaderfont;
    font-size: 1.5em;
    line-height: 1.3;
}


/* ==================================================
   NAVIGATION
================================================== */

nav {
    position: relative;
    z-index: 1000;
    width: 100%;
    background-color: #eac08c;
}

#nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5em 1em;
}


/* ==================================================
   LOGO
================================================== */

#logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

#logo a {
    display: flex;
    align-items: center;
}

#logo img {
    display: block;
    height: 30px;
    margin-right: 0.3em;
}

#logo h3 {
    margin: 0;
    font-size: 0.8em;
    line-height: 1;
}


/* ==================================================
   DESKTOP NAVIGATION MENU
================================================== */

#nav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: myheaderfont;
}

#nav-menu li {
    margin: 0;
    padding: 0;
}

#nav-menu a {
    display: block;
    padding: 0.5em;
    color: #9A3227;
    transition: 0.5s;
}

#nav-menu a:hover {
    color: #eac08c;
    -webkit-text-stroke: 1px #9A3227;
}


/* ==================================================
   HAMBURGER BUTTON
================================================== */

.hamburger {
    display: none;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: url("../img/pointer.png"), pointer;
}

.hamburger img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}


/* ==================================================
   SCROLL TO TOP BUTTON
================================================== */

.scroll-up-btn {
    all: unset;
    position: fixed;
    right: 30px;
    bottom: 25px;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #9A3227;
    border: 2px solid #eac08c;
    border-radius: 50%;
    cursor: url("../img/pointer.png"), pointer;
}

.scroll-up-btn .fa-solid {
    padding-left: 13px;
    color: #eac08c;
    font-size: 20px;
    pointer-events: none;
}


/* ==================================================
   FOOTER
================================================== */

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1em 0;
    background-color: #eac08c;
    text-align: center;
}

#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em;
}

#footer h3 {
    margin: 1em 0;
    font-size: 2.5em;
    line-height: 1.1;
}

#footer .fa-regular {
    margin: 1em 0;
    color: #9A3227;
    font-size: 3em;
}

#ftcontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#ftcontent p {
    max-width: 500px;
    margin: 0;
    line-height: 1.5em;
}

#ftcontent strong {
    font-family: myheaderfont;
    font-size: 1.2em;
}

#socialmedia {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1em;
}

#ftcontent a {
    padding: 0.5em;
    color: #9A3227;
    font-size: 1.5em;
    transition: 0.5s;
}

#ftcontent a:hover {
    color: #eac08c;
    -webkit-text-stroke: 1px #9A3227;
}

#copyright {
    margin: 1em 0 0;
    color: #9A3227;
    font-size: 0.9em;
}


/* ==================================================
   TABLET AND MOBILE
================================================== */

@media (max-width: 768px) {
    .header {
        padding: 50px 20px 60px;
    }

    .pageheader {
        font-size: 4em;
    }

    .pagedesc {
        margin-right: 1em;
        margin-left: 1em;
        font-size: 1.3em;
    }

    #nav-bar {
        position: relative;
        z-index: 10002;
    }

    .hamburger {
        position: relative;
        z-index: 10004;
        display: block;
    }

    .hamburger.active {
        position: fixed;
        top: 14px;
        right: 16px;
        z-index: 10005;
    }

    #nav-menu {
        position: fixed;
        inset: 0;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        width: 100vw;
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0;
        padding: 100px 20px 40px;
        background-color: #9A3227;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease,
            transform 0.3s ease;
    }

    #nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    #nav-menu li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    #nav-menu a {
        display: block;
        width: 100%;
        padding: 10px;
        color: #eac08c;
        font-family: myheaderfont;
        font-size: clamp(2.5rem, 10vw, 5rem);
        line-height: 1;
        opacity: 1;
        visibility: visible;
        -webkit-text-stroke: 0;
    }

    #nav-menu a:hover {
        color: #9A3227;
        background-color: #eac08c;
        -webkit-text-stroke: 0;
    }

    #footer h3 {
        margin: 0.21em;
        font-size: 2em;
    }

    #footer .fa-regular {
        margin: 0;
        font-size: 5em;
    }

    #ftcontent p {
        margin-bottom: 2em;
        padding: 0 20px;
    }

    #ftcontent strong {
        font-size: 1em;
    }

    #ftcontent a {
        font-size: 2em;
    }
}


/* ==================================================
   SMALL PHONES
================================================== */

@media (max-width: 480px) {
    .header {
        padding: 40px 15px 50px;
    }

    .pageheader {
        font-size: 3.2em;
    }

    .pagedesc {
        margin-right: 0.5em;
        margin-left: 0.5em;
        font-size: 1.15em;
    }

    #nav-menu {
        gap: 20px;
        padding-right: 15px;
        padding-left: 15px;
    }

    #nav-menu a {
        font-size: clamp(2.2rem, 12vw, 4rem);
    }

    .scroll-up-btn {
        right: 18px;
        bottom: 18px;
        width: 42px;
        height: 42px;
    }

    #socialmedia {
        flex-wrap: wrap;
    }
}
