html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-image: url("src/bluebedroom-background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: clamp(2rem, 5vw, 10rem);
}

.video-container video {
    width: 90vw;
    max-width: 90vw;
    height: auto;
}

@media (min-width: 1700px) {
    .video-container video {
        width: clamp(300px, 90vw, 60%);
        max-width: 60%;
    }
}



footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem;
    transform: translateY(clamp(0, -10vh, -5vh));
    
}

.schrank {
    width: clamp(100px, 25vw, 400px);
    margin-right: clamp(1rem, 5vw, 3rem);
    height: auto;
    cursor: pointer;
    z-index: 2;
}


 .overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
    z-index: 1;
}

.overlay.visible {
    display: flex;
}

.overlay img {
    max-width: 80%;
    max-height: 80%;
}

.overlay p {
    font-family: 'Georgia';
    width: clamp(220px, 60vw, 600px);
    font-size: 20px;
    text-align: center;
    margin-top: 1rem;
}

.overlay a {
    color: white;
    text-decoration: none;
}

a:visited {
    color: white;
    text-decoration: none;
}

@media (max-width: 767px) {
    .overlay {
        /* center overlay content horizontally and place it 10vh from the top on mobile */
        align-items: center;
        justify-content: flex-start;
        padding: calc(10vh + env(safe-area-inset-top, 0.5rem)) 1rem 2rem;
    }

    .overlay img {
        max-width: 90%;
        max-height: 60%;
    }

    .overlay p {
        width: min(90vw, 320px);
        font-size: 18px;
    }

    .overlay a {
        text-decoration: underline;
    }
}



