/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo:ital,wght@0,100..900;1,100..900&family=Unbounded:wght@200..900&display=swap');


/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p, h1, h2, h3, h4, span {
    cursor: default;
}


/* VARIABLES */
:root {
    /* colors */
    --primary: #090909;
    --secondary: #FFCB28;
    --white: #F6EFE4;

    /* fonts */
    --numbers: Anton;
    --texts: Archivo;
    --hero: Unbounded;

    /* weights */
    --semiBold: 600;
    --black: 900;
}


/* HTML */
html {
  font-size: 62.5%;
  background-color: var(--primary);
}


/* NAVIGATION */
nav {
    padding: 2.4rem 2.4rem 0 2.4rem;
}

ul {
    display: flex;
    font-size: 2.8rem;
    align-items: center;
    justify-content: end;
    list-style: none;
    gap: 6.4rem;
    text-transform: uppercase;
}

li:first-child {
    position: absolute;
    left: 2.4rem;
}

li:last-child a {
    display: flex;
    align-items: center;
    background-color: var(--secondary);
    padding: 2rem 3.2rem;
    color: var(--primary);
}

nav li {
    visibility: hidden;
    cursor: pointer;
}

nav li a {
    text-decoration: none;
    color: var(--white);
    font-family: var(--texts);
    font-weight: var(--semiBold);
}

nav li span {
    cursor: pointer;
}

nav li svg:first-child {
    width: 12rem;
    height: auto;
}

.tickets {
    background-color: var(--secondary);
    color: var(--primary);
    transition: transform 0.2s ease;
    animation: buttonPulse 2.5s infinite;
}

@keyframes buttonPulse {
    0%, 65%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }

    72% {
        transform: scale(1.07);
        filter: brightness(1.2);
    }

    79% {
        transform: scale(1);
        filter: brightness(1);
    }

    86% {
        transform: scale(1.04);
        filter: brightness(1.1);
    }

    93% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.tickets:hover {
    animation-play-state: paused;
    transform: scale(1.04);
}

.tickets svg {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.tickets:hover svg {
    transform: translate(4px, -4px) rotate(5deg);
}

nav .nav-text {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    line-height: 1.15;
}

nav .nav-text-original,
nav .nav-text-hover {
    display: block;
    white-space: nowrap;
}

nav .nav-text-hover {
    position: absolute;
    top: 100%;
    left: 0;
}

/* HAMBURGER MENU */
.mobile-logo {
    visibility: hidden;
}

.mobile-logo svg {
    display: none;
    height: 5.6rem;
    width: auto;
    z-index: 999;
}

.menu-toggle,
.mobile-menu {
    display: none;
}

/* H1 */
h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: var(--texts);
    font-weight: var(--semiBold);
    font-size: 3.2rem;
    color: var(--white);
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

@media only screen and (max-width: 1300px) {
    
    ul {
        display: flex;
        font-size: 2rem;
    }

    .tickets svg {
        width: 3rem;
        height: auto;
    }

    nav li svg:first-child {
        width: 12rem;
        height: auto;
    }
}

@media only screen and (max-width: 990px) {
    
    /* NAVIGATION*/
    nav ul {
        display: none;
    }

    .mobile-logo {
        display: block;
        position: relative;
        height: 6.4rem;
        width: fit-content;
        z-index: 991;
    }

    .mobile-logo svg {
        display: block;
        height: 6.4rem;
        width: auto;
    }

    .menu-toggle {
        position: absolute;
        top: 2.4rem;
        right: 2.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 991;
        width: 56px;
        height: 56px;
        padding: 0;
        background: transparent;
        border: none;
        visibility: hidden;
        cursor: pointer;
    }

    .menu-toggle svg {
        width: 100%;
        height: 100%;
    }

    .mobile-menu.is-open {
        pointer-events: auto;
    }

    .mobile-menu {
        position: fixed;
        display: flex;
        visibility: hidden;
        pointer-events: none;
        inset: 0;
        z-index: 990;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3.5rem;
        background: var(--primary);
        padding-inline: 2.4rem;
    }

    .mobile-menu a {
        display: block;
        font-family: var(--texts);
        font-size: 5rem;
        font-weight: var(--semiBold);
        text-transform: uppercase;
        text-decoration: none;
        color: var(--white);
    }

    .mobile-menu > a:not(.tickets-mobile) {
        font-family: var(--texts);
        font-size: clamp(2.4rem, 7vw, 5rem);
        font-weight: var(--semiBold);
        text-transform: uppercase;
        text-decoration: none;
        color: var(--white);
        text-align: center;
    }

    .mobile-menu .tickets-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.2rem;
        width: 100%;
        max-width: 42rem;
        min-height: 7.2rem;
        margin-top: 2rem;
        padding: 1.8rem 2.4rem;
        background-color: var(--secondary);
        color: var(--primary);
        font-family: var(--texts);
        font-size: clamp(2.4rem, 7vw, 4rem);
        font-weight: var(--semiBold);
        text-transform: uppercase;
        text-decoration: none;
        box-sizing: border-box;
    }

    .tickets-mobile svg {
        width: 3.6rem;
        height: auto;
        flex-shrink: 0;
    }

    .tickets-mobile svg path {
        fill: var(--primary);
    }
}

@media only screen and (max-width: 720px) {

    .loader .screen img,
    .loader .screen svg {
        width: 40vw;
    }

    .mobile-logo svg {
        display: block;
        height: 3.2rem;
        width: auto;
        z-index: 1000;
    }

    .menu-toggle {
        width: 3.2rem;
        height: 3.2rem;
    }

    .menu-toggle svg {
        width: 3.2rem;
        height: 100%;
    }

    .mobile-menu a {
        font-size: 3.8rem;
    }

    h1 {
        font-size: 4.5vw;
    }
}