* { margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    
}

body { font-family: 'Raleway', sans-serif;
    background-color:white;
    color:#707173;
    font-weight: 300;
   
}

a {
    text-decoration: none;
    
}
#arriba { display: flex;
              background-image: url(tumblr_nuj9zwCwCd1r6ljjno1_1280.jpg);
              width: 100%;
              align-content: center;
              background-repeat: repeat-x;
}
header{ display: flex;
            justify-content: space-between;
            align-items: center; 
    }




#arriba { display: flex;
                flex-wrap: wrap;
                align-items: center;
                }
    
    header { align-items: center;
            image-orientation: center;
            justify-content: space-between;
    }  
    





/*PRIMER MENU*/
.menu { padding: 25px;
        margin-top: -53px;
}

.menu nav ul li a  { font-weight: 600;
    
}

.menu nav { margin-top: 5%;
            flex-basis: calc(100%-8em);
    
}

#boton {
    color:#ffffff;
    background-color: gray;
}  


li  {
    display: inline-block;
    margin: 0;
    padding: :60px 60px;
    color: #fff;   
}

nav ul {
    list-style: none;
    border-radius:0px; 
}

nav ul li {
    margin-bottom: 0.5em;
}

nav ul li a {
    
      background-color: #fce5df;
    color: #58585a;
    padding: 10px 20px;
    display: block;
    width: 205px;
    border-radius:0px;
    border-bottom: solid #ffff 2px ;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
}



#arriba .logo2 img{
    
    width: 60%;
    margin-top: 60px;
    margin: auto
    
    
}



.caja {
    
    max-width: 75em;   
    width: 300px;
   
    margin: auto;
    margin-top: 20px;
    align-content: center;
    align-items: center;
    image-orientation: center;
}





/*CONTENIDO PASTILLAS*/

.form-group {
    margin-top: 10px;
}

.form-inline {
    margin-top: 15px;
}

.sr-only h5{
    margin-bottom: 20px;
    width: 80%
}

.checkbox{
    margin-top: 20px;
}

.boton{
    margin-top: 20px;
    background-color: bisque;
    color:gray;
    padding: 5px 30px;
    width: 170px;
    cursor: pointer;
}


.boton input {
    color:gray;
    background: none;
    shape-outside: none;
    
    border: none;
    
}


h6{ margin-top: -8px;
    
}


.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

footer { display: flex;
    background-color: #fce5df;
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
    align-items: center;
    
    }
footer img { max-width: 70px;
             margin-left: 20px;
    }
    
footer p { font-size: 8pt;
           align-items: center;
           text-align: center;
           margin-right: 20px;
}



nav ul li a:hover {
    color:#ffffff;
    background-color: gray;
}
nav ul li a:active {
    color:#81878b;
    background-color: #818486;
}





#bloque{
  width: 280px;
  height: 255px;    
  background-color: rgba(247, 166, 166, 0);
  margin-top: 20px;
  margin-left: 9px; 
 color: white;
    
}





 



@media only screen and (max-width: 30em){
    
     #arriba { display: flex;
                flex-wrap: wrap;
                align-items: center;
                }
    
    header { align-items: center;
            margin: auto;
            image-orientation: center;
    }  
    
    .caja  {
        width: 235px;
        
    }
    
    .menu { align-items: center;
           margin-left: auto;  
            text-align: center;
            
    }
    
  
    
    footer { display: none;
        
    }

    
    nav ul li a:hover {
    color:#ffffff;
    background-color: gray;
}
nav ul li a:active {
    color:#81878b;
    background-color: #818486;
}
    


#bloque{
align-content: center;
    align-items: center;
    margin: auto;
  width: 230px;
  height: 230px;    
  background-color: rgba(255, 255, 255, 0);
  margin-top: 10px;
  margin-left: 3px; 
    color: white;
}

    
    }