/*!
Theme Name: IRUNismo
Theme URI: http://underscores.me/
Author: Soom Studio
Author URI: https://soomstudio.com/
Description: Creado por Soom Studio para IRUNismo Bega
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: irunismo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

IRUNismo is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------*

/*--------------------------------------------------------------
>>> COOKIES:
--------------------------------------------------------------*/

#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept, #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
	background-color: var(--rojo) !important;
    color: #fff !important;
}
#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {
	border: 2px solid var(--rojo) !important;
    background-color: #fff !important;
    color: #000 !important;
}
#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
	color: var(--rojo) !important;
}
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
	border-bottom: 1px solid var(--rojo) !important;
	color: var(--rojo) !important;
}

#CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
    background-color: var(--verde) !important;
}

#CookiebotWidget:not(.CookiebotWidget-inactive) {
    opacity: 0 !important;
    pointer-events: all;
    transition: opacity .3s ease-in, border-radius .2s ease-in;
}

/*--------------------------------------------------------------
>>> ESTILOS COMUNES:
--------------------------------------------------------------*/

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

body{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: var(--rojo);
    color: var(--blanco);
}

::selection{
    background-color: var(--blanco);
    color: var(--rojo);
}

img{
    width: 100%;
    height: auto;
}

h2{
    font-weight: 500;
    margin-bottom: 0.5rem;
}

a{
    text-decoration: none;
    color: inherit;
}

p{
    margin-bottom: 10px;
}

ul{
    padding: 0px;
    margin: 0px;
}

li{
    list-style-type: none;
}

.mb5{
    margin-bottom: 3rem;
}

.mb8{
    margin-bottom: 5rem;
}

.mb10{
    margin-bottom: 6rem;
}

:root {
  --rojo: #cf4a3d;
  --coral: #d76b5b;
  --blanco: #fff;  
}

.contenedor{
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-right: auto;
    margin-left: auto;
}

.interior h1{
    margin-bottom: 1rem;
}

/*--------------------------------------------------------------
>>> GSAP:
--------------------------------------------------------------*/

html,
body,
.hero,
.pin-spacer {
    overflow-anchor: none;
}

.hero {
    position: relative;
    min-height: 100svh;
    box-sizing: border-box;
}

.hero .logo-irunismo svg {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    transform-origin: 0 0;
    transform-box: border-box;
}
.hero.irunismo-activo {
    overflow: clip;
}

.hero.irunismo-activo > .contenedor {
    position: relative;
}

.hero.irunismo-activo .logo-irunismo {
    position: relative;
    z-index: 2;
}

.about.about-secuencia {
    box-sizing: border-box;
    height: 100svh;
    padding: 40px 0 60px;
    overflow: clip;
}

.about.about-secuencia > .contenedor,
.about.about-secuencia > .contenedor > .grid {
    height: 100%;
    min-height: 0;
}

.about.about-secuencia .grid > .columna {
    min-height: 0;
    min-width: 0;
}

.about.about-secuencia .texto-about-ventana {
    height: 100%;
    overflow: hidden;
}

.about.about-secuencia .texto-about {
    display: flow-root;
}

.about.about-secuencia .foto-about {
    position: relative;
    height: 100%;
}

.about.about-secuencia .foto-about-mascara {
    height: 100%;
    overflow: hidden;
}

.about.about-secuencia .foto-about-mascara > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about.about-secuencia .logo-about {
    z-index: 2;
}

.hero .logo-irunismo svg {
    will-change: auto;
}

/* Foto arriba y texto debajo en pantallas estrechas */
@media (max-width: 767px) {
    .about.about-secuencia {
        padding: 20px 0 40px;
    }

 
}


/*--------------------------------------------------------------
>>> HEADER:
--------------------------------------------------------------*/

.site-header{
    padding: 2rem 12px;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 9;
    opacity: 1 !important;
    visibility: inherit !important;
}

.idiomas ul{
    margin: 0px;
    padding: 0px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: end;
    gap: 5px;
    color: var(--blanco);
    text-transform: uppercase;
}

.idiomas li{
    list-style-type: none;
    opacity: 0.6;
}

.idiomas .activo{
    opacity: 1;
}

/*--------------------------------------------------------------
>>> FOOTER:
--------------------------------------------------------------*/

footer{
    background-color: var(--coral);
    padding: 2rem 0;
}

.logo-footer img{
    max-width: 200px;
    margin-bottom: 1rem;
}

.redes{
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.redes a{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.redes img{
    max-width: 30px;
}

.cookies a{
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 20px;
    display: inline-block;
}


/*--------------------------------------------------------------
>>> PORTADA:
--------------------------------------------------------------*/

.hero{
    background-color: var(--rojo);
}

.logo-irunismo svg {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
}

.logo-irunismo{
    margin-bottom: 1rem;
}

.intro p{
    font-size: 1.2rem;
    line-height: 1.3;
}

.pregunta{
    margin: 1.5rem 0;
}

.formuario .interior-formulario{
    border-radius: 30px;
    background-color: var(--blanco);
    overflow: hidden;
    margin-bottom: 10px;
}

.formuario textarea{
    width: 100%;
    border: none;
    max-height: 200px;
    margin-bottom: 0px;
    padding: 20px;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #656565;
    background-color: var(--blanco);
    resize: none;
}

::placeholder{
    color: var(--coral);
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
    opacity: 0.25;
}

formuario textarea,
::placeholder{
    font-size: 1.2rem;
    line-height: 1.3;
}

.wpcf7-spinner{
    display: none;
}

.wpcf7-form p,
.caja-enviar p{
    margin-bottom: 0px;
}

.caja-enviar{
    background-color: var(--blanco);
    text-align: end;
    padding: 15px;
}

.wpcf7 textarea:focus,
.wpcf7 textarea:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.formuario .wpcf7-submit{
    border: none;
    background-color: var(--coral);
    color: var(--blanco);
    padding: 15px 50px;
    border-radius: 1000px;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0px;
    cursor: pointer;
}

.wpcf7-not-valid-tip{
    padding: 0 20px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--blanco);
}

.about{
    background-color: var(--coral);
    padding: 1rem 0 2rem 0;
}

.formuario br{
    display: none;
}

.formuario textarea br{
    display: none;
}

.foto-about{
    position: relative;
}

.texto-about{
    margin-bottom: 2rem;
}

.logo-about{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
}

.logo-about img{
    max-width: 220px;
}

.texto-about p{
    font-size: 14px;
    text-align: justify;
}

.video{
    background-color: var(--rojo);
}


.contenedor-video {
    overflow: hidden;
    max-width: 90%;
    padding: 3rem 20px;
    margin: auto;
}

.contenedor-video iframe {
    display: block;
    aspect-ratio: 16 / 9;
    width: 100%;
    min-width: 240px;
    height: 100%;
    border: 0;
    border-radius: 30px;
}

.contenedor-video {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.contenedor-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-cookies {
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px;
    text-align: center;
}

.video-cookies p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #333;
}

.video-cookies button {
    border: none;
    background-color: var(--coral);
    color: var(--blanco);
    padding: 15px 50px;
    border-radius: 1000px;
    font-size: 14px;
    font-weight: 400;
    margin: auto;
    cursor: pointer;
}

.cookieconsent-optout-marketing{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cookieconsent-optout-marketing p{
    color: var(--blanco);
}

/*--------------------------------------------------------------
>>> BREAKPOINTS:
--------------------------------------------------------------*/
@media (min-width: 576px) { 
    
    .contenedor{
        max-width: 540px;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    

}

@media (min-width: 768px) {  
    
    .site-header{
        padding: 3rem;
    }

    .contenedor{
        max-width: 572px;
    }
    
    .intro p{
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .formuario textarea,
    ::placeholder{
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .contenedor-video {
        max-width: 70%;
    }
    
    logo-footer img {
        margin-bottom: 2rem;
    }

    .redes{
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }
    
    .formuario textarea{
        font-size: 18px;
    }
    
    .formuario .wpcf7-submit{
        font-size: 18px;
    }
    
    .formuario textarea{
        padding: 40px;
    }
    
    .video-cookies button {
        font-size: 16px;
    }
    
    .wpcf7-not-valid-tip{
        padding: 0 40px;
    }


}

@media (min-width: 992px) {
    
    p{
        margin-bottom: 15px;
    }
    
    h2{
        font-size: 28px;
        margin-bottom: 1.5rem;
    }
    
    .contenedor{
        max-width: 900px;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    
    .intro p{
        font-size: 1.8rem;
    }
    
    .formuario textarea,
    ::placeholder{
        font-size: 1.6rem;
    }

    .mb5{
        margin-bottom: 5rem;
    }

    .mb8{
        margin-bottom: 8rem;
    }
    
    .mb10{
        margin-bottom: 10rem;
    }
    
    .pregunta{
        margin: 2rem 0;
    }
    
    .formuario textarea{
        margin-bottom: 20px;
    }
    
    .grid{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
    
    .contenedor-video {
        max-width: 60%;
        padding: 4rem 20px;
    }
    
    footer .grid .columna:last-child{
        text-align: end;
    }
    
    .logo-footer img {
        margin-bottom: 2rem;
    }
    
}

@media (min-width: 1200px) { 
    
    .contenedor{
        max-width: 1000px;
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
    
    .pregunta{
        margin: 3rem 0;
    }
    
    .grid{
        gap: 50px;
    }
    
    .contenedor-video {
        max-width: 50%;
        padding: 6rem 20px;
    }
    
    footer{
        padding: 0px;
    }
    
    footer .contenedor{
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

}

@media (min-width: 1400px) {  

    .contenedor{
        max-width: 1200px;
    }
    
}

@media screen and (min-width: 1024px) and (min-height: 600px) {
 
    .hero {
        min-height: 100vh;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero .contenedor{
        padding-top: 0rem;
        padding-bottom: 0rem;
    }
    
    .about {
        min-height: 100vh;
        padding: 40px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .about .contenedor{
        padding-top: 0rem;
        padding-bottom: 0rem;
    }
    
    
}

@media screen and (min-width: 1024px) and (min-height: 990px){
    .texto-about p {
        font-size: 16px;
        text-align: justify;
    }
}
