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

@font-face {
    font-family: "Calamity";
    src: url("../../fonts/Calamity-Regular.otf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Zelda";
    src: url("../../fonts/TheWildBreathofZelda.otf");
    font-weight: normal;
    font-style: normal;
}


/* ========================================================
   GLOBAL
   ========================================================= */

:root {
    --text-color: #E2DED3;

    --glass-dark: rgba(0, 0, 0, 0.25);
    --glass-dark-heavy: rgba(0, 0, 0, 0.5);
    --glass-dark-solid: rgba(0, 0, 0, 0.75);

    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    box-sizing: border-box;
}


/* =========================================================
   BODY
   ========================================================= */

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    font-family: "Calamity", sans-serif;
    color: var(--text-color);

    position: relative;
    isolation: isolate;

    overflow: hidden;

    background-color: #000;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

body::before {
    content: "";

    position: fixed;
    inset: -20px;

    z-index: 0;

    background-image: url("../../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: blur(5px);
    transform: scale(1.05);

    pointer-events: none;
}


/* =========================================================
   MAIN
   ========================================================= */

#main {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100vh;
    min-height: 0;

    text-align: center;
}