

body {
    background: #000;
    overflow-x: hidden;

    width: 100svw;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}


#logo-container {
    position: relative;
    display: inline-block;
    width: fit-content;
}

#titlelogo {
    max-width: 50vw;
    max-height: 20vh;
    display: block;
    width: auto;
    height: auto;
}

.thing {
    position: absolute;
    opacity: 0;
}
.thing:hover {
    opacity: 1;
}

.wrong {
    animation: wrongPulse 1.3s ease-out;
    opacity: 1;
}

@keyframes wrongPulse {
    0% {
        filter: brightness(0) saturate(100%) invert(18%) sepia(66%) saturate(7480%) hue-rotate(357deg) brightness(103%) contrast(120%);
    }
    100% {
        filter: none;
    }
}

#sphere {
    left: 57.6%;
    top: 42%;
    width: 7%;
}



#ue5logo {
    left: 65%;
    top: 24.3%;
    width: 8%;
}

h1 {
    font-size: clamp(5rem, 10vw, 9rem);
    position: relative;
    padding: 0;
    margin: 0;
}

h1 svg{
    fill: rgba(0, 0, 0, 0);
    position: absolute;

    left: 44.9%;
    top: 28.9%;
    aspect-ratio: 1/1;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);

    cursor: pointer;
}

breilan-version{
    font-size: clamp(1rem, 5vw, 2rem);
    align-self: flex-start;
    margin-left: 30%;
    font-style: italic;
}

breilan-date{
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 900;
}


#meld-deg-på{
    color: white;
    text-decoration: none;
    
    padding: 5px 15px;
    cursor: pointer;

    font-size: xx-large;
    user-select: none;

    transition: padding 0.2s ease;

    position: relative;

}

@keyframes button-scroll {
  0%   { background-position: calc(50%) calc(50%); }
  100% { background-position: calc(50% + 9000px) calc(50% + 9000px); }
}

@media screen and (max-width:1000px) and (orientation: landscape) {
  #titlelogo {
    display: none;
  
  }
}


#meld-deg-på::before{
    content: "";
    background: 
    url(assets/spaghettiloop2.png),
    #000000
    ;
    background-size: 30px;
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center;

    border-radius: 4px;
    border-color: white;
    border-width: 2px;
    border-style: solid;

    z-index: -1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;

    transition: width 0.2s ease, height 0.2s ease;

    /* use a large amount of pixels and seconds with a sharp bezier curve to
    make the effect be fast at the start and slow down quickly and continue for 1 hour */
    animation: button-scroll 36000s cubic-bezier(0, 1, 0, 1) 1 forwards;

    


}


#meld-deg-på:hover::before{
    width: 115%;
    height: 130%;
}


#countdown {
    display: flex;
    gap: 20%;
    justify-content: center;

}


#countdown {
    display: flex;
    flex-direction: row;
    gap: 5%;
    justify-content: center;
    align-items: center;

    width: 90%;



}

countdown-entry{
    font-size: clamp(0.7rem, 300vw, 1.2rem);

    display: flex;
    flex-direction: column;
    align-items: center;

    backdrop-filter: blur(10px);
    background-color: #00000064;
    border-radius: 25px;
    border: #fff solid 1px;

    padding: 2ch 0;
    min-width: 8ch;

    
}

countdown-entry-title{
    color: rgb(226, 226, 226);
    font-size: clamp(0.7rem, 3vw, 1.2rem);
    
}

countdown-entry-timer{
    color: white;
    font-size: 2rem;
}




event-container {
    width: 30vw;

    font-size: clamp(2rem, 4vw, 1rem);
    
    background-color: #00000076;
    backdrop-filter: blur(10px);

    border-radius: 25px;
    border: #fff solid 1px;

    padding: 1% 3%;
}

current-event-container,
upcoming-event-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

@media screen and (max-width: 1000px) {
    countdown-entry {
        padding: 2% 1%;
        min-width: 5ch;
    }

    breilan-version{
    margin-left: 10%;
    }

    event-container {
        width: 70vw;
        padding: 10%;
    }
    #calendar{
        flex-direction: column;
    }    
    calendar-entry {
        min-width: 70vw;
    }

    nav #timesheet {
        padding: 0;
        background-color: #00000000;
    }
}