* {
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #000000;
    /* padding: 90px 20px 0; */
}

/* Header */

.header {
    /* background-color: black; */
    /* background: none; */
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    /* border-bottom: 1px solid #1a1a1a; */
}

/*Opciones header scroll*/

.header-scroll-top {
    background: none;

}

.header-scroll-down {
    display: none;

}

.header-scroll-up {
    background-color: #000000;
    display: block;
}

.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.nav {
    display: flex;
    justify-content: space-between;
    max-width: 992px;
    margin: 0 auto;
}

.nav-link {
    color: white;
    text-decoration: none;
}

.nav-link-active {
    color: #e81281;
    text-decoration: none;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    padding: 0 40px;
    line-height: 100px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    margin-right: 40px;
    list-style: none;
}

.nav-menu-item {
    font-size: 18px;
    margin: 0 10px;
    line-height: 80px;
    text-transform: uppercase;
    width: max-content;
    font-weight: bold;
}

.nav-menu-link {
    padding: 8px 12px;
}

.nav-menu-link:hover,
.nav-menu-link_active {
    font-size: 25px;
    background: none;
}

.nav-toggle {
    color: white;
    background: none;
    border: none;
    font-size: 30px;
    padding: 0 20px;
    line-height: 60px;
    cursor: pointer;

    display: none;
}

.nav-language {
    line-height: 100px;
    position: absolute;
    right: 0;
}

.nav-language img {
    height: 80px;
    width: auto;
}

/* Slide Video */

.slide-presentation {
    /* position: relative; */
    height: 100vh;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container video {
    position: relative;
    top: 50%;
    left: 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

/* latest news, Singles */

.latest-news {
    background-color: #000000;
    width: 100%;
}

.container-news {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.section-title {
    color: white;
    font-size: 50px;
    margin: 0.33em 0;
}

.latest-news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;

}

.latest-new-card {
    width: calc((100% / 4) - 2%);
    margin: 10px;

}

.latest-new-card img {
    max-width: 100%;
    height: auto;
}

.action-play-index {
    position: relative;
}

.btn-play-index {
    width: 80px;
    height: auto;
    position: absolute;
    cursor: pointer;
    left: 0;
    right: 0;
    margin: 33% auto;
    z-index: 1;
}

.cover-image-index img {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    z-index: 0;
}

.sub-news {
    color: white;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 8px;
}

.text-news {
    color: white;
    text-align: justify;
}

.link-news {
    text-decoration: none;
}

/* Slide

.slide {
    background-color: #000000;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    margin-bottom: 50px;

}

.slide-container {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.slide-container img {
    max-width: 100%;
    object-fit: cover;
} */

/* Social section */

.social-media {
    width: 100%;
    margin: 50px 0;
    text-align: center;
}

.social-container {
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.social-item {
    padding: 10px;
}


/*Footer*/

.footer {
    width: 100%;
}

.footer hr {
    margin-bottom: 30px;
    border: 1px solid white;
}

.footer-content {
    display: flex;
    width: 100%;
    max-width: 1200px;
    justify-content: space-between;
    margin: 0 auto;
}

.footer-item {
    /* background-color: purple; */
    width: calc(100% / 3);
    margin: 10px;
}

.footer-item h3 {
    color: white;
    font-size: 25px;
}

.footer-data ul {
    list-style: none;
    padding: 0;
}

.footer-data ul li {
    color: white;
    font-size: 18px;
    margin: 10px 0;
    padding: 8px 0;
}

.footer-map ul {
    list-style: none;
    padding: 0;
}

.footer-map ul li {
    font-size: 18px;
    margin: 10px 0;
    padding: 3px 0;
}

.footer-map ul li a {
    color: white;
    text-decoration: none;
    font-weight: normal;
}

.footer-map ul li a:hover {
    font-size: 22px;
}


.footer-subscribe span {
    margin-top: 10px;
    color: white;
    line-height: 25px;
    display: block;
    white-space: nowrap;
    /*text-align: justify;*/
}

.input-group-footer {
    display: flex;
    margin-top: 10px;
}

.input-subs {
    border-radius: 2rem 0rem 0rem 2rem;
    border: 0;
    padding: 10px 10px 10px 20px;
}

.input-subs:focus {
    outline: none;
}

.btn-subs {
    border-radius: 0rem 2rem 2rem 0rem;
    border: 0;
    cursor: pointer;
    background-color: #e81281;
    color: black;
    font-weight: bold;
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-legend {
    color: white;
    font-size: 12px;
    text-align: center;
    padding-bottom: 20px;
}

.footer-legend a {
    color: white;
    text-decoration: none;
}

.footer-legend a:hover {
    color: #e81281;
}

.terminos {
    color: #e81281;
    text-decoration: none;
}

/*Modal*/
.modal-sub {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-contenido-sub {
    background-color: #000000;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #e81281;
    max-width: 400px;
    text-align: center;
    line-height: 2.5;
    color: #ffffff;
}

.cerrar-sub {
    border: 0px;
    background-color: #e81281;
    color: #000;
    font-size: 15px;
    font-weight: bold;
    padding: 5px 10px;
    box-sizing: border-box;
}

.cerrar-sub:hover,
.cerrar-sub:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.mas-cookies {
    text-decoration: none;
    color: #e81281;
}

.cookie-message {
    width: 100%;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    left: 50%;
    padding: 5px 10px;
    transform: translateX(-50%);
    background-color: black;
    color: #fff;
    text-align: center;
    z-index: 10000;
}

.cookie-message a {
    color: #e81281;
    text-decoration: underline;
    margin-left: 5px;
}

.btn-cookies {
    text-align: center;
    padding-bottom: 10px;
}

.cookie-message button {
    background-color: #e81281;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
}

.cookie-message button:hover {
    background-color: #e81281;
}

/*Media Screen for Mobile*/
@media (max-width: 768px) {


    /* Header */

    .header {
        height: 60px;
        /* border-bottom: 1px solid #1a1a1a; */
        /* z-index: 1; */
        /* background-color: blueviolet; */
    }

    .nav {
        height: 60px;
    }

    .logo {
        font-size: 25px;
        padding: 0 20px;
        line-height: 80px;
    }

    .logo img {
        height: 40px;
        width: auto;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
        background-color: #000000;
        TODO: cambiar a negro;
        position: fixed;
        left: 0;
        top: 60px;
        width: 0;
        padding: 20px 0;

        height: calc(100% - 60px);
        overflow-y: auto;

        /* left: 100%; */
        /* transition: right 0.3s; */
        transition: 0.5s;
    }

    .nav-menu-item {
        line-height: 70px;
    }

    .nav-menu-link:hover,
    .nav-menu-link_active {
        font-size: 25px;
        background: none;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
        margin-right: 60px;
    }

    .nav-menu_visible {
        /* left: 0; */
        width: 50%;
    }

    .nav-language {
        line-height: 70px;
    }

    .nav-language img {
        height: 70px;
        width: auto;
    }

    /* latest news */

    .latest-news {
        margin-top: -60px;
    }

    .container-news {
        max-width: 650px;
        margin: 0 auto;
        padding: 10px;
    }

    .section-title {
        color: white;
        font-size: 40px;
    }

    .latest-news-container {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;

    }

    .latest-new-card {
        width: calc((100% / 2) - 6%);
    }

    .latest-new-card img {
        max-width: 100%;
        height: auto;
    }

    .btn-play-index {
        width: 60px;
        margin: 30% auto;
    }

    .sub-news {
        color: white;
        font-weight: bold;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .text-news {
        color: white;
        text-align: justify;
    }

    /* Social section */

    .social-container {
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: auto;
    }

    .img-item {
        width: 60px;
        height: auto;

    }

    /*Footer*/

    .footer {
        width: 100%;
        padding: 0px;
        margin: 0px;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .footer hr {
        margin-bottom: 30px;
        border: 0;
        border-bottom: 1px solid white;
    }

    .footer-item {
        /* background-color: purple; */
        width: 90%;
    }

    .footer-item h3 {
        color: white;
        font-size: 25px;
    }

    .footer-data ul {
        list-style: none;
        padding: 0;
    }

    .footer-data ul li {
        color: white;
        font-size: 18px;
        margin: 10px 0;
        padding: 8px 0;
    }

    .footer-map ul {
        list-style: none;
        padding: 0;
    }

    .footer-map ul li {
        font-size: 18px;
        margin: 10px 0;
        padding: 3px 0;
    }

    .footer-map ul li a {
        color: white;
        text-decoration: none;
        font-weight: normal;
    }

    .footer-map ul li a:hover {
        font-size: 22px;
    }

    .logo-footer {
        width: 150px;
        height: auto;
    }


    .footer-subscribe span {
        font-size: 13px;
        margin-top: 10px;
        color: white;
        line-height: 25px;
        display: block;
        text-align: justify;
        white-space: nowrap;
    }

    .input-group-footer {
        display: flex;
        margin-top: 10px;
    }

    .input-subs {
        border-radius: 2rem 0rem 0rem 2rem;
        border: 0;
        padding: 10px 0px 10px 20px;
        width: 100%;
    }

    .btn-subs {
        border-radius: 0rem 2rem 2rem 0rem;
        border: 0;
        cursor: pointer;
        background-color: #e81281;
        color: black;
        font-weight: bold;
        padding: 10px;
        font-size: 14px;
        text-transform: uppercase;
    }

    .footer-legend {
        text-align: center;
        padding: 20px;
    }

    .cookie-message {
        font-size: 12px;
    }

    .cookie-message h2 {
        font-size: 14px;
    }




}

/* Modern cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #e81281;
    color: #fff;
    max-width: 600px;
    width: 90%;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(232, 18, 129, 0.2);
    z-index: 10000;
    text-align: center;
    animation: slideUp 0.8s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 100%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-banner h2 {
    font-size: 20px;
    color: #e81281;
    margin-bottom: 10px;
}

.cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}

.cookie-banner a.mas-cookies {
    color: #e81281;
    text-decoration: underline;
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    background-color: #e81281;
    color: black;
    border: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background-color: #fff;
    color: #e81281;
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 10px;
        padding: 15px;
        border-radius: 10px;
    }

    .cookie-banner h2 {
        font-size: 16px;
    }

    .cookie-banner p {
        font-size: 12px;
    }

    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Spinner de carga */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 100%;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #e81281;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}