:root{
    --crema: #ded8bf;
    --azul: #1b1b27;
    --verde: #43822a;
    --rojo: #8f4322;
}

html{
    font-size: 62.5%;
    box-sizing: border-box;
    background-color: var(--crema);
    margin: 0rem 12rem;

    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--azul);
}

*, *:before, *:after{
    box-sizing: inherit;
}

h1, h2, h3, p{
    margin: 0;
    padding: 0;
}

nav, header, .div1, section{
    width: 74rem;
    justify-self: center;
}

/*Funciones*/

/*División 1*/
.div1 {
    display: flex;
    display: row;
    justify-content: space-between;
    
    margin-top: 2rem;
    padding-top: 4rem;
}

.div1 h3, .div1 a {
    text-decoration: none;
    color: var(--azul);
    font-weight: 700;
    font-size: 2rem;
    font-style: italic;
    text-transform: uppercase;
}

.div1 a:hover {
    text-decoration: underline;
}

/*Header*/
.fondohead {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50rem;
    height: 50rem;
    z-index: 1;
}

.fondohead img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    height: 50rem;
}

header img{
    width: 100%;
    height: 100%;
}

header h1{
    margin: 0;
    z-index: 3;
}

/*Primeras seccciones*/

.sec1 {
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: 1fr 3fr;
    column-gap: 4rem;
    margin-bottom: 2rem;
}

.sec1 h2 {
    font-size: 1.5rem;
    font-weight: 700;
    padding-top: 0.2rem;
}

.sec1 p {
    font-size: 1.5rem;
    text-align: justify;
}

/*Segunda sección*/

.sec2 {
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: 3fr 1fr;
    column-gap: 4rem;
    margin-bottom: 2rem;
}

.sec2 img {
    width: 100%;
    margin-bottom: 2rem;
}

.div2 {
    display: flex;
    display: row;
    justify-content: space-between;
}

.sec2 h2{
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    padding: 0.5rem;
}

.sec2 a , .personajes{
    display: flex;
    display: row;
    justify-content:space-between;

    text-decoration: none;
    color: #1b1b27;
    font-size: 1.5rem;
    padding: 1rem 0 1rem 0;

    border-style: solid;
    border-width: 1.4px 0px 0px 0px;
    border-color: var(--azul);
}

.sec2 a:hover {
    text-decoration: underline;
}

.sec2 p {
    font-size: 1.5rem;
    text-align: justify;
}

.personajes {
    column-gap: 2rem;
}