/* dark theme colors */
:root{
    --background-color: hsl(0, 0%, 0%);
    --text-color: #dbdbdb;
    --theme-color: hsl(200, 18%, 57%);
    --border-color: #e6e6e6;
    --font: 'Noto Sans', sans-serif;
}
/* light theme colors */
/* :root{
    --background-color: hsl(0, 0%, 80%);
    --text-color: #000000;
    --theme-color: hsl(200, 18%, 37%);
    --border-color: hsl(0, 0%, 10%);
    --font: 'Noto Sans', sans-serif;
} */
*, *::before, *::after{
    box-sizing: border-box;
}
*{
    font: inherit;
}
a,
header > p,
header > p > a,
header > .header-links > a[darkmode-button]{
    cursor: url("../images/sym46.cur"), auto !important;
}
body, html{
    min-height: 100vh;
    padding: 0;
    margin: 0;
    color: var(--text-color);
    background-color: var(--background-color);
    font-family: var(--font);
    font-weight: 300;
    color-scheme: dark;
}
p, a, h1, h2, h3, h4, h5, h6{
    padding: 0;
    margin: 0;
    text-decoration: none;
    color: inherit;
}
img, picture, svg, video{
    display: block;
    max-width: 100%;
}
.grain{
    pointer-events: none;
    opacity: .05;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: block;
    background-image: url("../images/grain.gif");
    background-size: 300px;
    background-position: center;
    background-repeat: repeat;
    background-attachment: scroll;
}
.stick{
    position: fixed;
    top: 0;
    margin: 0;
    width: inherit;
}
/* header */
header{
    position: absolute;
    width: 100%;
    bottom: 0;
    background-color: var(--text-color);
    color: var(--background-color);
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: fit-content;
    min-height: 2.5rem;
}
header > p{
    font-size: 2.2rem;
    user-select: none;
}
header > p > a{
    padding: 0 0 0 0.3rem;
    font-size: 1.1rem;
    text-decoration: none;
    user-select: none;
}
header > .header-links{
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}
header > .header-links > a[darkmode-button]{
    fill: var(--background-color);
}
header > .header-links > a{
    font-size: 1.25rem;
    text-decoration: none;
}
header > .header-links > a:not(:last-child){
    padding-right: .5rem;
}
/* currently working on */
.section{
    width: 100%;
    min-height: fit-content;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.section > .section-title{
    width: 100%;
    height: fit-content;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section > .section-title > p{
    width: fit-content;
    height: fit-content;
    text-align: center;
    font-size: 2rem;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: .5rem 1rem;
}
.section > .section-image-carousell-wrapper > .flickity-prev-next-button{
    top: calc(50% - (44px / 2));
}
.section > .section-image-carousell-wrapper{
    width: 100%;
    height: fit-content;
    /* display: flex; */
    /* flex-direction: row; */
    /* justify-content: center; */
    /* align-items: center; */
    /* gap: 1rem; */
    padding-bottom: 4rem;
    /* overflow: hidden; */
    /* overflow-x: scroll; */
    /* overflow-x: auto; */
    /* scroll-snap-type: x mandatory; */
}
.section > .section-image-carousell-wrapper > .section-image-carousell{
    /* width: calc(33.333vw - 1rem - 2rem); */
    /* position: relative; */
    /* object-fit: cover; */
    /* height: auto; */
    aspect-ratio: 16 / 9;
    height: 100%;
}
.flickity-page-dots{
    bottom: 0 !important;
    position: relative !important;
    margin-top: 1rem !important;
}
.flickity-page-dots > li{
    background-color: #dbdbdb !important;
}
.gallery-cell{
    width: 60%;
    margin-right: 1rem;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1rem;
}
.section > .section-content-text{
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1.1em;
}
@media only screen and (max-width: 900px) {
    .section > .section-content-text{
        width: 90%;
    }
    .section > .section-image-carousell-wrapper > .flickity-prev-next-button{
        display: none;
    }
}
/* engine */
#engine{
    background-image: url("../images/engine.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* main */
.main-lander{
    width: 100%;
    height: 100vh;
    min-height: fit-content;
    padding: 3rem 0;
    background-image: url("../images/main.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.main-lander > .full-title{
    width: fit-content;
    font-size: 2rem;
    max-width: 100%;
    text-align: center;
    background-color: var(--background-color);
    padding: .5rem 1rem;
}
/* footer */
.footer{
    width: 100%;
    height: fit-content;
    min-height: 2.5rem;
    padding: 1rem 2rem;
    color: var(--background-color);
    background-color: var(--text-color);
    z-index: 666;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.footer > .links{
    width: fit-content;
    padding-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}
.footer > .links > *{
    color: var(--text-color);
    background-color: var(--background-color);
    padding: .2rem .2rem;
}
.footer > .copyright{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer > .copyright > p{
    user-select: none;
    width: fit-content;
    text-align: center;
    color: var(--text-color);
    background-color: var(--background-color);
    padding: .2rem .2rem;
}
/* glitch */
.glitchy{
    position: relative;
    overflow: hidden;
}
.glitchy::before,
.glitchy::after{
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: inherit;
    font: inherit;
    font-size: inherit;
    margin: inherit;
    padding: inherit;
    text-decoration: inherit;
    user-select: none;
    pointer-events: none;
}
.glitchy::before{
    animation: glitchTop 1s linear infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    animation-delay: inherit;
}
.glitchy::after{
    animation: glitchBotom 1.5s linear infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    animation-delay: inherit;
}
@keyframes glitchTop{
    0%{transform: translate(0,0);}
    2%,64%{transform: translate(1px,-2px);}
    4%,60%{transform: translate(0,0);}
    62%{transform: translate(13px,-1px) skew(-13deg);}
}
@keyframes glitchBotom{
    0%{transform: translate(0px,0px);}
    2%,64%{transform: translate(-2px,1px);}
    4%,60%{transform: translate(0,0);}
    62%{transform: translate(-22px,5px) skew(21deg);}
}