*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    min-height: 100vh;
}
.menu_bar{
    display: flex;
}
header nav {
    width: 100%;
    height: 100%;
    left: -100%;
    margin: 0;
    position: fixed;
    top: 50px;
    z-index: 3;
    background: #667eea;
}
header nav ul li a{
    display: block;
    float: none;
    border-bottom: 1px solid rgba(255,255,255, 0.3);
    padding: 40px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    
}

.menu_bar{
    display: flex;
    position: fixed;
    z-index: 20;
    animation: moverIzquierda 1s ease-in;
    
}
.menu_bar .bt-menu{
    display: block;
    padding: 20px;
    left: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing: border-box;
    font-size: 20px;
}
.menu_bar span{
    font-size: 20px;
   
}
header nav ul li a:hover{
    background: #037E8C;
}


.contenedor{
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
}
.wave{
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
}
.contenedor_textos{
    flex-basis: 50%;
    padding-left: 40px;
    overflow: hidden;
    color: #fff;
}

.titulo{
    font-size: 50px;
    animation: moverDerecha 1s ease-in;
}
.subtitulo{
    font-size: 30px;
    font-weight: 500;
    margin: 20px 0;
    animation: moverIzquierda 1s ease-in;
}
.cta{
    display: inline-block;
    width: 150px;
    padding: 15px 0;
    text-align: center;
    background: #fff;
    border-radius: 4px;
    text-decoration: none;
    color: #4776E6;
    animation: arriba 1.3s ease-in;
}
.contenedor_imagen{
    flex-basis: 50%;
    position: relative;
    z-index: 1;
    text-align: center;
    overflow: hidden;
}
.img{
    
    animation: ilustrationAnimate ease-in 1s infinite alternate;
    width: 95%;
    
}
@keyframes moverIzquierda{
    0%{
        opacity: 0;
        transform: translateX(-100px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
}
@keyframes moverDerecha{
    0%{
        opacity: 0;
        transform: translateX(100px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
}
@keyframes arriba{
    0%{
        opacity: 0;
        transform: translateY(100px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
}
@keyframes ilustrationAnimate{
    0%{
        transform: scale(1);
    }
    100%{
        transform: scale(1.04);
    }
}
@media screen and (max-width:1000px) {
    .menu_bar span{
        font-size: 20px;
    }
    .bt-menu{
        display: none;
    }
    .logo{
        display: none;
    }
    .contenedor{
        flex-direction: column-reverse;
    }
    .wave{
        width: 60%;
    }
    .contenedor_textos{
        display: flex;
        flex-direction: column;
        padding-left: 0;
        justify-content: center;
        align-items: center;
        flex-basis: 40%;
        text-align: center;
    }
    .titulo{
        font-size: 40px;
    }
    .subtitulo{
        font-size: 20px;
    }
    .contenedor_imagen{
        flex-basis: 60%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .img{
        height: 90%;
    }
}
@media screen and (max-width:500px) {
    .wave{
        height: 35%;
        width: auto;
    }
    .contenedor_textos{
        flex-basis: 40%;
        justify-content:flex-start;
    }
    .titulo{
        font-size: 35px;
    }
}
@media screen and (max-width:300px){
    .wave{
        height: 25%;
        width: auto;
    }
}