@font-face {
    font-family: "Retro Computer";
    src:
      local("Retro Computer"),
      url("font/retro_computer.woff2") format("woff2");
}

@font-face {
    font-family: "Archivo";
    font-weight: 500;
    src:
      local("Archivo"),
      url("font/archivo_medium.woff2") format("woff2");
}

@font-face {
    font-family: "Archivo";
    font-weight: 700;
    src:
      local("Archivo"),
      url("font/archivo_bold.woff2") format("woff2");
}

:root {
    --black: #0E1411;
    --green: #84F84E;
    --white: #F5FFB1;
}

::-webkit-scrollbar {
    width: 0;
}
  
::-webkit-scrollbar-track {
    background: var(--black);
}
  
::-webkit-scrollbar-thumb {
    background: var(--green);
}
  
::-webkit-scrollbar-thumb:hover {
    background: var(--white);
}

* {
    /* border: 1px solid blue; */
    -webkit-tap-highlight-color: transparent;
    line-height: 105%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100vw;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
}

svg * { 
    transform-box: fill-box;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Retro Computer', monospace;
}

h1,
h2,
h3,
h4,
h5,
p {
    transition: all .7s cubic-bezier(.7,0,.3,1);
}

.open h1,
.open h2,
.open h3,
.open h4,
.open h5,
.open p {
    translate: 0 3rem;
}

/* img * {
    display: block;
} */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 2;
    transition: all .7s cubic-bezier(.7,0,.3,1);
    transition-delay: .1s;
    background: rgba(14, 20, 17, 0.95);
    backdrop-filter: blur(10px);
}

#video,
#menu {
    z-index: 10;
    position: fixed;
}

#video {
    top: 20px;
    left: 20px;
}

#menu {
    top: 30px;
    right: 20px;
}

#video svg g g path {
    transition: fill .1s linear .7s;
}
#video.open svg g g path {
    fill: var(--black) !important;
}

#menu {
    cursor: pointer;
}

#menu path {
    stroke: var(--green) !important;
    transition: stroke .1s linear .7s;
}

#menu.open path {
    stroke: var(--black) !important;
}

.menuWrapper {
    z-index: 4;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    background-color: var(--white);
    transition: all .7s cubic-bezier(.7,0,.3,1);
    transition-delay: .3s;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    color: var(--black);
    overflow: hidden;
}

.menuWrapper.open {
    height: 100vh;
}

.imageBanner {
    position: relative;
}

.headerTitle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    text-align: center;
}

.headerTitleOverlay {
    z-index: 10;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: headerOverlay 1.3s;
    pointer-events: none;
}

@keyframes headerOverlay {
    0%,
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.headerTitleOverlay h1,
.headerTitle h1 {
    font-size: 30vw;
    text-shadow: 0 5px 20px rgba(245, 255, 179, 0.4);
}

.menuWrapper .wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 7vw;
    height: 0;
    margin-top: 30vh;
}

.menuWrapper .wrapper.open {
    height: 100vh;
}

@media only screen and (max-width: 670px) {
    .menuWrapper .wrapper {
        flex-direction: column;
        gap: 5rem;
    }
}

.menuWrapper .wrapper ul li {
    list-style: none;
    shape-outside: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    shape-margin: 20px;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    transform: translateY(100%) rotate(3deg);
    opacity: 0;
    transition: all .5s;
    transition-delay: .8s;
}

.menuWrapper.open ul li {
    opacity: 1;
    transform: translateY(0) rotate(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.menuWrapper .wrapper ul li:nth-of-type(2) {
    transition-delay: .85s;
}

.menuWrapper .wrapper ul li:nth-of-type(3) {
    transition-delay: .9s;
}

.menuWrapper .wrapper ul li:nth-of-type(4) {
    transition-delay: .95s;
}

.menuWrapper .wrapper ul:nth-of-type(2) ul:nth-of-type(1) li:nth-of-type(1) {
    transition-delay: 1.1s;
}

.menuWrapper .wrapper ul:nth-of-type(2) ul:nth-of-type(1) li:nth-of-type(2) {
    transition-delay: 1.15s;
}

.menuWrapper .wrapper ul:nth-of-type(2) ul:nth-of-type(1) li:nth-of-type(3) {
    transition-delay: 1.2s;
}

.menuWrapper .wrapper ul:nth-of-type(2) ul:nth-of-type(1) li:nth-of-type(4) {
    transition-delay: 1.25s;
}

.menuWrapper .wrapper ul:nth-of-type(2) ul:nth-of-type(2) li:nth-of-type(1) {
    transition-delay: 1.4s;
}

.menuWrapper .wrapper ul:nth-of-type(2) ul:nth-of-type(2) li:nth-of-type(2) {
    transition-delay: 1.45s;
}

.menuWrapper .wrapper ul:nth-of-type(2) ul:nth-of-type(2) li:nth-of-type(3) {
    transition-delay: 1.5s;
}

.menuWrapper .wrapper .main {
    font-family: 'Retro Computer', monospace;
    font-size: 50px;
}

.menuWrapper .wrapper .secondary {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    font-family: 'Archivo', sans-serif;
    gap: 3vw;
}

@media only screen and (max-width: 670px) {
    .menuWrapper .wrapper .secondary {
        flex-direction: column;
        gap: 3rem;
    }
}

.menuWrapper .wrapper .secondary ul:first-of-type {
    font-size: 17px;
}

.menuWrapper .wrapper .secondary ul:last-of-type {
    font-size: 15px;
}

.loader {
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 300px;
    height: 100px;
}

.logo path {
    animation: logoIntroOne 2s cubic-bezier(.7,0,.3,1);
}
 
.logo path {
    transform-origin: center;
}

@keyframes logoIntroOne {
    0% {transform: translateY(0);}
    10% {transform: translateY(5px);}
    20% {transform: translateY(0);}
    30% {transform: translateY(5px);}
    40% {transform: translateY(0);}
    50% {transform: translateY(5px);}
    60% {transform: translateY(0);}
    70% {transform: translateY(5px);}
    80% {transform: translateY(0);}
    90% {transform: translateY(5px);}
    100% {transform: translateY(0);}
}

@keyframes logoIntroTwo {
    0% {transform: scale(0.9) translateY(5px);}
    33% {transform: scale(1);}
    66% {transform: scale(0.9) translateY(5px);}
    100% {transform: scale(1);}
}

.logo path:nth-of-type(2) {
    animation-delay: .05s;
}

.logo path:nth-of-type(3) {
    animation-delay: .1s;
}

.logo path:nth-of-type(4) {
    animation-delay: .15s;
}

.logo path:nth-of-type(5) {
    animation-delay: .2s;
}

.logo path:nth-of-type(6) {
    animation-delay: .25s;
}

/* MARQUEE*/

.loop-holder {
    z-index: 2;
    width: 100vw;
	position: fixed;
	top: 90px;
    padding: .7rem 0;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    background: var(--green);
    color: var(--black);
    box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.05);
}

.loop-holder__text {
    animation: textLoop 40s linear infinite;
    line-height: 1;
    padding-right: .2em;
}

.loop-holder__text h1 {
    font-family: 'Archivo', sans-serif;
	font-size: 14px;
    text-transform: uppercase;
}

@keyframes textLoop {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

/* SECTION */

section:nth-of-type(1) {
    padding-top: 8rem;
}

section {
    transition: all 1s cubic-bezier(.7,0,.3,1);
    transition-delay: .1s;
}

section.open {
    transform: translateY(4rem) scale(.9);
    filter: brightness(.2);
}

section.sectionOverlay {
    position: relative;
}

section.sectionOverlay .imageBanner {
    width: 100%;
    height: calc(100vh - 8rem);
    object-fit: cover;
}

section.sectionOverlay::after {
    content: "";
    inset: 0;
    position: absolute;
    background: rgb(14,20,17);
    background: linear-gradient(180deg, rgba(14,20,17,0.8) 0%, rgba(14,20,17,.8) 80%, rgba(14,20,17,1) 100%);
}


/* BUTTON */

.priceSticky {
    z-index: 3;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
    border-radius: 20px 20px 0px 0px;
    background: rgba(14, 20, 17, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 1rem;
    width: fit-content;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    transition: all .7s cubic-bezier(.7,0,.3,1);
}

.priceSticky.open {
    transform: translate(-50%, 100px);
}

.priceSticky .price {
    white-space: nowrap;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 8px;
    transition: all .3s cubic-bezier(.7,0,.3,1);
}

.priceSticky .price:hover {
    border-radius: 12px;
    color: var(--black);
    background-color: var(--white);
}

.priceSticky .price span {
    font-size: 12px !important;
}

.priceSticky .button {
    background-color: var(--green);
    color: var(--black);
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 0 0 rgba(132, 248, 79, 0.4);
    transition: all .3s cubic-bezier(.7,0,.3,1);
    cursor: pointer;
}

.priceSticky .button:hover {
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(132, 248, 79, 0.4);
}

