*{
	margin:0;
	padding:0;
    
}
#header {
    margin:auto;
    width:500px;
    font-family:Arial, Helvetica, sans-serif;
    margin-right: 20px;
}

ul, ol {
    list-style:none;
}

.nav > li {
    float:left;
}

.nav li a {
    background-color:#8b65e2;
    color:#fff;
    text-decoration:none;
    padding:10px 12px;
    display:block;
    border-radius: 10px;
       
}

.nav li a:hover {
    background-color:#434343;
}

.nav li ul {
    display:none;
    position:absolute;
    min-width:140px;
}

.nav li:hover > ul {
    display:block;
}

.nav li ul li {
    position:relative;
    width: 180px;
}

.nav li ul li ul {
    right:-140px;
    top:0px;
}

   	body{
        /*height:auto;
        width:auto;*/
        margin-left: 10px;
                       
        }

    header{
        height: auto;
        width:100%;
        border-radius: 10px;
        margin-left: 5px;
        margin-right: 5px;
        background-color:hsl(201, 16%, 83%);
        left: 0; /* Posicionamos la cabecera al lado izquierdo */
        top: 0; /* Posicionamos la cabecera pegada arriba */
        position: sticky; /* Hacemos que la cabecera tenga una posición fija */
             
       }
       .foot{
        height: 100px;
        width:200px;
       
       }
    .logo{
        height:170px;
        width:170px;
        transform: translateY(-15%);
    }
    
    
    ul{display:flex;
    justify-content: space-between;
    height:30px;
    width:400px;
    float:right;
    transform: translateY(-180%);
    margin-right: 15px;
   
    }
    a:hover{
              color:blue;
              
    }
          
        a{
      font-family:'Lucida Sans';
      font-size:small;
          }

        h6{
            font-family:'Lucida Sans';
            font-size:medium;
            margin-left: 1em;
            }
    main{
        margin-top: 1em;
        height: auto;
        width:100%;
        border: 2px solid rgb(0, 0, 0);
        float:right;
        border-radius: 10px;
        background-image: url(fondo-de-pantalla-azul-claro-1024x640.jpg);
        
        

    }
    .ofrecer{

        height: 30%;
        width:85%;
       margin-left: 30px;
       margin-top: 4em;
       margin-bottom: 4em;
        
           }
           .ofre{background-image: url(farma1.jpg);
            


           }
     main div h4{
        margin-left: 2em;
        margin-top: 1em;
        margin-top: 3em;
        font-family:'Lucida Sans';
        font-size:medium;
        font-weight: bold;
        
       
    }
    .encabezado{
        font-family:'Lucida Sans';
        font-size:medium;
        font-weight: bold;


    }
     section{
       height: 40%;
       width:45%;
       margin-left: 15px;
       margin-bottom: 15px;
       padding: 20px;
       float:left;
                
     }
     footer{
        float:right;
        width: 100%;
        height:10em ;
        background-color:hsl(201, 16%, 83%);
        border-radius: 10px;
        margin-top: 15px;
        margin-left: 5px;
        margin-right: 5px;
     }
     .pie{
        width: 14em;
        height: 9em;
        padding: 1em;
        margin:0 auto;
        margin-top: 1em;
    }
    
    .contacto{
        float:right;
        transform: translateY(30%);
        width: 10em;
        font-family:'Lucida Sans';
        font-size: small;
    }
    .pie p{
        margin-bottom: 1em;
        font-family:'Lucida Sans';
        font-size:small
        font-weight: bold;

    }

    .bas{
        float:right;
        margin-bottom: 1em;
        font-family:'Lucida Sans';
        font-size:small
        font-weight: bold;
        margin-right:3em;
        
    }
      
    article{
        text-align: justify;
        font-family:'Lucida Sans';
        margin-top: 20px;
            }
  
   .foto1{
    height:20%;
    width:20%;
    margin-left: 15px;

   }
   .card{
    width: 300px;
    height: 550px;
    float:left;
    margin: 10px;
    padding: 7px;
    

       
   }
   .card-img-top{
    width: auto;
    height: auto;


   }

.card-body{
    margin-top: 1em;
    width:90%;
    font-family:'Lucida Sans';
    font-size: medium;
    text-align: justify;
}
.card-body h5{
    
    font-family:'Lucida Sans';
    font-size: calc(0.5em + 0.5vw);


}
.card-text{
    margin-top: 1em;


}
  
 .btn-primary{  
background-color:#8b65e2;
color:#fff;
text-decoration:none;
margin-top: 1em;
padding:10px;
display:block;
border-radius: 10px;  
width: 6em; 
 } 

 .espacio{
    width: 5em;
    height: 4em;
 }
 
 h3{
    text-align: center;
    margin: 10px 0;
    font-weight: 800;
}

form{
   
    background:white;
    
    width: 30%;
    margin-top: 20px;
    padding: 5px 0;
    border-radius: 10px;
    box-shadow: 0 0 6px 0 rgba(223, 38, 38, 0.8);
    
    margin:auto;
   /* display:flex;
    justify-content: center;*/
}

.form{
   
    width: 100%;
    margin: auto;
  }
  .fondo_body{
    background-color: #94b9d8;
  }

form .grupo{
    position: relative;
    margin: 45px;
}

input, textarea{
    background: none;
    color:#c6c6c6;
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border:none;
    border-bottom: 1px solid var(--colorTextos);
    resize: none;
}

input:focus,textarea:focus{
    outline: none;
    color: rgb(94,93,93);
}

input:focus~label, 
input:valid~label, 
textarea:focus~label, textarea:valid~label{
    position: absolute;
    top: -14px;
    font-size: 12px;
    color: #2196F3;
}

label{
    color: var(--colorTextos);
    font-size: 16px;
    position: absolute;
    left: 5px;
    top:10px;
    transition: 0.5s ease all;
    pointer-events: none;
}


input:focus~.barra::before, textarea:focus~.barra::before{
    width: 100%;
}
.barra{
    position: relative;
    display: block;
    width: 100%;
}
.barra::before{
    content: '';
    height: 2px;
    width: 0%;
    bottom: 0;
    position: absolute;
    background: linear-gradient(to right, #6A82FB, #FC5C7D);
    transition: 0.3s ease all;
    left: 0%;
}
button{
    background: #FC5C7D;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #6A82FB, #FC5C7D);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #6A82FB, #FC5C7D);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    display: block;
    width: 100px;
    height: 40px;
    border:none;
    color:#fff; 
    border-radius: 4px;
    font-size: 16px;
    margin: 10px auto;
    cursor: pointer;
}

@media screen and (max-width:1100px){
    form{
        width: 50%;
    }
}

@media screen and (max-width:600px){
    form{
        width: 60%;
    }
}

@media screen and (max-width:450px){
    form{
        width: 80%;
    }
}

@media screen and (max-width:300px){
    form{
        width: 90%;
    }
}