* {
    box-sizing: border-box;
}

body {
  margin: 0;
  background: #999999;
  font-family:  NunitoSans-Light;
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  max-height: 100vh !important;
  max-width: 100vw !important;
  
}

a{
    text-decoration: none;
}

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

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

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

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

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

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

@font-face{
    font-family: NunitoSans-SemiBold;
    font-weight: 600;
    src: url('../fonts/nunitosans_semibold.ttf');
}

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

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


.container{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 83%;
  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%;  
    background-color: var(--main-color);
    color: white;
    font-size: 1.7em;
}
@media screen and (max-width: 768px){
    .header{
        font-size: 1em;
    }
}


/*----------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: 45%;
    width: 7%;
    background-color: rgba(0, 0, 0, 0.2);    
    cursor: pointer;
}

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

.btn{
    cursor: pointer;
}

/*PARTE CENTRAL*/
.parte-central{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 83%;
    background-color: #fff;
}

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

.btn, .mainBtn, .closeBtn{
    cursor: pointer;
}

.textPart{
    opacity: 0;
}

svg{
    font-size: 13px;
}


.footer-info{
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    right: 10px;
  }
  
    
  /*-info-*/
  
  .blackBack{
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.233);
    opacity: 0;
    transition: all 0.3s;
  }
  
  .info-wrapper{
    pointer-events: none;
    position: absolute;
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    top: 0;
    bottom: 0;
    margin-top: auto; 
    margin-bottom: auto;
    width: 95%;
    height: 95%;
    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;
  }
  
  .info-texts-wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 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: NunitoSans-SemiBold;
    font-size: 20px;    
  }
  
  .bolder{
    font-weight: 700;
  }
  .credits{    
    padding-top: 22px;
    font-size: 16px;
  }
  
  .copyright{
    font-size: 11px;
  }
  
  .closep, .zona{
    cursor: pointer;
  }

  .imgorg{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .inactiveCellPart{
    opacity: 0.6;
    filter: grayscale(1);
  }
  
  
  /*FIN INFO*/

  
/*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);
  }
}

/*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);
  }
}

.points-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.point{
  width: 4px;
  height: 4px;
  background-color: var(--main-color);
  margin-right: 4px;
  margin-top: 4px;
  border-radius: 50%;
}

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