*{
    box-sizing: border-box;
 }

body {
    font-family: 'arial';
    font-size: 12pt;
}

/* encabezado */

header{
    background-color: rgb(112, 173, 71);
    padding: 50px;
    text-align: center;
    font-size: 36 pt;
    color: seashell;
}

/*caja flexible*/

section{
    display: -webkit-flex;
    display: flex;
}

/* nav */

nav{
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: .5;
    background: rgb(212, 238, 191);
    padding: 20px;
}

/* lista*/

nav ul{
    list-style-type: none;
    padding: 20px;
    text-decoration-line: none;
}

/* elementos de lista*/

li.opcion {
    padding-bottom: 10px;
    font-family: 'Lucida Sans';
}

/* div logo*/

div.cajalogo{
    width: 150px;
    max-height: 100px;
    float: left;
}

/* logo*/

img.logo{
    width: 150px;
    max-height: 100px;
    padding-bottom: 40 px;
    margin-left: 40px;
}

/* contenido*/

article{
    -webkit-flex: 3;
    -ms-flex: 3;
    flex: 3;
    height: 800px;
    background-color: rgb(225, 247, 222);
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 20px;
    padding-top: 20px;
}

/* pie de página*/

footer{
    background-color: rgb(112, 173, 71);
    padding: 30px;
    text-align: center;
    color: rgb(225, 247, 222);
    
}

/* enlaces sin visitar*/

a:link{
    color: black;
    text-decoration-line: none;
}

/* enlaces activos*/

a:active{
    color: rgb(71, 119, 31);
}

/* iframe animacion*/

#anima {
    height:720px;
    width: 720px;
    border: none;
    padding: 0px;
    align-items: center;
}

/* centrar perfectamente*/

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px;
    width: 800px;
    background-color: rgb(168, 201, 102);
}

.flex-container>div {
    width: 720px;
    height: 720px;
    
}

/* diseño responsivo*/

@media (max-width:800 px) {
    section {
        -webkit-flex-direction: column;
        flex-direction: column;
    }
}

.flex-container {
    display: flex;
}