html, body {
    width: 100%;
    height: 100%;
}

html {
    box-sizing: border-box;
    font-family: sans-serif;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    background-image: url(../img/fondo.jpg);
    background-position: center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Contenedor principal */
main {
    width: 900px;
    min-width: 320px;
    min-height: 200px;
    display: flex;
    flex-wrap: wrap;
}

main > * {
    order: 999;
}

/* Interior del contenedor */
/* Lateral */
.lateral {
    background-color: rgba(0, 0, 0, .4);
    flex-basis: 30%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.lateral > img {
    max-width: 100%;
    margin-bottom: 20px;
}

.lateral a {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: white;
    margin: 10px 0;
}

.lateral a:first-of-type {
    margin-top: auto;
}

/* Contenido */
.contenido {
    background-color: rgba(255, 255, 255, .7);
    flex-basis: 70%;
    padding: 20px;
}

.contenido h1 {
    margin-top: 0;
    font-size: 30px;
}

.contenido ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.contenido form {
    margin: 10px 0;
}

.contenido input, .contenido textarea {
    display: block;
    width: 100%;
    border: none;
    padding: 10px;
    margin: 5px 0;
}

.contenido input[type="submit"] {
    background-color: black;
    color: white;
}

.contenido ul li {
    background-color: red;
    flex-basis: 30%;
    height: 100px;
    background-position: center center;
    background-size: cover;
}

.contenido ul li:first-of-type {
    background-image: url(../img/cat1.jpg);
}

.contenido ul li:nth-child(2) {
    background-image: url(../img/cat2.jpg);
}

.contenido ul li:last-of-type {
    background-image: url(../img/cat3.jpg);
}

/* Respond */
@media (max-width: 705px) {
    body {
        align-items: flex-start;
    }

    main {
        margin: 20px;
    }

    .lateral, .contenido {
        flex-basis: 100%;
    }

    .contenido {
        order: 1;
    }

    .lateral {
        order: 2;
    }
}

/* Util */
.dev {
    border: 1px solid red;
}

.dopodcast {
    color: pink !important;
    font-size: 30px !important;
    margin: 20px !important;
}

