* {
    box-sizing: border-box;
}

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

a{
    text-decoration: none;
}

@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-ExtraLight;
    src: url('../fonts/nunitosans_extralight.ttf');
}

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

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

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


/*-info-*/

.black-background{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #00000062;
    z-index: 100;
}

.info-wrapper{
    display: none;
    position: absolute;
    top: 20vh;
    left: 25vw;
    width: 50vw;
    height: fit-content;
    max-height: 70vh !important;
    z-index: 100000;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}
@media screen and (max-width: 768px){
    .info-wrapper{
        top: 10vh;
        left: 5vw;
        width: 90vw;
    }
}

.info-texts-wrapper{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.times{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding-top: 1vw;
    padding-right: 1vw;
}

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

.title{
    padding-left: 3vw;
}

.copyright{
    padding: 3vw;
    text-align: justify;
    text-justify: inter-word;
}


.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: center;
    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: 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: rgb(177, 191, 47);  
    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: 83%;
    background-color: rgb(235, 235, 235);
    padding: 0.5%;
}

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

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

/* TAB OPCIÓN LIBRE / PRÁCTICA / PONTE A PRUEBA */

.optionDiv{
    display: flex;
    flex-direction: row;
    width: 100% !important;
    height: 7%;
    margin: 0 !important;
}

.btnOptionDiv{
    position: relative;
    background-color: rgb(255, 255, 255);
    font-size: 1em;
    font-weight: bold;
    padding-top:  1%;
    padding-bottom: 1%;
    width: 50%;
    height: 100%;
    border:  none;
    color: grey;
    border-bottom: rgba(177, 191, 47, 0) solid 3px;
}
@media screen and (max-width: 768px){
    .btnOptionDiv{
        font-size: 0.8em;
    }
}

.testdiv{
    background-color: #FEFFA3;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.activeBtnOption{
    border-bottom: rgb(177, 191, 47) solid 3px;
    color: black;
    padding-top: 1%;
}

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

.container-option-selected{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: white;   
    overflow-y: auto;
}

.selectedFree{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    max-height: 30%;
    height: fit-content;
}

.selectedTest{
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    height: fit-content;
}

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

.footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10%;    
    background-color: rgb(177, 191, 47);
}

.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: rgba(0, 0, 0, 0.6);    
    cursor: pointer;
}

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

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

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