@font-face {
    font-family: mr-eaves-xl-modern;
    src: url(./MrEavesXLModOT-Book.ttf);
}

body{
    background-image: url('../imgs/bg2_jpeg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat; 
    background-size: cover; 
    height: 100vh;
}

ul li{
    margin-bottom: 1.5em;
}

@media only screen and (min-width: 601px){
    .main-body{
        margin-left: 9vw;
        margin-right: 9vw;
        background-color: white
    }

    .footer-index{
        display: none;
    }

    .footer-phone{
        display: none;
    }

    .index-bgr-image{
        height: 55vh;
        overflow: hidden;
    }

    .index-img{
        content: url("../fondo_1536.png");
    }

    .index-presentation-card{
        display: none;   
    }

    .office-content{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #office-elem-1{
        padding-left: 5em; 
        padding-right: 4em; 
        text-align: justify; 
        padding-top: 3em; 
        padding-bottom: 2em;
    }

    #office-elem-2{
        padding-left: 5em;
        text-align: justify;
        padding-bottom: 2em;
    }

    #office-elem-3{
        padding-right: 4em; 
        padding-left: 3em;
        padding-bottom: 2em;
    }

    #office-img-1{
        clip-path: inset(0 0 0 0 round 5% 5% 5% 5%); 
        width: 100%; 
    }

    #office-carousel{
        margin-top: 2em; 
        margin-left: 5em; 
        margin-right: 4em;
        margin-bottom: 1em;
    }

    .services-content{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #services-elem-1{
        padding-left: 5em; 
        padding-right: 4em; 
        text-align: justify; 
        padding-top: 3em; 
        padding-bottom: 2em;
    }

    #services-elem-2{
        padding-left: 5em;
        text-align: justify;
    }

    #services-elem-3{
        padding-right: 4em; 
        padding-left: 3em;
        padding-bottom: 2em;
    }

    #services-carousel{
        margin-top: 2em; 
        margin-left: 4em; 
        margin-right: 4em;
        margin-bottom: 2em;
    }

    #services-img-1{
        clip-path: inset(0 0 0 0 round 5% 5% 5% 5%); 
        width: 100%;
        margin-bottom: 5em;
    }

    #services-img-2{
        clip-path: inset(0 0 0 0 round 5% 5% 5% 5%); 
        width: 100%;
        margin-bottom: 5em;
    }

    #services-img-3{
        clip-path: inset(0 0 0 0 round 5% 5% 5% 5%); 
        width: 100%; 
    }

    .projects-content{
        padding-top: 3em; 
        padding-bottom: 0em; 
        padding-left: 4em; 
        padding-right: 4em; 
        text-align: justify;
    }

    .projects-carousel{
        width: 40vw; 
        margin: auto; 
        padding-top: 2em;
    }

    .clients-content-test{
        padding-left: 5em; 
        padding-right: 2em; 
        padding-top: 2em; 
        padding-bottom: 2em; 
        text-align: justify;
    }
    .clients-content{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #clients-elem-title{
        padding-left: 5em; 
        padding-right: 2em; 
        padding-top: 3em; 
        padding-bottom: 2em; 
        text-align: justify;
        grid-column: span 2;
    }

    #clients-elem-hystoric{
        padding-left: 5em; 
        padding-right: 2em;
        padding-bottom: 2em; 
        text-align: justify;
        grid-column: span 2;
    }

    #clients-elem-hystoric-content{
        padding-left: 5em; 
        padding-right: 0em;
        padding-bottom: 1em; 
        text-align: justify;
    }

    #clients-elem-hystoric-imgs{
        padding-left: 2.5em; 
        padding-top: 1em; 
        padding-right: 2.5em;
    }

    #clients-elem-hystoric-img-1{
        clip-path: inset(0 0 0 0 round 5% 5% 5% 5%); 
        width: 100%;
    }
    
    #clients-elem-hystoric-img-2{
        clip-path: inset(0 0 0 0 round 5% 5% 5% 5%); 
        width: 100%; 
        margin-top: 10em;
    }

    #clients-elem-oea{
        padding-left: 5em; 
        padding-right: 2em; 
        padding-top: 2em; 
        padding-bottom: 3em; 
        grid-column: span 2;
    }

    #clients-elem-projects{
        padding-left: 5em; 
        padding-right: 2em;
        padding-bottom: 0em; 
        grid-column: span 2;
    }

    #clients-elem-projects-imgs{
        display: grid; 
        grid-template-columns: 4fr 4fr 4fr; 
        font-size: 1.05rem;
        padding-top: 2em;
        padding-left: 5em; 
        padding-right: 2em;
        padding-bottom: 2em;
        grid-column: span 2;
    }

    #clients-elem-oea-img-1{
        display: none !important;
    }

    .contact-styling{
        padding-left: 5em; 
        padding-right: 2em; 
        padding-top: 2em; 
        padding-bottom: 0em; 
        text-align: justify;
    }

    .contact-content{
        display: grid; 
        grid-template-columns: 1fr 1fr;
    }

    .whatsapp-index-phone{
        display: none;
    }

    .whatsapp-site-phone{
        display: none !important;
    }
}


@media only screen and (max-width: 600px) {
    .main-body{
        margin-left: 0vw;
        margin-right: 0vw;
        background-color: white
    }

    .index-bgr-image{
        height: auto;
        width: 100vw;
    }

    .footer-phone{
        background-color: #1e2c36; 
        color: white; 
        padding-bottom: 1em; 
        font-family: mr-eaves-xl-modern;
        font-size: 1.1rem;
    }

    .footer-index{
        background-color: #1e2c36; 
        color: white; 
        padding-bottom: 1em; 
        font-family: mr-eaves-xl-modern;
        font-size: 1.1rem;
    }

    .index-img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        content: url("../imgs/small_logo.png");
    }

    .index-presentation-card{
        text-align: center;
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 1em;
        padding-bottom: 1em;
        margin-bottom: 9em;
        background-color: #101920;
        color: white;
    }

    .office-styling{
        padding-left: 1.5em; 
        padding-right: 1.5em; 
        text-align: justify; 
        padding-top: 1em; 
        padding-bottom: 1em;
    }

    .office-content{
        display: flex;
        flex-direction: column;
        font-size: 1.0rem;
    }

    #office-elem-1{
        padding-left: 1.5em; 
        padding-right: 1.5em; 
        text-align: justify; 
        padding-top: 1em; 
        padding-bottom: 2em;
        order: 1;
    }

    #office-elem-2{
        padding-left: 1.5em;
        padding-right: 1.5em;
        text-align: justify;
        padding-bottom: 2em;
        order: 2
    }

    #office-elem-3{
        order: 3;
    }

    #office-carousel{
        margin-top: 0em; 
        margin-left: 0em; 
        margin-right: 0em;
        margin-bottom: 2em;
        order:0;
    }

    #office-img-container{
        margin-left: 0em;
    }

    #office-img-1{
        width: 100%;
    }

    .services-content{
        display: flex;
        flex-direction: column;
        font-size: 1rem;
    }

    #services-elem-1{
        order: 1;
        padding-left: 1.5em; 
        padding-right: 1.5em; 
        text-align: justify; 
        padding-top: 1em; 
        padding-bottom: 2em;
    }

    #services-elem-2{
        order: 2;
        padding-left: 2em;
        padding-right: 1.5em;
        text-align: justify;
        padding-bottom: 2em;
    }

    #services-elem-3{
        order: 3;
        padding-bottom: 2em;
    }

    #services-carousel{
        order: 0;
        padding-bottom: 2em;
    }

    #services-img-1{
        width: 100%;
    }

    #services-img-2{
        display: none;
    }

    #services-img-3{
        display: none;
    }

    .projects-content{
        padding-top: 3em; 
        padding-bottom: 0em; 
        padding-left: 1.5em; 
        padding-right: 1.5em; 
        text-align: justify;
        font-size: 1rem;
    }

    .projects-carousel{
        width: 100%; 
        margin: auto; 
        padding-top: 2em;
    }

    .clients-content{
        display: flex;
        flex-direction: column;
        font-size: 1rem;
    }

    #clients-elem-title{
        padding-top: 2em;
        padding-left: 1.5em; 
        padding-right: 1.5em;
        text-align: justify;
    }

    #clients-elem-hystoric{
        padding-top: 2em;
        padding-left: 1.5em; 
        padding-right: 1.5em;
        text-align: justify;
    }

    #clients-elem-hystoric-content{
        padding-left: 1.5em; 
        padding-right: 1.5em;
        text-align: justify;
    }

    #clients-elem-hystoric-img-1{
        width: 100%;
        padding-bottom: 3em;
    }
    
    #clients-elem-hystoric-img-2{
        display: none;
    }

    #clients-elem-oea{
        padding-left: 1.5em; 
        padding-right: 1.5em;
        text-align: left;
        padding-bottom: 2em;
    }

    #clients-elem-oea-img-1{
        padding-bottom: 3em;
    }

    #clients-elem-projects{
        padding-left: 1.5em; 
        padding-right: 1.5em;
        text-align: left;
    }

    #clients-elem-projects-imgs{
        display: grid; 
        grid-template-columns: 1fr; 
        font-size: 1.0rem;
        padding-top: 2em;
        padding-left: 1.5em; 
        padding-right: 1.5em;
        grid-column: span 2;
        padding-bottom: 2em;
        justify-items: center;
        text-align: center;
    }

    .contact-styling{
        padding-left: 1em; 
        padding-right: 1em; 
        padding-top: 2em; 
        padding-bottom: 1em; 
        text-align: justify;
    }

    .contact-content{
        display: flex;
        flex-direction: column;
    }

    .side-image{
        display: none;
    }

    .whatsapp-index{
        display: none;
    }

    .whatsapp-site{
        display: none !important;
    }


}
.nav-font{
    font-family: mr-eaves-xl-modern;
    font-weight: 300;
    font-style: normal;
    font-size: 1.15rem;
}

.font{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 1.15rem;
}

.nav-container{
    display: flex;
    flex-direction: row;
    width: 100%;
    background-color: #b61d15; 
    width: 100%; 
    padding: 0.25em;
    background-image: url("../imgs/navbar_150px.png");
}

.item-logo{
    flex-grow: 100;
    padding-left: 2em;
    padding-top: 1em;
    padding-bottom: 0.5em;
}

.item-flex{
    flex-grow: 1;
    align-self: flex-end;
    padding-bottom: 1.5em;
    padding-right: 1em;
    padding-left: 1em;
    text-align: center;
}

a.custom-a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
}

a.custom-a:hover{
    background-color: black;
    clip-path: inset(0 0 0 0 round 10% 10% 10% 10%);
    
}

.footer{
    background-color: #101920;
    display: flex;
    flex-direction: row;
    color: white;
    height: 15vh;
    font-family: mr-eaves-xl-modern;
    font-size: 1.1rem;
}

.footer-info{
    flex-grow: 10;
    align-self: center;
    padding-left: 1em;
    font-size: 1rem;
}

.company-statement{
    position: absolute;
    z-index: 1000;
    top: 40vh;
    left: 3vw;
}

.company-statement-card{
    width: 500px; 
    background-color:#101920; 
    padding-top: 0.5em; 
    padding-bottom: 0.5em; 
    padding-left: 2em; 
    padding-right: 2em; 
    font-size: small;
}

.index-styled-bar{
    height: 15vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: white;
}

.expand-bar{
    height: 40px;
    width: 40px;
    border-style: solid;
    border-color: #101920;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.expand-bar-btn::before{
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #101920;
}

.expand-bar-btn{
    width: 25px;
    height: 2px;
    background-color: #101920;
}

.expand-bar-btn::before{
    transform: rotate(90deg)
}

.expand-bar-bar{
    width: 100%;
    height: 2px;
    background-color: #101920;
    align-self: center;
}

.nav-phone{
    display: none;
}

.company-statement-card-phone{
    display: none;
}

.index-styled-bar-phone{
    display: none;
}

@media only screen and (max-width: 600px){
    /*Phone version*/
    .nav-container{
        display: none;
    }

    .company-statement{
        display: none;
    }

    .index-styled-bar{
        display: none;
    }

    .nav-phone{
        display:block;
        font-size: 1rem;
    }

    .footer{
        display: none;
    }

    .menu-btn{
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80px;
        height: 80px;
        cursor: pointer;
        transition: all .5s ease-in-out;
        border: 3px white;
    }

    .menu-btn_burger{
        width: 50px;
        height: 6px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
        transition: all .5s ease-in-out;
    }

    .menu-btn_burger::before,
    .menu-btn_burger::after{
        content: '';
        position: absolute;
        width: 50px;
        height: 6px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
        transition: all .5s ease-in-out;
    }

    .menu-btn_burger::before{
        transform: translateY(-16px);
    }

    .menu-btn_burger::after{
        transform: translateY(16px);
    }

    .menu-btn.open .menu-btn_burger{
        transform: translateX(-50px);
        background: transparent;
        box-shadow: none;
    }

    .menu-btn.open .menu-btn_burger::before{
        transform: rotate(45deg) translate(35px, -35px);
    }

    .menu-btn.open .menu-btn_burger::after{
        transform: rotate(-45deg) translate(35px, 35px);
    }

    .dropdown{
        display: flex;
        flex-direction: column;
    }

    .dropdown-item{
        text-align: left;
        border: 2px solid #941811;
        font-weight: bold;
        color: white;
    }

    /* Dropdown animation */

    .dropdown.show{
        max-height: 1000px;
        overflow: hidden;
        background-color: #b61d15;
        transition: max-height 1s ease-in;
    }

    .dropdown.hidden{
        background-color: #b61d15;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s;
    }

    .dropdown.show a{
        text-decoration: none;
    }

    .dropdown.hidden a{
        text-decoration: none;
    }

    .company-statement-card-phone{
        display: block;
        background-color:#101920; 
        padding-top: 1em; 
        padding-bottom: 0.5em; 
        padding-left: 2em; 
        padding-right: 2em;
        margin-bottom: 9em;
        font-size: 0.95rem;
    }

    .index-styled-bar-phone{
        display: flex;
        padding: 1em;
    }
}

/* Media buttons */

.facebook-media-btn{
    height: 100px;
    width: 100px;
    clip-path: circle(50% at 50% 50%);
    background-color: aliceblue;
}

.social-media{
    padding-top: 2em;
    padding-bottom: 1em;
    display: flex;
    flex-direction: row;
}

.fb{
    display: flex;
    flex-direction: column;
    font-size: xx-large;
    height: 80px;
    width: 80px;
    background-color: #3b5998;
    justify-content: center;
    clip-path: circle(50% at 50% 50%);
    text-align: center;
    margin-right: 2em;
}

.fb:hover{
    background-color: chartreuse;
}

.twitter{
    display: flex;
    flex-direction: column;
    font-size: xx-large;
    height: 80px;
    width: 80px;
    background-color: #1DA1F2;
    justify-content: center;
    clip-path: circle(50% at 50% 50%);
    text-align: center;
}

.twitter:hover{
    background-color: chartreuse;
}

.whatsapp{
    display: flex;
    flex-direction: column;
    font-size: xx-large;
    height: 60px;
    width: 60px;
    background-color: #25D366;
    justify-content: center;
    clip-path: circle(50% at 50% 50%);
    text-align: center;
}

.whatsapp:hover{
    display: flex;
    flex-direction: column;
    font-size: xx-large;
    height: 60px;
    width: 60px;
    background-color: #1c9b4b;
    justify-content: center;
    clip-path: circle(50% at 50% 50%);
    text-align: center;
}