/* 
    =========================
            GLOBALES 
    ========================
*/
:root {
    --danza: #155578;
    --inicio: #e3e2a3;
    --barraMenu: #2c6167;
    --barraRedes: #960547;
    --clasificacion: #155578;
    --grupoEtnicos: #834646;
    --indumentaria: #006C66;
    --clasificacionDanza: #2C2733;
    --musica: #3C2F44;
    --baile: #ffda66;
    --OrigenPre: #2C2733;
    --Libros: #F7CEC5;
    --Acervos: #2C6167;
    --publicaciones: #DFB531;
    --encuentro: #0000A0;

}

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background-image: url(../img/background.jpg);
}

/*  
    =======================
            MENU  
    =======================
*/



/**
  ----------------------------------------
            ANIMACIONES
  ----------------------------------------
 */
.tracking-in-expand {
    animation: tracking-in-expand 1.4s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.show {
    transform: translateY(0);
    opacity: 1;
}


.dropdown-menu {
    text-align: center !important;
    text-transform: capitalize !important;
    opacity: .7 !important;
}

.fondo-inicio {
    background-color: var(--inicio);
}

.fondo-danza {
    background-color: var(--danza);
}

.fondo-publicaciones {
    background-color: var(--publicaciones);
}

.fondo-baile {
    background-color: var(--baile);
}

.fondo-musica {
    background-color: var(--musica);
}

.fondo-indumentaria {
    background-color: var(--indumentaria);
}

.fondo-animales {
    background-color: var(--clasificacionDanza);
}

.fondo-artesanias {
    background-color: var(--grupoEtnicos);
}

.fondo-claDanza {
    background-color: var(--clasificacionDanza);
}

.fondo-Libros {
    background-color: var(--Libros);
}


.fondo-Encuentro {
    background-color: var(--encuentro);
}

.fondo-acervos {
    background-color: var(--Acervos);
}

#menu a {
    font-size: 1rem;
    font-weight: bold;
    color: black;
}

/*  
    =======================
        SLIDER DE IMAGENES  
    =======================
*/
.carousel-inner {
    max-height: 45rem;
}

/*  
    =======================
        TEXTO PRINCIPAL  
    =======================
*/

.lineUp {
    animation: 4s anim-lineUp ease-out infinite;
}

@keyframes anim-lineUp {
    0% {
        opacity: 0;
        transform: translateY(80%);
    }

    20% {
        opacity: 0;
    }

    50% {
        opacity: 1;
        transform: translateY(0%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

/*  
    =======================
        SECCION DE NUESTRO MAPA   
    =======================
*/
.mapa {
    background: url(../img/Mapa_Danza/Mapa_Danza.jpeg);
    width: 100%;
    height: 500px;
}

#local {
    background-color: white;
    padding-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.wrapper {
    width: 50%;
    margin-left: 100px;
    padding-top: 150px;
}

#inf-local div {
    padding: 0 20px 0 0;
    height: 48px;
}

#inf-local div:not(:last-child) {
    border-right: 2px solid #3f3f3f;
}

#inf-local div:not(:first-child) {
    padding-left: 20px;
}

#inf-local p {
    margin: 0;
}

/*  
    =======================
        FOOTER 
    =======================
*/


.barraRedes-footer {
    background: var(--barraRedes);

}

#iconos {
    width: 300px !important;
}

#footer {
    top: -230rem;
}

/*  
    =======================
        BOTONES 
    =======================
*/

.btn-close {
    color: white !important;
}

.btn-baile {
    background-color: var(--baile);
}

.btn-fondo {
    background-image: url(../img/background.jpg) !important;
}

/*  
    =======================
        MEDIA QUERIES PANTALLA  
    =======================
*/

@media (max-width: 768px) {
    #intro {
        width: 90% !important;
    }

    #img-footer {
        width: 90% !important;
    }

}

@media (max-width: 1200px) {
    #local {
        flex-wrap: wrap;
        padding-top: 30px;
    }

}

/*  
    =======================
        VENTANA INICIO  
    =======================
*/

.popup {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .3);
    display: grid;
    place-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 200ms ease-in-out opacity;
}
.popup-content {
    width: clamp(340px, 90vw, 600px);
    background-color: var(--inicio);
    padding: clamp(1.5rem, 100vw, 3rem);
    box-shadow: 0 0 .5em rgba(0, 0, 0, .5);
    border-radius: .5em;
    opacity: 0;
    transform: translateY(20%);
    transition: 200ms ease-in-out opacity,
                200ms ease-in-out transform;
    position: relative;
}
.popup h1 {
    position: absolute;
    top: 2rem;
    right: 2rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}
.popup h1:active {
    transform: scale(.9);
}

.showPopup {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.imagen-ventana {
    max-width: 100%;
}
