@import "../fonts/stylesheet.css";
@import "../fonts/static/stylesheet.css";
@import "animaciones.css";
@import url("estilos-desktop.css") screen and (min-width: 1200px);
@import url("estilos-tablet.css") screen and (min-width: 769px) and (max-width: 1199px);
@import url("estilos-cel.css") screen and (max-width: 768px);

/*Reglas generales*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: normal;
    font-family: Barlow,sans-serif;
}

#espacio-header{
    margin-top: 142px;
}

picture#espacio-header{
    display: block;
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

.bandera{
    max-width: 20px;
    padding-right: 5px;
}

.borde-acceso{
    border: 3px solid black;
}

#quienes-somos{
    max-width: 100vw;
    min-height: calc(100vh - 145px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 2em;
}

#quienes-somos h2{
    text-shadow: 0 0 4px #000000;
}

#quienes-somos h2, #quienes-somos p, #quienes-somos div{
    max-width: 900px;
    width: 100%;
    color: white;
}

#quienes-somos div{
    display: flex;
    row-gap: 20px;
    column-gap: 20px;
}

.btn-yellow{
    border-radius: 0;
    background-color: #AB8900;
    color: white;
}

.btn-yellow:hover{
    background-color: white;
    color: #AB8900;
}

.btn-outline-yellow{
    border-radius: 0;
    background-color: transparent;
    color: #AB8900;
    width: 100%;
    transition: 0.3s;
}

.btn-outline-yellow:hover{
    background-color: #AB8900;
    color: white;
}

#servicios{
    background-image: url("../imgs/fondo-servicios.png");
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 5em 0;
}

#servicios a{
    text-decoration: none;
}

#servicios .col-md-4{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0 0 11px 1px rgba(0,0,0,0.50);
    -webkit-box-shadow: 0 0 11px 1px rgba(0,0,0,0.50);
    -moz-box-shadow: 0 0 11px 1px rgba(0,0,0,0.50);
    max-width: 435px;
    margin: 0 1rem;
    transition: 0.5s;
}

#servicios .img-fluid{
    filter: invert(61%) sepia(34%) saturate(7439%) hue-rotate(27deg) brightness(95%) contrast(101%);
    min-height: 125px;
    max-height: 125px;
}

#servicios .col-md-4:hover .img-fluid{
    filter: invert(85%) sepia(100%) saturate(1%) hue-rotate(137deg) brightness(104%) contrast(102%);
}

#servicios p{
    color: black;
}

#servicios .col-md-4 div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#servicios .col-md-4:hover{
    background-color: #AB8900;
}

#servicios .col-md-4:hover p{
    color: white;
}

#servicios .col-md-4{
    padding-top: 5em;
}

#servicios .col-md-4 .btn{
    background-color: #AB8900;
    color: white;
    margin: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 80px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

#servicios .col-md-4:hover .btn{
    background-color: white;
    color: #AB8900;
}

#compliance{
    background-color: #AB8900;
    color: white;
}

#compliance .btn{
    border: 1px solid white;
    border-radius: 0;
    color: white;
    text-align: center;
    justify-content: center;
    align-items: center;
    max-width: 270px;
    margin: auto;
    transition: 0.3s;
}

#compliance .btn:hover{
    color: #AB8900;
    background-color: white;
}

#proyectos{
/*    background-color: #AB8900;*/
    background-color: #3c3c3c;
    background-repeat: no-repeat;
    color: white;
}

#proyecto{
    margin-bottom: 2em;
}

#proyecto .row{
    row-gap: 20px;
}

.card{
    height: 100%;
    position: relative;
    box-shadow: 1px -1px 11px 4px rgba(0,0,0,0.14);
    -webkit-box-shadow: 1px -1px 11px 4px rgba(0,0,0,0.14);
    -moz-box-shadow: 1px -1px 11px 4px rgba(0,0,0,0.14);
    border-radius: 0.5rem;
}

.card-title{
    margin: 0;
}

.badge{
    background-color: #AB8900;
    color: white;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

#proyectos .col-lg-4{
    max-height: 460px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    padding: 3rem;
}

aside .col-lg-3{
    height: 100em;
    max-height: 560px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    padding: 3rem;
    color: white;
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s;
}

#carlos{
    background-image: url("../imgs/foto-carlos.png");
}

#claudio{
    background-image: url("../imgs/foto-claudio.png");
}

#lorena{
    background-image: url("../imgs/foto-lorena.png");
}

#maria{
    background-image: url("../imgs/foto-maria.png");
}

#energias-renovables{
    background-image: url("../imgs/foto-renovables.png");
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s;
}

#centrales-termoelectricas{
    background-image: url("../imgs/foto-termoelectricas.png");
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s;
}

#otros-proyectos{
    background-image: url("../imgs/foto-otros.png");
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s;
}

#proyectos .btn{
    border: 1px solid white;
    border-radius: 0;
    justify-content: center;
    align-items: center;
    color: white;
    width: 100%;
    max-width: 270px;
    margin-top: 1.5rem;
    transition: 0.3s;
}

#proyectos .btn:hover{
    background-color: white;
    color: #AB8900;
}

#contacto, #contact{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
}

#contacto h2, #contact h2{
    margin: 0;
}

#contacto p, #contact p{
    margin-left: 5px;
}

#contacto .btn, #contact .btn{
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 0;
    background-color: #5A5A5A;
    color: white;
    transition: 0.2s;
}

#contacto .btn:hover, #contact .btn:hover{
    background-color: #3a3a3a;
}

#contacto .form-control, #contact .form-control{
    border-radius: 0;
}

#contacto .form-control:focus, #contact .form-control:focus{
    border-color: #AB8900;
    box-shadow: 0 0 0 0.25rem rgb(171 137 0 / 95%);
}

.borde-ondulado:after{
    content: url("../iconos/linea.svg");
    display: flex;
    transform: translate(0,-40px);
}

#contacto .borde-ondulado:after, #contact .borde-ondulado:after{
    transform: translate(0,-10px);
}

#servicios .borde-ondulado:after{
    filter: invert(61%) sepia(34%) saturate(7439%) hue-rotate(27deg) brightness(95%) contrast(101%);
}

footer{
    background-color: #5A5A5A;
}

.footer-left ul{
    list-style: none;
    display: flex;
    justify-content: center;
    flex-direction: column;
    row-gap: 20px;
}

.footer-left a{
    text-decoration: none;
    color: white;
}

.footer-left .btn{
    border: 1px solid white;
    color: white;
    border-radius: 0;
    padding: 0.6rem 2rem;
    transition: 0.3s;
}

.footer-left .btn:hover{
    background-color: white;
    color: #5A5A5A;
}

.footer-right{
    border-radius: 0;
    border: 1px solid white;
    color: white;
    padding: 2rem;
}

#linkedin{
    display: block;
    max-width: 40px;
    width: 100%;
}

li::marker{
    color: #AB8900;
}

.navbar-nav .nav-link:hover{
    color: #AB8900 !important;
}

#servicio-section .dorado{
    color: #AB8900;
}

#servicio-section .bg-soft-gris{
    background-color: rgba(218, 218, 218, 0.25);
}

#servicio-section .row, #nosotros .row{
    margin: 0;
}

#servicio-section .borde-ondulado:after, #nosotros h2.borde-ondulado:after, #proyecto h2.borde-ondulado:after, #clientes h2.borde-ondulado:after, #denuncias h2.borde-ondulado:after{
    filter: invert(61%) sepia(34%) saturate(7439%) hue-rotate(27deg) brightness(95%) contrast(101%);
}

#nosotros .col-4 h3.borde-ondulado{
    color: #AB8900;
}

#valores .col-4 h3.borde-ondulado{
    color: black;
}

#valores .col-4 h3.borde-ondulado:after{
    filter: invert(1);
}

#nosotros .col-4 .borde-ondulado:after{
    transform: translate(0,0);
    filter: invert(61%) sepia(34%) saturate(7439%) hue-rotate(27deg) brightness(95%) contrast(101%);
    max-width: 80px;
    overflow: hidden;
}

#valores .borde-ondulado:after{
    transform: translate(0,0);
    filter: invert(1);
    max-width: 80px;
    overflow: hidden;
}

#valores .col-4{
    border: 1px solid white;
    border-radius: 5px;
    background-color: white;
    color: black;
}

#valores .row{
    display: flex;
    align-items: center;
    column-gap: 10px;
    row-gap: 20px;
}

#mision-vision{
    background-color: #AB8900;
    color: white;
}

#mision-vision img{
    max-width: 105px;
    filter: invert(1);
}

#mision-vision .col-lg-6{
    margin: auto;
    text-align: center;
}

#somos h2{
    color: #AB8900;
}

#somos p{
    max-width: 720px;
    margin: 2em auto;
}

#somos .row img{
    max-width: 120px;
    filter: invert(61%) sepia(34%) saturate(7439%) hue-rotate(27deg) brightness(95%) contrast(101%);
}

#somos .col-4{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#tarjetas #botones .btn{
    font-weight: bold;
}

#clientes .col-lg-4{
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-toggler{
    border: none;
}

.navbar-toggler-icon{
    background-image: url("../iconos/hamburguer-icon.png") !important;
    width: 2em;
    height: 2em;
}

/*Dropdown*/
.dropdown-menu[data-bs-popper]{
    right: 0 !important;
    left: inherit;
}

.btn:focus{
    box-shadow: 0 0 10px 5px rgba(171, 137, 0, 0.25);
}

.input-group{
    flex-direction: column;
}

#formulario{
    position: relative;
}

#formulario .form-control{
    width: 100%;
}

#formulario .alert.alert-danger{
    margin: 0;
    font-size: 1.1rem;
}

#loading{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
}