@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
}

body{
    background: #f6f6f6;
}
:root {
    --color-white: #ffffff;      
    --color-black: #000000;      
    --color-dark-gray: #333333; 
    --color-primary: #1b597d;    
  }
/* Fondo nublado */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: none;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    box-shadow: 0 4px 25px -22px black;
    z-index: 10;
}

.header-content{
    max-width: 1500px; /*----------------------------------------------------------------------------------------------------------------------------*/
    margin: auto;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.logo{

    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.logo h1 b{
    font-size: 35px;
    color: #1b597d;
  }
  
.logo h1{
    font-size: 35px;
    color: #080808;
  }

.menu {
    height: 80px;
    margin-right: 60px;
}

.menu nav{
    height: 100%;
}

.menu nav ul{
    height: 100%;
    display: flex;
    list-style: none;
}

.menu nav ul li{
    height: 100%;
    margin: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

nav ul li a {
    text-decoration: none;
}
.menu-selected:before{
    content: '';
    width: 100%;
    height: 4px;
    background: #1b597d;
    position: absolute;
    top: 0;
    left: 0;
}

.menu nav ul li a{
    color: #777777;
    font-size: 18px;
    transition: color 300ms;
}

.menu nav ul li a:hover{
    color: #1b597d;
}

.menu .text-menu-selected{
    color: #1b597d;
}

.menu nav ul li a i{
    display: none;
}

#icon-menu{
    width: 50px;
    height: 50px;
    position: absolute;
    right: 20px;
    top: 16px;
    padding: 10px;
    font-size: 20px;
    background: #eeeeeefa;
    border-radius: 100%;
    color: #787878;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#icon-menu:hover{
    opacity: 0.8;
}


/*Buscador de contenido*/

#ctn-icon-search{
    position: absolute;
    right: 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ctn-icon-search i{
    font-size: 18px;
    color: #777777;
    cursor: pointer;
    transition: all 300ms;
}

#ctn-icon-search i:hover{
    color: #1b597d;
}


#ctn-bars-search{
    position: fixed;
    top: -10px;
    width: 100%;
    background: #fff;
    padding: 20px;
    z-index: 9;
    transition: all 600ms;
}

#ctn-bars-search input{
    display: block;
    width: 1200px;
    margin: auto;
    padding: 10px;
    font-size: 18px;
    outline: 0;
}

#box-search{
    position: fixed;
    top: 165px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    background: #fff;
    z-index: 8;
    overflow: hidden;
    display: none;
}

#box-search li a{
    display: block;
    width: 1200px;
    color: #777777;
    padding: 12px 20px;
}

#box-search li a:hover{
    background: #f3f3f3;
}

#box-search li a i{
    margin-right: 10px;
    color: #777777;
}


#cover-ctn-search{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 7;
    display: none;
}

#home {
    position: relative;
    width: 100%;
    height: 60vh; /* Cambiar a unidades relativas (vh) para ser más responsivo */
    margin-top: 80px;
    background-image: url('/img/eventos/parque/PXL_20240929_154202415.MP.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    transition: background-color 0.3s ease; /* Transición suave */
}

#home:hover::before {
    background-color: rgba(0, 0, 0, 0.6); /* Aumentar oscuridad al pasar el mouse */
}

#home .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 0 20px;
    text-align: center;
}

#home:hover .container {
    opacity: 1;
}

#home h2, #home p, #home .btn {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#home h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

#home p {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

#home .btn {
    font-size: 1.25rem;
    padding: 10px 30px;
    background-color: #1b597d;
    color: #ffffff;
    border: none;
    transition: background-color 0.3s ease;
}

#home .btn:hover {
    background-color: #103144;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    #home {
        height: 40vh; /* Ajuste de altura para dispositivos pequeños */
    }

    #home h2 {
        font-size: 2rem; /* Reducir tamaño de fuente en pantallas pequeñas */
    }

    #home p {
        font-size: 1rem; /* Reducir tamaño de fuente en pantallas pequeñas */
    }

    #home .btn {
        font-size: 1.1rem; /* Reducir tamaño de fuente en pantallas pequeñas */
        padding: 8px 25px; /* Ajustar el tamaño del botón */
    }
}

@media (max-width: 480px) {
    #home {
        height: 50vh; /* Ajuste aún mayor de altura para dispositivos más pequeños */
    }

    #home h2 {
        font-size: 1.75rem; /* Ajustar tamaño de fuente aún más pequeño */
    }

    #home p {
        font-size: 0.9rem; /* Ajuste aún más pequeño del texto */
    }

    #home .btn {
        font-size: 1rem; /* Reducir aún más el tamaño del botón */
        padding: 8px 20px; /* Ajustar el tamaño del botón */
    }
}

@media (max-width: 360px) {
    #home {
        height: 50vh; /* Ajuste de altura para dispositivos muy pequeños */
    }

    #home h2 {
        font-size: 1.5rem; /* Reducir tamaño de fuente para dispositivos muy pequeños */
    }

    #home p {
        font-size: 0.8rem; /* Ajuste más pequeño del texto */
    }

    #home .btn {
        font-size: 0.9rem; /* Reducir aún más el tamaño del botón */
        padding: 6px 18px; /* Ajustar el tamaño del botón */
    }
}


#sobre-nosotros {
    background-color: #f8f9fa; /* Color de fondo claro */
    padding-top: 3rem; /* Espaciado superior */
    padding-bottom: 3rem; /* Espaciado inferior */
}

#sobre-nosotros p {
    text-align: justify; /* Justifica el texto */
    margin-bottom: 1rem; /* Espaciado inferior de los párrafos */
}

/* BOTONES */
.boton1plan {
    cursor: pointer;
    position: relative;
    padding: 10px 24px;
    font-size: 18px;
    color: var(--color-primary); 
    border: 2px solid var(--color-primary);  
    border-radius: 34px;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.boton1plan::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    background-color: var(--color-primary); 
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.boton1plan:hover::before {
    scale: 1;
}

.boton1plan:hover {
    color: var(--color-white);  
    background-color: var(--color-primary); 
    border-color: var(--color-primary);  
    scale: 1.1;
    box-shadow: 0 0px 20px var(--color-primary); 
}

.boton1plan:active {
    scale: 1;
}

.dropdown-menu {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); 
}

/*footer*/
.main-content {
    flex: 1; /* Para que el contenido crezca y ocupe el espacio restante */
  }
  
  footer {
    background: #1b597d;
    color: white;
    width: 100%;
    padding: 30px 40px;
    position: relative; 
  }
  
footer::before {
  content: '';
  left: 0;
  top: 100px;
  height: 1px;
  width: 100%;
  background: #AFAFB6;  
}

footer .content {
  max-width: 1250px;
  margin: auto;
  padding: 30px 40px 40px 40px;
}

footer .content .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.content .top .logo-details {
  color: #fff;
  font-size: 30px;
}

.content .top .media-icons {
  display: flex;
}

.content .top .media-icons a {
  height: 40px;
  width: 40px;
  margin: 0 8px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.top .media-icons a:nth-child(1) { background: #4267B2; }
.top .media-icons a:nth-child(1):hover { color: #4267B2; background: #fff; }

.top .media-icons a:nth-child(2) { background: #1DA1F2; }
.top .media-icons a:nth-child(2):hover { color: #1DA1F2; background: #fff; }

.top .media-icons a:nth-child(3) { background: #E1306C; }
.top .media-icons a:nth-child(3):hover { color: #E1306C; background: #fff; }

.top .media-icons a:nth-child(4) { background: #0077B5; }
.top .media-icons a:nth-child(4):hover { color: #0077B5; background: #fff; }

.top .media-icons a:nth-child(5) { background: #FF0000; }
.top .media-icons a:nth-child(5):hover { color: #FF0000; background: #fff; }

footer .content .link-boxes {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer .content .link-boxes .box {
  width: calc(100% / 5 - 10px);
}

.content .link-boxes .box .link_name {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}

.link-boxes .box .link_name::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 35px;
  background: #fff;
}

.content .link-boxes .box li {
  margin: 6px 0;
  list-style: none;
}

.content .link-boxes .box li a {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.4s ease;
}

.content .link-boxes .box li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.content .link-boxes .input-box {
  margin-right: 55px;
}

.link-boxes .input-box input {
  height: 40px;
  width: calc(100% + 55px);
  outline: none;
  border: 2px solid #AFAFB6;
  background: #1b597d;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 15px;
  color: #fff;
  margin-top: 5px;
}

.link-boxes .input-box input::placeholder {
  color: #AFAFB6;
  font-size: 16px;
}

.link-boxes .input-box input[type="button"] {
  background: #fff;
  color: #140B5C;
  border: none;
  font-size: 18px;
  font-weight: 500;
  margin: 4px 0;
  opacity: 0.8;
  cursor: pointer;
  transition: all 0.4s ease;
}

.input-box input[type="button"]:hover {
  opacity: 1;
}

footer .bottom-details {
  width: 100%;
  background: #0e2c3e3d;
}

footer .bottom-details .bottom_text {
  max-width: 1250px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
}

.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
}

.bottom-details .bottom_text a:hover {
  opacity: 1;
  text-decoration: underline;
}

.bottom-details .bottom_text a {
  margin-right: 10px;
}

/* Ajustes para pantallas más pequeñas */
@media (max-width: 900px) {
  footer .content .link-boxes {
    flex-wrap: wrap;
  }
  footer .content .link-boxes .input-box {
    width: 40%;
    margin-top: 10px;
  }
}

@media (max-width: 700px) {
    footer .content .link-boxes {
        flex-wrap: wrap;
      }
  .content .top .logo-details {
    font-size: 26px;
  }
  .content .top .media-icons a {
    height: 35px;
    width: 35px;
    font-size: 14px;
    line-height: 35px;
  }
  footer .content .link-boxes .box {
    width: calc(100% / 3 - 40px);
  }
  footer .content .link-boxes .input-box {
    width: 60%;
  }
  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a {
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  footer::before {
    top: 145px;
  }
  footer .content .top {
    flex-direction: column;
  }
  .content .top .media-icons {
    margin-top: 16px;
  }
  footer .content .link-boxes .box {
    width: calc(100% / 2 - 40px);
  }
  footer .content .link-boxes .input-box {
    width: 100%;
  }
}
@media (max-width: 420px) {
  footer::before {
    top: 145px;
  }
  footer .content .top {
    flex-direction: column;
  }
  .content .top .media-icons {
    margin-top: 16px;
  }
  footer .content .link-boxes .box {
    width: calc(100% / 1 - 40px);
  }
  footer .content .link-boxes .input-box {
    width: 100%;
  }
}
/* Tarjeta de invitación */
#invitacion {
    max-width: 700px;
    width: 100%;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px; /* Aumenta el padding */
    background-color: rgba(255, 255, 255, 0.9); /* Fondo ligeramente más claro */
}

.custom-col  {
    max-width: 400px;
    
}

.invitation {
    text-align: justify;
    color: #333;
}

.invitation p {
    margin-bottom: 1rem;
}

.invitation strong {
    color: #6D4C41; /* Color marrón claro */
}

/* Estilo de imágenes fijas */
.img-fixed-size {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Ajusta las imágenes para que no se deformen */
    border-radius: 10px; /* Esquinas redondeadas */
}




/* Tarjeta del evento */
.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 20px;
    border: 1px solid #ccc; /* Cambia el color y el grosor del borde según tus necesidades */
    border-radius: 0.25rem; /* Este es el borde redondeado, puedes ajustarlo o eliminarlo */
    text-align: justify; /* Justifica el texto dentro del card-body */
}



.event-icon i {
    color: #ffdd57;
    transition: color 0.3s ease;
}

.event-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.event-description {
    font-size: 1rem;
    color: #666;
}

.extra-info p {
    font-size: 0.9rem;
    color: #999;
}

.carousel-inner img {
    border-radius: 8px;
}

.text-muted {
    font-size: 0.9rem;
    color: #777;
}


/* Para móviles */
@media (max-width: 768px) {
    .btn-primary {
        width: 100%; /* Hacer que el botón ocupe el 100% del ancho en pantallas pequeñas */
        font-size: 1rem;
    }

    .carousel-inner img {
        height: auto;
    }
}

/* Modal */
.modal-content {
    border-radius: 4px;
    padding: 2px;
}

.modal-header  {
    border-bottom: none;
    background-color: #1b597d;
    color: white;
    border-radius: 8px 8px 0 0;
}

.modal-header h5 {
    font-weight: bold;
}
.modal-header h5 {
    font-weight: bold;
}



.modal-footer {
    border-top: none;
}

/* Estilos adicionales si es necesario */
/* Responsive Design - adaptable a dispositivos moviles*/

@media screen and (max-width: 1220px){

    .header-content,
    .container-footer footer{
        max-width: 1000px;
        padding: 0 20px;
    }

    #ctn-bars-search,
    #ctn-bars-search input,
    #box-search{
        width: 100%;
    }

}



@media screen and (max-width: 800px){

    body{
        overflow-x: hidden;
    }

    .container-all{
        transition: all 300ms cubic-bezier(1,0,0,1);
    }

    .move-container-all{
        transform: translateX(300px);
    }

    .menu{
        width: 0px;
        height: 100vh;
        position: fixed;
        top: 80px;
        left: 0;
        background: #fff;
        overflow: hidden;
        transform: translateX(-350px);
        box-shadow: 10px 0 20px -25px black;
        transition: all 300ms cubic-bezier(1,0,0,1);
    }

    .show-lateral {
        width: 300px;
        transform: translateX(0px);
    }

    .menu nav ul {
        flex-direction: column;
    }

    .menu nav ul li{
        max-width: 200px;
        height: 50px;
        justify-content: flex-start;
    }

    .menu-selected:before{
        width: 0;
    }

    .menu nav ul li a{
        margin-top: 40px;
        color: #858585;
    }

    .menu nav ul li a i{
        width: 20px;
        display: inline-block;
        margin-right: 10px;
        color: #1b597d;
    }

    #icon-menu{
        display: flex;
        right: 60px;
    }

    .container-aside{
        flex-wrap: wrap;
    }

}
@media screen and (max-width: 440px){
    .logo h1 b{
        font-size: 25px;
        color: #1b597d;
      }
      
      .logo h1{
        font-size: 25px;
        color: #080808;
      }
}