@font-face {
    font-family: 'Krick';
    src: url('/fonts/Krick/Krick-Medium.woff2') format('woff2'),
        url('/fonts/Krick/Krick-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/fonts/Bricolage_Grotesque/BricolageGrotesque-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/fonts/Bricolage_Grotesque/BricolageGrotesque-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/fonts/Bricolage_Grotesque/BricolageGrotesque-Bold.ttf') format('truetype');
    font-weight: 600;
}

*:root {
    --rosa: #ff00ff;
    --azul-claro: #00FFFF;
    --azul: #0000FF;
    --azul-oscuro: #000494;
    --rosa-claro: #FFA4FF;
}

/* html{
    font-size: 20px;
} */

body {
    font-size: 20px;
    padding: 0;
    margin: 0;
    font-family: "Bricolage Grotesque", serif;
    color: var(--azul);
    /* max-height: 100vh;*/
    /* overflow: hidden;  */
}

.estrechico {
    max-width: 1280px;
    margin: 0 auto;
    background: rgba(0, 255, 255, .7);
    padding: 3rem;
    margin-top: 4rem;
}

.estrechico h2 {
    color: white;
}

.section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body>.background {
    position: fixed;
    top: 0;
    left: 0;
    background: url('/img/fondo-nubes-100.jpg') center center no-repeat;
    background-size: auto 150%;
    min-height: 100vh;
    background-attachment: fixed;
    height: 100vh;
    width: 100vw;
    display: none;
}

body * {
    box-sizing: border-box;
}

header {
    position: fixed;
    bottom: 2rem;
    width: 100vw;
    padding: 0 2rem;
    display: flex;
    align-content: space-between;
    justify-content: space-between;

    z-index: 2000;
    /* max-width: 2180px; */
    left: 50%;
    transform: translateX(-50%);
}

header .fechas {
    transform: rotate(-90deg);
    position: fixed;
    top: -100%;
    left: -11em;
    transform-origin: 100% 0;

    transition: all .25s ease-in-out;
}

header .fechas.show {
    top: 2rem;
}

#logo {
    position: absolute;
    width: 350px;
    bottom: 0;
    left: 0;
}

#logo a {
    display: block;
    width: 100%;
    height: 100%;
}

#logo #logo-flecha,
#logo #logo-megafono {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 3;
}

#logo #logo-megafono {
    transform-origin: 15% 60% 0px;
}

#logo #logo-saludo {
    position: absolute;
    display: inline-block;
    white-space: nowrap;
    left: 37%;
    bottom: 42%;
    color: white;
    font-family: "Krick", serif;
    font-weight: 500;
    font-size: 7rem;
    line-height: 1em;
    margin: 0;
}

#main-menu {
    position: absolute;
    bottom: 0;
    right: 3rem;
    display: flex;
    align-content: center;
    justify-content: right;
    flex: 1;
    max-width: 50%;
}

#main-menu .open-menu {
    font-family: "Krick", serif;
    font-weight: 500;
    font-size: 4rem;
    color: white;
    background: transparent;
    border: none;
}

#main-menu .close-menu,
#formulario-contacto #close-form {
    border: none;
    background: none;
    color: white;
    font-family: 'Krick', sans-serif;
    font-size: 3em;
    position: absolute;
    top: 1rem;
    right: 2rem;
    text-decoration: none;
}

#main-menu .close-menu:hover,
#formulario-contacto #close-form:hover {
    color: crimson;
}

#main-menu-content {
    width: 100vw;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .75);
    position: absolute;
    bottom: -2rem;
    right: -3rem;
    overflow: hidden;

    justify-content: center;
    text-align: center;

    z-index: 3000;
}

#main-menu-content ul {
    list-style: none;
    padding: 0;
}

#main-menu-content li a {
    color: white;
    font-size: 4rem;
    display: inline-block;
    padding: .25rem;
    text-decoration: none;
    font-family: "Bricolage Grotesque", serif;

    transition: transform .25s cubic-bezier(0.64, 0.57, 0.67, 1.53);
}

#main-menu-content li a .aclaracion {
    display: inline-block;
    font-size: .25em;
    margin: 0 1rem;
    font-family: "Bricolage Grotesque", sans-serif;
}

#main-menu-content li a:hover {
    color: var(--rosa);

    transform: scale(1.5);
}

#main-menu-content .menu-selector ul {
    display: flex;
    justify-content: center;
}

#main-menu-content .menu-selector ul li {
    margin: 0 1.5rem;
}

body:not(.home):not(.pagina-basica) main {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    margin-top: 80vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagina-basica {
    background: url('/img/pichirichis-parallax/PAISAJES/fondo-pagina-basica.jpg') no-repeat center center;
    background-size: cover;
}

.pagina-basica main {
    max-width: 45rem;
    margin: 15rem auto 10rem;
    position: relative;
}

.pagina-basica h1 {
    font-family: 'Krick', sans-serif;
    color: white;
    font-size: 10rem;
    line-height: .8em;
    margin-bottom: 4rem;
    font-weight: normal;
}

.pagina-basica h2 {
    font-size: 2.5rem;
    color: white;
}

.pagina-basica,
.pagina-basica p,
.pagina-basica a {
    color: white;
}

.pagina-basica #parallax-foreground {
    display: none;
}

h1,
h2 {
    margin: 0;
}

h2 {
    font-size: 3rem;
    color: var(--rosa);
    /* display: inline-block; */
}

#titulin-pagina {
    height: 80vh;
    width: 100vw;

    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

#titulin-pagina h1 {
    font-size: 8rem;
    color: white;
    text-align: center;
    width: 100vh;
    font-family: 'Krick', sans-serif;
    font-weight: normal;
}

#titulin-pagina .subtitulin {
    font-size: 2rem;
    font-family: "Bricolage Grotesque", sans-serif;
    margin: 0;
    display: block;
}

#banda {
    position: fixed;
    top: 0;
    width: 100vw;
    max-width: 100%;
    height: 200px;
    overflow-x: hidden;
    color: white;
    font-size: 3rem;
}

#banda .texto-aviso {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 100s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.button-group {
    position: absolute;
}

.button-group.centradico {
    display: flex;
    justify-content: center;
    left: 50%;
    transform: translateX(-425px);
}

.button {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 1rem 0;
}

.button,
.button * {
    transition: all .25s ease-in-out;
}

.button a,
.button button {
    background: white;
    padding: 1rem 1rem;
    border: 2px solid var(--azul);
    border-radius: 5rem;
    display: inline-block;
    position: relative;
    font-weight: 500;
    text-decoration: none;

    font-family: "Bricolage Grotesque", serif;
    font-size: 1.5rem;
    color: var(--azul);

    cursor: ne-resize;
}

.button:before {
    content: '';
    display: inline-block;
    width: 100%;
    height: 100%;
    border: 2px solid white;
    background: transparent;
    border-radius: 5rem;
    position: absolute;
    z-index: 0;
    top: 10px;
    left: 20px;
    transition: all .25s ease-in-out;
}

.button:hover {
    transform: translateY(-15px);
}

.button:hover:before {
    transform: translateY(-12px) translateX(-22px);
    border-color: var(--azul);
}

/* FONDO    */
#formas-fondo {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.rectangulo.horizontal {
    background-color: var(--azul-claro);
    width: 250px;
    height: 35px;
    bottom: 35px;
    right: 300px;
    position: absolute;
}

.rectangulo.vertical {
    background-color: var(--azul-claro);
    height: 250px;
    width: 35px;
    bottom: 0;
    right: 300px;
    position: absolute;
}

.estrellas {
    position: absolute;
    top: 0;
    left: 0;
    width: 7%;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
}

.estrellas .estrella {
    display: flex;
    justify-content: center;
    align-items: center;
}

.estrellas .estrella:before {
    content: '+';
    color: white;
    display: block;
    font-weight: 200;
    font-size: 4rem;
    opacity: .5;
}

.forma-organica svg {
    fill: var(--azul-claro);
    max-width: 300px;
}

.flecha-larga {
    position: absolute;
    bottom: 80px;
    left: 500px;
}

.flecha-larga .vertical,
.flecha-larga .flecha {
    border: 4px solid var(--azul-claro);
}

.flecha-larga .vertical {
    height: 200px;
    width: 2px;
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.flecha-larga .flecha {
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    transform-origin: 0 0;
    position: absolute;
    left: 2px;
    top: calc(100% - 2px);

    width: 2rem;
    height: 2rem;
}

.flecha-larga .flecha:nth-child(3) {
    top: 3rem;
}

.flecha-larga .flecha:nth-child(4) {
    top: -2px;
}

.circles {
    position: absolute;
    width: 100vw;
    height: 100vh;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: bottom;
    /* top: 100%; */
    max-height: 100vh;
    overflow: hidden;
}

.circles .circles-path {
    max-width: 50px;
    /* display: none; */
}

.circles .circles-path svg {
    fill: transparent;
}

.circles .circle {
    width: 200px;
    height: 200px;
    background-color: var(--azul-claro);
    opacity: .3;
    /* position: absolute;
    bottom: 0; */
    border-radius: 100%;
}



/* PÁGINAS */

/* PARALLAX BACKGROUND */
#parallax-foreground,
#parallax-background {
    position: fixed;
    margin: auto;
    width: 100vw;
    height: 150vh;
    bottom: 0;
}

#parallax-foreground {
    z-index: 10;
    height: 0;
}

#parallax-background .layer1 {
    height: 100%;
    text-align: center;
    background-size: 120%;
    background-position: 0 100%;
    background-repeat: no-repeat;
}

#parallax-background .layer2,
#parallax-background .layer3 {
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
}

#parallax-foreground .layer3 {
    position: absolute;
    height: 25vh;
    width: 100%;
    bottom: 0px;
    left: 0;
    background-size: 100%;
    background-position: 0 0;
    background-repeat: no-repeat;
}

.seccion-blob {
    position: relative;
    display: inline-block;
    padding: 6rem 9rem;
    margin-bottom: 10rem;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    width: 47rem;
}

footer {
    position: fixed;
    z-index: 2999;
    height: 2rem;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.footer-nav ul a {
    color: white;
    margin: 0 1rem;
    text-wrap: nowrap;
}

#logo-labox {
    max-height: 1em;
    fill: white;
    margin-left: .25em;
    display: inline-block;
    width: 3rem;
}

#logo-labox:hover {
    fill: var(--rosa);
}

/* AVISO INSCRIPICIONES */
#aviso-inscripciones {
    text-align: center;
    width: 600px;
    height: 500px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 60%;
    z-index: 1000;

    /* display: none; */
}

#aviso-inscripciones svg {
    margin: 0 auto;
    width: 600px;
    height: 500px;
    position: absolute;
    left: 0;
    z-index: 0;
}

#aviso-inscripciones .aviso-text-content {
    position: relative;
    z-index: 1;
    font-family: "Bricolage Grotesque";
    font-size: 2rem;
    max-width: 10em;
    color: white;
    transform: rotate(-9deg);
    transform-origin: center center;
}
#aviso-inscripciones .aviso-text-content.eus{
    font-size: 1.75rem;
}

#aviso-inscripciones .aviso-text-content a {
    text-decoration: none;
    color: var(--azul);
    display: block;

    transition: all .25s ease-in-out;
}

#aviso-inscripciones .aviso-text-content a:hover {
    transform: scale(1.2) rotate(-10deg);
    color: var(--rosa);
}

.texto-aviso .aviso-inscripciones {
    color: var(--azul-claro);
}