html, body {
    height:100%;
}

body {
    padding: 0 1%;
    background-color: lightgray;
}

.header {
    bottom:0px;
    min-height: 94%;
    height: auto;
}


.header h1, .header p {
    text-align: center;
}

.flex {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.title {
    border-radius: 3vw;
    padding: 15px;
    background-blend-mode: darken;
    background-size: cover;

    position: relative;
}

aside {
    margin-top: 5%;
}

@media screen and (width >= 600px) {
    aside.flex {
	height: 30vw;
	flex-direction: row;
    }

    .title {
	width: 28vw;
	height: 100%;
    }
}

@media screen and (width < 600px) {
    aside.flex {
	height: 100%;
	flex-direction: column;
    }

    .title {
	width: 50vw;
	height: 50vw;
    }

}

.links {
    white-space: nowrap;
}

.title.mataderos {
    background-image: url("visual-march-040.jpg");
    background-color: rgba(230,0,0,.6);
}

.mataderos .links {
    margin-left: 20%;
    margin-top: 20%;
}

.title.comida {
    background-image: url("schema-key-nutri.jpg");
    background-color: rgba(220,220,0,.6);
}

.comida .links {
    margin-left: 0;
    margin-top: 5%;
}

.title.activar {
    background-image: url("activarse.svg");
    background-color: rgba(0,220,220,.6);
}

.activar .links {
    margin-top: 0%;
}

.title h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: xx-large; /* TODO: 2.5vw, 200%; */
}

section > h2, section > h3 {
    text-align: center;
}

.shadow-white {
    text-shadow: -2px 2px 0 white, -2px 2px 0 white;
}

.shadow-green {
    text-shadow: -2px 2px 0 lightgreen, -2px 2px 0 lightgreen
}

.shadow-cyan {
    text-shadow: -2px 2px 0 cyan, -2px 2px 0 cyan;
}

.shadow-coral {
    text-shadow: -2px 2px 0 coral, -2px 2px 0 coral;
}

.title ul {
    display: table;
    list-style: none;
    border-radius: 10px;
    padding: 10px;
    background-color: rgba(255,255,255,.7);
}

.links li {font-size: x-large;}

.title.comida h2 {
    font-size: x-large;
}

.page {
    min-height: 100%;
    height: auto; 
}

.video-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    margin: 0px 1%;
}

.video { margin: 20px 0; }

.flex-wrap { 
    flex-wrap: wrap;
}


@media screen and (width > 600px) and (width <= 750px) {
    .title h2 {font-size: x-large;}
    .links li {font-size: large;}

    .title.comida h2 {
	font-size: large;
    }
    .title.comida .links li {
	font-size: medium;
    }

}

@media screen and (width > 360px) and (width < 600px) {
    .title.comida h2 {
	font-size: x-large;
    }
}

@media screen and (width <= 360px) {
    .title h2 {
	font-size: x-large;
    }
    .title.comida h2 {
	font-size: medium;
    }
    .links li {font-size: large;}
}

@media screen and (width <= 720px) {
    .video-container {
	grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (width >= 1280px) {
    .video-container {
	grid-template-columns: repeat(3, 1fr);
    }
}
