@import '../../r/r.css';
@import 'animations.css';

/* GENERAL */

html {
    overflow: hidden;
}

html,body,main {
    padding: 0;
    margin: 0;
}

/* FOOTER */

footer#footer_principal {
    background-color: var(--color-negro);
    position: relative;
    display: flex;
    justify-content: space-around;
    padding: 2rem 0;
    z-index: 1;
    flex-wrap: wrap;

    gap: 2rem;
}

footer#footer_principal .footer-contenedor-svg {
    position: absolute;
    width: 100%;
    bottom: 90%;
    z-index: -1;
}

figure.footer-contenedor-svg img {
    width: 100%;
}

.footer-parte {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    flex: 1 200px;
    align-items: center;
}

.footer-contenedor-texto {
    display: flex;
    gap: 1rem;
}

.footer-parte span.footer-titulo {
    color: var(--color-blanco);
    font-size: calc(20px + (22 - 12) * ((100vw - 300px) / (1600 - 300)));;
    font-weight: 700;
}

figure.footer-logo {
    width: 50%;
    max-width: 75px;
}

.footer-contenedor-texto figure {
    max-width: 40px;
}

/* GENERAL */

#main_secundario { position: relative;}

.color-negro { color:var(--color-negro) }
.color-verde { color:var(--color-verde) }
.color-morado { color:var(--color-morado) }
.color-azul { color:var(--color-azul) }
.color-naranja { color:var(--color-naranja) }
.color-amarillo { color:var(--color-amarillo) }

.subtitulo { font-size: var(--subtitulo-tam); }

.texto-normal { font-size: var(--texto-tam); }

.contenedor-general {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    /*gap: 1rem;*/
    padding: 2rem 0;

    height: 100%;
}

.contendedor-derecho,.contenedor-izquierdo {
    flex: 1 400px;
    width: 50%;
    min-width: 300px;
}

.form-group-button
{
    padding-top: 1rem;
}

.btn.btn-primary {
    border-radius: .75rem;
    padding: .25rem 1.25rem;
    height: auto;
    border: none;
}

.paquete.d-chico {display: none} 

.d-chico {display: none} 

/* HEADER */

div.header-web {
    position: absolute;

    top: 20px;
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
}

div.header-web-contenedor {
    background-color: var(--color-blanco);
    border-radius: 2rem;
    padding: .5rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    z-index: 2;
    width: 25%;
    max-width: 300px;
    min-width: 200px;
}

.header-web-contenedor-interno {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: .5rem;
    width: 100%;
}

.header-web-contenedor-interno figure {
    max-width: 50px;
    display: flex;
    position: relative;
}

/*Icono distinto para cada cual*/

    .header-web-contenedor-interno .header-item figure:after {
        content: "";
        height: 100%;
        width: 100%;
        position: absolute;
        background-size: contain;
        transition: opacity .5s;
        opacity: 0;
    }

    .header-web-contenedor-interno .header-item[data-header-type="paquete"] figure:after {
        background-image: url(../icon/paquete_verde.png);
    }

    .header-web-contenedor-interno .header-item[data-header-type="contacto"] figure:after {
        background-image: url(../icon/contacto_verde.png);
    }

    .header-web-contenedor-interno .header-item[data-header-type="logo"] figure:after {
        background-image: url(../icon/logo_verde.png);
    }

    .header-web-contenedor-interno .header-item[data-header-type="equipo"] figure:after {
        background-image: url(../icon/nos_verde.png);
    }

    .header-web-contenedor-interno .header-item:hover figure:after {
        opacity: 1;
    }
/* FIN - Icono distinto para cada cual*/

.header-item a {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.header-item span {
    width: auto;
    max-width: 0;
    position: absolute;
    background-color: var(--color-blanco);
    overflow: hidden;
    bottom: -15px;
    border-radius: 2rem;
    transition: all .5s ease-in;
    color: var(--color-verde);
}

.header-item:hover span {
    max-width: 200px;
    padding: 0rem .5rem;
}

.header-item {
    overflow: hidden;
}

/*FIN HEADER */

/* BTN WAPP*/

div#wapp_btn {
    position: absolute;
    z-index: 99;
    bottom: 20px;
    right: 20px;
}

#wapp_btn a.btn.btn-transparente {
    height: 100%;
    width: 100%;

    padding: 0.5rem;
    margin: 0;

    line-height: normal;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;    
    background-color: var(--color-blanco);
}

#wapp_btn .wapp-btn-content {
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1;
}

/* BTN WAPP */

/* MODALS */

.modal {
    backdrop-filter: blur(3px);
}

.modal-container {
    border-radius: .5rem;
}
/* FIN MODALS */

/* FUNCIONAMIENTO DE HEADER */

.main-general
{
    height: 100%;
    overflow-y: scroll;
    background-color: var(--color-blanco);
    width: -webkit-fill-available;
    z-index: -1;
    position: absolute;
    left: 0;
    clip-path: circle(0% at top);
    transition: clip-path 1s ease-in-out;
}
/*
.show_section
{
    
    overflow-y: scroll;
}
*/

#packages.show_section, #main.show_section, #contacto.show_section, #equipo.show_section,.main-clip.show_section
{
    clip-path: circle(200% at top);
    z-index: 1;
}

.main-clip {
    background-color: var(--color-negro);
    position: absolute;
    top: 0;
    z-index: 0;
    width: 100%;
    height: -webkit-fill-available;
    transition: clip-path 1s ease-in-out;
    clip-path: circle(0% at top);
}

.main-clip.cancel-section
{ clip-path: circle(0% at top); }

/* Backgrounds - flyers internos*/

.contenedor-background {
    height: 30vh;
    width: 100%;
    margin: 1rem 0 ;
    color: var(--color-blanco);
}

.contenedor-background.bkg-verde {
    background-color: var(--color-verde);
}

.contenedor-background.bkg-azul {
    background-color: var(--color-azul);   
}

.contenedor-background span
{
    animation-name: show;
    view-timeline-name: --span;
    animation-timeline: --span;
    view-timeline-axis: block;
    animation-range: entry 25% cover 40%;
}


.bkg-cnt-texto {
    height: inherit;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bkg-cnt-texto span {
    font-size: var(--subtitulo-tam);
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'unbounded';
}

/* FIN backgrounds - flyers internos*/

/* FOOTER LOGO */

footer#footer_logo {
    width: 100%;
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer#footer_logo figure {
    max-width: 300px;
}

footer#footer_logo {
    animation-name: show;
    view-timeline-name: --figure;
    animation-timeline: --figure;
    view-timeline-axis: block;
    animation-range: entry 25% cover 20%;
}
/* FIN FOOTER LOGO */

/* Bkg general */

.bkg-img {
    height: 60vh;
    width: 100%;
    overflow: hidden;
    position: relative;

    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.bkg-img.azul {
    background-color: var(--color-azul);
}

.bkg-img::after
{
    content: "";

    background-image: url(../img/wave_uno.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;

    width: 101%;
    height: 100%;
    
    position: absolute;
    bottom: -15vh;
    left: 0;
}

.bkg-img span {
    color: var(--color-blanco);
    font-size: var(--titulo-tam);
    margin-bottom: 10vh;
    font-family: 'unbounded';
    font-weight: bold;
}


/* fin Bkg general */

/*
CURSOR
*/

#cursor_main
{
    /*display: block;*/
    display: none;
    width: 50px;
    height: 50px;
    background: var(--color-blanco);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    border-radius: 50%;
    border: var(--color-verde) 2px solid;
}

/* Animaciones*/

.bkg-img {
    animation-name: fade;
    view-timeline-name: --span;
    animation-timeline: --span;
    view-timeline-axis: block;
    animation-range: entry 200% cover;
}
/* FIN Animaciones*/