@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

:root {
    --off-white: #F1F6F9;
    --black: #212A3E;
    --blue-weight: #394867;
    --grey: #9BA4B5;
    --just-white: #fff;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background-color: var(--off-white);
}

/* header */

#header-nav {
    background: var(--grey);
}

#menu {
    padding-top: 20px;
    background: var(--just-white) !important;
}

#menu a {
    font-size: 18px;
    /* font-weight: bold; */
    color: var(--grey);
}

#menu button {
    font-size: 18px;
    font-weight: bold;
}

#ul-background {
    background: var(--black)
}

#ul-background a:hover {
    color: var(--black);
    background: var(--orange);
    border-radius: 50px;
}

#menu a:hover {
    color: var(--blue-weight);
    border-bottom: 2px solid var(--blue-weight);
}



#menu li:hover {
    background: var(--black);
    border-radius: 50px;
}

#menu li {
    transition: .3s;
}

#menu button {
    font-size: 18px;
    font-weight: bold;
}

#ul-background {
    background: var(--red);
}

#ul-background a:hover {
    color: var(--just-white);
    background: var(--orange);
    border-radius: 50px;
}

#menu li:hover {
    background: var(--orange);
    border-radius: 50px;
}

#flags {
    display: flex;
    width: 75px;
    justify-content: space-between;
}

#flags img {
    display: block;
    cursor: pointer;
}

.language-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 70px;
  }
  
  .selected-language {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
  }
  
  .language-text {
    margin-left: 5px;
  }
  
  .language-options {
    display: none;
    position: absolute;
    background-color: var(--red);
    min-width: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 20px;
  }
  
  .language-options div {
    cursor: pointer;
    margin-bottom: 5px;
  }
  
  .language-options div:last-child {
    margin-bottom: 0;
  }
  
  .language-options img {
    margin-right: 5px;
  }
  
  .language-options.show {
    display: block;
  }

/* Mapa */


.mapa {
    width: 100%;
    /* height: 500px; */
    height: 100%    ;
    padding-top: 20px;  
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 4px 4px 8px 4px rgba(0, 0, 0, 0.16);
    /* padding-left: 20px;
    padding-right: 20px; */
    background-color: var(--just-white);
}

#mapa-titulo {
    margin-bottom: 30px;
}

#mapa-titulo h2 {
    padding-top: 15px;
}

#mapa-museo {
    width: 90%;
    height: 300px;
    margin: 0 auto;
    margin-bottom: 30px;
}

#mapa-museo-map {
    border-radius: 50px;
}

#local {
    padding-bottom: 100px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Horario atención y contacto*/

.wrapper {
    width: 90%;
    height: 100%;
    margin-left: 20px;
    margin-right: 20px;
}

#contacto-card {
    background-color: var(--just-white);
    border-radius: 15px;
    box-shadow: 4px 4px 8px 4px rgba(0, 0, 0, 0.16);
    padding-top: 20px;
}

#img-card {
    padding-bottom: 10px;
}

#img-card h2 {
    padding-top: 5px;
    padding-left: 5px;
}

#num-email {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
}

#horario-atencion {
    background-color: var(--just-white);
    margin-top: 20px;
    width: 100%;
    /* height: 100%; */
    padding-top: 20px;
    border-radius: 15px;
    padding-bottom: 16px;
    box-shadow: 4px 4px 8px 4px rgba(0, 0, 0, 0.16);
}

#titulo-horario {
    margin-bottom: 20px;
}

#titulo-horario h2 {
    padding-top: 5px;
    padding-left: 5px;
}

#horario-atencion div {
    padding: 0 20px 0 0;
    height: 48px;
}

#horario-atencion div:not(:first-child) {
    padding-left: 20px;
}

#horario-atencion p {
    margin:0;
}

.color-fuente {
    color: var(--weight-red);
}

/* Footer */

.footer-pag-principal {
    background-color: #212A3E;
    color: var(--off-white);
  }
  
  .footer-pag {
    position: relative;
    background-image: url(../../assets/images/footer.jpg);
    background-size: cover;
    background-position: center;
  }
  
  .footer-pag::before {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
  }
  
  .contact-footer {
    border-bottom: 2px solid var(--off-white);
  display: inline-block; /* Asegura que el ancho del elemento se ajuste al contenido */
  padding-bottom: 4px; /* Añade un pequeño espacio entre el texto y la línea */
  }

/* Media queries*/

@media (max-width: 1200px) {
    #local {
        flex-wrap: wrap;
        padding-top: 30px;
    }
    .wrapper {
        display: flex;
        justify-content: space-between;
        width: 90%;
        margin: auto;
        padding-top: 50px;
    }
    #contacto-card {
        margin-right: 20px;
    }
    #horario-atencion {
        margin-top: 0px;
        padding-bottom: 30px;
    }
    #img-p-footer {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        margin-left: 0px;

    }
}

@media (max-width: 1080px) {
    #intro-titulo {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 990px) {
    #intro-titulo1 {
        width: 100%;
    }
    #intro {
        background: rgb(186,186,186);
        background: linear-gradient(180deg, rgba(186,186,186,1) 12%, rgba(32,30,28,1) 63%);
    }
    #intro h1 {
        padding-top: 10px !important;
    }
    #intro img {
        width: 200px;
        height: 200px;
    }
    .red-web{
        display: none;
    }
}

@media (max-width:768px) {
    .carousel-inner .carousel-item img {
        width: 100%;
    }
    #servicio-secion {
        flex-wrap: wrap;
        justify-content: center !important;
    }
    #intro-titulo {
        margin-right: 20px !important;
        margin-top: 30px;
    }
    .servicio-fila {
        width: 100% !important;
    }
    #logos-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center !important;
        text-align: center;
    }
    #contenedor-footer {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    #img-p-footer {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap;
        text-align: center !important;
    }
    .logimg img{
        display: inline-block;
        max-width: 100%;
        height: auto;
    }
    #footer-img {
        max-height: 200px;
    }
}

@media (max-width:700px) {
    .wrapper {
        display: inline-block !important;
        margin-left: 20px;
    }
    #horario-atencion {
        margin-top: 30px;
    }
    .logimg{
        display: block;
        margin: auto;
        max-width: 100%;
        height: auto;    
    }
}

@media (max-width: 576px) {
    .icono-wrap {
        flex-wrap: wrap;
        justify-content: center !important;
    }
    #contacto-card {
        margin-right: 0px;
    }
    #footer-img {
        position: relative;
        top: -60px;
    }
    #img-p-footer{
        text-align: center !important;
    }
    #contenedor-footer {
        text-align: center !important;
    }
    
}
