@media(max-width: 756px){
    .s-flex-column{
        flex-direction: column !important;
    }

    .lead{
        font-size: 5vw;
    }

    h1{
        font-size: 7vw;
        margin: 0 15vw;
    }

    #main-navbar{
        position: fixed;
        z-index: 1;
        top: 0px;
        left: 0px;
        text-align: left;
        width: 100vw;
        display: block;

        background: var(--primary-color);
        z-index: 10;

        margin: 0;
    }

    #main-navbar .toggler {
        display: inline-block;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 2;
        cursor: pointer;
        width: 50px;
        height: 50px;
        opacity: 0;
    }

    #main-navbar .hamburger{
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1;
        width: 65px;
        height: 55px;
        opacity: 0.75;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        padding: 0.5rem;
    }

    /*Hamburger Line*/

    #main-navbar .hamburger > div{
        position: relative;
        flex: none;
        width: 100%;
        height: 1.5vw;
        background: var(--secondary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.4s ease-in-out;
    }

    /*Hamburger Lines Top & Bottom*/

    #main-navbar .hamburger > div::before,
    #main-navbar .hamburger > div::after{
        content: '';
        position: absolute;
        z-index: 1;
        background: inherit;
        top: -18px;
        width: 100%;
        height: 1.5vw;
        transition: all 0.25s ease-out;
    }

    #main-navbar .hamburger > div::after{
        top: 18px;
    }

    /*Hamburger Animation*/
    #main-navbar .toggler:checked + .hamburger > div {
        transform: rotate(135deg);
    }

    #main-navbar .toggler:checked + .hamburger > div::before,
    #main-navbar .toggler:checked + .hamburger > div::after  {
        top: 0;
        transform: rotate(90deg);
    }

    #main-navbar .logo img{
        position: relative;
        left: 5px;
        top: -5px;
        max-width: 120px;
        height: auto;
    }

    #main-navbar .logo a{
        height: 0;
    }

    #main-navbar .toggler:checked ~ ul{
        height: 50vh;
        width: 100%;
        display: flex;
        
    }

    #main-navbar .toggler:checked ~ ul li, ul .social{
        opacity: 1;
        pointer-events: all;
    }
    
    
    #main-navbar > ul{
        width: 190%;
        height: 0;
        flex-direction: column;
        list-style: none;
        line-height: 1.5;
        margin: 0;
        justify-content: space-between;
        align-items: center;
        transition: all ease-in-out 0.5s;
    }
    
    #main-navbar > ul li{ 
        flex: 1;
        align-self: center;
        font-size: 5vw;
        white-space: normal;
        text-align: center;
        margin: 0;
        margin-top: 0;
        opacity: 0;
        transition: all ease-out 0.4s;

        margin: 0 10vw;
    }
    
    #main-navbar .btn{
        font-size: 5vw;
        font-weight: light;
    
        padding: 0.5rem 0.75rem;
    }
    
    #main-navbar .social{
        position: absolute;
        opacity: 0;
        top: 25px;

        right: 32.5%;
        pointer-events: none;
        
    }

    #main-navbar .social-ig{
        right: 52.5%;
    }

    #main-navbar .social i{
        border: 2px solid white;
        border-radius: 50%;
    
        height: 10vw;
        width: 10vw;
    
        padding-top: 2vw;
    }

    .banner{
        flex-direction: column-reverse;
        justify-content: center;
    }

    .banner:nth-child(odd-4){
        flex-direction: column;
    }

    .banner > img{
        width: 100vw;
        height: 300px !important;
        max-width: none;
        min-height: 0 !important;
    }

    .banner .banner-info{
        margin-top: -42px;
        font-size: 5vw;
    }

    .banner-info p:nth-child(even){
        font-size: 4.1vw;
    }
    .banner-info .btn{
        font-size: 4.5vw;
        padding: 5px 8px;
        width: fit-content;
    }

    .banner-info > h1 {
        font-size: 5vw;
        margin: 0;
    }

    #como-trabajamos .banner{
        padding: 0 5vw;
        display: grid;
        grid-template-columns: 50% 50%;

        font-size: 3.6vw;
    }

    #como-trabajamos .banner-card{margin: 1rem 0;}

    #como-trabajamos .banner-card:nth-child(5){
        grid-column-start: 1;
        grid-column-end: span 2 ;
    }

    #como-trabajamos .banner-card h1{
        font-size: 18vw;
    }

    #como-trabajamos .banner-card p{
        font-size: 3.4vw;
    }

    #como-trabajamos .banner-card .btn{
        width: 21vw;
        height: 3.6vw;
        font-size: 3.4vw;
    }

    #como-trabajamos .banner-card img{
        height: 13.5vw;
    }

    .banner-form {
        width: 100vw;
        margin: 0;
        padding: 1rem;
    }
    
    .banner-form h1{
        text-align: left;
        font-size: 10vw;
        margin: 0;
    }


    .banner-form h1 span {
        font-size: 12.5vw;
    }

    .banner-form form{
        width: 90vw;
    }

    .banner-form input{
        height: 7.5vw;
        font-size: 5vw;
    }

    .banner-form input::placeholder{
        font-size: 5vw;
    }

    .banner-form button{
        width: 20vw;
        border: none;
        padding: 0.5rem;
        font-size: 3vw;
    }

    .banner-form > p {
        margin-right: 30vw;
        font-weight: 300;
        font-size: 5vw;
    }

    .banner-form .btn{
        font-size: 4.8vw;
    }

    #nuestros-clientes{
        padding: 0;
        text-align: center;
    
        font-size: 20px;
        font-weight: 700;
    }
    
    #nuestros-clientes .clientes{
        flex-direction: column;
        margin-top: 2rem;
        width: 100vw;
    }
    
    #nuestros-clientes .clientes .cliente {
        margin: 0rem 10vw;
        margin-bottom: 1rem;
        padding-top: 1rem;
        text-align: left;
    }
    
    #nuestros-clientes .clientes .cliente p{
        font-size: 3.6vw;
        font-weight: 500;
    }
    
    #nuestros-clientes .clientes .cliente .comentario{
        font-size: 7.5vw;
        font-weight: 700;
        min-height: 180px;
        height: auto;
        margin-bottom: 1rem;
    }
    
    .btn-portafolio{
        max-width: 65vw !important;

    }

    .s-logo-footer{
        display: block;
    }
    
    .s-logo-footer img{
        display: block;
        margin: auto;
        width: 50vw;
    }

    footer{
        display: none;
    }

    #der{
        font-size: 4.5vw;
    }
 
    
    #portfolio{
        margin: 1rem 8vw;
        margin-top: 5rem;
    }
    
    #portfolio #galeria{
        display: flex;
        flex-direction: column;
    }
    
    #galeria .box {
        margin-bottom: 1rem;
    }
     
    #portfolio #galeria img{
        width: 100%;
        height: auto;
        display: block;
        margin: auto;
        transition: all linear 0.1s;
        margin-top: 0;
        border: white 0px solid;
        border-style: inset;
    }
    
    #portfolio #galeria img:hover{
        width: 98%;
        height: auto;
        margin-top: 0.75%;
    }

    .image-overlay img{
        max-width: 92vw;
        margin-top: 30vh;
    }
}