@import url('https://fonts.googleapis.com/css2?family=Jersey+15&family=Jura:wght@700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Pixelify+Sans:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #e2031f;
    --secondary-color: #601b8f;
    --accent-color: #075d87;
    --text-color: #ffffff;
    --background-color: #01010c;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: sans-serif;
    background-color: var(--background-color);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to right, #00000022, #08071364);
    color: white;
    backdrop-filter: blur(10px);
    font-family: 'Pixelify Sans', sans-serif;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em;
    max-width: 1200px;
    margin: auto;
}

.logo img {
    width: 15vh;
    font-weight: bold;
    padding-top: 5px;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.3em;
}

.nav-links a:hover {
    color: #00ccff;
    transition: color 0.3s ease-in-out;
}

.hamburger {
    display: none;
    font-size: 1.8em;
    cursor: pointer;
    color: white;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    padding-top: 8em;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
}

.mobile-menu a {
    padding: 0.5em;
    margin-left: 30px;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    font-size: 1.2em;
}

.mobile-menu.open {
    right: 0;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


.main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 0 40px;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

.countdown {
    text-align: center;
    height: 40vh;
    background-color: #1f1e1e17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    color: white;
    font-family: 'Pixelify Sans', sans-serif;
}

.countdown h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-color);
}

.countdown-timer {
    font-size: 3.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 5vh;
}

.countdown-item {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5em;
    border-radius: 20px;
    flex-direction: column;
    align-items: center;
}

.first {
    font-family: 'Jersey 15', sans-serif;
    font-weight: 200;
    font-size: 1.5em;
    color: var(--text-color);
}

.main video {
    width: 100%;
    display: block;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    object-fit: cover;
    z-index: -2;
    opacity: 0.12;
}

/* Just styling the content of the div, the *magic* in the previous rules */
.main-left,
.main-right {
    flex: 1;
    padding: 20px;
}

.main-left {
    margin-left: 12vw;
}

.main-left h1 {
    font-size: 6em;
    margin-bottom: 10px;
    line-height: 1em;
}

.main-left p {
    font-size: 1.7em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ccc;
}

.main-left #element {
    font-size: 1.2em;
    color: var(--primary-color);
    font-weight: bold;
    font-family: 'Jura', sans-serif;
}

.highlight {
    font-weight: 700;
    letter-spacing: 10px;
}

#glow {
    font-size: 0.8em;
    color: var(--secondary-color);
    background-image: linear-gradient(45deg, var(--secondary-color), var(--primary-color) 25%, #c461a0 50%, #aa7fd2 75%, var(--accent-color) 100%);
    background-clip: text;
    font-family: 'Pixelify Sans', sans-serif;
    letter-spacing: 3px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-left button {
    color: white;
    border: none;
    padding: 0.8em;
    width: 13vw;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    cursor: pointer;
    letter-spacing: 3px;
    border-radius: 0px;
    transition: background-color 0.3s ease;
}

.main-left p {
    font-size: 1.2em;
    color: #ccc;
}

.main-right img {
    width: 60%;
    height: auto;
    margin-left: 5vw;
    max-width: 600px;
    rotate: 2deg;
    cursor: pointer;
    -webkit-filter: drop-shadow(5px 5px 30px #03a3ff36);
    filter: drop-shadow(5px 5px 30px #03a3ff36);
    animation: up-down 3s ease-in-out infinite;
}

.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    color: #0f1923;
    cursor: pointer;
    position: relative;
    padding: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    transition: all .15s ease;
}

.button::before,
.button::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    height: calc(50% - 5px);
    border: 1px solid #7D8082;
    transition: all .15s ease;
}

.button::before {
    top: 0;
    border-bottom-width: 0;
}

.button::after {
    bottom: 0;
    border-top-width: 0;
}

.button:active,
.button:focus {
    outline: none;
}

.button:active::before,
.button:active::after {
    right: 3px;
    left: 3px;
}

.button:active::before {
    top: 3px;
}

.button:active::after {
    bottom: 3px;
}

.button_lg {
    position: relative;
    display: block;
    padding: 10px 20px;
    color: #fff;
    background-color: #0f1923;
    overflow: hidden;
    box-shadow: inset 0px 0px 0px 1px transparent;
}

.button_lg::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    background-color: #0f1923;
}

.button_lg::after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 4px;
    height: 4px;
    background-color: #0f1923;
    transition: all .2s ease;
}

.button_sl {
    display: block;
    position: absolute;
    top: 0;
    bottom: -1px;
    left: -8px;
    width: 0;
    background-color: #ff1124;
    transform: skew(-15deg);
    transition: all .2s ease;
}

.button_text {
    position: relative;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    letter-spacing: 3px;
}

.button:hover {
    color: #0f1923;
}

.button:hover .button_sl {
    width: calc(100% + 15px);
}

.button:hover .button_lg::after {
    background-color: #fff;
}

.register {
    color: var(--primary-color);
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    padding: 0.8em;
    border: 2px solid var(--primary-color);
    width: 150px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.register:hover {
    background-color: var(--primary-color);
    color: white;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
}

.about h2 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: 2px;
    background-image: linear-gradient(45deg, var(--secondary-color), var(--primary-color) 25%, #c461a0 50%, #aa7fd2 75%, var(--accent-color) 100%);
    font-family: 'Pixelify Sans', sans-serif;
    margin-top: 0;
    text-align: center;
}

.about p {
    font-size: 1.4em;
    max-width: 1200px;
    text-align: center;
    font-weight: 300;
    margin-bottom: 40px;
}

.about img {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin-right: 5vw;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact {
    display: block;
    height: 100vh;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 0 20px;
}
.inline {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 5vh;
    justify-content: center;
}

.delta {
    display: block;
}
.contact h2 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: 2px;
    background-image: linear-gradient(45deg, var(--secondary-color), var(--primary-color) 25%, #c461a0 50%, #aa7fd2 75%, var(--accent-color) 100%);
    font-family: 'Pixelify Sans', sans-serif;
    margin-top: 0;
}
.contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact p {
    font-size: 1.2em;
    max-width: 800px;  
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.contact-form {
    max-width: 600px;
    margin-left: 2vw;
    text-align: left;
    display: block;
}

.contact-form input, .contact-form textarea {
    width: 80%;
    padding: 1em;
    margin-bottom: 10px;
    border: 1px solid #cccccc6c;
    border-radius: 2px;
    resize: none;
    background-color: #1f1e1e17;
    font-size: 1em;
    transition: all 0.3s ease-in-out;
    font-family: 'Poppins', sans-serif;
}
::placeholder {
    color: #bbb;
    font-family: 'Montserrat', sans-serif;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background-color: #1f1e1e36;
}
.contact-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8em 1.5em;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}
.side-block {
    margin-top: -10vh;
    text-align: center;
    background-color: #2c2c2c56;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    min-height: 200px;
    font-family: 'Poppins', sans-serif;
}
@keyframes up-down {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }

}


/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .main {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .main-left,
    .main-right {
        width: 100%;
        padding: 10px 20px;
    }

    .main-left h1 {
        font-size: 2.2em;
    }

    .register {
        scale: 0.75;
    }
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* Mobile responsiveness (phones) */
@media (max-width: 768px) {
    /* Navbar */
    .nav-container {
        padding: 1em;
    }
    .logo img {
        width: 120px;
    }

    /* Main section */
    .main {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 40px;
        gap: 20px;
        margin-top: 20vh;
    }
    .main-left {
        margin-left: 0;
        padding: 0;
    }
    .main-left h1 {
        font-size: 2.6em !important;
        line-height: 1.2;
    }
    .main-left p {
        font-size: 1em;
        margin-bottom: 15px;
    }
    .main-left button {
        width: 100%;
        max-width: 250px;
    }
    .main-right img {
        width: 70%;
        max-width: 300px;
        margin: 20px auto;
        display: block;
    }

    /* Countdown */
    .countdown {
        width: 75%;
        padding: 15px;
    }
    .countdown h2 {
        font-size: 2em;
    }
    .countdown-timer {
        font-size: 1.6em;
        gap: 15px;
        flex-wrap: wrap;
    }
    .countdown-item {
        min-width: 70px;
        padding: 0.5em;
    }
    .first {
        font-size: 1.2em;
    }

    /* About */
    .about {
        flex-direction: column;
        padding: 60px 20px;
        text-align: center;
    }
    .about h2 {
        font-size: 2em;
    }
    .about p {
        font-size: 1em;
    }
    .about img {
        margin: 20px auto 0;
        width: 80%;
    }

    /* Contact */
    .contact {
        padding: 60px 20px;
        height: auto;
    }
    .inline {
        flex-direction: column;
        gap: 30px;
        margin-top: 15vh !important;
    }
    .contact h2 {
        font-size: 2em;
    }
    .contact p {
        font-size: 1em;
    }
    .contact-form input,
    .contact-form textarea {
        width: 90%;
    }
    .side-block {
        max-width: 100%;
    }
}

/* Very small phones (e.g. < 400px wide) */
@media (max-width: 400px) {
    .main-left h1 {
        font-size: 1.8em;
    }
    .main-left p {
        font-size: 0.9em;
    }
    .countdown h2 {
        font-size: 1.4em;
    }
    .countdown-timer {
        font-size: 1.2em;
    }
}