/* reset */

:root{
    --primary-color: #f02256;
    --secondary-color: #e6cd36;
    --text-color: #292929;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: linear-gradient(180deg, rgb(183, 200, 229) 10%, rgb(0,128 , 0, 1) 11%);
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    overflow: hidden;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
a{
    text-decoration: none;
    color: #333;
}
ul{
    list-style: none;
}
img{
    width: 100%;
    display: block;
}
.site{
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
h1,
h2,
button{
    font-family: "Luckiest Guy";
    font-weight: 400;
    font-style: normal;
}
h1{
    font-size: 3rem;
    line-height:1;
    span{
        color: var(--primary-color);
    }
}

button{
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 20px 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.3s ease;
    &:hover{
        background-color: var(--secondary-color);
    }
}
.info{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(20%, -50%);
    text-align: center;
    z-index: 100;
    width:400px;
    background-color: rgba(255,255,255,0.75);
    backdrop-filter:blur(10px);
    border-radius: 15px;
    padding: 30px;
    color: var(--text-color);
    border:5px solid var(--primary-color)
}

.logo{
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    z-index: 1005;
}
.video-container{
    width: 100%;
    height: 100vh;
    position: relative;
   
}
video{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-height: 100%;
    min-width: 100%;
}
.address-form{
    position: relative;
    width: 100%;
    padding: 10px 0;
    input{
        width: 100%;
        padding: 10px;
        margin: 5px 0;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
    }
}

.fool{
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 8000;
    font-size: 9rem;
    display: flex;
    top: 0;
    left: 0;
    line-height: .6em;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-family: "Luckiest Guy";
    color: var(--primary-color);
    text-shadow: 0 0 80px var(--secondary-color);
    pointer-events: none;
    scale: 0;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.5, 0, 0, 1);
    
}
@media screen and (max-width: 960px){
    video{
        bottom: 0;
        width: 960px;
        aspect-ratio: 20/14;
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
    }
    body{
        overflow: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    .site{
        padding-bottom: 100px;
        overflow-y: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    .video-container{
        transform: translateX(-50%);
        width: 960px;
        aspect-ratio: 20/14;
        height: auto;
        position: relative;
        left: 50%;
        top: 0;
        &:before{
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 15%;
            background: linear-gradient(180deg, rgb(183, 200, 229, 1) 0%, rgb(183, 200, 229, 0) 100%);
            z-index: 1;
        }
        &:after{
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(0deg, rgb(0,128 , 0, 1) 0%, rgb(0, 128, 0, 0) 100%);
            z-index: 1;
        }
    }
    .info{
        width: 90%;
        top:auto;
        bottom: 10px;
        left: 5%;
        transform: none;
        background-color: rgba(255,255,255,.9);
        position: relative;
    }
}


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

    
    h1{
        font-size: 2rem;
    }
    video{
        width: 768px;
    }
    .video-container{
        width: 768px;
    }


}


@media screen and (min-width: 2700px){

    @keyframes blink {
        0% {
            opacity: 1;
        }
        50% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    .site{
        & > *{display: none;}
        font-family: "VT323", monospace;
        text-align: right;
        &:before{
            padding-top: 300px;
            content:'<---- træk den browser mindre!';
            display: block;
            color: white;
            position: fixed;
            right: 20px;
            animation: blink 1s infinite;

        }
    }
    body{
        background: #0000aa;
        overflow: hidden;
        font-family: "VT323", monospace;

        &:before{
            content:'Slap af med den skærmstørrelse!';
            position: fixed;
            color: white;
            width: 90%;
            font-size:6rem;
       }
       &:after{
              content: 'Du er jo en kæmpe!';
              position: fixed;
              color: white;
              width: 90%;
              font-size: 4rem;
              bottom: 0;
       }
    }
}

.emoji-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1006;
}

.emoji {
    position: absolute;
    font-size: 2rem;
    will-change: transform;
}