* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #999999;
    font-family:  NunitoLight;
    text-align: center;
    max-height: 100vh !important;
    max-width: 100vw !important;
}

a{
    text-decoration: none;
}


:root {
    --main-color: #72BAB0;
}

@font-face{
    font-family: NunitoBold;
    src: url('../fonts/nunitosans_bold.ttf');
}

@font-face{
    font-family: NunitoSans-Bold;
    src: url('../fonts/nunitosans_bold.ttf');
}

@font-face{
    font-family: NunitoLight;
    src: url('../fonts/nunitosans_light.ttf');
}

@font-face{
    font-family: NunitoSans-Light;
    src: url('../fonts/nunitosans_light.ttf');
}

@font-face{
    font-family: NunitoExtraLight;
    src: url('../fonts/nunitosans_extralight.ttf');
}

@font-face{
    font-family: NunitoSemiBold;
    src: url('../fonts/nunitosans_semibold.ttf');
}

@font-face{
    font-family: NunitoItalic;
    src: url('../fonts/NunitoSans-Italic.ttf');
}

@font-face{
    font-family: NunitoSans-Italic;
    src: url('../fonts/NunitoSans-Italic.ttf');
}

svg{
    font-family: NunitoLight;
}
/*LOADER*/

.loader-wrapper{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #f3f3f3;
    z-index: 1000;
}
  
.circle-wrap {
    margin: 150px auto;
    width: 130px;
    height: 130px;
    background: #fefcff;
    border-radius: 50%;
    border: 1px solid #cdcbd0;
  }
  
  .circle-wrap .circle .mask,
  .circle-wrap .circle .fill {
    width: 130px;
    height: 130px;
    position: absolute;
    border-radius: 50%;
  }
  
  .circle-wrap .circle .mask {
    clip: rect(0px, 130px, 130px, 65px);
  }
  
  .circle-wrap .inside-circle {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    background: #f3f3f3;
    line-height: 120px;
    text-align: center;
    margin-top: 4px;
    margin-left: 4px;
    color: #020202;
    position: absolute;
    z-index: 100;
    font-weight: 700;
    font-size: 2em;
  }
  
  .mask .fill {
    clip: rect(0px, 65px, 130px, 0px);
    background-color: #141414;
  }
  
  .mask.full,
  .circle .fill {
    animation: fill ease-in-out 2s;
    transform: rotate(0deg);
  }
  
  @keyframes fill{
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(180deg);
    }
  }
/* INFO */

.blackBack{
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.233);
    opacity: 0;
    transition: all 0.3s;
}

.info-wrapper{
    position: absolute;
    pointer-events: none;
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    top: 0;
    bottom: 0;
    margin-top: auto; 
    margin-bottom: auto;
    width: 640px;
    height: 520px;
    z-index: 100000;
    background-color: rgb(255, 255, 255);
    border-radius: 2px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.348667);
    opacity: 0;
    transition: all 0.3s;
}
@media only screen and (max-width: 640px) {
    .info-wrapper{ 
        width: 90%;
        height: 60%;
    }
}
@media only screen and (max-width: 400px) {
    .info-wrapper{ 
        width: 95%;
        height: fit-content;
    }
}

.info-texts-wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 20px 20px 20px 20px;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: space-between;
}

.top-info-texts-wrapper{
    width: 100%;
}

.times svg {
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    font-family: NunitoBold;
    font-size: 20px;    
}

.credits{    
    padding-top: 22px;
    font-size: 16px;
}

.copyright{
    font-size: 14px;
}

@media only screen and (max-width: 640px),(max-height: 640px) {
    .info-wrapper{ 
        width: 90%;
        height: fit-content;
    }
    .title{
        font-size: 18px;
    }
    .credits{    
        padding-top: 12px;
        font-size: 14px;
    }
    .copyright{
        padding-top: 5px;
        font-size: 12px;
    }
}
@media only screen and (max-width: 400px), (max-height: 400px) {
    .info-wrapper{ 
        width: 95%;
        height: fit-content;
    }
    .title{
        font-size: 16px;
    }
    .credits{    
        padding-top: 12px;
        font-size: 12px;
    }
    .copyright{
        padding-top: 5px;
        font-size: 10px;
    }
}

.wrapper {
    position: relative;
    display: inline-block;
    width: 1250px;
    height: 95vh;
    max-width: 100%;
    grid-auto-columns: 100%;
    background: rgb(255, 255, 255);
    text-align: left;
}

.interactiu {
    position: absolute;
    width: 100%;
    height: 100vh;
    float: left;
    background: rgb(255, 255, 255);}

.interactiu.active {
    opacity: 1;
    visibility: visible;
}

#next {
    position: absolute;
    bottom: 0;
    right: -70px;
    width: 50px;
    height: 40px;
    cursor: pointer;
    user-select: none;
}

  
/* fin INFO */


.wrapper {
    position: relative;
    display: inline-block;
    width: 1250px;
    height: 95vh;
    max-width: 100%;
    grid-auto-columns: 100%;
    background: rgb(255, 255, 255);
    text-align: left;
}

.interactiu {
    position: absolute;
    width: 100%;
    height: 100vh;
    float: left;
    background: rgb(255, 255, 255);}

.interactiu.active {
    opacity: 1;
    visibility: visible;
}

#next {
    position: absolute;
    bottom: 0;
    right: -70px;
    width: 50px;
    height: 40px;
    cursor: pointer;
    user-select: none;
}

  
/* INFO */

body{
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh !important;
}

.info-icon{
    width: 33%;
    background-color: white;
    border-radius: 50%;
    height: auto;
    cursor: pointer;
}
.info-icon:hover{
    outline: rgba(240, 255, 240, 0.568) 4px solid;
}

.wrapper{
    position: relative;
    width: 100%;
    height: 100%;
}

.wrapper:nth-child(2){
    background: rgba(255, 0, 0, 0.2);
}


/* ARQUITECTURA CENTRAL */

.interactiu-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-self: center;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    max-width: 100vw !important;
    max-height: 100vh !important;
    transform-origin: center;
    background-color: #cccccc;
}

.container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;      
    max-height: 100vh !important;
    max-width: 100vw !important;
    background-color: #cacaca;
}

/*---------HEADER----------*/
.header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 7% !important;
    font-family: NunitoBold;
    min-height: 7%;  
    background-color: var(--main-color);
    color: white;
    font-size: 1.5em;
}
@media screen and (max-width: 768px){
    .header{
        font-size: 1em;
    }
}


/*PARTE CENTRAL*/
.parte-central{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 100% !important;
    background-color: rgb(235, 235, 235);
}

.svg-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: white;
}

.central-svg{
    height: 100%;
    width: auto;
}

@media screen and (max-width: 768px){
    .btnOptionDiv{
        font-size: 0.8em;
    }
}


.ex-central-part{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 23%;
}



/*----------Footer----------*/

.footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10%;    
    background-color: var(--main-color);
}

.footer-left{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-left: 3%;
    height: 100%;
    width: 50%;
}

.logo{ /*logo casals*/
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.text-casals{
    margin-left: 2%;
    font-size: 1.5em;
    color: white;
    font-weight: bolder;
}

.footer-right{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding-right: 3%;
    height: 100%;
    width: 50%;
}
.icon-footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-left: 1%;
    height: 35px;
    width: 35px;
    background-color: #00000045;    
    cursor: pointer;
}

.info-icon-footer{    
    border-radius: 50%;
}

/*ESTILO PROPIO INTERACTIVO*/

.puntCalent{
    cursor: pointer;
    fill: var(--main-color);
    stroke: white;
    stroke-width: 0.5;
    /*filter: drop-shadow( 0px 0px 3px #ffffff);*/
}

.elementActive{
    filter: drop-shadow( 0px 0px 3px #ffffff);
    stroke: #fff !important;
    stroke-width: 2;
    stroke-opacity: 0.66;
}

.icon-back-arrow{
    position: absolute;
    top: 0;
    right: 0;
    
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 36px;
    max-height: 36px;
    cursor: pointer;   
    z-index: 50;
}

.title-area-big-img{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    font-family: NunitoBold;
    font-weight: bolder;
    font-size: 1.2em;
    padding-left: 3%;
    padding-top: 2%;
}

.svg-back-arrow{
    height: 100%;
    max-width: 20%;
}

.subpage{
    display: none;
    flex-direction: column;  
    align-items: center;
    justify-content: flex-start;  
    height: 100%;
    max-height: 84vh;
    width: 100%;
}

.descripcion{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.descOneImg{
    height: 30%;
}

.title-desc{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    font-family: NunitoBold;
    font-weight: bolder;
    font-size: 1.7em;
    width: fit-content;
    padding-top: 2%;
    padding-bottom: 4%;
}

.desc{
    height: 100%;
    width: 100%;
    font-size: 16px;
}

br {
    display: block;
    margin: 2% 0;
 }

.text-part{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    width: 48%;
}

.zona-animation{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
    width: 48%;
}

.img-part{
    height: 100%;
    width: 100%;
    object-fit:cover;
    object-position: center bottom;
    max-height: 91%;
}

.subpage-header{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 10%;
    width: 100%;
}

.backbtn{
    padding-left: 2%;
    cursor: pointer;
}

/* GALERÍA DE SÓLO 1 imagen */

.wrapper-one-imgs{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80%;
    max-height: 60%;
}

.element-one-imgs{
    width: 90%;
    height: 90%;
    object-fit: cover;
    filter: grayscale(0.9);
    cursor: pointer;
}

.element-one-imgs:hover{
    filter: grayscale(0);
}

/* GALERÍA DE SÓLO 2 IMÁGENES */

.wrapper-two-imgs{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 81%;
    height: 50%;
}

.box-two-imgs{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 49.5%;
    height: 100%;
}

.element-two-imgs{
    width: 100%;
    height: auto;
    max-height: 100%;
    filter: grayscale(0.9);
    cursor: pointer;
}

.element-two-imgs:hover{
    filter: grayscale(0);
}

/* IMAGEN AMPLIADA */

.big-img-wrapper{
    position: relative;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.arrows-img-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-height: 100%;
    width: 100%;
}

.bigimg-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-height: 100% !important;
}

.arrowBigImgLeft{
    position: relative;
    left: 0%;
    height: 100%;
}

.arrowBigImgRight{
    position: relative;
    right: 4%;
    height: 99.45%;
}

.bigImg{
    height: 100%;
    width: 98%;
    max-height: 76vh;
    object-fit: cover;    

}

.header-big-img{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 5%;
}

.title-big-img{
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: NunitoBold;
    padding-left: 1%;
    height: 100%;
    width: 50%;
    font-size: 1.3em;
}

.leyenda-big-img{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 97%;
    height: 5%;
    font-size: 1.2em;
}



/*---------*/

.svg-arrow{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    width: 50%;
    height: 100%;
    max-height: 100%;
    padding-right: 1%;
}

@media only screen and (max-width: 900px) {
    .title-big-img{
        font-size: 1.2em;
    }
    .leyenda-big-img{
        font-size: 1em;
    }
    .title-desc{
        font-size: 1.2em;
    }
    .desc{
        font-size: 1em;
    }
}
@media only screen and (max-width: 750px) {
    .title-big-img{
        font-size: 1em;
    }
    .leyenda-big-img{
        font-size: 0.8em;
    }
    .title-desc{
        font-size: 1em;
    }
    .desc{
        font-size: 0.8em;
    }
}
@media only screen and (max-width: 550px) {
    .title-big-img{
        font-size: 0.8em;
    }
    .leyenda-big-img{
        font-size: 0.6em;
    }
    .title-desc{
        font-size: 0.8em;
    }
    .desc{
        font-size: 0.6em;
    }
}


/*---svg---*/
.btn{
    cursor: pointer;
}
.inactive{
    fill: #b2b2b2 !important;
}
.btnActive{
    fill: var(--main-color) !important;
    stroke: #fff;
    stroke-width: 1px;
}
.activeText{
    fill: #fff !important;
}

.inactiveText{
    fill: rgb(123, 123, 123) !important;
}

.btnTextActive{
    fill: #fff !important;
}
.btnTextInactive{
    fill: #fff !important;
    stroke: #b2b2b2 !important;
    stroke-width: 1px !important;
}
/*
.arrowflecha{
    stroke: var(--main-color);
    stroke-width: 4px;
}
*/
/* ------ ESTILOS DE ELEMENTOS COMUNES A OTROS INTERACTIVOS:: ------ */

/*------------- BOTONES ------------*/
/*
.interactive-button{
    width: fit-content;
    height: fit-content;
    padding: 1%;
    font-size: 1em;
    font-weight: normal !important;
    color: white;
    background-color: #b1bf2f;
    border: none;
    border-radius: 5px;
    box-shadow: #999999;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}
.interactive-button:hover{ 
    background-color: #9ca82a;
}
*/

/* ------------ SCROLLBAR ------------ */
/*
.container-option-selected::-webkit-scrollbar {
    width: 10px;      
    margin-right: 20px;   
  }  
  .container-option-selected::-webkit-scrollbar-track {
    background: rgba(0, 255, 55, 0);   
  }  
  .container-option-selected::-webkit-scrollbar-thumb {
    background-color: #b1bf2f;   
    border-radius: 20px;        
  }
*/

/* ------------ RADIO BUTTON FORM ------------ */
/*
.container ul{
    list-style: none;
    margin: 0 0 0 20px;
    padding: 0;
    overflow: auto;
}
  
ul li{
    color: #5c5c5c;
    display: block;
    position: relative;
    float: left;
    width: 100%;
    height: fit-content;
}
  
ul li input[type=radio]{
    position: absolute;
    visibility: hidden;
}
  
ul li label{
    display: block;
    position: relative;
    padding: 0 0 0 30px;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.25s linear;
}
  
ul li:hover label{
    color: #363636;
}
  
ul li .check{
    display: block;
    position: absolute;
    border: 2px solid #b1bf2f;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    margin-top: 2.5px;
    z-index: 5;
    transition: border .25s linear;
    -webkit-transition: border .25s linear;
}
  
ul li:hover .check {
    border: 2px solid #b1bf2f;
}

ul li .check::before {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    content: '';
    border-radius: 100%;
    height: 10px;
    width: 10px;
    margin: 3px 0 0 3px;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}

input[type=radio]:checked ~ .check {
    border: 2px solid #b1bf2f;
}

input[type=radio]:checked ~ .check::before{
    background: #b1bf2f;
}

input[type=radio]:checked ~ label{
    color: #000000;
}
*/

.text-cat, .text-es, .text-en{
    display: none;
}

.fletxa{
    display: none;
}

.puntCalent2, .closeP{
    cursor: pointer;
}

.puntCalentActive{
    fill: #000 !important;
}