body{
    font-family: 'Great Vibes', cursive;
    border: none;
    margin: auto;
}

#relleno{
    background: darkkhaki;
    height: 800px;
}


#popup{
    position: relative;
    
    
    overflow: hidden;
    transition: 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
}

/* button{
    font-family: 'Great Vibes', cursive;
    cursor: pointer;
    width: 150px;
    font-size: 30px;
    font-weight: 700;
    color: white;
    background: #5f5f5f;
    border-radius: 8px;
    padding-top: 11px;
    padding-bottom: 5px;
    border: none;
} */

#modal{
    background: rgba(146, 71, 17, 0.446);
    width: 100%;
    height: 900px;
    position: absolute;
    top:0px;
}

.box{
    border-radius: 10px;
    transform: translate(50%,50%);
   
    
    display: none;
    transition: 1.5s ease-in-out;    
    background: transparent;
    border: var(--modal-border);
    border-top:none;
    width:50%;
}

.box.active{
    position: fixed;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
}

.box-header{
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border: var(--modal-border);
    border-left: none;
    border-right: none;
    background-color: var(--modal-background);
    font-weight: 900;
}

.box-header .title{
    font-size: 20px;
    width: 80%;
    text-align: center;
    margin-left: 10%;
}

.box .description{
    background-color: var(--modal-background);
    border: var(--modal-border);
    border-left: none;
    border-right: none;
    border-top: none;
}

.box .description p{
    margin: auto;
    padding: 20px;
    width: 80%;
    font-family: var(--content-font);
}

.box-body {
    border: none;
    display: flex; /* Utilizamos flexbox para centrar el contenido */
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden; /* Ocultar contenido que se desborde */
    padding: 1rem;
    background-color: var(--modal-background);
}

.box-body .item-img {
    
    max-width: 50%;
    max-height: 50%;
    border-radius: 10px;
    
}
.box-body .item-video {
    
    width: 100%;
    border-radius: 10px;
    
}
.box-body .item-frame {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    
}
.blur{
    filter: blur(0px) brightness(100%);
}

.blur.active{
    filter: blur(5px) brightness(50%);
}

.close{
    color: #000;
    font-size: 16px;
    margin-right: 5px;
    margin-top: 5px;
    cursor: pointer;
}
.opacity-background{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #0000007d;
}

@media (max-width:800px){
    .box{
        width: 90%;
        max-width: none;
    }
}