:root {
    color-scheme: light dark;
}
body, html {
    font-size: 4vw;
    user-select: none;
    text-align: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: tan;
}

#main-container {
    position: relative;
    z-index: 1;
}

button {
    border-radius: 25%;
    font-family: 'Noto Color Emoji';
    font-size: 8vw;
    padding: 2vw;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 15vw;
    height: 15vw;
}

#comical button {
    font-size: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

#comical button img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

#theme-select {
    border: none;
    border-radius: 50%;
    color: transparent;
    background-color: lightcoral;
    color: black;
    position: absolute;
    cursor: pointer;
    right: 25px;
    top: 25px;
    width: 20px;
    height: 20px;
    z-index: 2;
}

#spooky button video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.mode-tog {
    background-color: #424242;
    position: absolute;
    right: 50px;
    top: 50px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    z-index: 2;
    transition: 1000ms;
    border-radius: 50%;
    }
    
    .mode-tog.active {
    background-color: hsl(0, 0%, 74%);
    transition: 1000ms;
    }
    
    .container {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 50px;
    top: 50px;
    width: 20px;
    height: 20px;
    }
    
    .dark-mode {
    position: relative;
    transform: scale(0);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 250vw;
    height: 250vw;
    border-radius: 50%;
    background-color:#3b3b3b;
    transition: 1000ms ease-in-out;
    display: flex;
    flex: 0 0 auto;
    }
    
    .dark-mode.active {
    transform: scale(1) ;
    transition: 1000ms ease-in-out;
    }
    
    #container {
    background-color: black;
    color: white;
    mix-blend-mode: difference;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translateX(-50%);
    }
    
    @media screen and (max-width: 1000px) {
    .dark-mode {
    width: 1000vh;
    height: 1000vh;
    }
    }