body {
    margin: 0;
    height: 100vh;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stage {
    position: relative;
    height: 100vh;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    font-size: 1.6vh;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loose-btn {
    position: absolute;
    top: 45%;
    left: 2%;
    z-index: 10;
    cursor: pointer;
    font-family: monospace;
    font-size: 30px;
    color: #6495ed;
    text-shadow: 10px 10px 3px #8da2ca;
    padding: 8px;
    border: 4px dotted #bbca1a;
    border-radius: 100%;
}

.popup {
    display: none;
    position: absolute;
    width: 50%;
    background-color: #ffffff;
    z-index: 20;
}

.popup img {
    max-width: 90%;
    height: auto;
}

#act:checked ~ .act { display: block; }

.act1 { 
    top: 34%; 
    left: 6%;
    background-color: #ffffff;
}
.act2 { 
    top: 1%; 
    left: 0%; 
    width: 150px;
    background-color: transparent;
}
.act3 { 
    top: 78%; 
    left: 2%;
    width: 230px;
    background-color: transparent;
}
.act4 { 
    top: 54%; 
    left: 65%;
    background-color: transparent; 
}
.act5 { 
    top: 54%; 
    left: 4%;
    background-color: transparent;
}
.act6 { 
    top: 8%; 
    left: 57%;
    background-color: transparent;
}

#act:checked ~ .act1 { display: block; }
#act:checked ~ .act2 { display: block; }
#act:checked ~ .act3 { display: block; }
#act:checked ~ .act4 { display: block; }
#act:checked ~ .act5 { display: block; }
#act:checked ~ .act6 { display: block; }

.sorpresas-btn {
    cursor: pointer;
    color: #e85aa0;
    text-decoration: underline;
}

#sorpresas:checked ~ .sorpresas { display: block; }

.sorpresas1 {
    top: 44%;
    left: 50%;
    z-index: 100;
    background-color: #e85aa0;
    color: #bbca1a;
    width: fit-content;
    font-size: 30px;
}
.sorpresas2 {
    top: 0.5%;
    left: 1%;
    z-index: 100;
    width: 400px;
    white-space: nowrap;
    z-index: 21;
    background-color: #e85aa0;
    color: #bbca1a;
    font-size: 30px;
}
.sorpresas3 {
    top: 65%;
    left: 50%;
    z-index: 100;
    background-color: #e85aa0;
    color: #bbca1a;
    width: fit-content;
    font-size: 30px;
}
.sorpresas4 {
    top: 10%;
    left: 60%;
    z-index: 21;
    width: 250px;
    background-color: transparent;
}
.sorpresas5 {
    top: 77%;
    left: 40%;
    z-index: 21;
    width: 250px;
    background-color: transparent;
}
.sorpresas6 {
    top: 50%;
    left: 6%;
    z-index: 21;
    width: 250px;
    background-color: transparent;
}
.sorpresas8 {
    top: 12%;
    left: 6%;
    z-index: 21;
    width: 200px;
    background-color: transparent;
}
.sorpresas9 {
    top: 26%;
    left: 80%;
    z-index: 100;
    width: 200px;
    background-color: transparent;
}
.sorpresas10 {
    top: 70%;
    left: 10%;
    z-index: 21;
    width: 200px;
    background-color: transparent;
}

#sorpresas:checked ~ .sorpresas1 { display: block; }
#sorpresas:checked ~ .sorpresas2 { display: block; }
#sorpresas:checked ~ .sorpresas3 { display: block; }
#sorpresas:checked ~ .sorpresas4 { display: block; }
#sorpresas:checked ~ .sorpresas5 { display: block; }
#sorpresas:checked ~ .sorpresas6 { display: block; }
#sorpresas:checked ~ .sorpresas8 { display: block; }
#sorpresas:checked ~ .sorpresas9 { display: block; }
#sorpresas:checked ~ .sorpresas10 { display: block; }

.close {
    cursor: pointer;
    color: #6495ed;
    background-color: #ff6347;
    font-family: monospace;
    font-size: 12px;
    display: inline-block;
    line-height: 1;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.flicker {
    animation: flicker 2s infinite;
}
