/***************
Default
***************/

@font-face {
    font-family: "Sen";
    src: url("/assets/font/Sen.ttf") format("truetype-variations");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --orange: #ff6700;
    --light-orange: rgb(255 103 0 / 50%);
    --nav-height: 72px;
}

* {
    box-sizing: border-box;
}


body {
    margin: 0;
    font-family: "Sen", sans-serif;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

picture,
img {
    display: block;
    height: auto;
    width: 100%;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

/*************
General
 */

.container {
    padding: 50px 20px;
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 30px;
    text-align: center;
    color: black;
    max-width: 1000px;
    margin: 0 auto 25px;
    font-weight: bold;
    position: relative;
    line-height: 1.5;
}

.title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 3px;
    background-color: var(--orange);
    animation: move-underline 3s linear infinite;
}

@keyframes move-underline {
    0% {
        left: 0
    }
    50% {
        left: 75%;
    }
    100% {
        left: 0
    }
}

/************
Button Loading
************/

.loading {
    position: relative !important;
    pointer-events: none !important;
    color: transparent !important;
}

.loading::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    animation: loading 1s ease infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

/**********************
Navigation
*********************/

#header {
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    transition: 0.3s background-color;
    z-index: 999999;
    border-bottom: 2px solid white;
    background-color: #070606;
}

#header.scrolled {
    background-color: white;
    color: black;
    border-bottom-color: black;
}

#header.scrolled #headerNav {
    color: black;
}

#headerNav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 20px;
    padding: 0 20px;
    max-width: 1000px;
    margin: 0 auto;
    height: var(--nav-height);
    color: white;
    gap: 20px;
}

#headerNavLogo {
    margin-right: auto;
    text-transform: uppercase;
    font-weight: 700;
}

#headerNavLogo span {
    color: var(--orange);
}

#headerNav a {
    position: relative;
}

#headerNav a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--orange);
    transform: scaleX(0);
    transition: 0.3s;
}

#headerNav a:hover:before {
    transform: scaleX(1);
}

#headerNavToggle {
    display: none;
}

#headerNavToggle.open {
    transform: rotate(180deg);
}

#headerNavMobile {
    overflow: hidden;
    height: 0;
    transition: 0.5s;
}

#headerNavMobile a {
    display: block;
    width: 100%;
    padding: 10px 20px;
}

#headerNavMobile a:first-child {
    margin-top: 10px
}

#headerNavMobile a:last-child {
    margin-bottom: 10px;
}

@media (max-width: 670px) {
    #headerNav {
        border-bottom: 1px solid black;
    }

    #headerNav > a:not([href="#home"]) {
        display: none;
    }

    #headerNavToggle {
        cursor: pointer;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        color: #212112;
        background-color: transparent;
        border: none;
        display: flex;
        padding: 0;
    }

    #headerNavToggle svg {
        width: 25px;
        height: auto;
    }

}

/*******************
Footer
*****************/

#footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 30px 10px;
}

#footer span {
    color: var(--orange);
}

#footer a {
    font-size: 13px;
    text-decoration: underline;
}