/* FUENTES ------------------------------------------------------------------------------*/
@font-face{
    font-family: "mplus";
    src: url("MPLUSRounded1c-Medium.ttf");
}

@font-face{
    font-family: "meiryo";
    src: url("Meiryo.ttf");
}

@font-face{
    font-family: "sourcesans";
    src: url("SourceSansPro-Light.otf");
}
/*Para usar Verdana sólo tengo que usar font-family en las movidas que necesite y ya, no hace falta font face*/

/* INTRO ------------------------------------------------------------------------------*/
.introbody{
    background-color: black;
    
}

.cajaidioma{
    /*separados por coma o si no no funcionan los dos fondos*/
    background-image: url("img/estrellas_peque.png"), linear-gradient(0deg,rgba(8, 21, 65, 1) 0%, rgba(108, 29, 137, 1) 100%);
    width: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    padding: 30px;
    border: solid 5px white;
    border-radius: 30px;
}

.botonidioma{
    background-color:rgba(255, 255, 255, 0); 
    border: solid 1px rgba(255, 255, 255, 0);
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    width: 100%;
    padding: 20px;
    font-family: "mplus";
    font-size: 250%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2px;
    margin-bottom: 2px;
    display: grid;
}

.botonidioma:hover{
    background-color:rgba(255, 255, 255, 0.2); 
    border: solid 1px rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    cursor: pointer;
}

.notfound:hover{
    border: solid 1px rgba(255, 255, 255, 0);
    cursor: default;
    border-radius: 0px;
    background-color:rgba(255, 255, 255, 0); 
}


/* COMÚN ------------------------------------------------------------------------------*/

*::selection {
  background: #624FB7;
  color: #ffffff;
}

/* Clase jp para los párrafos sólo en japonés*/
.jp{
    font-family: "meiryo";
    font-size: 90%;
}

.linkinvisible{
    text-decoration: none;
    color: inherit;
}

.linkvisible{
    color: inherit;
    text-decoration: underline;
}

.linkvisible:hover{
    color: #624FB7;
}


@keyframes estrellas{
    from{background-position-x: 0%;}
    to{background-position-x: 358px;}
}


*{
    scrollbar-color: #AB4DAB #1A2871;
    scrollbar-width: thin;
}
.bodyoscu{
    background-image: url("img/estrellas_grande.png"), linear-gradient(0deg,#1A2871 0%, #AB4DAB 100%);
    height: 100%;
    background-attachment: fixed;
    animation-name: estrellas;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

    margin: 0px;
}

header{
    margin-top: 20px;
    margin-bottom: 20px;
}

.logo{
    max-width: 100%;
    display:block;
    margin:auto;
}

nav{
    margin-top: 0px;
    margin-left:auto;
    margin-right:auto;
    max-width: 1000px;
    padding-left: 40px;
    padding-right: 40px;

    display:flex;
    flex-direction:row;
}

nav a{
    margin-left: auto;
    margin-right: auto;
}

.botonnav{
    background-color: #C556CE;
    color:  #F1EDF1;
    font-family: "mplus";
    font-size: 150%;
    padding-top: 15px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;

    /* margin-top tiene que ser tan grande como aumentes el height en hover*/
    margin-top: 15px;
    margin-right: 15px;
    margin-left: 15px;

    border: solid 2px #ffffff00;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

    display:flex;
    flex:auto;
    align-items:center;
    justify-content:center;
    text-align: center;
    height:37px;
}

.botonnav:hover{
    background-color: #8860DF;
    cursor: pointer;

    height:52px;
    margin:0px 15px;

    transition-duration: 0.1s;
    
}

.escondido{
    display: none;
}

/*Si es muy pequeña la pantalla, el nav se cambia*/
@media screen and (max-width: 1067px) {
    nav{
        display: block;
    }

    .botonnav{
        border-radius: 20px;
        display: block;
        margin: 15px;
        border-top: solid 2px #ffffff00;
        border-right: solid 2px #ffffff00;
        border-left: solid 2px #ffffff00;
    }

    .botonnav:hover{
        height: auto;
        margin: 15px;
        transition-duration: 0.1s;
    }

    /*Este aparece pero luego*/
    .escondido{
        display: none;
    }
}

.mainoscu{
    background-color: #000000A6;
    color: #F1EDF1;
    font-family: "sourcesans";
    font-size: 150%;
    font-weight: normal;
    max-width: 1000px;
    margin: auto;
    padding: 50px;
    border: solid 0px white;
    border-radius: 20px;
}

.parrafo{
    text-align: justify;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

.imgcentrada{
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

b {
    color: #A32DAD;
    font-weight: bold;
}

/*Luego ocultarlo si la página es estrecha porque se ve feo*/
.botonarriba{
    background-color: #C556CE;
    color:#ffffff;

    width: 60px;
    height: 60px;
    font-size: 200%;

    border: solid 0px white;
    border-radius: 50%;   

    z-index: 99; 
    position: sticky;
    bottom: 495px;
    left: 80%;

    /*Por defecto no está porque lo hacemos visible en js*/
    display: none;
    transition-duration: 0.2s;
}

.botonarriba:hover{
    background-color: #8860DF;
    transition-duration: 0.2s;
    cursor: pointer;
}

/*Botones de idioma y de modo oscuro/claro*/
.botoneschicosdiv{
    position: absolute;
    display: flex;
    top: 0px;
    left: 85%;
}

.botonchico{
    margin-left: 5px;
    margin-right: 5px;
    padding: 10px;
    height: 60px;

    background-color: #C556CE;
    border: solid 2px #ffffff00;
    /*izq arriba, der arriba, izq abajo, der abajo*/
    border-radius: 0px 0px 20px 20px
}

.botonchico:hover{
    background-color: #8860DF;
    cursor: pointer;
    transition-duration: 0.2s;
}

.botonchico img{
    margin: auto;
}

@media screen and (max-width: 975px) {
    .botoneschicosdiv{
        display: none;
    }

    .escondido{
        display: block;
    }

}

.cajaidiomasoscu{
    border: solid 3px white;
    border-radius: 20px;

    padding: 20px;

    position: relative;
    top: 70px;
    right: 202px;

    /*por defecto escondida*/
    display: none;
}

.cajaidiomasoscu ul{
    padding: 0px;
    margin: 0px;
    font-size: 150%;
    font-family: "mplus";
    color: white;
    list-style-type: none;
}

.cajaidiomasoscu a{
    color:#ffffff;
    text-decoration: none;
}

.cajaidiomasoscu a:hover{
    text-decoration: underline;
}


/* FOOTER ------------------------------------------------------------------------------*/
footer {
    background-color: #000000CC;
    color: #CD99E6;
    font-family: "sourcesans";
    font-size: 150%;
    text-align: center;
    

    margin-top: 100px;
    margin-bottom: 0px;
    
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: auto;
    padding-right: auto;
}

footer p{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
}

.divlogos{
    margin: auto;
}

.loguito{
    max-width: 100%;
    max-height: 100%;
    margin-left: 10px;
    margin-right: 10px;
}

footer a{
    text-decoration: none;
    color: #CD99E6;
}

footer a:hover{
    color: #ffffff;
}



/* HOME ------------------------------------------------------------------------------*/

.divvideo{
    float: none;
    clear: both;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 80%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*Esto es para el parrafito del tráiler solamente*/
.trailer{
    text-align: center;
    font-size: 75%;
    margin-bottom: 30px;
}

.galeria{ 
    max-width: 1000px;
    max-height: 720px;

    display: flex;
    justify-content: center;
    align-items: center;
    
    margin-bottom: 30px;
}


.galeriaimg{
    max-width: 100%;
    max-height: 100%;
}

.flecha{ 
    margin:5px;
    width:30px;
    font-size: 150%;
    text-align: center;
    color: #ffffff;
}

.izq:hover{
    color: #C556CE;
    cursor: pointer;
    transition-duration: 0.1s;
}

.der:hover{
    color: #8860DF;
    cursor: pointer;
    transition-duration: 0.1s;
}

/* DESCARGAS ------------------------------------------------------------------------------*/
.divtabla {
    display: grid;
    /*2 autos porque son 2 columnas*/
    grid-template-columns: 50% 50%;
    margin-bottom: 20px;
}

.divcapitulooscu{
    border: solid 2px white;
    border-radius: 20px;
    /*arriba y abajo 15, lados 25*/
    margin: 15px 25px;
    max-width: 100%;
    padding: 0px;

    min-height: 280px;
}

.divtabla h1 {
    background-color: #ffffff1A;
    font-family: "mplus";
    font-size: 110%;
    font-weight: normal;
    /* 1º es top, 2º es lados, 3º es bottom */
    margin: 0px 0px 5px;
    border: solid 0px white;
    border-radius: 20px 20px 0px 0px;
    padding: 5px 20px;
}

.pcapitulo{
    padding: 20px;
    margin: 0px;
    text-align: justify;
    font-size: 90%;
}

.imgcapitulo{
    float: left;
    margin: 10px;
    max-width: 100%;
}

.divsubcapitulo{
    overflow: auto;
}

.botoncapitulo{
    background-color: #C556CE;
    border: solid 0px white;
    border-radius: 20px;
    font-family: "mplus";
    font-size: 100%;
    text-align: center;

    padding: 10px;
    max-width: 70%;
    margin: 15px auto 10px;
}

.botoncapitulo:hover{
    background-color: #8860DF;
    cursor: pointer;
    transition-duration: 0.2s;
}

.linkbotoncapitulo{
    text-decoration: none;
    color: #ffffff;
}

@media screen and (max-width: 760px){
    .divtabla{
    display: block;
    }

    .pcapitulo{
        text-align: left;
    }
}

/* PERSONAJES ------------------------------------------------------------------------------*/

.centrado{
    text-align: center;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

.divretratos{
    text-align: center;
    line-height: 0;
}

.retrato{
    margin: 0px 20px;
    cursor: pointer;
}

.divdescripcion{
    margin-top: 20px;
    border: solid 2px white;
    border-radius: 20px;
    max-width: 100%;
    
    overflow: hidden;
    position: relative;
    display: none;
}

.galeriabusto{
    max-width: 350px;
    max-height: 700px;

    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
    margin: 0px 15px 20px;
}

.divtexto{
    /*arriba derecha abajo izquierda*/
    margin: 20px 30px 20px 20px;
}

.divtexto h1{
    color: #624FB7;
    font-family: "mplus";
    font-size: 150%;
    margin: 0px 0px 10px;
}

.descripciontexto{
    margin: 0px 0px 10px;
    text-align: justify;
}

/*el iconito bisexual*/
.descripciontexto img{
    margin: 0px 15px;
}

/*Si es muy pequeña la pantalla, la galería no flota y así se ve el párrafo abajo*/
@media screen and (max-width: 770px) {
    .galeriabusto{
        float: none;
    }
}

.botoncerrar{
    background-color: #C556CE;
    color: white;
    font-family: "mplus";
    font-size: 110%;
    border: solid 0px white;
    border-radius: 50%;   
    width: 40px;
    height: 40px;
    padding: 0px;

    position: absolute;
    top: 15px;
    right: 15px;

    transition-duration: 0.2s;
}

.botoncerrar:hover{
    background-color: #8860DF;
    cursor: pointer;
}

/* FAQ, TUTORIALES Y PLUGINS------------------------------------------------------------------------------*/
h2{
    color: #624FB7;
    font-family: "mplus";
    margin: 10px 0px 10px;
}

h3{
    color: #ca319f;
    font-family: "mplus";
    font-size: 110%;
    padding: 0px 15px 0px;
    margin: 20px 0px 10px;
}

h4{
    color: #4862DA;
    font-family: "mplus";
    font-size: 100%;
    padding: 0px 15px 0px;
    margin: 20px 0px 10px;
}

.hroscu{
    height: 2px;
    background-color: #ffffff80;
    border: 0px solid white;
}

.indice{
    list-style-type: circle;
    margin: 0px 0px 20px;
}

.condiciones{
    margin: 0px 10px 20px 60px;
    list-style-type: circle;
}

ol{
    margin: 0px 10px 20px 60px;
}

.tutoimg{
    max-width: 100%;
    display: block;
    margin: 0px auto 20px;
}

.creditos{
    margin: 0px 10px 20px 30px;
    list-style-type: square;
}

.columnas{
    columns: 3;
}

@media screen and (max-width: 920px) {
    .columnas{
    columns: 1;
    }
}

/* PROPIEDADES CLARAS -----------------------------------------------------------------------------------------------*/

.bodyclaro{
    background-image: url("img/estrellas_grande.png"), linear-gradient(0deg,#2E3985 0%, #BF5EBF 100%);
}

.mainclaro{
    background-color: #EADDEBA6;
    color: #060629;
}

.botonchicoclaro{
    border-bottom: solid 2px #ffffff80;
    border-left: solid 2px #ffffff80;
    border-right: solid 2px #ffffff80;
}

.botonnavclaro{
    border-top: solid 2px #ffffff80;
    border-right: solid 2px #ffffff80;
    border-left: solid 2px #ffffff80;
}

@media screen and (max-width: 1067px) {
    .botonnavclaro{
        border-bottom: solid 2px #ffffff80;
    }
}

/* Estos no son comunes*/

.divcapituloclaro{
    border-color: #060629;
}

.divtablaclaro h1 {
    background-color: #1001241a;
}

.hrclaro{
    background-color: #06062980;
}

/*cajaidiomas no hace falta cambiarlo*/

.divdescripcionclaro{
    border-color: #060629;
}


