/* BASE.html */

/* Playfair Display */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

/* NeutralFace */

@font-face {
    font-family: 'NeutralFace';
    src: url('/static/fonts/neutral_face/NeutralFace.otf');
    font-weight: 400;
  }

@font-face {
    font-family: 'NeutralFace';
    src: url('/static/fonts/neutral_face/NeutralFace-Bold.otf');
    font-weight: 700;
}

/* NyghtSerif */

@font-face {
    font-family: 'NyghtSerif';
    src: url('/static/fonts/nyght_serif/NyghtSerif-Light.woff2');
    font-weight: lighter;
}

@font-face {
    font-family: 'NyghtSerif';
    src: url('/static/fonts/nyght_serif/NyghtSerif-Regular.woff2');
    font-weight: normal;
}

@font-face {
    font-family: 'NyghtSerif';
    src: url('/static/fonts/nyght_serif/NyghtSerif-Medium.woff2');
    font-weight: bolder;
}

@font-face {
    font-family: 'NyghtSerif';
    src: url('/static/fonts/nyght_serif/NyghtSerif-Bold.woff2');
    font-weight: bold;
}

@font-face {
    font-family: 'NyghtSerif';
    src: url('/static/fonts/nyght_serif/NyghtSerif-BoldItalic.woff2');
    font-weight: bold;
    font-style: italic;
}

/* --- --- --- --- --- --- --- --- --- */
/* --- ---      CSS RESET      --- --- */
/* --- --- --- --- --- --- --- --- --- */

:root {
    --clr-accent: #F0492C;
    --clr-light: #F7F4F0;
    --clr-dark: #31302F;
    --clr-light-bg: #efece7;

    --fw-normal: 400;
    --fw-bold: 700;

    --fs-s: .8rem;
    --fs-m: 1rem;
    --fs-l: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-xxl: 1.5rem;
    --fs-xxxl: 2rem;
}

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

* {
    margin: 0;
    padding: 0;
}

html {
    font-family: 'NeutralFace', sans-serif;
    font-size: 12pt;
    font-weight: var(--fw-normal);
    font-size: var(--fs-s);
    color: var(--clr-dark);
    
    scroll-behavior: smooth;
    background-color: var(--clr-light);
    /* overflow: hidden; */
}

body {
    /* position: relative; */

    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    padding: 1rem;
}
    
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
    
input, button, textarea, select {
    font: inherit;
}
    
p, h1, h2, h3, h4, h5, h6 {
    font-weight: var(--fw-normal);
}
  
    
/* --- --- --- --- --- --- --- --- --- ---- */


header {
    position: fixed;
    width: calc(100% - 2rem);
    top: 1rem;
    max-width: 1300px;
    
    background-color: var(--clr-light);

    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    align-items: center;
    justify-content: space-between;

    padding-right: 1.5em;
    padding-left:1.75em;
    padding-block: 1.5em;
    border: 1px solid var(--clr-dark);
    border-radius: 5em;
    margin-bottom: 1em;

    z-index: 999;
}

main {
    /* overflow-y: scroll; */
    
    width: 100%;
    margin-top: 7rem;
}

/* footer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;

    background-color: var(--clr-dark);
    color: var(--clr-light);

    padding-inline: 2em;
    border-top-left-radius: 3em;
    border-top-right-radius: 3em;
} */


/* --- --- --- --- --- --- */


.button {
    /* background-color: var(--clr-light); */
    background-color: transparent;
    color: var(--clr-dark);
    text-decoration: none;

    padding-inline: 1em;
    padding-top: .7rem;
    padding-bottom: .5rem;
    border: 1px solid transparent;
    border-radius: 2em;

    transition: ease .2s;
}

.button:hover {
    box-shadow: .35rem .35rem .35rem rgba(0, 0, 0, 0.05),
    -.35rem -.35rem .35rem rgba(255, 255, 255, 0.9);
}

.button:active {
    border: 1px solid var(--clr-dark);
    box-shadow: .35rem .35rem .35rem rgba(0, 0, 0, 0.15),
    -.35rem -.35rem .35rem rgba(255, 255, 255, 0.9);
}

.button.dark {
    background-color: var(--clr-dark);
    color: var(--clr-light);
    border: 1px solid var(--clr-dark);
}

.button.dark:hover {
    background-color: var(--clr-light);
    color: var(--clr-dark);
    border: 1px solid var(--clr-dark);
    box-shadow: .35rem .35rem .35rem rgba(0, 0, 0, 0.05),
    -.35rem -.35rem .35rem rgba(255, 255, 255, 0.9);
}

.button.dark:active {
    box-shadow: .35rem .35rem .35rem rgba(0, 0, 0, 0.15),
    -.35rem -.35rem .35rem rgba(255, 255, 255, 0.9);
}
    

/* --- --- --- --- --- --- */


.page-title {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    max-width: 1300px;
  
    padding-block: 3rem;
    margin-inline: auto;
}

@media(max-width: 52rem){
    .page-title {
      flex-direction: column;
    }
  }
  
  .page-title h1 {
    font-family: "NyghtSerif", serif;
    font-size: clamp(4rem, 6vw, 6rem);
    font-weight: 700;
    text-align: center;
  }
  
  @media(max-width: 52rem){
    .page-title h1 {
      font-size: clamp(4rem, 6vw, 6rem);
    }
  }