
body {
    font-family: 'NunitoLight';
    font-weight: 400;
    text-align: center;
    margin: 0 !important;
    max-height: 100vh !important;
    max-width: 100vw !important;
}

input{
    padding: 0 0 0 2 !important;
    margin: 0 !important;
}

svg{
    height: 100%;
    width: 100%;
    cursor: pointer;
}


@font-face{
    font-family: NunitoBold;
    src: url('../fonts/nunitosans_bold.ttf');
}

@font-face{
    font-family: NunitoLight;
    src: url('../fonts/nunitosans_light.ttf');
}

@font-face{
    font-family: NunitoExtraLight;
    src: url('../fonts/nunitosans_extralight.ttf');
}


/* INFO */

.info-wrapper {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 100;
    opacity: 0;
    top: 0;
    left: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    color: #000000;
}
  
.text-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: rgb(255, 255, 255);
    width: 75%;
    height: fit-content;
    font-size: 20px;
    padding-top: 1%;
    padding-bottom: 1%;
}
@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .text-wrapper {
        font-size: 12px;
    }
  }

.title-editorial{
    text-align: left;
    width: 95%;
    padding-bottom: 1.5%;
    font-size: 30px;
    font-weight: bold;
}
@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .title-editorial {
        font-size: 20px;
        width: 85%;
        padding-top: 1%;
    }
  }

.text-copyright {    
    text-align: justify;
    width: 95%;
    padding-top: 0.5%;
    padding-bottom: 1.5%;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .text-copyright {
        width: 85%;
    }
  }

.credits-copyright {    
    text-align: left;
    width: 95%;
    height: fit-content;
    padding-bottom: 0.5%;
}
@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .credits-copyright {
        width: 85%;
    }
  }

.info-wrapper.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5) !important;
}

.close-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    height: fit-content;
    margin-right: 3%;
}

.times {
    width: auto;
    height: 100%;
    /*
    position: fixed;
    top: 25px;
    right: 25px;
    padding: 10px;
    */
    cursor: pointer;
    background: white;
    border-radius: 50px;
}
/*
@media only screen and (max-width: 768px) {
    .times {
        width: 20px;
        height: 20px;
        right: 10px;
        top: 10px;
    }
    .times > svg {
        position: absolute;
        width: 25px;
        height: 25px;
        top: 8px;
        right: 8px;
    }
  }*/
  
.wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    background-color: #858585 !important;
    width: 100vw;
    height: 100vh !important;
    max-height: 100vh !important;
}


.wrapper:nth-child(2){
    background: rgba(255, 0, 0, 0.2);
}



/* ARQUITECTURA CENTRAL */

.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100vw;
    max-width: 100vw !important;
    height: 100vh;
    max-height: 100vh !important;
    background: #fff;
}


/*----------Header---------*/

.header{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    justify-items: center;
    align-items: center;
    width: 100%;
    height: 6.3%;
    max-height: 6.3% !important;
    background-color: #E0AD09;
    color: #ffffff !important;
}

.title-interactiu{
    padding-left: 1%;
    font-family: NunitoBold;
    font-size: 1.6vw;
}

.title-top-left-smaller{
    font-size: 1.2vw;  
}

/*-------PARTE CENTRAL / VIDEO -------- */

.parte-central{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ebebeb;
    width: 100%;
    max-width: 100%;
    min-height: 87.4%;
    height: 87.4%;
    max-height: 87.4%;    
}

/*borrar?*/
.grad {
    position: absolute;
    bottom: 9.7%;
    width: 100%;
    height:  30%;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.452)) !important;
    z-index: 0;
    pointer-events:none;
}

.grad2 {
    position: absolute;
    bottom: 0%;
    width: 100%;
    height:  35%;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.452)) !important;
    z-index: 0;
    pointer-events:none;
}


.video-wrapper{
    height: 100%;
    width: 100%;
}

video{
    width: 100%;
    height: 100%;
}

/*Controles*/

.autoslideBtn{
    width: 6.2em !important;
    margin-right: 1em !important;
}

.infoBtn{
    margin-right: 1em !important;
}

.playProgressIcon{
    width: 5vw !important;
}

/*Autoslide texto*/
.autoslide-text{
    position: absolute;
    top: 82%;
    right: 5vw;
    font-size: 2em;
    height: fit-content;
    max-height: fit-content;
    width: fit-content;
    min-width: 20%;
    text-align: center;
    padding: 1%;
    align-items: center;
    background-color: #00000086;
    border-radius: 5px;
}
/*
@media only screen and (max-width: 600px) {
    .autoslide-text {
      top: 80%;
    }
  }
*/
/*FOOTER*/

.footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 6.3%;
    max-height: 6.3% !important;
    background-color:#e1af09;
    z-index: 10;
}

.casals-icon-footer{
    width: auto;
    height: 55.5%;
    margin-left: 1.7%;
}

.info-icon-footer{
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: auto;
    height: 55.5%;
    margin-right: 1.7%;
}

.svg-info-footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}
