:root{
    --foreground-color: #000000;
    --background-color: #E9E1DB;
    --headline-color: #47322D;
    --highlight-color: #83192F;
    --interaction-color: #7E4F59;
}
html{
    background-color: var(--background-color);
    background-image: url(../images/resources/pattern.svg);
}
* {
    margin: 0;
    padding: 0;
}
body{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
}

/* Layouts */
.container{
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding-left: 48px;
    padding-right: 48px;
    box-sizing: border-box;
}
@media screen and (max-width: 1024px){
    .container{
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Fonts */
.bold {
    font-weight: 600;
}
.black {
    font-weight: 900;
}
.headline, h1, h2, h3 {
    font-family: "Imbue", serif;
    line-height: 1.2;
}
h1{
    font-weight: bold;
    letter-spacing: 0.7em;
    text-transform: uppercase;
    font-size: 64px;
    margin-left: 0.85em;
}
h2{
    font-weight: bold;
    letter-spacing: 0.15em;
    font-size: 48px;
    margin-left: 0.15em;
}
h3{
    font-weight: bold;
    font-size: 24px;
}
h4{
    line-height: 1.2;
    font-weight: 600;
    font-size: 24px;
}
h6{
    line-height: 1.2;
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
}
p{
    font-size: 16px;
    line-height: 1.5;
}
p.medium{
    font-size: 18px; 
}
p.large{
    font-size: 24px;
}
@media screen and (max-width: 1024px) {
    h1{
        font-size: 48px;
    }
    h2{
        font-size: 32px;
    }
}

/* header */
header{
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--interaction-color);
    z-index: 999;
}
header.flexible{
    transform: translate(0px, -100%);
    transition: transform .5s;
}
header.flexible.active{
    transform: translate(0px, 0px);
}
header.light{
    position: absolute;
    top: 0;
    left: 0;
    background-color: transparent;
    border-bottom: 0px;
    z-index: 998;
}
header>.links{
    display: flex;
    gap: 48px;
    flex: 1;
    justify-content: flex-start;
    align-items: center;
}
header>.links a{
    text-decoration: none;
    appearance: none;
}
header>.links p{
    font-family: "Imbue", serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--foreground-color);
}
header>.links p.selected{
    color: var(--highlight-color);
    font-weight: bold;
    text-decoration: underline;
}
header>.socials{
    display: flex;
    gap: 24px;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
}
header > .header-logo-light{
    display: none;
}
header.light > .header-logo-light{
    display: block;
}
header > .header-logo-dark{
    display: block;
}
header.light > .header-logo-dark{
    display: none;
}
header > .socials .socials-light{
    display: none;
}
header.light > .socials .socials-light{
    display: block;
}
header > .socials .socials-dark{
    display: block;
}
header.light > .socials .socials-dark{
    display: none;
}
header.light>.links p{
    color: white;
}
.header-padding-fix{
    padding-top: 177px;
}
header .moments-menu-wrapper{
    cursor: pointer;
}
header .moments-menu-wrapper .moments-menu{
    position: absolute;
    background-color: white;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    display: none;
}
header .moments-menu-wrapper .moments-menu p{
    color: black;
    font-size: 24px;
}
header .moments-menu-wrapper .moments-menu p:hover{
    text-decoration: underline;
}
header .moments-menu-wrapper:hover .moments-menu{
    display: block;
}
header.mobile{
    display: none;
}
@media screen and (max-width: 1024px) {
    header{
        display: none;
    }
    header.mobile{
        display: flex;
        padding: 16px;
        justify-content: space-between;
        align-items: center;
    }
    header.mobile .logo{
        height: 32px;
    }
    header.mobile .menu-btn{
        height: 32px;
    }
    header.mobile .mobile-menu-wrapper{
        position: fixed;
        display: none;
        align-items: center;
        justify-content: flex-end;
        background-color: rgba(0, 0, 0, 0.8);
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        z-index: 990;
    }
    header.mobile .mobile-menu-wrapper.active{
        display: flex;
    }
    .mobile-menu{
        background-color: var(--background-color);
        height: 100%;
        width: 80vw;
        padding: 64px 16px 24px 16px;
        box-sizing: border-box;
    }
    .mobile-menu h3{
        color: var(--foreground-color);
        font-size: 32px;
    }
    .mobile-menu h3.selected{
        color: var(--highlight-color);
        font-weight: bold;
        text-decoration: underline;
    }
    .mobile-menu h6{
        font-size: 16px;
        font-weight: 600;
        color: var(--headline-color);
    }
    header .mobile-menu .moments-menu-wrapper .moments-menu{
        display: flex;
        position: relative;
        background-color: transparent;
        padding: 0;
        margin-top: 16px;
        margin-left: 16px;
    }
    header .mobile-menu .moments-menu-wrapper .moments-menu h3{
        font-size: 24px;
    }
    .mobile-menu a{
        text-decoration: none;
        appearance: none;
    }
    .mobile-menu .links{
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .mobile-menu .social-links{
        display: flex;
        gap: 6px;
        align-items: center;
        justify-content: flex-start;
        margin-top: 24px;
    }
    .mobile-menu .social-links img{
        height: 32px;
    }
    .mobile-menu .close-menu-btn{
        position: absolute;
        right: 16px;
        top: 16px;
        height: 32px;
    }
    .header-padding-fix{
        padding-top: 112px;
    }
}

/* button */
/* Referencing this: https://stackoverflow.com/questions/27298934/3d-box-shadow-effect to use box shadow to achieve my design */
button{
    appearance: none;
    border-radius: 12px;
    border: 1px solid black;
    background-color: var(--interaction-color);
    color: white;
    font-size: 18px;
    line-height: 1.5;
    padding: 6px 24px;
    box-shadow: 4px 4px 0px var(--highlight-color);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

a.styless{
    text-decoration: none;
    appearance: none;
}