*{
    box-sizing: border-box;
}

h1{
    font-size: 3.5em
}


h2{
    font-size: 2.7em;
}

h3{
    font-size: 2.1em;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 5px rgb(38, 38, 38);
}

h4{
    font-size: 1.5em;
    font-weight: bold;
}

p{

    color: rgb(38, 38, 38);
   padding: 0px 10px;
   text-align: justify;
}

body{
    font-family: 'Heebo';
    margin: 0;
}

.btn-wsp{
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 50px;
    right: 30px;
    background: #0bc044;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 40px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.btn-wsp:hover{
    text-decoration: none;
    color:#0bc044;
    background:#fff;

}
button{
    height: 40px;
    font-size: 1.2em;
    text-shadow: 1px 1px 5px rgb(20,20 , 20);
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 8px;
    border: none;
    box-shadow: 1px 1px 5px #515151;
    color: white;
    background-color: rgb(72, 215, 215);
}
button:hover{
    background-color: #b4bbd2;
}

.anotate a{
    padding-left: 80px;
}

header{
    display: flex;
    min-height: 80px;
    background-color: rgb(72, 215, 215);
    justify-content:space-between;
    padding: 0px 50px;
    
}


header .logo{
    display: flex;
    align-items: center;
}

.logo h3{
    padding-left: 10px;
}

.logo img{
    height: 80px;
    width: 80px;

}

header nav{
    display: flex;
    align-items: center;
    padding-right: 100px;
}

.iconos{
    display: flex;
    align-items: center;
    font-size: 25px;
    gap: 10px;
}

.iconos a{
    color: white;
    text-shadow: 1px 1px 5px black;
}

.iconos a:hover{
    color: rgb(38, 38, 38);
    text-shadow: 1px 1px 5px white;
}
#hero{
    display: flex;
    align-items:start;
    justify-content:center;
    flex-direction: column;
    height: 90vh;
    background-image: linear-gradient(0deg,rgba(0,0,0,0.2),rgba(0,0,0,0.2)), url(/img/tortuga2.jpg);
    background-size:cover;
    background-position: top;

}

.anotate{
    padding: 0px;
    padding-bottom: 200px;
}

h1{
    color: white;
    text-shadow: 1px 1px 5px black;
    padding-left: 70px;
}

nav a{
    font-size: 1.3em;
    font-weight: bold;
    text-shadow: 1px 1px 5px black;
    text-decoration: none;
    color: white;
    padding: 0px 10px;
}

nav a:hover{
    color: rgb(38, 38, 38);
    text-shadow: 1px 1px 5px white;
}

.snorkelingcontainer{
    display: flex;
    justify-content: center;
}
.bautismo{
    display: flex;
    flex-direction: row;
    text-align: center;
    max-width: 900px;
    align-items: center;
    padding: 30px 0px;
    gap: 20px;

}
.bautismo h2{
  margin: 0;
  padding-bottom: 10px;
}
.bautismo p{
    padding-bottom: 10px;
}


.fotosnorkeling{
    border-radius: 15px;
    height: 250px;
}

#cursosdebuceo{
    text-align: center;
    
}
#cursosdebuceo .container{
    padding: 30px 0px;
    background-color:rgb(224, 247, 247);
    
}

#cursosdebuceo h2{
    margin-top: 20px;
    color: rgb(38, 38, 38);
    text-shadow: none;
}

.cursos button{
    background-color: rgb(72, 215, 215);
}
.cursos{
    display: flex;
    padding: 30px;
    
    column-gap: 15px;
}

.cursos h3{
    color: rgb(38, 38, 38);
    text-shadow: none;
}
.open {
    border: 3px solid;
    border-color:rgb(72, 215, 215);
    border-radius: 15px;
    background-color: white;
    flex: 1;
    padding-bottom: 10px;
}
.fotoopen{
    height: 250px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-size: cover;
    background-image: url(/img/open.jpg);
}

.avanzado {
    border-radius: 15px;
    border: 3px solid;
    border-color: rgb(72, 215, 215);
    background-color: white;
    flex: 1;
    padding-bottom: 10px;
}

.fotoavanzado{
    height: 250px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-image: linear-gradient(0deg,rgba(0,0,0,0.1),rgba(0,0,0,0.1)), url(/img/avanzado.jpg);
    background-size: cover;
}

.primera{
    border: 3px solid;
    border-color: rgb(72, 215, 215);
    border-radius: 15px;
    background-color: white;
    flex: 1;
    padding-bottom: 10px;
}

.fotoprimera{
    height: 250px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-image: linear-gradient(0deg,rgba(0,0,0,0.1),rgba(0,0,0,0.1)), url(/img/bautismo.jpg);
    background-size: cover;
}

.rescue{
    border: 3px solid;
    border-color: rgb(72, 215, 215);
    border-radius: 15px;
    background-color: white;
    flex: 1;
    padding-bottom: 10px;
}

.fotorescue{
    height: 250px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-image: linear-gradient(0deg,rgba(0,0,0,0.1),rgba(0,0,0,0.1)), url(/img/rescue.jpg);
    background-size: cover;
    background-position: center;
}

.flotabilidad {
    border: 3px solid;
    border-color:rgb(72, 215, 215);
    border-radius: 15px;
    background-color: white;
    flex: 1;
    padding-bottom: 10px;
}
.fotoflotabilidad{
    height: 250px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-size: cover;
    background-image: url(/img/flotabilidad.jpg);
}

.menucontacto{
    display: flex;
    align-items: center;
    min-height: 50px;
    background-color: rgb(240, 240, 240);
    border-color: black ;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 10px 0px inset;
}

.contacto{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 30px;
    padding-bottom: 120px;
}
.logo a{
    text-decoration: none;
    color: rgb(38, 38, 38);
}

.contacto p{
    font-size: 2.5em;
}
.contacto h4{
    font-size: 1.5em;
}
.menucontacto h2{
    margin: 0px;
    font-weight: bold;
    font-size: 1.5em;
    padding-left: 50px;
}


.walogo{
    margin: 0;
    height: 40px;
    width: 60px;
}


.telefono{
    display: flex;
    align-items: center;
}


.telefono h4{
    padding-left: 10px;
}

/* Open diver */

.opencontainer{
    
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.cursoopen{
   
    margin: auto;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.cursoopen h2{
    text-align: center;
}

.cursoopen p{
    text-align: justify;
}
.fotocursoopen{
    height: 280px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-image: url(/img/open.jpg);
    background-position: center;
    background-size: cover;
}
.cursoopen .divisor{
    height: 10px;
    border-top: 3px solid rgb(72, 215, 215);

}

/* Snorkeling*/

.cursosnorkelingcontainer{
    
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.cursosnorkeling{
   
    margin: auto;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.cursosnorkeling h2{
    text-align: center;
}

.cursosnorkeling p{
    text-align: justify;
}
.fotocursosnorkeling{
    height: 280px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-image: url(/img/snorkeling.jpg);
    background-position: center;
    background-size: cover;
}
.cursosnorkeling .divisor{
    height: 10px;
    border-top: 3px solid rgb(72, 215, 215);

}

/* scuba discover */

/* Flotabilidad avanzada */

.fotocursoflotabilidad{
    height: 280px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-image: url(/img/flotabilidad.jpg);
   
    background-size: cover;
 
}

/* Avanzado */

.fotocursoavanzado{
    height: 280px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-image: url(/img/avanzado.jpg);
    position: relative;
   
    background-size: cover;
    
}

/* Rescue */

.fotocursorescue{
    height: 280px;
    border-radius: 12px;
    box-shadow: 2px 2px 6px #c4c8d4;
    background-image: url(/img/rescue.jpg);
    background-position: center;
   
    background-size: cover;
    
}

.anotateahora{
    align-self: center;
    padding: 20px 0px;
}

.composicion h3{
    color: rgb(38, 38, 38);

}
.pie-container{
    min-height: 120px;
    margin: auto;
}

.pie{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 200px;
    background-color: rgb(240, 240, 240);
    border-color: black ;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 10px 0px inset;
}

.pie .iconos a{
    color: rgb(38, 38, 38);
    text-shadow: 1px 1px 5px white;
}

@media  (max-width: 700px){
    

    header{
        flex-direction: column;
        align-items: center;

    }

    header nav{
        display: flex;
        align-items: center;
        padding: 0px 0px;
    }

    nav {
        padding-bottom: 5px;
        
      
    }
    .iconos{
        padding-bottom: 10px;
    }

    #hero{
        background-position:top;
    }

   .anotate h1{
    padding-left: 0px;
   }
   .anotate a{
    padding-left: 0px;
    }

    .cursos{
        display: flex;
        flex-direction:column ;
        justify-content: space-between;
    }
    .open{
        margin-top: 10px;
    }
    .avanzado{
        margin-top: 10px;
    }
    .primera{
        margin-top: 10px;
    }

    .rescue{
        margin-top: 10px;
    }
    .flotabilidad{
        margin-top: 10px;
    }
    .anotate{
        padding-bottom:200px ;
        padding-left:30px;
        
    }

    .cursoopen{
        padding-left: 15px;
        padding-right: 15px;
    }

    .menucontacto h2{
        padding-left: 30px;
    }
    .contacto{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0px;
    }
    .contacto p{
    text-align: center;
    }

    .bautismo{
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;

    }

   
    .pie{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
}


