:root {
    --navheight: 60px;
    --vpad: 4rem;
    --hpad: 3rem;
    --title-content-gap: 2rem;
    --nav-footer-bg: rgb(22,48,60);
    --bg1: rgb(22,48,60);
    --bg2: rgb(219,94,85);
    --bg1text: white;
    --bg2text: white;
    --accent1: rgb(219,94,85);
    --debug: rgb(185, 185, 185);
    --font-size: 1rem;
}
.loading {
    width: 100vw;
    height: 100vh;
    background-color: var(--bg1);
    color: var(--accent1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
@font-face {
    font-family: 'futura';
    src: url(/futura/futura\ medium\ bt.ttf);
}
@font-face {
    font-family: 'aquire';
    src: url(aquire/Aquire.otf);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: var(--font-size);
    font-family: 'futura';
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: var(--navheight);
}
html::-webkit-scrollbar {
    display: none;
}
a {
    text-decoration: none;
}
h1 {
    font-size: calc(var(--font-size) + 1rem);
    font-family: 'aquire';
}
p {
    font-family: 'futura';
    font-size: calc(var(--font-size) + 0.2rem);
}
.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
section, .section {
    width: 100vw;
    height: fit-content;
    gap: var(--title-content-gap);
    padding: var(--vpad) var(--hpad);
}
.content {
    width: 100%;
    max-width: 1300px;
}
.behindnav {
    height: var(--navheight);
}
.scale-onhover:hover {
    scale: 1.1;
    transition: all 0.3s ease;
}
.textbox {
    gap: 1rem;
}
.textbox * {
    text-align: left;
    width: 100%;
}

/* NAV START */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: var(--navheight);
    background-color: var(--nav-footer-bg);
    color: var(--bg1text);
    padding: 0px var(--hpad);
    z-index: 10;
}
.nav-contents {
    justify-content: space-between;
    gap: 1rem;
}
.nav-left {
    gap: 1rem;
}
.nav-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: white;
}
.menu-links a {
    color: var(--bg1text);
    height: var(--navheight);
    padding: 0px .5rem;
    transition: all 0.3s ease;
}
.menu-links a:hover {
    background-color: var(--accent1);
    transition: all 0.3s ease;
}
.menu-icon {
    display: none;
}
.menu-icon span {
    width: 28px;
    height: 4px;
    margin: 2px;
    background-color: var(--bg2text);
    border-radius: 2px;
}

/* NAV END */

/* HERO START */

#hero {
    height: calc(100vh - var(--navheight));
}
.hero-content {
    width: 100%;
    justify-content: space-evenly;
    flex-wrap: wrap-reverse;
    gap: var(--title-content-gap);
}
.hero-textbox {
    align-items: flex-start;
    gap: 1rem;
}
.hero-img {
    width: 300px;
    height: 300px;
    background-color: var(--debug);
    border-radius: 20px;
}
.button {
    padding: 10px 15px;
    border-radius: 18px;
}
.btns {
    gap: 1rem;
}
.btn1 {
    background-color: var(--accent1);
    color: var(--bg2text);
    border: 2px solid var(--accent1);
    transition: all 0.3s ease;
}
.btn1:hover {
    background-color: transparent;
    color: var(--bg1text);
    border: 2px solid var(--bg1text);
    transition: all 0.3s ease;
}
.btn2 {
    background-color: transparent;
    color: var(--bg1text);
    border: 2px solid var(--bg1text);
    transition: all 0.3s ease;
}
.btn2:hover {
    background-color: var(--accent1);
    color: var(--bg2text);
    border: 2px solid var(--accent1);
    transition: all 0.3s ease;
}

/* HERO END */

/* SECTIONS TEMPLATE START */

.section1 {
    background-color: var(--bg1);
    color: var(--bg1text);
}
.section2 {
    background-color: var(--bg2);
    color: var(--bg2text);
}
.title {
    width: 100%;
    text-align: center;
}

/* SECTIONS TEMPLATE END */

/* PARALLAX SECTION START */

.parallax {
    position: relative;
    height: calc(100vh - var(--navheight));
    width: 100vw;
    overflow: hidden;
    background-image: url(parallax/demon_wood/parallax-demon-woods-bg.png);
    background-size: cover;
    background-position: center;
    color: var(--bg2text);
}
.parallax-title {
    z-index: 10;
    height: 100%;
    text-align: center;
    position: relative;
}


.parallax-layer:nth-child(1) {
  background-image: url('/parallax/demon_wood/parallax-demon-woods-far-trees.png');
}
.parallax-layer:nth-child(2) {
  background-image: url('parallax/demon_wood/parallax-demon-woods-mid-trees.png');
}
.parallax-layer:nth-child(3) {
  background-image: url('/parallax/demon_wood/parallax-demon-woods-close-trees.png');
}
.parallax-layer {
    width: 120%;
    height: 120%;
    position: absolute;
    top: -10%;
    left: -10%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    pointer-events: none;
}
/* PARALLAX SECTION END */

/* FOOTER START */

footer {
    background-color: var(--nav-footer-bg);
    color: var(--bg1text);
    width: 100vw;
    height: fit-content;
    gap: var(--title-content-gap);
    padding: 1rem;
    
}
.bottom p {
    font-size: calc(var(--font-size) - 0.2rem);
    text-align: center;
}

/* FOOTER END */

/* MEDIAS START */

@media screen and (max-width: 700px) {
    :root {
        --hpad: 1.5rem;
        --font-size: 0.8rem;
    }
}
@media screen and (max-width: 500px) {
    .menu-icon {
        display: flex;
    }
    .menu-links {
        display: flex;
        flex-direction: column;
        background-color: var(--nav-footer-bg);
        position: fixed;
        top: -300px;
        left: 0;
        width: 100%;
        opacity: 0;
        transition: all 0.3s ease;
    }
    .menu-links.active {
        top: var(--navheight);
        opacity: 1;
        transition: all 0.3s ease;
    }
    .menu-links a {
        width: 100%;
    }
}

/* MEDIAS END */