@font-face {
    font-family: 'Europa';
    src: url('../fonts/europa_regular-webfont.woff2') format('woff2'),
        url('../fonts/europa_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'Europa';
    src: url('../fonts/europa-bold-webfont.woff2') format('woff2'),
        url('../fonts/europa-bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}


/********************** GENERAL **********************/

* {
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    min-width: 300px;
    color: black;
    font-family: 'Europa', Arial, sans-serif;
    font-size: 17px;
    --turquesa: #00DEC4;
    --amarillo: #F5DC00;
    --morado: #6C2BFA;
    --rosa: #FA67D0;
}

body::-webkit-scrollbar,
section::-webkit-scrollbar {
    display: none;
}

body,
section {
    overflow: -moz-scrollbars-none;
}

body,
section {
    -ms-overflow-style: none;
}

video:focus {
    outline: none;
}

a {
    text-decoration: none;
    color: black;
}

::-moz-selection {
    color: white;
    background: black;
    -webkit-text-stroke-width: 0px;
}

::selection {
    color: white;
    background: black;
    -webkit-text-stroke-width: 0px;
}

body {
    min-width: 300px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.siteContainer {
    width: 90%;
    max-width: 1400px;
    margin: auto auto;
    display: flex;
    flex-direction: column;
}

p {
    line-height: 1.5;
}

h1 {
    font-size: 34px;
    margin-bottom: 20px;
    display: none;
    font-weight: bold;
}


/********************** COOKIES **********************/

#cajacookies {
    background-color: var(--amarillo);
    color: black;
    font-family: 'Europa', Arial, sans-serif;
    padding: 10px;
    margin-bottom: 0px;
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 9999;
    border-top: 2px solid black;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    opacity: 0;
    -webkit-animation: appear 0.3s 0.3s forwards;
    animation: appear 0.3s 0.3s forwards;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

@-webkit-keyframes appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#cajacookies p {
    padding: 10px 40px;
    width: 80%;
}

#cajacookies span {
    white-space: nowrap;
}

#cajacookies a {
    text-decoration: underline;
    transition: 0.2s;
}

#cajacookies a:hover {
    opacity: 0.5;
}

#cajacookies button {
    color: black;
    border-color: black;
    padding: 10px 20px;
    margin-right: 40px;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    font-family: 'Europa', Arial, sans-serif;
    font-size: 0.9rem;
    background-color: var(--amarillo);
    -webkit-transition: 0.2s;
    transition: 0.3s;
    cursor: pointer;
}

.dark #cajacookies button {
    color: white;
    border-color: white;
    background-color: black;
}

#cajacookies button:hover {
    background-color: black;
    color: white;
}



/********************** TOP BAR **********************/

.topBar {
    width: 100%;
    height: 90px;
    margin: auto;
    margin-top: 48px;
    z-index: 999;
    min-width: 300px;
}

.logo {
    float: left;
    width: 180px;
    position: relative;
}

.logoImage {
    width: 100%;
    filter: brightness(1.2);
    transform: translateX(-14px) translateY(-16px);
}

.logoOver {
    position: absolute;
    top: 0;
    opacity: 0;
}

.navbar {
    float: right;
}

.menu {
    list-style: none;
    height: 30px;
}

.menu li {
    display: inline-block;
    margin-left: 24px;
    opacity: 0.5;
    transition: opacity 0.2s;
    padding-bottom: 2px;
    cursor: pointer;
}

.mobileMenu li {
    opacity: 0.5;
    transition: opacity 0.2s;
}

.menu li.active,
.languageSelector span.active,
.mobileMenu li.active {
    opacity: 1;
    border-bottom: 2px solid black;
}

.menu li.active a,
.mobileMenu li.active a {
    opacity: 1;
}

#item6, #mobileItem6{
    opacity: 1;
}

.slash{
    opacity: 0.6;
}

.mobileMenu .slash {
    margin: 0 6px;
}

.menu li:hover,
.menu li:hover a,
.mobileMenu li:hover,
.mobileMenu li:hover a {
    opacity: 1;
}

.languageSelector a {
    opacity: 0.6 !important;
    cursor: pointer;
    transition: 0.2s;
}

.languageSelector a:hover{
    opacity: 1 !important;
}

.languageSelector span{
    padding-bottom: 2px;
}

#menuMobile {
    cursor: pointer;
    height: 30px;
    display: none;
    opacity: 1;
}

#menuMobile i {
    top: 50%;
}

.gg-menu-right,
.gg-menu-right::after,
.gg-menu-right::before {
    width: 28px !important;
    background: black !important;
    transition: width 0.2s;
}

.gg-menu-right::after,
.gg-menu-right::before {
    top: -8px !important;
    width: 18px !important;
}

.gg-menu-right::after {
    top: 8px !important;
    width: 24px !important;
    transition-delay: 0.1s;
}

#menuMobile:hover .gg-menu-right,
#menuMobile:hover .gg-menu-right::after,
#menuMobile:hover .gg-menu-right::before {
    width: 30px !important;
    background: gray !important;
}


/********************** MENU MÓVILES **********************/

.mobileNavbar {
    width: 100%;
    height: 100vh;
    position: fixed;
    right: 0;
    z-index: 999;
    visibility: hidden;
    pointer-events: none;
}

.mobileNavbar.active {
    visibility: visible;
    pointer-events: all;
}

.closeMobileMenu {
    width: 100%;
    height: 100%;
    background-color: transparent;
    opacity: 0.8;
    position: absolute;
    cursor: pointer;
    transition: 0.3s;
}

.mobileNavbar.active .closeMobileMenu {
    background-color: var(--turquesa);
    backdrop-filter: blur(2px);
}

.mobileMenu {
    width: 0vw;
    height: 100vh;
    position: absolute;
    right: 0;
    background-color: white;
    overflow: hidden;
    transition: 0.3s;
}

.mobileNavbar.active .mobileMenu {
    width: 300px;
}

.mobileMenu ul {
    width: 240px;
    padding: 100px 60px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    list-style: none;
    font-size: 24px;
    font-weight: bold;
}

.mobileMenu ul li {
    margin-bottom: 50px;
}



/********************** CONTENIDO **********************/

.content {
    width: 100%;
}

.apartados {
    width: 100%;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 101;
}

.apartados .apartadoButtons {
    width: 100%;
    height: 80px;
    display: flex;
}

.apartados .apartado {
    width: 50%;
    color: black;
    display: flex;
    align-items: center;
    transition: 0.2s;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
}

.apartados .apartado:hover {
    opacity: 0.6;
}

.apartados .apartado.active {
    opacity: 1 !important;
}

.apartados i {
    width: 34px;
    height: 34px;
    margin-left: 8px;
}

.apartados i::after {
    width: 18px;
    height: 18px;
}

.progressBar {
    background-color: lightgray;
    height: 2px;
    width: 100%;
}

.barFill {
    height: 100%;
    width: 100%;
    background-color: black;
    transition: 0.5s;
}

.title {
    font-weight: bold;
    font-size: 34px;
    float: left;
    display: flex;
    align-items: center;
    height: 100%;
}

.arrows,
.filter {
    float: right;
    display: flex;
    align-items: center;
    height: 100%;
    font-weight: bold;
}

.arrows div {
    float: right;
    width: 25px;
    height: 35px;
    margin-left: 15px;
    cursor: pointer;
    color: black;
    transition: 0.2s;
    opacity: 0.25;
}

.arrows div:hover {
    opacity: 1;
}

.arrowLeft {
    pointer-events: none;
}

.arrows i,
.arrows i::after {
    height: 20px;
    width: 20px;
    float: right;
}

.filter {
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    z-index: 9;
}

.filter.marcado {
    color: var(--turquesa);
}

.filter:hover {
    color: gray;
}

.filter i {
    width: 38px;
    height: 38px;
    margin-left: 8px;
}

.filter i::after {
    width: 18px;
    height: 18px;
}

.filter ul {
    list-style: none;
    background: white;
    position: absolute;
    width: 260px;
    text-align: right;
    right: 0;
    top: 100%;
    opacity: 0;
    pointer-events: none;
}

.filter.active ul {
    opacity: 1;
    pointer-events: all;
}

.filter ul li {
    padding: 10px 20px;
    color: black;
    transition: 0.2s;
}

.filter ul li:hover {
    opacity: 0.6;
}

.filter ul li.active {
    color: var(--turquesa);
}

.videoBox,
.imageBox {
    width: 100%;
    height: 0;
    display: flex;
    justify-content: center;
    background-color: black;
    background-size: cover;
    background-position: center;
    transition: 0.2s;
    cursor: pointer;
    border-radius: 8px;
    padding-top: 56.25%;
    position: relative;
}

.imageBox {
    padding-top: 70%;
}

.videoBox:hover,
.imageBox:hover {
    opacity: 0.6;
}

.videoTitle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 75%;
    text-align: left;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.3;
}

.gg-play-button-o {
    color: white;
    position: absolute !important;
    bottom: 15px;
    right: 15px;
    width: 30px !important;
    height: 30px !important;
    transform: scale(2);
}

.gg-play-button-o::before {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 0;
    height: 9px !important;
    border-top: 6px solid transparent !important;
    border-bottom: 6px solid transparent !important;
    border-left: 10px solid !important;
    top: 7px !important;
    left: 9px !important;
}

.gg-play-button-o.black {
    filter: none;
    color: black;
}

.numPage {
    font-size: 18px;
    text-align: right;
}

.moreButton {
    border: 2px solid var(--morado);
    text-align: center;
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--morado);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.2s;
    cursor: pointer;
}

.moreButton:hover {
    background-color: var(--morado);
    color: white;
}


/* VIDEO */

.video {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition: 0.6s;
    transition: 0.6s;
}

.fullscreen .video {
    visibility: visible;
    opacity: 1;
    background-color: black;
}

.video video {
    display: none;
}

.fullscreen .video video {
    display: block;
    width: 100%;
    max-width: 1200px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    max-height: 100vh;
}

video::-webkit-media-controls-fullscreen-button {
    display: none;
}

.video i {
    color: white;
    position: absolute;
    top: 20px;
    right: 25px;
    -webkit-transition: 0.3s;
    transition: 0.2s;
    cursor: pointer;
}

.gg-close::after,
.gg-close::before {
    width: 25px !important;
}

.video i:hover {
    opacity: 0.6;
}


/********************** MEDIA QUERIES **********************/

@media (max-width: 1100px) {

    .videoTitle {
        font-size: 22px;
        line-height: 1.3;
    }

    html {
        font-size: 17px;
    }
}

@media (max-width: 1024px) {
    .menu li {
        display: none;
    }

    h1 {
        display: block;
    }

    #menuMobile {
        display: inline-block;
    }

    .arrows div {
        color: black;
        opacity: 1;
    }

    .videoTitle {
        font-size: 20px;
    }

    .topBar {
        margin-top: 34px;
    }

    .logoImage {
        transform: translateX(-12px) translateY(-14px);
    }
    
    #cajacookies {
        padding: 5px;
    }

    #cajacookies p {
        padding-left: 30px;
    }

    #cajacookies button {
        margin-right: 30px;
        border: 2px solid black;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 16px;
    }

    .videoTitle {
        font-size: 17px;
    }

    .title,
    h1 {
        font-size: 32px;
    }

    .numPage {
        font-size: 16px;
    }

    .topBar {
        margin-top: 34px;
    }

    .logoImage {
        width: 160px;
        transform: translateX(-10px) translateY(-12px);
    }
}

@media (max-width: 656px) {

    .apartados .apartadoButtons {
        height: 80px;
    }

    .apartados .apartado {
        justify-content: center;
        opacity: 0.3 !important;
        border-bottom: 2px solid black;
    }

    .apartados .apartado.active {
        opacity: 1 !important;
    }

    .apartados .apartado i,
    .apartados .progressBar {
        display: none;
    }

    .videoTitle {
        font-size: 24px;
        line-height: 1.2;
    }

    .title,
    h1 {
        font-size: 34px;
        transition: opacity 0.2s;
    }

    html {
        font-size: 20px;
    }

    .moreButton {
        padding: 15px 30px;
        font-size: 16px;
    }

    .numPage,
    .arrows {
        display: none;
    }

    .gg-play-button-o {
        transform: scale(1.3) !important;
        right: 25px;
        bottom: 25px;
    }

    .gg-close {
        transform: scale(1.2) !important;
    }

    .filter ul {
        width: 250px;
        text-align: center;
        border: 2px solid black;
    }

    .topBar {
        margin-top: 30px;
        height: 75px;
    }

    .filter ul li {
        padding: 25px 30px;
    }

    .video i {
        top: 25px;
        right: 30px;
    }

    .imageBox {
        padding-top: 56.25%;
    }

    .logoImage {
        width: 130px;
        transform: translateX(-10px) translateY(-12px);
    }
    
    #cajacookies p {
        font-size: 0.85rem;
        padding-left: 20px;
    }

    #cajacookies button {
        margin-right: 20px;
    }
}

@media (max-width: 440px) {

    .apartados .apartado {
        font-size: 17px;
    }

    .apartados .apartadoButtons {
        height: 60px;
    }

    html {
        font-size: 17px;
    }

    p {
        line-height: 1.6;
    }

    .videoTitle {
        font-size: 16px;
        line-height: 1.4;
    }

    .title,
    h1 {
        font-size: 28px;
    }

    .moreButton {
        padding: 12px 24px;
        font-size: 13px;
    }

    .gg-play-button-o {
        transform: scale(1) !important;
        right: 15px;
        bottom: 15px;
    }

    .gg-close {
        transform: scale(1) !important;
    }

    .topBar {
        margin-top: 15px;
        height: 55px;
    }

    .filter {
        font-size: 15px;
    }

    .filter ul {
        width: 220px;
    }

    .filter ul li {
        padding: 25px 30px;
        font-size: 17px;
    }

    .filter i {
        transform: scale(0.7);
        margin: 0;
    }

    .logoImage {
        width: 130px;
        transform: translateX(-10px) translateY(-12px);
    }

    .mobileNavbar.active .mobileMenu {
        width: 300px;
        max-width: 75vw;
    }

    .mobileMenu ul {
        width: 240px;
        max-width: 65vw;
        min-width: 180px;
        padding: 60px 60px 0 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        list-style: none;
        font-size: 22px;
        font-weight: bold;
    }

    .mobileMenu p {
        font-size: 22px !important;
    }

    .mobileMenu ul li {
        margin-bottom: 45px;
    }
    
    #cajacookies p {
        padding-right: 10px;
    }

    #cajacookies button {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 320px) {

    p,
    .apartados .apartado {
        font-size: 15px;
    }

    .moreButton {
        padding: 10px 20px;
        font-size: 12px;
    }

}
