/*
Theme Name: Twenty Twenty-Four Child Theme
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Template: twentytwentyfour
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.0
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfourchild
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/* GENERALS */ 
.font-s {
    font-size: 16px;
}
.font-m {
    font-size: 20px;
}
.font-l {
    font-size: 28px;
}
.font-xl {
    size: 42px;
}
.font-xxl {
    size: 50px;
}
/* HEADER AND NAVIGATION */ 
header .wp-block-site-logo {
    position: relative;
}
header .wp-block-site-logo a {
    position: relative;
    z-index: 2;
}
header .wp-block-site-logo::before {
    content: "";
    background-image: url('./assets/img/header-logo-container.webp');
    width: 313px;
    height: 133px;
    position: absolute;
    z-index: 1;
    bottom: -30px;
    right: -43px;
}

/* FOOTER */ 
footer.wp-block-template-part {
    margin-block-start: 0;
}

/* ================================================
===================== HOME ========================
================================================ */
.hero {
    position: relative;
}
.hero::before {
    content: "";
    background-color: #EEF3F7;
    width: calc(50% - 250px);
    height: 100px;
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 2;
}
.hero::after {
    content: "";
    background: url('./assets/img/main-banner-border.webp');
    width: 257px;
    height: 100px;
    position: absolute;
    bottom: -1px;
    right: 50%;
    z-index: 2;
}
/* Viñetas Industrias */
.industrias_listado {
    column-gap: 50px;
    margin: 50px 0;
}
.industrias_elemento {
    cursor: pointer;
    width: calc(20% - 50px);
    max-width: 160px;
    min-width: 120px;
}
.industrias_icono_contenedor {
    width: 100%;
    height: auto;
    position: relative;
    display: block;
    border-radius: 100%;
    outline: solid 10px #e3ebf2;
}
.industrias_icono {
    width: 100%;
    height: 100%;
    display: block !important;
    border-radius: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin: 0 !important;
}
.industrias_icono.over {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    border: solid 5px white;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .2s ease-in;
}
.industrias_elemento:hover .industrias_icono:not(.over) {
    box-shadow: 0 0 13px rgba(136,178,212,.86);
}
.industrias_elemento:hover .industrias_icono.over {
    opacity: 1;
}
.industrias_icono img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    display: block;
}
.industrias_nombre {
    z-index: 4;
    margin: 20px 0 !important;
}
.industrias_nombre a {
    text-decoration:none;
}
.industrias_link {
    width: 100%;
    height: 100%;
}
#testimonios {

}
.testimonios_container {
    z-index: 2;
    box-shadow: 3px 3px 20px rgba(106,153,191,.29);
}

.form-comentarios {
    width: 100%;
}
.form-comentarios .wpcf7 {
    width: 100%;
}
.form-comentarios form {
    position: relative;
}
.form-comentarios span {
    display: block;
}
.form-comentarios input[type="text"],
.form-comentarios input[type="email"],
.form-comentarios textarea {
    font-family: "Exo", sans-serif;
    font-weight: bold;
    background-color: #fff;
    border-radius: 5px;
    width: 100%;
    border: none;
    padding: 10px;
    box-sizing: border-box;
}
.form-comentarios .wpcf7-form-control-wrap {
    margin: 10px 0;
}
.form-comentarios input[type="text"]::placeholder,
.form-comentarios input[type="email"]::placeholder,
.form-comentarios textarea::placeholder {}
.form-comentarios input[type="submit"] {
    font-family: "Exo", sans-serif;
    font-weight: bold;
    background-color: #8CE0F5;
    color: #1d316e;
    padding: 10px;
    width: 180px;
    max-width: 100%;
    border-radius: 20px;
    outline: none;
    border: none;
    cursor: pointer;
}

/* ================================================
============== PÁGINAS / SECCIONES ================
================================================ */
.seccion_header {
    min-height: 155px;
    margin-bottom: 50px;
    overflow: visible;
    box-shadow: 0 5px 10px rgba(136, 178, 212, .47);
}

#somos.has-base-2-background-color {
    /*background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,0) 15%, rgba(255,255,255,1) 15%, rgba(255,255,255,1) 85%, rgba(255,255,255,0) 85%);*/
}
.col_parallax {}
.bg_parallax.wp-block-cover {
    min-height: 270px;
    overflow: visible;
    height: 100%;
}
.bg_parallax.wp-block-cover .wp-block-cover__image-background {
    object-fit: cover;
}
.img_parallax {}
.img_parallax.wp-block-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.somos_info {
    padding: 20px 50px;
}

@media (max-width: 781px) {
    .col_parallax {
        display: none;
    }
}

/* ================================================
================== INDUSTRIAS =====================
================================================ */
.industria_header {
    min-height: 155px;
    margin-bottom: 50px;
    overflow: visible;
    box-shadow: 0 5px 10px rgba(136, 178, 212, .47);
}
.industria_titulo {}
.industria_icono {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 2;
}
.industria_icono::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 5px));
    border-radius: 100%;
    background-color: rgba(136, 178, 212, .47);
    position: absolute;
    z-index: -1;
    filter: blur(4px);
}
.industria_info {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
}
.industria_imagen {
    min-width: 50%;
}
.industria_imagen .contenedor {
    position: relative;
    margin-bottom: 100px;
}
.industria_imagen .foto {
    border-radius: 20px;
    overflow: hidden;

}
.industria_imagen .decorativo {
    position: absolute;
    left:-50px;
    bottom: -70px;
    max-width: 50vw;
}
.industria_descripcion p {
    text-align: justify;
}
.industria_vinetas_lista {}
.industria_vineta {}
.industria_productos {}

/* ================================================
================== CONTACTO =====================
================================================ */

.form-cotizaciones {
    width: 100%;
}
.form-cotizaciones .wpcf7 {
    width: 100%;
}
.form-cotizaciones form {
    position: relative;
}
.form-cotizaciones span {
    display: block;
}
.form-cotizaciones input[type="text"],
.form-cotizaciones input[type="email"],
.form-cotizaciones textarea {
    font-family: "Exo", sans-serif;
    font-weight: bold;
    background-color: #fff;
    border-radius: 5px;
    width: 100%;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 3px 3px 10px rgba(106,153,191,.29);
}
.form-cotizaciones .wpcf7-form-control-wrap {
    margin-bottom: 25px;
}
.form-cotizaciones input[type="text"]::placeholder,
.form-cotizaciones input[type="email"]::placeholder,
.form-cotizaciones textarea::placeholder {}

.form-cotizaciones input[type="submit"] {
    font-family: "Exo", sans-serif;
    font-weight: bold;
    font-size: 20px;
    background-color: rgba(140,224,245,.15);
    color: #1d316e;
    padding: 25px 100px;
    width: auto;
    max-width: 100%;
    border-radius: 50px;
    outline: none;
    border: solid 2px #8ce0f5;
    cursor: pointer;
    box-shadow: 3px 3px 10px rgba(106,153,191,.29);
}
/* ================================================
================== PRODUCTOS =====================
================================================ */


/* ================================================
================== RESPONSIVE =====================
================================================ */
@media only screen and (min-width: 992px) {  
    .industria_info {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 50px;
    }
    .industria_header {
        margin-bottom: 100px;
    }
    .industrias_icono_contenedor {
        outline: solid 15px #e3ebf2;
    }
    .industrias_nombre {
        font-size: 20px;
    }
}

@media only screen and (min-width: 1200px) {

}

@media only screen and (min-width: 1600px) {
    .industrias_nombre {
        font-size: 24px;
    }
}

@media only screen and (max-width: 992px) {
    
}

@media only screen and (max-width: 768px) {
    .industria_imagen .decorativo {
        display: none;
    }
    .industria_imagen .contenedor {
        position: relative;
        margin-bottom: 50px;
    }
}
