html,
body {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    background: #d34843;
    background-size: 200px;
    background-image: url("https://assets.ckx.be/laff2025/path4830.png");
    background-repeat: repeat;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: white;
}

.status-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    margin: 50px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lilita One", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-shadow: 5px 5px 0 #500E36;
    display: inline-block;
    width: fit-content;
    text-align: center;
    padding-bottom: 25px;
    position: relative;
}

a {
    color: #7EE4CD;
}

.status-page h1:after,
main h1:after,
main h2:after,
main h3:after,
main h4:after,
main h5:after,
main h6:after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background-color: black;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 3px;
    background-image: repeating-linear-gradient(45deg,
            #E92A68 0px,
            #E92A68 10px,
            #ffffff 10px,
            #ffffff 20px);
    box-shadow: 2px 2px 0px #500E36;
    animation: candyScroll 1s linear infinite;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

h3 {
    font-size: 2.5rem;
}

h4 {
    font-size: 2.2rem;
}

h5 {
    font-size: 2rem;
}

h6 {
    font-size: 1.8rem;
}

@media (max-width: 425px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    h4 {
        font-size: 1.6rem;
    }

    h5 {
        font-size: 1.4rem;
    }

    h6 {
        font-size: 1.2rem;
    }
}

p,
ul,
ol,
li {
    width: 100%;
    font-size: 1.5rem;
    text-shadow: 1px 1px 0px #500E36;
}

ul,
ol {
    padding-left: 40px;
}

li {
    padding-left: 20px;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 20px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

header {
    width: 100%;
    aspect-ratio: 1536/969;
    color: white;
    background-image: url("https://assets.ckx.be/laff2025/laff-2025-background-2-adjusted.png");
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 35%;
    background-size: 100%;
    box-shadow: inset 0px -10px 10px 0px #d34843;
    position: relative;

}

header .dh-logo {
    width: 15%;
    object-fit: contain;
    position: absolute;
    margin-left: -5%;
    top: 65%;
}

header .logo {
    margin-top: 4%;
    margin-right: 2%;
    width: 46.41927083%;
    animation: pulse 1s infinite;
}

header .logo img {
    width: 100%;
}

header .button-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2%;
    height: 5%;
    width: 45%;
}

.status-page button,
header .button-container .button {
    height: 100%;
    background-color: white;
    border: none;
    width: 45%;
    border-radius: 1.4rem;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.5rem;
    background: rgb(252, 226, 143);
    background: linear-gradient(180deg, rgba(252, 226, 143, 1) 0%, rgba(242, 162, 34, 1) 2%, rgba(229, 140, 20, 1) 50%, rgba(222, 121, 8, 1) 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075),
        0 16px 16px hsl(0deg 0% 0% / 0.075);
}

header .button-container .button:first-child {
    background: rgb(104, 201, 203);
    background: linear-gradient(180deg, rgba(104, 201, 203, 1) 0%, rgba(5, 179, 192, 1) 2%, rgba(2, 154, 159, 1) 50%, rgba(2, 145, 151, 1) 100%);
}

header .button-container .button:last-child {
    background: rgb(252, 120, 142);
    background: linear-gradient(180deg, rgba(252, 120, 142, 1) 0%, rgba(248, 53, 113, 1) 2%, rgba(210, 27, 90, 1) 50%, rgba(191, 19, 78, 1) 100%);
}

.status-page button:hover,
header .button-container .button:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

main {
    padding: 50px 0;
    box-shadow: inset 0px 0px 10px 10px #d34843;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: linear-gradient(180deg, rgba(252, 226, 143, 1) 0%, rgba(242, 162, 34, 1) 2%, rgba(229, 140, 20, 1) 50%, rgba(222, 121, 8, 1) 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    min-width: 120px;
    text-align: center;
    box-shadow:
        0 1px 1px hsl(0deg 0% 0% / 0.075),
        0 2px 2px hsl(0deg 0% 0% / 0.075),
        0 4px 4px hsl(0deg 0% 0% / 0.075),
        0 8px 8px hsl(0deg 0% 0% / 0.075);
}

.countdown-item span {
    display: block;
    font-family: "Lilita One", sans-serif;
    text-shadow: 2px 2px 1px #500E36;
}

.countdown-item span:first-child {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-item .label {
    font-size: 1.2rem;
    text-transform: uppercase;
}

@media screen and (max-width: 767px) {
    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 90px;
        padding: 1rem;
    }

    .countdown-item span:first-child {
        font-size: 2.5rem;
    }

    .countdown-item .label {
        font-size: 1rem;
    }
}

@media screen and (max-width: 470px) {
    .countdown {
        gap: 0.6rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.6rem;
    }

    .countdown-item span:first-child {
        font-size: 1.8rem;
    }

    .countdown-item .label {
        font-size: 0.7rem;
    }
}

footer {
    background-color: #76112C;
    background: linear-gradient(180deg, rgba(211,72,67,1) 0%, rgba(118,17,44,0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 30px;
    gap: 8px;
    width: 100%;
}

footer p {
    font-size: 1rem;
    text-align: center;
}

.registration-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: min(500px, 95%);
    margin: 4rem auto;
}

.registration-form .form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
}

.registration-form .form-group label {
    font-size: 1.5rem;
    text-align: left;
    text-shadow: 1px 1px 0 #500E36;
}

.registration-form .form-group input,
.registration-form .form-group select,
.registration-form .form-group textarea {
    font-size: 1.5rem;
    padding: 10px 20px;
    border-radius: 5px;
    width: 100%;
    border: none;
    background-color: white;
    color: #500E36;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    resize: vertical;
}

.registration-form .form-group select#restrictions {
    font-size: 1.2rem;
}

.registration-form .form-group input::placeholder,
.registration-form .form-group textarea::placeholder {
    color: #500E36;
    opacity: 0.5;
}

.registration-form .form-group textarea {
    font-size: 1.2rem;
}



.registration-form .form-group p {
    font-size: 1rem;
    text-align: left;
    text-shadow: none;
}

.status-page button {
    width: min(100%, 350px);
    padding: 20px 40px;
}

@media screen and (max-width: 1192px) {
    header .button-container .button {
        font-size: 1rem;
    }
}

@media screen and (max-width: 720px) {
    header {
        width: 100%;
        height: 700px;
        aspect-ratio: unset;
        background-size: cover;
        background-position: 23% top;
        gap: 50px;
        background-size: cover;
        justify-content: flex-start;
    }

    header .dh-logo {
        display: none;
    }

    header .logo {
        margin-top: 80px;
        margin-right: 0;
        width: 80%;
        transition: all 0.5s ease;
    }

    header .button-container .button {
        font-size: 1.5rem;
    }

    header .button-container {
        flex-direction: column;
        gap: 10px;
        height: 130px;
        width: 200px;
    }

    header .button-container .button {
        height: 6dvb;
        width: 100%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes candyScroll {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 28px 0;
    }
}