/* ===== COLORES ===== 
    azul: #002462
    azul-oscuro: #000038
    anaranjado: #F6822A
    amarillo: #FEEF3D
*/

.whatsapp {
  position:fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:40px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
}

.whatsapp-icon {
  margin-top:13px;
}


*,
*::after,
*::before{
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
    box-sizing: border-box;
}

/* === NAVBAR === */
nav{
    height: 80px;
    background-color: #FFF;
    box-shadow: 0 3px 20px rgba(000, 000, 000, .4);
    z-index: 10;
}
nav a{
    color: #002462;
    transition: all .3s;
    padding-bottom: 3px;
}

nav a:hover{
    color: #F6822A;
    border-bottom: 1px solid #F6822A;
}

.nav_logo{
    height: 50px;
}

.nav_logo img{
    height: 100%;
}

/* === NAVBAR MOBILE === */
.navigation__button{
    background-color: transparent;
    height: 70px;
    width: 70px;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 2000;
}

.navigation__icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navigation__icon, .navigation__icon::before, .navigation__icon::after{
    width: 30px;
    height: 4px;
    border-radius: 3px;
    background-color: #002462;
    display: inline-block;
}

.navigation__icon::before, .navigation__icon::after{
    content: "";
    position: absolute;
    left: 0;
    transition: all .2s;
}

.navigation__icon::before{
    top: -8px;
}

.navigation__icon::after{
    top: 8px;
}

.navigation__checkbox:checked + .navigation__button .navigation__icon{
    background-color: transparent;
}

.navigation__checkbox:checked + .navigation__button .navigation__icon::before{
    top: 0;
    transform: rotate(135deg);
    background-color: #FFF;
}

.navigation__checkbox:checked + .navigation__button .navigation__icon::after{
    top: 0;
    transform: rotate(-135deg);
    background-color: #FFF;
}

.navigation__background{
    height: 60px;
    width: 60px;
    border-radius: 50%;
    position: fixed;
    top: -30px;
    right: -30px;
    background-image: transparent;
    z-index: 1000;
    transition: transform .6s;
}

.navigation__checkbox:checked ~ .navigation__background{
    transform: scale(80);
    background-color: rgba(000, 000, 056, .9);
}

.navigation__nav{
    display: none;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1500;
    display: none;
    transition: all 1.2;
}

.navigation__checkbox:checked ~ .navigation__nav{
    display: block;
    background-color: #002462;
}

.navigation__list{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
}

.navigation__item{
    margin: 1rem;
}

.navigation__link:link, .navigation__link:visited{
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    padding: 1rem 2rem;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    background-image: linear-gradient(120deg, transparent 0%, transparent 50%, #F6822A 50%);
    background-size: 250%;
    transition: all .4s ;
}

.navigation__link:hover, .navigation__link:active{
    background-position: 100%;
    color: #FFF;
    transform: translateX(1rem);
}

/* === HEADER === */
header{
    height: 600px;
    position: relative;
}

.header_background{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url(../img/header_background.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -5;
}

.header_background::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(000, 000, 056, .5);
}

.header_container{
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    color: #FFF;
}

.header_container::after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 8px;
    width: 400px;
    background-color: #FEEF3D;
    border-radius: 10px;
    transition: all .5s;
    display: block;
}

/*  ==== HEADER RESPONSIVE === */
@media (max-width: 640px) {
    .header_container::after{
      display: none;
    }
}

@media (max-width: 768px) {
    .header_container::after{
      width: 250px;
    }
}

@media (max-width: 1024px) {
    .header_container::after{
      width: 320px;
    }
}

.header_container:hover::after{
    width: 550px;
}

/* === SECCION 1 === */
.section1{
    color: #002462;
}

.section1 i{
    transition: all .3s;
}

.section1 i:hover{
    color: #F6822A;
    transform: translateY(-3px);
}

/* === SECCION 2 === */
.section2{
    background-color: #F4F6F6;
    position: relative;
}

.section2 h1{
    position: relative;
}

.section2 h1::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 5px;
    width: 150px;
    background-color: #F6822A;
    border-radius: 10px;
    transition: all .3s;
}

.section2 h1:hover::after{
    width: 300px;
}

.section2_box{
    min-width: 270px;
    max-width: 290px;
    background-color: rgba(255, 255, 255, .8);
    transition: all .3s;
}

.section2_box:hover{
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 10px rgba(000, 000, 000, .1);
}

.section2_icon{
    height: 70px;
}

.section2_icon img{
    height: 100%;
}

/* === SECCION 3 === */
.section3{
    color: #002462;
}

.section3_img img{
    width: 90%;
    margin-bottom: 9%;
}

.section3_img::after{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 80%;
    background-color: #002462;
    z-index: -1;
}

/* === SECCION 4 === */
.section4{
    background-color: #F4F6F6;
    color: #002462;
} 

/* === FOOTER === */
footer{
    height: 200px;
    background-color: #002462;
}

footer a{
    padding-bottom: 5px;
    transition: all .3s;
}

footer a:hover{
    color: #FEEF3D;
    border-bottom: 1px solid #FEEF3D;
}
