@import url(series.css);
@import url(serieconcreta.css);
@import url(circuitos.css);
@import url(juego.css);
@import url(desarrollo.css);

* {
    padding: 0;
    margin: 0;
    font-family: "KoHo";
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}



a:link,
a:visited,
a:active {
    text-decoration: none;
}

body {
    background-image: url("../images/wallpaper.png");
    background-repeat: repeat;
}

.fondotransp {
    background-color: rgba(0, 0, 0, 0.5);
    min-width: 88%;
    margin-left: 6%;
    margin-right: 6%;
    padding-bottom: 150px;
}

.titulogeneral {
    width: 80%;
    min-width: 80%;
    height: 40px;
    background-color: rgb(0, 52, 102);
    float: left;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 50px;
    margin-bottom: 20px;
    color: rgb(0, 199, 157);
}

.titulotransp {
    width: 80%;
    min-width: 80%;
    height: 30px;
    background: linear-gradient(0deg, rgba(0, 199, 157, 0.1) 0%, transparent 100%);
    float: left;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 10px;
    margin-bottom: 20px;
    color: white;
    border-bottom: 2px solid rgb(0, 199, 157);
}

.cabecera {
    width: 100%;
    height: 170px;
    background-color: rgb(0, 52, 102);
}

.contlogocabecera {
    width: 100%;
    height: 130px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logocabecera {
    max-width: 100%;
}


.contmenucabecera {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
}



.contopcion {
    width: 11vw;
    height: 40px;
    background-color: rgba(50, 50, 50, 0.7);
    float: left;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 2px;
    margin-right: 2px;
    color: rgb(200, 200, 200);
}

.contopcion:hover {
    width: 11vw;
    height: 40px;
    background-color: rgba(50, 50, 50, 0.85);
    float: left;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 199, 157);
}

.contopcionactiva {
    width: 11vw;
    height: 40px;
    background-color: rgb(50, 50, 50);
    float: left;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 2px;
    margin-right: 2px;
    color: rgb(255, 255, 255);
}

.textomenu {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
}

.linkfooter {
    margin: 15px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    color: white;
}

footer:hover {

    box-shadow: 0 0px 5px #000000, 0 0 10px #000000 inset;
}

footer {
    width: 100%;
    height: 50px;
    background-color: rgb(0, 52, 102);
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    position: fixed;
    bottom: 0px;
    box-shadow: 0px 0px 15px 10px rgb(0, 0, 0);
}

.final {
    clear: both;
}

abbr {
    text-decoration: none;
}



@media (max-width:1024px) {
    .fondotransp {
        min-width: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .titulogeneral {
        width: 100%;
        height: 6vw;
        margin-left: 0px;
        margin-right: 0px;
        font-size: 3vw;
    }

    .titulotransp {
        width: 100%;
        height: 6vw;
        margin-left: 0px;
        margin-right: 0px;
        font-size: 3vw;
    }

    .contopcion {
        width: 16vw;
        height: 8vw;
    }

    .contopcion:hover {
        width: 16vw;
        height: 8vw;
    }

    .contopcionactiva {
        width: 16vw;
        height: 8vw;
    }

    .textomenu {
        font-size: 2.5vw;
    }

    .cabecera {
        height: 30vw;
    }

    .contmenucabecera {
        height: 8vw;
    }

    .logocabecera {
        max-width: none;
        width: 100%;
    }

    .contlogocabecera {
        height: 22vw;
    }



    footer {
        height: 8vw;
        font-size: 3vw;
    }

    .botonarriba {
        right: -50px;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .botonarriba abbr img {
        width: 40px;
    }
}

/* --- ESTILOS PARA LA LISTA DE NOVEDADES EN JUEGO.HTML --- */
.caja-novedades {
    color: white;
    margin-left: 15%;
    padding-bottom: 20px;
}

.lista-novedades {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.lista-novedades li {
    margin-bottom: 8px; 
}

/* --- COMPORTAMIENTO DE SCROLL SUAVE --- */
html {
    scroll-behavior: smooth;
}

/* --- BOTÓN FLOTANTE (ESTADO INICIAL OCULTO) --- */
.boton-flotante {
    position: fixed;
    bottom: 70px;
    right: 150px;
    z-index: 1000;
    width: 35px;
    height: 35px;
    
    /* Lo ocultamos por defecto */
    opacity: 0;
    visibility: hidden; 
    transform: translateY(20px); /* Empieza 20px más abajo */
    
    /* Preparamos una transición suave de medio segundo */
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

/* --- LA CLASE QUE AÑADIRÁ JAVASCRIPT --- */
.boton-flotante.mostrar {
    opacity: 0.8;
    visibility: visible;
    transform: translateY(0); /* Sube a su posición original */
}

/* Efecto al pasar el mouse (solo funciona si está visible) */
.boton-flotante.mostrar:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.boton-flotante img {
    width: 100%;
    height: auto;
}
