*{
    margin:0;
    padding:0;
}

body{
    min-height:100vh;
    background-color:white;
    font-family: 'Montserrat';
}

nav{
    background-color:#316197;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    position:sticky;
    top:0;
    z-index:9999;
    
}

nav ul{
    width:100%;
    list-style:none;
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

nav li{
    height: 100px;
}

nav img{
    height:85%;
    width:40%;
   
}

nav a{
    height:100%;
    padding:0px 30px;
    text-decoration:none;
    display:flex;
    align-items:center;
    color:white;
}

nav a:hover{
    background-color:#2e537f;
    font-weight: bold;
}

nav li:first-child{
    margin-right:auto;
}

.noColor a:hover{
    background-color:#316197;
}

.noColor a{
    
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: bold;

}

.sidebar{
    position:fixed;
    top: 0;
    right:0;
    height:100vh;
    width:250px;
    z-index:999;
    background-color: #3161976e;
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    display:none;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
}

.sidebar li{
    width:100%
}

.sidebar a{
    width:100%;
}

.sidebar img{

    height:100%;
    width:20%;
}

.menu-button{
    display:none;
}

.contenedorImagenMain {
    width: 100%; /* O el ancho deseado */
    height: 600px; /* O la altura deseada */
    overflow: hidden; /* Oculta el exceso de imagen si se desborda */
    position:relative;
    
}

.contenedorImagenMain h1{
    animation-duration: 2s;
    animation-name: aparecer;
    font-family: 'Josefin Sans', sans-serif;
    position:absolute;
    justify-content: center;
    align-items: center;
    display:flex;
    text-align:center;
    padding:20px;
    font-size:76px;
    z-index:1;
    font-weight: bold;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    color:white;
    text-transform: uppercase; /* Opcional: convierte el texto a mayúsculas */
    opacity:95%;
    
    
}

.contenedorImagenMain img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Escala la imagen para cubrir el div */
    object-position: center; /* Centra la imagen */
    filter: blur(10px);
    z-index:2;
}

.contenedorCitas{
    display:flex;
    align-items: center;
    justify-content: center;
    text-align:center;
    background-color:#316197;
    padding:50px;
    margin:10px;
   
    margin-bottom:40px;
}

.calendario{
    color:#316197 ;
}

.contenedorCitas h1{
    font-family: 'Josefin Sans', sans-serif;
    color:white;
    font-size:56px;
    animation-duration: 1s;
    animation-name: deslizar;
}

.contenedorMain{
            display: flex;
            flex-wrap: wrap; /* Permite que los elementos se envuelvan a la siguiente línea */
            justify-content: space-between; /* Espacio entre los elementos */
            margin-bottom:50px;
            
}

.main-uno{
            width: 33%; /* Ajusta el ancho de cada div */
            height: 100px; /* Altura fija */
            display: flex;
            justify-content: center;
            align-items: center;
            font-size:12px;
            color: #000000;
            text-align:center;
            font-family: 'Helvetica', 'Arial', sans-serif;
            
    
}

.main-uno:nth-child(7) {
    flex-basis: 100%; 
}

.slider-frame{
    width:50%;
    height:auto;
    margin:50px auto 0;
    overflow:hidden;
}

.slider-frame ul{
    display:flex;
    padding:0;
    width:700%;
    animation: slide 21s infinite ease-in-out alternate;
}

.slider-frame li{
    list-style:none;
    width:100%;
}

.slider-frame img{
    width:100%;
}

.contenedorComentarios{
    display:flex;
    
}
.contenedorFoto{
    margin:10px;
}

.contenedorFoto img{
    width:480px;
    height:580px;
    border-radius:30px;
    box-shadow: 1px 1px 1px 1px rgba(32,32,32,0.3);
}

.contenedorOpiniones{
    display:block;
    text-align:center;
}

.contenedorOpiniones img{
    margin:2px;
    border-radius:20px;
    width:700px;
    
    box-shadow: 1px 1px 1px 1px rgba(32,32,32,0.3);
}

.tituloOpiniones{
    text-align:center;
    padding:20px;
    width:100%;
    background-color:#316197 ;
    border-radius:30px;
    color:white;
    margin:10px;
}

.contenedorOpiniones a{

    color:#316197;

}

.contenedorTarjetas{
    width:100%;  
    display:flex;
    flex-wrap:wrap;
    justify-content: center;
    margin:auto;
    
}

.contenedorTarjetas .tarjeta{
    width: 330px;
    height:430px;
    border-radius:8px;
    box-shadow:0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin:20px;
    text-align:center;
    transition: all 0.25s;
    background-color: white;
}

.contenedorTarjetas .tarjeta:hover{
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}

.contenedorTarjetas .tarjeta img{
    margin-top:30px;
    margin-bottom:30px;
    width:100px;
    height:100px;
    border-radius:50px;
}

.contenedorTarjetas .card h4{
    
    font-weight: 600;
}

.contenedorTarjetas .tarjeta p{
    padding: 0 1rem;
    font-size: 16px;
    font-weight: 300;
}

.contenedorTarjetas .tarjeta a{
    color:lightblue;
    text-decoration:none;
    font-weight: 500;
}

.contenedorColor{
    margin-top:50px;
    text-align:center;
    background-color: rgba(181, 214, 177, 0.878);
    padding-bottom:100px;
}

.contenedorColor h1{
    font-family: 'Montserrat';
    color:black;
    font-weight: bold;
    padding-top:50px;
    padding-bottom:50px;
    text-transform: uppercase;
}

.footer{
    position:relative;
    background-color:#254973;
    min-height:100px;
    padding: 20px 50px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction: column;
}

.social-icon{
    display:flex;
    justify-content: center;
    align-items: center;
    position:relative;
    margin:10px 5px;
    flex-wrap:wrap;
}

.icon-elem{
    list-style:none;
}

.icon{
    color:white;
    font-size:32px;
    display:inline-block;
    margin:0 10px;
    transition: 0.5s;
}

.icon:hover{
    transform:translateY(-10px);
}

.menu{
    display:flex;
    justify-content: center;
    position:relative;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

.menu-icon{
    color:white;
    font-size:20px;
    text-decoration:none;
    margin:5px 10px;
    opacity: 0.75;
    transition: 0.3s;
}

.menu-elem{
    list-style: none;
}

.menu-icon:hover{
    opacity:1;
}

.text{
    color:white;
    text-align:center;
    margin-top:15px;
    margin-bottom:10px;
    font-size:20px;

}

@keyframes slide {
    0% { margin-left: 0%; }          /* Imagen 1 */
    8.33% { margin-left: 0%; }       /* Pausa en la imagen 1 */
    16.66% { margin-left: -100%; }   /* Imagen 2 */
    25% { margin-left: -100%; }      /* Pausa en la imagen 2 */
    33.33% { margin-left: -200%; }   /* Imagen 3 */
    41.66% { margin-left: -200%; }   /* Pausa en la imagen 3 */
    50% { margin-left: -300%; }      /* Imagen 4 */
    58.33% { margin-left: -300%; }   /* Pausa en la imagen 4 */
    66.66% { margin-left: -400%; }   /* Imagen 5 */
    75% { margin-left: -400%; }      /* Pausa en la imagen 5 */
    83.33% { margin-left: -500%; }   /* Imagen 6 */
    91.66% { margin-left: -500%; }   /* Pausa en la imagen 6 */
    100% { margin-left: -600%; }     /* Imagen 7 */
}

@keyframes aparecer {
    from {
      opacity:0;
    }
  
    to {
      opacity:1;
    }
  }

  @keyframes deslizar {
    from {
        transform: translateX(-1400px);
        filter:blur(5x)
    }
  
    to {
        transform: translateX(0px);
        filter:blur(0px)
    }
  }

@media(max-width:800px){
    .hideOnMobile{
        display:none;
    }

    .menu-button{
        display:block;
    }    
}

@media(max-width:800px){
    .sidebar{
        width:100%;
    }
    .contenedorImagenMain h1{

        font-size:60px;
    }

    .contenedorMain{
        display: block;
}
    .main-uno{
        width:100%;
    }

    .contenedorCitas{
        display:block;  
    }

    .contenedorCitas h1{
        font-size:36px;
    }

    .slider-frame{
        width:90%;
    }

}

