@font-face {
    font-family: F1_Regular;
    src: url("Formula1-Regular.otf");
}
@font-face {
    font-family: Digital-7;
    src: url("digital-7.ttf");
}

* {
    margin: 0;
    padding: 0;
}

#imagen_cabecera {
    position: relative;
    top: -5px;
    margin: 0;
    padding-left: 10px;
    width: 174px;
    height: 55px;
    transform: scale(0.95);
}

.container-principal {
    display: grid;
    background-color:  #6319D2;  /*rgb(38, 4, 59);*/
    min-height: 100vh;
    /*min-width: 100vw;*/
    grid-template-columns: minmax(330px, 1fr) 1fr 1fr;
    grid-template-rows: 55px 1fr 200px 60px;
}

.container-principal header {
    background-color:  rgb(38, 4, 59);
    grid-column: 1 / -1;
}

#semaforo {
    display: none;
}

.circulo_up {
    display:inline-block;
    position:static;
    width: 35px;
    height: 35px;
    border-radius: 50%; /* Hace que el div tenga forma de círculo */
    background-color: red; 
    border: 3px solid black;
    z-index: 1500;
}

.circulo_down {
    display:inline-block;
    position:static;
    width: 35px;
    height: 35px;
    border-radius: 50%; /* Hace que el div tenga forma de círculo */
    background-color: red; 
    border: 3px solid black;
    z-index: 1500;
}

.oculto {
    opacity: 0.2; 
}

.visible {
    opacity: 1; 
}

#boton_inicio {
    display: flex;
    /*display: none;*/ /*ocultar boton de inicio*/
    justify-content: center;
    align-items: center;
    height: 300px;
}

#cmd_boton_inicio {
    width: 270px;
    height: 100px;
    font-family: F1_Regular;
    font-size: 36px;
    font-weight: bold;
    font-style: italic;
    background-color: blueviolet;
    color: white;
    border: 5px solid gray;
    border-radius: 10px;
    cursor: pointer;
}

#id_opciones_entrada {
    display: none;
    /*display: block;*/ /*Mostrar opciones entrada*/
}
  
#id_opciones_juego {
    display: none;
}

.boton-con-texto {
    margin-top: 50px;
    position: relative;
    display: grid;
    overflow: hidden;
    width: 200px;
    height: 100px;
    cursor: pointer;
    border: 5px;
    border-radius: 20px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}

.boton-con-texto img {
    width: 100%;
    height: 250%;
    opacity: 0.4;
    display: block;
    filter: blur(3px);
    overflow: hidden;
}

.texto-superpuesto {
    padding: 0;
    margin: 0;
    width: 100%;
    position: absolute;
    justify-content: center;
    font-style: italic;
    top: 50%; /* Alinea el texto en el centro vertical del botón */
    left: 50%; /* Alinea el texto en el centro horizontal del botón */
    transform: translate(-50%, -50%); /* Centra el texto completamente */
    color: whitesmoke ; /* Cambia el color del texto según sea necesario */
    font-size: 32px; /* Ajusta el tamaño del texto según sea necesario */
    font-weight: bold; /* Otras propiedades de estilo del texto */
    font-family: F1_Regular;
}

.container-principal main {
    display: grid;
    /*background-color: rgb(63, 12, 95);*/
    background-color:  rgb(53, 12, 95); /* #6319D2; /*rgb(38, 4, 59);*/
    /*background-color: red;*/
    grid-column: 2 / 3;
    justify-content:center;
    transform: scale(1);

}

.container-principal aside-left {
    background-color: rgb(53, 12, 95); /* #6319D2; /*rgb(38, 4, 59);*/
    grid-column: 1 / 2;
}

.container-principal aside-right {
    background-color: #351C75; /*gray;*/
    /*opacity: 0.2;*/
    grid-column: 3 / 4;
}

.container-principal aside-botton {
    background-color:  #351C75; /*gray;*/
    /*opacity: 0.2;*/
    grid-column: 1 / -1;
}

.container-principal footer {
    background-color: rgb(38, 4, 59);
    color: white;
    grid-column: 1 / -1;
    font-family: F1_Regular;
    font-size: 12px;
    padding: 10px;
    overflow: hidden;
}

header article{
    /*display: grid;*/
    padding: 5px;
    /*margin: 0;;*/
    width: 135px;
    height: 100%;
    top:-50px;
    /*justify-content:center;
    align-items: center;*/
    /*overflow: hidden;;*/
}

.informacion {
    display:grid;
    /*display:none;*/
    font-size: 10px;
    position: relative;
    float:right;
    top: -70px;
    /*width: 250px;*/
    grid-template-columns: 120px;
    grid-template-rows: 20px 20px;
}

.informacion a {
    color: white;
    line-height: 0px;
}

.informacion h1 {
    color: greenyellow;
    line-height: 0px;
    float: right;
}

.privacy_contact {
    display: inline-flex;
    font-size: 12px;
    position: relative;
    float: center;
    cursor: pointer;
}

.privacy_contact a {
    margin-right: 20px;
    color: white;
    text-decoration: underline;
}

#id_privacy {
    top:0px;
}

/* Estilo para ocultar la ventana modal por defecto */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7); /* Fondo oscuro semi-transparente */
    justify-content: center;
    align-items: center;
    z-index: 1500;
}

/* Estilo para el contenido de la ventana modal */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 500px;
    height: auto;
    font-size: 12.5px;
    text-align: justify;
}

/* Estilo para el botón de cerrar la ventana modal */
.modal .botones_join {
    font-family: F1_Regular;
    font-size: 12px;
    background-color: blue;
    color: white;
    width: 80px;
    height: 35px;
    border-radius: 5px;
    margin-right: 10px;
}

.modal .botones_close_info {
    font-family: F1_Regular;
    font-size: 12px;
    background-color: blue;
    color: white;
    width: 80px;
    height: 35px;
    border-radius: 5px;
    margin-right: 10px;
}

@media (max-width: 1200px) and (orientation: landscape) {

    .container-principal {
        display: grid;
        background-color:  #6319D2;  /*rgb(38, 4, 59);*/
        min-height: 100vh;
        grid-template-columns: 330px 650px 1fr;
        /*grid-template-columns: 330px 1fr 200px;*/
        /*grid-template-columns: minmax(330px, 1fr) 1fr 1fr;*/
        grid-template-rows: 55px 1fr 200px 60px;
        padding: 0;
        margin: 0;;
    }

    .container-principal header {
        background-color: rgb(38, 4, 59);
        grid-column: 1 / -1;
        overflow: hidden;
    }

    .container-principal main {
        display: grid;
        background-color: rgb(53, 12, 95); /*#6319D2; /*rgb(38, 4, 59);*/
        grid-column: 2 / 3;
        justify-content:center;
        transform: scale(1);
    
    }

    .container-principal aside-left {
        background-color: rgb(53, 12, 95); /* #6319D2; /*rgb(38, 4, 59);*/
        grid-column: 1 / 2;
        
    }
        
    .container-principal aside-right {
        background-color:  #351C75; /*gray;*/
        /*opacity: 0.2;*/
        grid-column: 3 / 4;
    }
    
    .container-principal aside-botton {
        background-color:  #351C75; /* gray;*/
        /*opacity: 0.2;*/
        grid-column: 1 / -1;
    }
    
    .container-principal footer {
        background-color: rgb(38, 4, 59);
        color: white;
        grid-column: 1 / -1;
        font-family: F1_Regular;
        font-size: 12px;
        padding: 10px;
        overflow: hidden;
    }
    
    body {
        overflow: hidden;
    }

}

@media (max-width: 800px) and (orientation: portrait) {
    * {
        margin: 0;
        padding: 0;
    }

    .container-principal {
        display: grid;
        background-color:  #6319D2;  /*rgb(38, 4, 59);*/
        min-height: 100vh;
        /*min-width: 100vw;*/
        grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
        /*grid-template-rows: 55px 370px 1fr 60px;*/
        grid-template-rows: 55px 370px 675px 60px;
        padding: 0;
        margin: 0;;
    }

    .container-principal header {
        background-color: rgb(38, 4, 59);
        grid-column: 1 / -1;
        overflow: hidden;
    }

    .container-principal aside-left {
        background-color: rgb(53, 12, 95); /* #6319D2; /* rgb(38, 4, 59);*/
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        overflow: hidden;
    }

    .container-principal aside-right {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        background-color:  #351C75; 
        /*opacity: 0.1;*/
        overflow: hidden;
    }

    .container-principal aside-botton {
        grid-column: 1 / -1;
        grid-row: 4 / 5;
        background-color: rgb(53, 12, 95); /*gray;*/
        /*opacity: 0.1;*/
        overflow: hidden;
        display: none;

    }

    .container-principal main {
        display: grid;
        background-color: #6319D2; /*rgb(63, 12, 95);*/
        grid-column: 1 / -1;
        grid-row: 3 / 4;
        justify-content:center;
        margin: 0px;
        padding: 0;
        /*transform: scale(0.9);*/
        /*overflow: hidden;*/
    
    }

    .container-principal footer {
        display: block;
        /*display:none;*/
    }

    body {
        /*overflow: hidden;*/
        /*overflow:scroll;
        touch-action: pan-y, pan-x;*/
        touch-action: auto;
    }
}

