.modal-container-popups {
    display: none;
    position: fixed;
    padding: 10px;
    width: 325px;
    left: 47.5%;
    margin-left: -150px;
    height: 600px;
    top: 27%;
    margin-top: -100px;
    background: transparent;
    z-index: 999;
    align-items: center;
}

.modal-container-popups-videos {
    display: none;
    position: fixed;
    padding: 10px;
    width: 325px;
    left: 47.5%;
    margin-left: -150px;
    height: 600px;
    top: 27%;
    margin-top: -100px;
    background: transparent;
    z-index: 999;
    align-items: center;
}

.modal-container-popups-games {
    display: none;
    position: fixed;
    width: 90%;
    left: 5%;
    top: 0%;
    background: transparent;
    z-index: 999;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    min-height: 90vh;
}

.modal-container-popups-games iframe {
    width: 100%;
    height: 92vh;
    aspect-ratio: 16 / 9;
}

#popup-window-games:after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    z-index: -2;    
}

#popup-window-games:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    z-index: -1;
}







.modal-container-produtos {
    /* Bordas */
    border-radius: 15px;
    /* Fundo */
    background:#FFF;    
    /* Alinhamento */
    display: none;
    position: fixed;
    align-items: center;
    /* Margens */
    width: 350px;
    height: 600px;
    margin-top: -100px;
    margin-left: -150px;
    top: 27%;
    left: 47.5%;
    padding: 10px;    
    z-index: 999;    
}

#popup-window:after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    z-index: -2;    
}

#popup-window:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    z-index: -1;
}

#popup-videos-window:after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    z-index: -2;    
}

#popup-videos-window:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    z-index: -1;
}

#popup-window-produtos:after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    /* */
    background: rgba(0,0,0,0);
    z-index: -2;
}

#popup-window-produtos:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    z-index: -1;
}

.img-popup-produto {
    display: block;
    margin: auto;
    transition: all 2s;
}

.popup-top {    
    text-align: right;
}

.closeBtn {
    font-size: 20px;
    color: #FFF;
    text-decoration: none;
}

.closeBtn:hover {
    color: #FFF;
    margin: auto;
    cursor: pointer;
}

.closeBtnProdutos {
    font-size: 20px;
    color: #000;
    text-decoration: none;
}

.closeBtnProdutos:hover {
    color: red;
    margin: auto;
    cursor: pointer;
}

/* Design Lista de Produtos do PopUp */

/* Título: Selecione a opção do produto */
.selecione {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px; 
    font-weight: bold;
    color: black; 
}

/* Nome do Produto (para carrinho e relatório) */
.linha-produto {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: black;
}

/* Divisão dos Conteúdos - Descrição - Preço - Botão */
.popup-lista {
    display: flex;
    flex-wrap: wrap;
    margin-left: 10px;
    margin-right: 10px;
}

/* Descrição */
.name {
    width: 60%;
    font-size: 14px;
}

/* Preço */
.price {
    width: 25%;
    text-align: right;
    font-size: 14px;
    font-weight: bold;
}

/* Botão */
.add {
    margin-left: 10px;
    background-image: url('../img/botao-pedido.png');
    background-repeat: no-repeat;
	background-size: contain;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
	.modal-container-popups {
        display: none;
        position: fixed;
        padding: 10px;
        width: 360px;
        left: 46.7%;
        margin-left: -150px;
        height: 600px;
        top: 20%;
        margin-top: -100px;
        background: transparent;
        z-index: 999;
        align-items: center;
    }
}
@media screen and (orientation: portrait), screen and (max-height: 700px){
    .modal-container-popups-games iframe {
        
    }
}
@media (max-width: 475px) {
    .modal-container-popups-games {
        
        overflow: hidden;

        min-height: 90vh;
    }
    
    .modal-container-popups-games iframe {
        width: 100%;
        height: 86vh;
        aspect-ratio: 9 / 16;
    }
    
    #popup-window-games:after {
        position: fixed;
        content: "";
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: rgba(0,0,0,0.5);
        z-index: -2;    
    }
    
    #popup-window-games:before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background: transparent;
        z-index: -1;
    }
    

}

/*
#popup1 {
    -webkit-box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
    box-shadow:  0px 0px 0px 9999px rgba(0, 0, 0, 0.5);
}
*/

/*
.modal-container {
    width: 100vw;
    position: fixed;
    top: 30px;
    display: none;
    z-index: 999;
    justify-content: center;
}

.modal {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background-color: transparent;
    opacity: 1;
    border-radius: 10px;
    width: 50%;
}

.modal img {
    opacity: 1!important;
}

.active {
    display: flex;
}

.active .modal {    
    display: flex;
    width: 393px;
    height: 100%;
    margin: auto;
    top: 50px;
    right: 0;
    animation: modal .4s;
}

.img-popup-produto {
    display: block;
    margin: auto;
}

@keyframes modal {
    from {
        opacity: 0;
        transform: translate3d(0, -60px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

span {
    margin: 10px auto;
}

.btns {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.btns button {
    font-size: medium;
    padding: 10px;
    border: none;
    border-radius: 5px;
    color: white;    
    cursor: pointer;
}

.btnOK {
    background-color: blue!important;
}

.btnClose {
    background-color: brown!important;
}

@media (max-width: 500px) {

    .modal {
        padding: 10px;
        width: 80%;
    }

    span, .btns button {
        font-size: smaller;
    }
    
}