/*----- GENERAL -----*/
@font-face {
    font-family: 'GibsonItalic';
    src: url(./assets/Tipografia/GibsonItalic.OTF) format('truetype');
}

@font-face {
    font-family: 'GibsonRegular';
    src: url(./assets/Tipografia/GibsonRegular.OTF) format('truetype');
}

@font-face {
    font-family: 'GibsonLight';
    src: url(./assets/Tipografia/GibsonLight.OTF) format('truetype');
}

@font-face {
    font-family: 'GibsonSemiBd';
    src: url(./assets/Tipografia/GibsonSemiBd.OTF) format('truetype');
}

@font-face {
    font-family: 'GibsonSemiBdIt';
    src: url(./assets/Tipografia/GibsonSemiBdIt.OTF) format('truetype');
}

a {
    text-decoration: none !important;
}

body,
html {
    overflow-x: hidden !important;
}

.web {
    display: block !important;
}

.responsivo {
    display: none !important;
}

.dis {
    visibility: hidden !important;
}

.dis2 {
    visibility: visible !important;
}

/*----- NAVBAR -----*/


.a-navbar {
    color: white;
    font-family: 'GibsonLight' !important;
    font-size: 14px;
    letter-spacing: 2px;
}

.a-navbar:hover {
    color: white;
    font-family: 'GibsonSemiBd' !important;
}

.container-fluid.web {
    overflow: visible;
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.btn-transparente {
    border: 1px solid #7FBF55;
    font-family: 'GibsonLight';
    color: black;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    letter-spacing: 2px;
}

.btn-transparente:hover {
    color: black;
}

/*----- INDEX -----*/
.titulo-inicio {
    font-family: 'GibsonRegular';
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px black;
    line-height: 1.2 !important;
    letter-spacing: .12em;
}

.btn-blanco-inicio {
    font-family: 'GibsonItalic';
    color: black;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 12px;
    background-color: white;
    border: 1px solid white;
}

.btn-blanco-inicio:hover {
    color: black;
}

.boton-rojo {
    background-color: #c4462d;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    border: 1px solid #c4462d;
    width: fit-content;
    font-family: 'GibsonItalic';
}

.boton-rojo:hover {
    color: #F2F2F2;
}



.arriba {
    padding: 20% 10%;
    position: relative;
    overflow: hidden;
    color: white;
}

.arriba .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #c4462d;
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.arriba .info {
    position: absolute;
    top: 35%;
    /* left: 50%;
    transform: translate(-50%, -50%); */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 2;
}

.arriba:hover .overlay,
.arriba:hover .info,
.arriba:hover .border-overlay {
    opacity: 1;
}

.caso1 {
    left: 30px;
}

.caso2 {
    left: 18px;
}

.caso3 {
    left: 12px;
}

.caso4 {
    left: 15px;
    right: 30px !important;
}

.border-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
    /* Encima del fondo */
}



/*----- CONTACTO -----*/

.form-container {
    width: 100%;
    max-width: 400px;
}

.form-control {
    border: none;
    border-radius: 0;
    padding: 10px 0px !important;
    font-size: 13px;
    font-family: 'GibsonLight';
    color: black;
    background-color: transparent;
    border-bottom: 1px black solid;
}

.form-control:focus {
    box-shadow: none;
    outline: none;
}


.form-group {
    margin-bottom: 20px;
}

.invalid-feedback {
    font-size: 12px;
    color: red;
}

.boton-contacto {
    font-family: 'GibsonLight' !important;
    background-color: #c4462d;
    color: white;
    border-radius: 25px;
    padding: 5px 25px;
    font-size: 12px;
    border-color: #c4462d;
    border-style: solid;
}

.boton-contacto:hover {
    color: white;
}

.margen-arriba {
    margin-top: -120px;
}

.margen-arriba2 {
    margin-top: -100px;
}

.margen-arriba3 {
    margin-top: -100px;
    background-image: url(./assets/Fotos/Servicios/Emin-10.png);
    background-position: center;
    background-size: cover;
}

.margen-arriba4 {
    margin-top: -100px;
    background-image: url(./assets/Fotos/Proyectos/emin-26-01.png);
    background-position: center;
    background-size: cover;
}

.margen-arriba7 {
    margin-top: -100px;
    background-image: url(./assets/Certificaciones/Certificaciones1.png);
    background-position: center;
    background-size: cover;
}

.margen-arriba8 {
    margin-top: -100px;
    background-image: url(./assets/Seguridad/Seguridad1.png);
    background-position: center;
    background-size: cover;
}

.margen-arriba5 {
    margin-top: -100px;
    background-color: #c4462d;
}

.margen-arriba6 {
    margin-top: -250px;
}

/*----- FOOTER -----*/

.p-footer {
    font-family: 'GibsonLight' !important;
    color: white;
    margin: 0px;
    font-size: 12px;
}

.footer-icono {
    width: 15px;
    height: auto;
}

.p-footer2 {
    font-size: 30px;
    font-family: "GibsonRegular";
    margin: 0px;
    font-weight: bold;
    color: white;
}


.a-footer {
    font-family: 'GibsonLight' !important;
    color: white;
    margin: 0px;
    text-decoration: none;
    font-size: 13px;
}

.a-footer:hover {
    font-family: 'GibsonSemiBd' !important;
    color: white;
    margin: 0px;
    text-decoration: none;
}

.a-footer2 {
    font-family: 'GibsonLight' !important;
    color: white;
    margin: 0px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
}

.a-footer2:hover {
    font-family: 'GibsonSemiBd' !important;
    color: white;
    margin: 0px;
    text-decoration: none;
}

.a-footer2.active {
    color: white;
    font-family: 'GibsonSemiBd' !important;
    /* opcional, para destacar más */
}

@media only screen and (max-width: 600px) and (min-width: 0px) {

    /*----- GENERAL -----*/
    .web {
        display: none !important;
    }

    .responsivo {
        display: block !important;
    }

    .margen-arriba {
        margin-top: 0px;
    }

    .a-navbar {
        color: black;
    }

    .arriba {
        padding: 40% 10%;
        position: relative;
        overflow: hidden;
        color: white;
        text-align: center;
    }

    .arriba .overlay {
        opacity: 1;
    }

    .arriba .info {
        opacity: 1;
    }

    .border-overlay {
        opacity: 1;
    }

    .caso1 {
        top: 15px;
        right: 30px;
        bottom: 15px;
        left: 30px;
    }

    .caso2 {
        top: 15px;
        right: 30px;
        bottom: 15px;
        left: 30px;
    }

    .caso3 {
        top: 15px;
        right: 30px;
        bottom: 15px;
        left: 30px;
    }

    .caso4 {
        top: 15px;
        right: 30px;
        bottom: 15px;
        left: 30px;
    }

    .margen-arriba2 {
        margin-top: 0px;
    }

    .margen-arriba3 {
        margin-top: 0px;
    }

    .margen-arriba4 {
        margin-top: 0px;
    }

    .margen-arriba7 {
        margin-top: 0px;
    }

    .margen-arriba8 {
        margin-top: 0px;
    }

    .margen-arriba5 {
        margin-top: 0px;
    }

    .margen-arriba6 {
        margin-top: -70px;
    }

    .arriba .info {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: opacity 0.4s ease-in-out;
        z-index: 2;
    }

    .pad-left {
        padding-left: 0px !important;
        border-bottom: 2px solid white;
        border-left: none !important;
        max-width: 60px;
        margin: 0px auto !important;
    }
}

.pad-left {
    padding-left: 10px;
    border-left: 2px solid white;
}