body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;

    background: linear-gradient(270deg, #D1442F, #E39E24, #D1442F, #F7FA23, #E39E24);
    background-size: 1000% 1000%;
    animation: wave 20s ease infinite;

    user-select: none;
    cursor: default;
}

#textContainer {
    user-select: none;
}

@keyframes wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* HEADER */
.header {
    position: absolute;
    top: 10px;
    width: 100%;
    padding: 0 1rem;
    /* text-align: center; */
    /* color: white; */
    /* padding-left: 1rem; */
    /* padding-right: 1rem; */
}
.header-content {
    display: flex;
    align-items: center; /* verticaal centreren */
    gap: 20px;
}
.header p{
    color: #000;
    font-size: 1.65rem;
    font-weight: 600;
    -webkit-text-stroke: .5px white; /* rand rond tekst */
    margin-bottom: 0px;
}

.header img {
    width: 100%;
    /* height: 80px; */
}

.header p {
    margin-top: 7px;
}

.logo {
    flex: 0 0 17rem; /* 120px vaste breedte */
}
.logo img {
    width: 100%;
    /* height: auto; */
    transform: translateY(5px);
}

/* TEKST */
.header-text {
    flex: 1;
}

.header-text p {
    color: #000;
    font-size: 1.65rem;
    font-weight: 600;
    -webkit-text-stroke: .5px white;
    margin: 0;
}

/* LAYOUT */
.container-fluid {
    display: flex;
    height: 83vh;
    position: relative;
    top: 17vh;
}

.logo-timer-container{
    display: flex;
    flex-wrap: wrap;
}

#logo{
    display: flex;
    justify-content: center;
}

/* TIMER */
#timer {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 12vw;
    font-weight: 900;
    color: #ffffff;

    text-shadow:
        0 1px 0 #999,
        0 2px 0 #888,
        0 3px 0 #777,
        0 4px 0 #666,
        0 0 10px rgba(255,255,255,0.6),
        0 0 25px rgba(0,0,0,0.6),
        0 0 50px rgba(0,0,0,0.4);

    transition: all 3s;
}

#content-container.finished #timer{
    width: 100%;
}

/* SPONSOR */
.sponsor-container {
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: white;
    overflow: hidden;
    transition: all 3s;
}
#content-container.timer .sponsor-container{
    border-top-left-radius: 2rem;
}
#content-container.finished .sponsor-container{
    width: 0;
}
#content-container.finished #timer{
    margin-left: 2rem;
    margin-right: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.sponsor-container img {
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1s ease;
}

.sponsor-container img.show {
    opacity: 1;
    transform: translateX(0);
}

.sponsor-container img.hide {
    opacity: 0;
    transform: translateX(-100%);
}

/* TEKST */
.text-container {
    position: absolute;
    width: 90%;
    text-align: center;
    color: black;
    font-size: 1.7rem;
    opacity: 0;
    transition: opacity 1s;
}
#content-container.sponsor .text-container.thanks {
    font-size: 3.3rem;
}
#content-container.timer .text-container.thanks {
    font-size: 2.8rem;
}

#content-container.sponsor .text-container.info {
    font-size: 2.6rem;
}
#content-container.timer .text-container.info {
    font-size: 2.1rem;
}


div#timer.xsmall {
    font-size: 2vw;
    text-align: center;
}

div#timer.small {
    font-size: 5vw;
    text-align: center;
}

div#timer.medium {
    font-size: 6vw;
    text-align: center;
}

div#timer.large {
    font-size: 7vw;
    text-align: center;
}

div#timer.xlarge {
    font-size: 8vw;
    text-align: center;
}


.text-container.show {
    opacity: 1;
}

/* PHASE */
.fade-out {
    opacity: 0 !important;
    transition: opacity 0.8s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.8s ease;
}

/* Fallback */
.fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #fff;
    opacity: 0.7;
}

.hidden {
    display: none;
}

@media (min-width: 768px){
    .header-text p {
        font-size: 1.65rem;
    }
}

@media (min-width: 1024px){
    .header-text p {
        font-size: 2rem;
    }
}

@media (min-width: 1400px){
    .header-text p {
        font-size: 2.0rem;
    }
}

@media (min-width: 2000px){
    .header-text p {
        font-size: 2.3rem;
    }
}