*{
    padding: 0;
    margin-left: 0; 
    margin-top: 0;
    margin-right: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    min-height: 100%;
    background-size: contain;
    margin-right: auto;
    margin-left: auto;
}
.principal{
    max-width: 100%;
    background-position: center;
    flex-direction: row;
    background-image: url(img/Fondo1.jpg);
    background-size: cover;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}
.logo{
    display: row;
    align-items:flex-start;
    justify-content: flex-start;
    margin-left: 31px;
    margin-top: 19px;
    width: 160px;
    height: 40px;
}
nav a{
    height: 12px;
    padding-left: 1em;  
    padding-right: 1em;
    margin-top: 40px;
    color: #f5f0ed;
    width: 10vh;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
    font-weight: 800;
    border: #d03b40 3px;
    opacity: 0.5;
}
nav a:hover{
    background:#d03b40;
    color: #f5f0ed;
    border-radius: 3px;
    opacity: 1;
}
nav:active{
    margin-left: 100px;
}
nav{
    display: row;
    flex-direction: row;
    text-align: right;
    align-items: flex-end;
    margin-right: 1.5em;
}
.nav-link4{
    color:#f5f0ed;
}
h1{
    text-align: center;
    color: #f5f0ed;
    font-family: "Open Sans Extrabold, sans serif";
    padding-top: 155px;
    font-size: 44px;
    font-weight: 800;
    margin-left: auto;
    margin-right: auto;
}
.linea{
    margin-top: 29px;
    min-height: 5px;
    width: 92px;
    border-radius: 5px;
    background-color: #f5f0ed;
    margin-left: auto;
    margin-right: auto;
}
.texto1{
    size: 16px;
    font-family: 'Open Sans', sans-serif;
    margin-top: 33px;
    text-align: center;
    color:#f5f0ed;
    width: 514px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-decoration-color: #f5f0ed;
    padding-bottom: 150px;
}
#mail{
    color:#d03b40;
    text-decoration: none;
}
#mail:active{
    color: #3c3c3b;
}
.contenedor1{
    background-color: #d03b40;
    color: #f5f0ed;
    display: grid;
    float:left;
    background-size: cover;
    margin-bottom: 0;
    width: 50%;
    max-height: 50%;
    
    
}
.contenedor2{
    background-color: #ded6c0;
    background-size: cover;
    display: grid;
    margin-bottom: 0;
    width: 50%;
    max-height: 50%;
}
.contenedor2 p{
    color: #d03b40;
}
#blanco, #rojo{
    size: 28px;
    text-align: center;
    margin-top: 134px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
    font-weight: 800;
    font-family: "Open Sans Extrabold, sans serif";
}
#blanco, .texto2{
    color:#f5f0ed;
}
#rojo, .texto3{
    color:#d03b40;
}
.texto2, .texto3{
    text-align: center;
    margin-bottom: 129px;
    margin-left: auto;
    margin-right: auto;
    min-height: 61px;
    width: 408px;
}
.contenedor3{
    min-height: 50vh;
    background-image: url(img/Fondo2.jpg);
    background-position: center;
    background-size: cover;
    margin-top: 0;
    padding: 0;
}

button{
    margin-left: 39%;
    margin-right: 39%;
    justify-content: center;
    align-content: center;
    border: solid white;
    width: 284px;
    min-height: 50px;
    margin-top: 48px;
    margin-bottom: 30px;
    background-color: rgba(0,0,0,0);
}
button:hover{
    background-color: rgb(#d03b40);
    color: #f5f0ed;
    opacity: 1;
}
.texto4{
    display:inline;
    flex-direction: row;
    width: 231px;
    margin: 0;
    text-align: center;
    color: #f5f0ed;
    font-family: "Open Sans, sans serif";
    font-size: 14px;
}
.contenedor4{
    min-height: 180px;
    background: #f5f0ed;
    background-size: cover;
    overflow-x: scroll;
    margin: 0;
}
.iconos{
    height: 177px;
    width: 177px;
}

.mini_contenedor1{
    float: left;
    clear: both;
    width: 50%;
}
.mini_contenedor2{
    display: grid;
    float:inherit;
    margin-left: 100px;
    width: 50%;
    
}

#icono1, #icono3{
    margin-right: 180px;
    margin-top: 50px;
    margin-left: 28px;
}
#pan, .textoicono1, #muffin, .textoicono3{
    width: 377px;
    min-height: 177px;
    text-align: justify;
    position: static;
    padding-left: 5em;
    margin-left: auto;
    margin-right: auto;
    float: none;
}
#pan, #muffin{
    margin-top: -190px;
    margin-bottom: 5px;
}
h3, .textoicono1, .textoicono3{
    margin-top: -140px;
    margin-left: 8em;
    margin-right: 50px;
}
#pan, #muffin{
    margin-left: 3.5em;
}
#muffin{
    margin-bottom: 1em;
    margin-top: -8.5em;
}
#icono3, #icono4{
    margin-top: 4em;
}
#muffin, .textoicono3{
    padding-top: 1em;
}
#tarta, .textoicono2, #trigo, .textoicono4{
    width: 377px;
    min-height: 177px;
    text-align: justify;
    position: static;
    padding-left: 5em;
    float: none;
}
#icono2, #icono4{
    margin-top: 45px;
    margin-left: 6em;
}
#tarta{
    margin-top: -7.5em;
    padding-left: 3.5em;
}
#trigo{
    margin-bottom: 1em;
    padding-left: 3.5em;
    margin-top: -8em;
}
.textoicono2, .textoicono4{
    margin-top: -140px;
    margin-left: 12.5em;
    margin-right: 50px;
}
h3, .textoicono1, .textoicono2, .textoicono3, .textoicono3, .textoicono4{
    color: #3c3c3b;
}
h3{
    font-family: "Open Sans Extrabold, sans serif";
    font-weight: bold;
    font-size: 24px;
}
.textoicono1, .textoicono2, .textoicono3, .textoicono3, .textoicono4{
    font-weight: 400;
    font-size: 16px;
}
#contenedorbeige{
    float: left;
    clear: both;
    width:50%;
    height: 50vh;
}
#crojo{
    position: static;
    width: 50%;
    height: 50vh;
}
footer{
    width: 100%;
    background-color: #3c3c3b;
    background-size: cover;
    color: #f5f0ed;
    margin-top: 2em;
}
footer p{
    font-size: 16px;
    font-weight: 400;
    text-align: justify;
    font-family: "Open Sans Regular, sans serif";
    padding-left: 20px;
    margin: 5%;
    display: inline-block;
    height: 15px;
}
html{
        
    padding: 0;
    margin-left: 0; 
    margin-top: 0;
    margin-right: 0;
    margin: 0;
}

@media (min-width: 305px) and (max-width:1310px){
    nav{
        background: url(img/menu.png);
        width: 40px;
        height: 40px;
        margin-left: 30px;
        margin-top: 30px;
        background-repeat: no-repeat;
        flex-direction:column-reverse;
        justify-content: flex-start;
        align-items: flex-start;
        display: list-item;
        transition: 12s background-image;
        transition: 12s height;
        transition: 12s width;
        overflow: hidden;
        
    }
    nav:hover{
        content-visibility: visible;
        background: no-repeat;
        background-image: url(img/Captura\ de\ pantalla\ \(194\).png);
        box-shadow: #3c3c3b;
        width: 200px;
        min-height: 200px;
        display:list-item;
        flex-direction: column-reverse;
        justify-content: right;
        align-items: flex-start;
        list-style:none;
        list-style-position: inside;
        text-decoration-color: #d03b40;
        padding-left: 4px;
        overflow:visible;
        transition: 12s content-visibility;
    }
    
    .contenedor4{
        margin-left: auto;
        margin-right: auto;
    }
   
}    


