/*Hoja de estilo de la pagina de título "Las 10 de Tarantino"*/
@import url('https://fonts.googleapis.com/css2?family=Charmonman&family=Montserrat:wght@300;500&family=Roboto&family=Tilt+Neon&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   /* font-family: 'verdana';*/
    font-family: 'Roboto', sans-serif;
}
/* Información obtenida desde gridgenerator. com para un grid de 4 columnas y 6 filas */
/* Cambio la denominación de los diferentes divs para mayor comprensión */
/* Cambio las dimensiones de filas y columnas para "controlar" el grid */
/* Las dimensiones de anchura en % y las de altura en vh (100vh=1pantalla de alto) */
.wrapper {
display: grid;
grid-template-columns: 24% 24% 24% 24%; /*De origen era: repeat(4, 1fr); */
grid-template-rows: 15vh 7.5vh repeat(5, 77.5vh) /*25vh*/; /*De origen era:   1fr 1fr repeat(6, 1fr);  */
grid-column-gap: 1%;        /*Dimensiones de gap en horizontal en % */
grid-row-gap: 2vh;          /*Dimensiones de gap en vertical en vh */
}
/* === Configuración del Grid === */
.logoizq { grid-area: 1 / 1 / 2 / 2; }
.cabecera { grid-area: 1 / 2 / 2 / 4; }
.logoder { grid-area: 1 / 4 / 2 / 5; }
.menusup { grid-area: 2 / 1 / 3 / 5; }
.art1 { grid-area: 3 / 1 / 4 / 3; }
.art2 { grid-area: 3 / 3 / 4 / 5; }
.art3 { grid-area: 4 / 1 / 5 / 3; }
.art4 { grid-area: 4 / 3 / 5 / 5; }
.art5 { grid-area: 5 / 1 / 6 / 3; }
.art6 { grid-area: 5 / 3 / 6 / 5; }
.art7 { grid-area: 6 / 1 / 7 / 3; }
.art8 { grid-area: 6 / 3 / 7 / 5; }
.art9 { grid-area: 7 / 1 / 8 / 3; }
.art10 { grid-area: 7 / 3 / 8 / 5; }
/* Mantengo la información facilitada por Grid Generator para tener siempre las referencias de los diferentes div. */

.wrapper{
    background-color:rgb(32,82,149);
}
h1{
    color:aqua;
    text-align:center;
    font-size: 200%;
}
.cabecera{
    border: 2px solid red;
    border-radius: 15px;
    background-image: url(../imagenes/tarantino3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.logoizq, .logoder{
    border: 2px solid red;
    border-radius: 15px; 
    background-color: black;
/*=== Configuro cada elemento como flex para poder centrarlo horizontal y verticalmente ===*/    
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;   
}
.logoizq{
    margin-left: 25px;
}
.logoder{
    margin-right: 25px;   
}

.logoizq h2, .logoder h2{
    font-size: 250%;
    color: red;
    text-align: center;
}
/* === CONFIGURACION DEL MENU DE NAVEGACIÓN === */
/*Configuro el div menusup como flex, lo cual me permite centrarlo horizontal y verticalmente */
.menusup{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: space-around;
/*    justify-content: space-evenly;  */
    align-items: center;
}
.menusup {
    border: 2px solid aqua;
    background-color: #144272;
    border-radius: 15px;
    margin: 0 25px 0 25px;
}
.menusup li{
    font-size: 125%;
    display: inline-block;
    text-decoration: none;
    color: aqua;
    margin-left: 1em;
    margin-right: 1em;
}
.menusup a{
    text-decoration: none;
    color: aqua;
}
.menusup a:hover{
    color: chartreuse;
    transform: scale(1.25);
}
/* ==== FIN MENU DE NAVEGACIÓN ===*/

/* === INICIO CUERPO DE LA PÁGINA === */
.redogs, .jacbrown, .kbvol2, .malbas, .ochodi{
    float: right;
    margin-left: 10px;
}

.pulpfic, .kbvol1, .deathp,.djangodes, .erasehol{
    float: left;
    margin-right: 10px;
}
.art1 p, .art2 p, .art3 p, .art4 p, .art5 p, .art6 p, .art7 p, .art8 p, .art9 p, .art10 p{
    text-align: justify;
    color: chartreuse;
    font-family: 'Montserrat', sans-serif;
    font-size: 125%;
}

.art1, .art2, .art3, .art4, .art5, .art6, .art7, .art8, .art9, .art10{
    border: 2px solid darkblue;
    background-color: #0A2647;
    padding: 10px;
    border-radius: 15px;
    overflow: scroll;
}
.art1, .art3, .art5, .art7, .art9{
    margin-left: 25px;
}
.art2, .art4, .art6, .art8, .art10{
    margin-right: 25px;
}

.foto:hover{
    border: 2px soli grey;
    transform: scale(1.25);
}
/*
Prueba para hacer que el trailer de cada pelicula se pueda ver en un iframe... a revisar...
#trailer1{
    display: none;
}
*/

/* === CONFIGURACIÓN DEL ÁREA DE LAS RRSS === */

.footer{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;   
}
.pieizqbig{
    display:flex;                /*Voy a "incrustar" un div dentro de éste para poder */
    flex-direction: row;         /*centrar, vertical y horizontalmente las RRSS */
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;  
    /*border-bottom-left-radius: 20px;*/
    background-color: #2C74B3;
    background-color:rgb(32,82,149);
    
    flex-grow: 1;
    padding: 0.5em 0;
}

.pieizq{
    background-color: #2C74B3;
    background-color: rgb(32, 82, 149);
    
}

.pieizq ul{
    margin-top: 10%;
    font-size: 1em;
    font-weight: bold;
    list-style-type: none;
  /*  margin-left: 10%; */
}
.pieizq a{
    text-decoration: none;
    color: rgb(3, 201, 136);
}
.pieizq a:hover{
    font-size: 1em;
    background-color: rgb(3, 201, 136);
    color: rgb(0, 51, 124);
    border-radius: 0.5em;
    padding: 0;
}
.pieizq a:visited {
    color: rgb(0, 51, 0);
}
.pieizq img{
    margin-right: 10px;
}

/* === ESTILO DEL ÁREA DE LA  DIRECCIÓN ==== */
address {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #2C74B3;
    background-color: rgb(20,66, 114);
    background-color: rgb(32,82,149);
}
address p{
    text-align: center;
    font-size: 150%;
    color: rgb(3, 201, 136);
    font-weight: bold;
}
address p:last-child{
    color: yellow;
    font-size: 75%;
    margin-top: 2em;
    font-weight: lighter;
}
/* === ESTILO DEL ÁREA DEL MAPA === */
.pieder{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    background-color: #2C74B3;
    background-color: rgb(32,82,149);
}
.pieder{
    border-bottom-right-radius: 20px;
    padding: 0.25em 1.5em;
}
.pieder iframe{
    border-radius: 20px; 
}
iframe {
    border: 1px solid black;
    width: 90%; /* takes precedence over the width set with the HTML width attribute */
}
/* == ESTILO DE LA SUELA == */
/*.suela{
    height: 10vh;
    background-color: black;
}*/

/* ESTILO PARA LA FLECHA "Volver al Inicio" FLOTANTE */
#backToTop {
    position: fixed;
    right:25px;
    bottom: 25px;
    display: none; /* Inicialmente oculta */
    width: 50px;
    height: 50px;
    background-color: #000;
    color: #ff0;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000; /* Asegurarse de que esté por encima de otros elementos */
}

#backToTop:hover {
    background-color: #333;
}

#backToTop span {
    font-size: 25px; /* Tamaño de la flecha */
}

/* == MEDIA QUERY ==*/
@media screen and (max-width:900px){ 
    



    .footer{
        flex-direction: column;
    }
    address{
        border-top: 2px solid white;
        border-bottom: 2px solid white;;
    }

    h1{
        font-size: 150%;
    }
    h2{
        font-size: 100%;
    }

    .wrapper {
        display: grid;      /*Voy a definir una grid de 1 columna y 14 filas 3 (cabecera)+1 (menu) +10 (art1 a 10)*/
        grid-template-columns: 100%;
        grid-template-rows: 7.5vh 15vh 7.5vh 30vh repeat(10, 75vh); 
        grid-column-gap: 1%;        /*Dimensiones de gap en horizontal en % */
        grid-row-gap: 2vh;          /*Dimensiones de gap en vertical en vh */
        }
        /* === Configuración del Grid === */
        .logoizq { grid-area: 1 / 1 / 2 / 2; }
        .cabecera { grid-area: 2 / 1 / 3 / 2; }
        .logoder { grid-area: 3 / 1 / 4 / 2; }
        .menusup { grid-area: 4 / 1 / 5 / 2; }
        .art1 { grid-area: 5 / 1 / 6 / 3; }
        .art2 { grid-area: 6 / 1 / 7 / 2; }
        .art3 { grid-area: 7 / 1 / 8 / 2; }
        .art4 { grid-area: 8 / 1 / 9 / 2; }
        .art5 { grid-area: 9 / 1 / 10 / 2; }
        .art6 { grid-area: 10 / 1 / 11 / 2; }
        .art7 { grid-area: 11 / 1 / 12 / 2; }
        .art8 { grid-area: 12 / 1 / 13 / 2; }
        .art9 { grid-area: 13 / 1 / 14 / 2; }
        .art10 { grid-area: 14 / 1 / 15 / 2; }

    .logoizq{
       margin-left: 0px;
    }
    .logoder{
        margin-right: 0px;   
    }
    .menusup{
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .menusup {
        border: 2px solid aqua;
        background-color: #144272;
        border-radius: 15px;
        margin: 0 0px 0 0px;
    }
    .menusup li{
        font-size: 100%;
        display: inline-block;
        
        text-decoration: none;
        color: aqua;
        margin: 0.5em 7.5em 0.5em 7.5em;
    }
    .redogs, .jacbrown, .kbvol2, .malbas, .ochodi{
        float: left;
        margin-right: 10px;
    }
    .pulpfic, .kbvol1, .deathp,.djangodes, .erasehol{
        float: right;
        margin-left: 10px;
    }
    .art1 p, .art2 p, .art3 p, .art4 p, .art5 p, .art6 p, .art7 p, .art8 p, .art9 p, .art10 p{
        text-align: justify;
        color: chartreuse;
        font-family: 'Montserrat', sans-serif;
        font-size: 100%;
    }
    
    .art1, .art2, .art3, .art4, .art5, .art6, .art7, .art8, .art9, .art10{
        border: 2px solid darkblue;
        background-color: #0A2647;
        padding: 10px;
        border-radius: 15px;
        overflow: scroll;
    }
    .art1, .art3, .art5, .art7, .art9{
        margin-left: 0px;
    }
    .art2, .art4, .art6, .art8, .art10{
        margin-right: 0px;
    }
}