

/* Con * quito los bordes */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a:link{
	color:white;
	text-decoration:none;	
}

body {
    font-family: 'Roboto Slab', serif;
	background: #e5e5e5;
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: #642a73;
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
}

/* Header */

header {
    width: 100%;
    height: 600px;
	
	/* Background sacado de Ugradients: https://uigradients.com/#GradeGrey y he cambiado de codigo html css a hsla para la opacidad*/
	
	 background: #bc4e9c;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, hsla(0, 0%, 80%, 0.5), hsla(0, 0%, 00%, 0.75)), url(../img/Cabecera_Hitomi.png);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(0, 0%, 80%, 0.5), hsla(0, 0%, 00%, 0.75)), url(../img/Cabecera_Hitomi.png);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

nav{
    text-align: right;
    padding: 30px 50px 0 0;
}

nav > a{
    color:#fff;
    font-weight: 300;
    text-decoration: none;
    margin-right: 10px;
}

nav > a:hover{
    text-decoration: underline;
}

header .textos-header{
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1{
    font-size: 50px;
    color:#fff;
}

.textos-header h2{
    font-size: 30px;
    font-weight: 300;
    color:#fff;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Personajes */

main .portada{
    padding: 30px 0 60px 0;
}
.contenedor-portada{
	
    display: flex;
    justify-content: space-evenly;
}

.imagen-portada{
    width: 48%;
}

.portada .contenido-textos{
    width: 48%;
}

.contenido-textos h3{
	margin-top:15px;
    margin-bottom: 15px;
}

.contenido-textos h3 span{
    background: #4d0686;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .9);
    margin-right: 10px;
}

.contenido-textos p{
    padding: 0px 0px 15px 15px;
    font-weight: 300;
    text-align: justify;
}

/* Personajes */


.Personajes{
    background: #fff;
}

/* galería port sirve para que no colapsen unas imágenes con otras */

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

/* Contenedor de las imágenes */

.imagen-port{
    width: 23.5%;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .99);
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.Nombre{
	position:absolute;
	width:100%;
	height:100%;
	top:40px;
	line-height: 100px;
	text-align: center;
	vertical-align: middle;
	z-index:1;	
	
}

.link_cover{
	border:2px solid black;
	position:flex;
	width:100%;
	height:100%;
	z-index:2;
}

.imagen{
	position:absolute;
	height:100%;
	width:100%;
}

/* He hecho una transición para hacer click en la sección de personajes, sacado de Youtube */

.transicion-click{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
	
/* Empieza el scale en 0 para que la transición no se vea */
	color:white;
    transform: scale(0);
    background: hsla(273,91%,27%, 0.5);
    transition: transform .25s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* el Scale pasa a 1 para que finalice la transición */

.imagen-port:hover .transicion-click{
    transform: scale(1);
}

.transicion-click img{
    width: 100%;
}

.transicion-click p{
    color: #fff;
}

/* Puntuación del manga */

.Tarjeta{
    display:flex;
	flex-wrap:wrap;

}

.Tarjeta .Interior_Tarjeta{
	margin-left: 10px;
    background: #4d0686;
    display: flex;
    width: 32%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 20px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.6);
}

.Tarjeta .Interior_Tarjeta img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #000;
    border-radius: 50%;
    display: block;
}

.Tarjeta .Interior_Tarjeta > .contenido-texto-Interior_Tarjeta{
    width: 60%;
    color: #fff;
}

.Tarjeta .Interior_Tarjeta > .contenido-texto-Interior_Tarjeta p{
    font-weight: 300;
    padding-top: 5px;
}

/*  Género */

.Genere{
    background: #f2f2f2;
}


.Gen-cont{
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.Gen-ind{
	margin:0px auto
}

.Gen-ind h3{
    margin: 5px 0;
}

.Gen-ind li{
	
display:flex;
flex-direction:column;
align-items:center;
	
	
}
	
	
/* Pie de página */

footer{
    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: #fff;
    border-bottom: 3px solid #af20d3;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: #ccc;
}

.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

/* Responsive a móviles */


@media screen and (max-width:900px){
	 nav{
        text-align: center;
        padding: 30px 0 0 0;
    }

    nav > a{
        margin-right: 5px;
    }

    header{
        background-position: center;
    }

    .contenedor-portada{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .portada .contenido-textos{
        width: 90%;
    }

    .imagen-portada{
        width: 90%;
    }

    /* Galeria */

    .imagen-port{
        width: 44%;
    }

    /* Clientes */

    .Tarjeta{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .Tarjeta .Interior_Tarjeta{
        width: 90%;
    }

    .Tarjeta .Interior_Tarjeta{
        margin-bottom: 30px;
    }

    /* servicios */

    .Gen-cont{
        justify-content: center;
        flex-direction: column;
    }

    .Gen-ind{
        width: 100%;
        text-align: center;
    }

    .Gen-ind:nth-child(1), .Gen-ind:nth-child(2){
        margin-bottom: 60px;
    }
}

@media screen and (max-width:500px){
    .textos-header h1{
        font-size: 35px;
    }

    .textos-header h2{
        font-size: 20px;
    }

    /* Portada */

    .imagen-portada{
        margin-bottom: 60px;
        width: 99%;
    }

    .portada .contenido-textos{
        width: 95%;
    }

    /* Galeria */

    .imagen-port{
        width: 95%;
    }

    /* Clients */

    .Tarjeta .Interior_Tarjeta{
        height: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .Tarjeta .Interior_Tarjeta img{
        width: 90px;
        height: 90px;
    }

    /* Pie de página */

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4{
        border: none;
    }

    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }

    .titulo-final{
        font-size: 20px;
    }
}