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

 body{
    margin: 0;
    padding: 0;
}

.detalles {
    width: 100%;
    max-width: 1000%;
    height: auto;
}

#box1{
    height: 95vh;
    width: 100%;
    background-image: url(../img/ambrosesafondo.jpg);
    background-size: cover;
    background-attachment: fixed;
    max-height: 100%;
    max-width: 100%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#box1:before{
    content: "";
    width: 90%;
    height: 85%;
    background-color: black;
    position: absolute;
    opacity: 0.6; 
}

.ambrose {
    font-family: "Sansita", sans-serif;
    font-size: 60px;
    color:white;
    margin: 0;
    text-align: center;
    font-weight: 600;
    z-index: 1;
    padding-bottom: 1em;
}

.somos {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    color:white;
    font-weight: 600;
    margin: 0;
    z-index: 1;
    width: 60%;
    font-weight: 400;
    font-size: 15px;
}

#box2{
    height: 400px;
    width: 100%;
    background-color: white;
    max-height: 100%;
    max-width: 100%;
 
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mision, .vision {
    width: 100%;
    height: 300px;
    max-height: 100%;
    max-width: 100%;
}

.mision {
    background: #16529C;
}

.vision {
    background: gray;
}

h1 {
    font-family: "Roboto", sans-serif;
    font-size: 25px;
    color: #f9f9f9;
    font-weight: 600;
    text-align: center;
    margin-top: 60px;
}

h5{
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    color: #f9f9f9;
    font-weight: 300;
    width: 60%;
    margin: auto;
    padding: 1em;
}

.especialidad {
    padding-top: 0.5em;
    padding-bottom: 1em;
    height: auto;
    width: 100%;
    overflow: hidden;
}



.especialidades2 h1 {
    margin-top: 0;
    padding-bottom: 0.4em;
    color: black;
    border-bottom: 1px solid red;
    margin: auto;
    font-family: "Roboto", sans-serif;
    font-size: 22px;
}

.especialidades1 {
    width: 100%;
    margin-top: 0;
    padding: 1em;
}

.especialidades1 img {
    width: 85%;
    height: auto;
}

.especialidades1 h4 {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    padding: 0.5em;
    font-weight: 200;
}

.cubrimos {
    width: 90%;
}

.especialidad7 {
    padding-top: 0.5em;
    padding-bottom: 1em;
    height: auto;
    width: 100%;
    overflow: hidden;
}

.cubrimos1 {
    width: 80%;
}

.servicios {
    width: 100%;
    padding-bottom: 1em;
}

.servicios h1 {
    margin-top: 0;
    padding-bottom: 0.4em;
    color: black;
    border-bottom: 1px solid red;
    margin: auto;
    font-family: "Roboto", sans-serif;
    font-size: 22px;
}

.especialidades11 {
    width: 100%;
    margin-top: 0;
    padding: 1em;
}

.especialidades11 img {
    width: 40%;
    height: auto;
}

.especialidades11 h4 {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    padding: 0.5em;
    font-weight: 200;
}






@media screen and (max-width: 1085px){
	
	.mision, .vision {
        height: 350px;
	}

}

@media screen and (max-width: 768px){
	
	.mision, .vision {
        height: 280px;
	}
    
    #box2{
        height: 100%;
    }
    
    .mision h1 {
        margin-top: 40px;
    }
    
    .vision h1 {
        margin-top: 10px;
    }

}

@media screen and (max-width: 505px){
	
	.mision, .vision {
        height: 310px;
	}
    .mision h1 {
        margin-top: 60px;
    }
    
    .vision h1 {
        margin-top: 20px;
    }

}

@media screen and (max-width: 428px){
	
	.mision, .vision {
        height: 340px;
	}
    
    h1 {
        margin-top: 20px;
    }

}

@media screen and (max-width: 360px){
	
	.ambrose {
        font-size: 35px;
        padding-bottom: 0.5em;
    }

}

@media screen and (max-width: 321px){
	
	.ambrose {
        font-size: 20px;
        padding-bottom: 0.2em;
    }
    
    .somos {
        font-size: 12px;
    }
    
     h5{
        font-size: 20px;
         width: 70;
    }
    
    h5{
       font-size: 14px;
    }

}
