
.image-wrapper-viewr{
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 30;
    pointer-events: none;
}

.image-wrapper{
    position: relative;
    width: 60%;
    height: auto;
    /* margin: 0 auto auto; */
    /* border-left: 1px solid white;
    border-right: 1px solid white; */
    pointer-events: none;
}


.ronic-mobile{
    position: fixed;
    z-index: 20;
    top: 5px;
    right: 5px;
    border: 1px solid white;
    color: black;
    border-radius: 10px;
    background-color: white;
    padding: 3px;
}

:root{
    --altea-red             : #DB2537;
    --altea-gray            : #1D1D1B;
    --calaverandia-purple   : #612676;
    --calaverandia-orange   : #E6A34E;
    --calaverandia-red      : #AE2577;
    --altea-gray-alt        : #121211;
    --gdluz-blue            : #2532A0;
    --gdluz-blue-alt        : #2bcccc;
    --navidalia-gold        : #CCA060;
    --navidalia-red         : #840727;
    --navidalia-red-alt     : #660C21;
}

* {
    box-sizing: border-box;
}

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

html{
    position: relative;
    background-color: black;
    margin: 0px;
    padding: 0px;
    color: white;
    -moz-osx-font-smoothing: grayscale;
}

body{
    margin: 00px;
    padding: 0px;
    overflow-x:hidden;
    position: relative;
    height: 100%;
    width: 100%;
}

article{
    position: relative;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

section{    
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    scroll-snap-align: end;
}

section.half{    
    height: 50vh !important;
}

.wrapper{
    position: relative;
    width: 80%;
    height: 100%;
    margin: 0px auto;
    display: flex;
}

.full-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px auto;
    display: flex;
}

.video-header{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

video{
    width: 100%;
    object-fit: cover;
} 

.home-logo{
   width: 100vw;
   text-align: center;
}

.home-logo img{
    height: 18dvh;
}

.section-red{
    background-color: var(--altea-red);
}

.section-red *{
    color: white;
}

.section-black{
    background-color: black;
}

.section-white{
    background-color: white; 
}


.calaverandia{
    background-color: var(--calaverandia-purple);
}

.gdluz{
    background-color: var(--gdluz-blue);
}

.gdluz-alt{
    background-color: var(--gdluz-blue-alt);
}

.navidalia{
    background-color: var(--navidalia-red);
}

.navidalia-alt{
    background-color: var(--navidalia-red-alt);
}


.white{
    background-color: white; 
}

.white * { 
    color: black ; 
}

.black{
    background-color: black;
}

.black * {
    color: white ;
}

.gdluz-alt * {
    color: black;
}

.navidalia * {
    color: white;
}

.navidalia-alt * {
    color: white;
}

a{
    text-decoration: none;
}

h1{
    padding: 0px;
    margin: 0px;
    font-family: "SFProBold";
    font-size: calc(40px + 0.390625vw);
    letter-spacing: -0.03em;
}

h2{
    padding: 0px;
    margin: 0px;
    font-family: "SFProLight";
    font-size: calc(20px + 0.390625vw);
    letter-spacing: -0.03em;
    font-weight: lighter;
}

h3{
    padding: 0px;
    margin: 0px;
    font-family: "SFProLight";
    font-size: calc(15px + 0.390625vw);
    letter-spacing: -0.03em;
    font-weight: lighter;
}

h4{
    padding: 0px;
    margin: 0px;
    font-family: "SFProLight";
    font-size: 16px;
    font-weight: lighter;
}

h5{
    font-family: "SFProLight";
    font-size: 15px;
}


p{
    line-height: 1.25rem;
    padding: 0px;
    margin: 0px;
}


.container{
    position: relative;
    flex: 1;
}

.container-padding{
    margin: 10px;
}

.title{
    display: flex;
}

.title-column{
    display: flex;
    flex-direction: column;
}

.flex{
    flex-direction: row;
}
.flex-column{
    /* flex-direction: column; */
    flex-flow: column wrap;
}

.flex-centered{
    justify-content: center;
    
}



.object-bottom{
    object-position: bottom;
}

.bottom-position{
    bottom: 0vh;
}


.background-full{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.background-fit{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-box{
    padding: 30px;
}

.centered {
    text-align: center;
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.vertical-center{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.horizontal-center{
    /* position: absolute;
    left: 50%;
    transform: translateX(-50%); */
    margin: auto auto auto;
}

.horizontal-right{
    position: absolute;
    right: 10%;
}

.section-background-full{
    height: 100dvh;
    width: 100vw;
    object-fit: fill;
    opacity: 1.0;
}

.section-image-corner-tl{
    width: 20vw;
    position: absolute;
    top: 0px;
    left: 0px;
}

.section-image-corner-bl{
    width: 20vw;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.section-image-corner-tr{
    width: 20vw;
    position: absolute;
    top: 0px;
    right: 0px;
}

.section-image-corner-br{
    width: 20vw;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.spacer-20{
    height: 20vh;
}

.spacer-30{
    height: 20vh;
}

.spacer-70{
    height: 80dvh;
}

.title-box.right{
    margin: 0px 50% 50%;
}

.contact-icon{
    display: inline-block;
    padding-right: 10px;
    margin-top: 10px;
}

.title-box-frame{
    padding: 30px;
    border: 1px solid white;
    margin-bottom: 5dvh;
    width: 50vw;
    height: 130px;
}

.title-box-title{
    position: absolute;
    left: 50%;
    top: -0px;
    transform: translate(-50%, -50%);
    background-color: #DB2537;
    width: 50%;
    text-align: center;
    font-family: "SFProBold";
    font-size: calc(50px + 0.390625vw);
}

.title-box-subtitle{
    text-align: center;
    font-family: "SFProLight";
    font-size: calc(30px + 0.390625vw);
    line-height: calc(70px + 0.390625vw);
    width: 100%;
}

.title-box-button{
    border: 1px solid white;
    padding: 10px;
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
}

.title-image{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    margin-bottom: 30%;
}


.grid-container{
    display: grid;
    align-items: center;
    grid-template-columns: 15% 70% 15%;
    gap: 0px;
    width: 100%;
}

.grid-container-wide{
    display: grid;
    align-items: center;
    grid-template-columns: 15% 70% 15%;
    gap: 0px;
    width: 100%;
}
  

/* .grid-container{
    grid-template-columns: 20% 60% 20%;
} */

.title h1{
    margin-right: 40px;
}

.title-box-button-altea{
    padding: 8px;
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    color: white;
    margin-right: auto;
    margin-left: auto;
    background-color: rgba(255, 255, 255, 0.2);
}
.title-box-button-altea h4{
    font-weight: bold;
}

.title-box-button-altea:hover{
    background-color: var(--altea-red);
}

.bottom {
    align-self: end;
    margin-bottom: 70px;
}

.spacer-festivales{
    margin: 30px auto 30px auto !important;
}

.gradient{
    background: linear-gradient(180deg,#e52e71,#ff8a00);
}

.festival{
    cursor: pointer;
    overflow: hidden;
}

.festival-img {
    object-fit: cover;
    object-position: center center;
    scale: 1.0;
    transition: scale 1s ease-in-out;
}
    

.festival:hover > img {
    scale: 1.1;
}