@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,700;1,100;1,300&display=swap');

:root {
    --font-primary: 'Roboto', sans-serif;

    --color-black: #000;
    --color-white: #fff;

    --color-gray-950: #030712;
    --color-ligth-blue-150: #2daae1;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.8;
}

.container {
    max-width: 120rem;
    margin: 0 auto;
    width: 90%;
}

.bg-header {
    background-color: var(--color-gray-950);
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7rem;
}

.nav-header {
    height: 100%;
}

.nav-header a {
    display: block;
    height: 100%;
}

.nav-header a img {
    height: 7rem;
}

.nav-button i {
    color: var(--color-white);
    font-size: 2.5rem;
    border: 2px solid white;
    padding: 1rem;
    cursor: pointer;
    border-radius: 1rem;
}

.nav-button i:hover {
    background-color: var(--color-ligth-blue-150);
}

.nav-bar {
    list-style: none;
    width: 100%;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    position: absolute;
    border: 2px solid var(--color-black);
    background-color: var(--color-gray-950);
    top: 8rem;
    color: var(--color-white);
    transform: scaleY(0);
    transform-origin: top;
    z-index: 100;
    transition: all .5s;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pie_pag_align {
    text-align: center;
    margin-left:0px;
    margin-top: 20px;
    margin-bottom: 30px;
    padding-left:0px;
    display:flex;
    flex-direction: column;
    align-items: center;
    width:350px; 
}
.pie_pag_align ul{
    text-align: center;
    
}

.main{
    /*height: calc(100vh - 7rem);*/
    height: 600px;
    width:100%;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    /*animation-name: bg-image;
    animation-duration: 30s; 
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: alternate;*/
}

@keyframes bg-image{
    0%{
        background-position: left
    }

    100%{
        background-position: right;
    }
}
.main div{
    background: rgba(0,0,0,0.5);
    border-radius: 30px;
    color: white;
    margin-right:100px;
    padding-top: 50px;
    padding-bottom: 50px;
    }
.main h3{
    text-align:right;
    margin-right: 50px;
}
.main h2{
    text-align:right;
    margin-left: 50px;
    margin-right: 50px;
}
.main_nosotros{
    height: 600px;
    width:100%;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    
    background-repeat: no-repeat;
    background-size:850px;
    background-position: top;
}
.main_nosotros h1{
    font-size: 50px;
    border-bottom: 6px solid #2daae1;
    color: #2daae1;
    margin-bottom: 10px;
}
.main_nosotros>div {
    width:100%;
    margin-left:20px;
    margin-right:20px;
}
.main_nosotros .large{
    font-size: x-large;
}
.main_nosotros .medium{
    font-size: medium;
    color: #808080;
}
.Ix-servicios .imagen{
    background-repeat: no-repeat;
    background-size:cover;
    background-position: top;
    width:50%
}
.Ix-servicios h1{
    text-align: center;
}
.Ix-cont {
    display:flex; 
    flex-direction: row;
}
.Ix-parrafo {
    width:50%;
    height:400px;
    display:flex;
    /*justify-content: flex-end;*/
    align-items: center;
    overflow: hidden;
}
.Ix-parrafo p{
    width:300px; 
    font-size: larger;
    /*margin-right: 100px;*/

}
.TR_IL{
    justify-content: flex-end;
}
.TR_IL p{
    margin-right:20px;
}
.TR_IR{
    justify-content: flex-start;
}
.TR_IR p{
    margin-left:20px;
}
.servicios_cont{
    display:flex; 
    flex-direction: row;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 300px;
    flex-wrap: wrap;
    justify-content:space-around ;

}
.servicios_cont_items{
    width:400px;
    height:450px;
    display:flex;
    flex-direction:column; 
    justify-content:center;
    align-items: center;
    margin: 10px;

}
.servicios_item{
    border-radius: 30px;
    width:450px;
    padding:30px;
    background: rgb(204,204,204);
    background: linear-gradient(0deg,
    rgba(204,204,204,1) 0%,
    rgba(255,255,255,1) 100%);
    box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.75);
}
.servicios_item p{
    font-size: larger;
}
footer{
    width:100%;
    background-color:gray;
    margin-top: 30px;
}
footer>div {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    color:white;
    justify-content: space-evenly;
}

.clientes_cont{
    background-image: url(../img/back_clientes.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    display:flex;flex-direction: column;
}

.clientes_fila{
    display:flex;
    flex-wrap: wrap;
    flex-direction:row;
    justify-content: space-evenly;
    margin-bottom: 50px;
}
.cli_cont{
    width:250px;
    height:300px;
    background-color: white;
    border-style: solid;
    border-color: lightgray;
    border-radius: 15px;
    display:flex;
    flex-direction: column;
    align-items: center;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
    transition: border-width 1s;
}
.cli_cont:hover{
    border-width: 10px;
}
.cli_cont img{
    width:230px;
}
.cli_cont .empresa{
    font-weight: bolder;
}
.TAC{
    text-align: center;
}
.main_contacto{
    
    width:100%;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    
    background-repeat: no-repeat;
    background-size:auto;
    background-position: top;
    padding-top: 200px;
}
.main_contacto h1{
    font-size: 50px;
    border-bottom: 6px solid #2daae1;
    color: #2daae1;
    margin-bottom: 10px;
}
.contacto{
    margin: 0px 50px;
}
.inputBox{
    margin-bottom:10px;
}
.inputBox p{
    color:red;
    display:block;
    text-align:right;
    font-size: small;
    visibility: hidden;
}
.contacto input,select,textarea, button{
    border:solid 2px #aaaaaa;
    padding:10px;
    border-radius: 10px;
    font-size: large;
    display:block;
}
.contacto label{
    display:block
}
.contacto button,p{
    display:inline-block
}
.contacto p{
    margin-left:20px;
    color:#ff0000;
    font-weight: bolder;
}
@media screen and (min-width: 1280px) {
    .nav-bar {
        background: transparent;
        position: relative;
        top: 0;
        flex-direction: row;
        transform: scaleX(1);
        height: 100%;
        justify-content: end;
        padding: 0;
        align-items: center;
    }

    .nav-button {
        display: none;
    }

}

.nav-bar ul {
    list-style: none;
}

.collapse {
    transform: scaleY(1);
}

.nav-list {
    display: flex;
    flex-direction: column;
}

.dropdown {
    height: auto;

}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    padding-left: 3rem;
    overflow: hidden; 
    height: 0;
    transition: height .5s linear;
}

.collapse-submenu {
    height: 10rem;
}

.flex-spacebetween{
    display: flex;
    justify-content: space-between;
}

.dropdown-item a {
    text-decoration: none;
    height: 100%;
    display: block;
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
}


@media screen and (min-width: 1280px) {
    .nav-list {
        flex-direction: row;
    }

    .dropdown i{
        display: none;
    }
}

.list-item {
    padding: .2rem 1rem;
    position: relative;
    border-bottom: 1px solid #616161
}

.list-item>a {
    color: var(--color-white);
    font-weight: bold;
    font-size: 1.8rem;
    text-decoration: none;
}



@media screen and (min-width: 1280px) {
    .dropdown-menu {
        height: auto;
        display: flex;
        overflow:visible;
        background-color: var(--color-white);
        left: -1rem;
        position: absolute;
        flex-direction: column;
        top: 5rem;
        padding: 2rem 0;
        width: 20rem;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        z-index: 1000;
        visibility: hidden;
        opacity: 1;
        transition: all 300ms ease;
    }

    .list-item{
        border-bottom: 0px;
    }

    .list-item>a {
        text-decoration: none;
        background: linear-gradient(currentColor, currentColor);
        background-position: 0% 100%;
        background-repeat: no-repeat;
        background-size: 0% .3rem;
        transition: all 0.5s;
        padding-bottom: 1rem;
        
    }

    .list-item>a:hover {
        background-size: 100% .3rem;
    }

    .dropdown-item a {
        text-decoration: none;
        height: 100%;
        display: block;
        padding: 0 1rem;
        color: var(--color-gray-950);
        font-weight: 300;
    }

    .dropdown-item a:hover {
        background-color: var(--color-ligth-blue-150);
    }

    .dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        top: 5rem;
    }

    .dropdown-menu::before {
        content: '';
        width: 0;
        height: 0;
        border-left: 1.2rem solid transparent;
        border-right: 1.2rem solid transparent;
        border-bottom: 1.2rem solid var(--color-white);
        position: absolute;
        top: -12px;
        left: 2rem;
    }
    
    .pie_pag_align {
    text-align: center;
    margin-left:0px;
    padding-left:0px;
    display:flex;
    flex-direction: column;
    align-items:flex-start;
    }
    .pie_pag_align ul{
        text-align: left;
    }

    .PP-align {
    align-items: center;
    }
    .TR_IL p{
        margin-right:100px;
    }
    .TR_IR p{
        margin-left:100px;
    }
    .main_nosotros{
        height: 600px;
        width:100%;
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        
        background-repeat: no-repeat;
        background-size:auto;
        background-position: top;
    }
    .main_nosotros>div {
        width:300px;
        margin-right: 60%;

    }
}



