* {
    box-sizing: border-box;
}

:root {

    --grisPaleta: #1D1616;
    --grisPaleta2: #1d1616a2;
    --rojo: #8E1616;
    --rojo2: #D84040;
    --blanco: #EEEEEE;


}

body {
    margin: 0px;
    padding: 0px;
    text-transform: uppercase;

}


header {
    display: grid;
    grid-template-rows: 1fr 1fr;


}

header>div {
    height: 3em;
}

header div:nth-of-type(1) {
    background-color: var(--rojo);
    width: 100%;
    height: 100%;
    justify-content: space-around;
    

}

header div:nth-of-type(2) {
    background-color: var(--grisPaleta2);
    width: 100%;
    

}

header h1 {

    text-align: center;
    color: var(--blanco);
}


header ul {
    width: 100%;

    text-align: justify;
    display: inline-flex;
    justify-content: space-around;
    flex-direction: row;
}

header ul li {
    list-style: none;
    margin-left: 1em;


}

header ul li a {
    text-decoration: none;
    color: var(--blanco);
    font-size: 1.5em;
}

header ul li a:hover {
    color: var(--rojo2);
}

main {
    display: grid;
    grid-template-rows: 5fr 1fr;
    width: 100%;
    justify-content: space-around;

    align-items: stretch;
    justify-items: center;
    gap: 2em;
}

#imagen img {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    margin-top: 1em;

}



main a{
    text-decoration: none;
    background-color: var(--rojo2);
    color: var(--blanco);
    margin-left: 1em;
    padding: 0.5em;
    border-radius: 4px;
}
main a:hover{
    background-color: var(--grisPaleta);
}