

.content {    
    text-align:center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px; 
     margin: 200px;
}

body {
    font-family: "Arial", sans-serif;
}
.content h1{
    color: #ffffff;
    font-weight: bold;
    
}

.content h3{
    color: #ffffff;
}


.container h3 {
    font-size: 42px;
    text-align: center;
    color: rgb(0, 0, 0);
}


.container h1 {
    font-size: 28px;
    font-style: arial;
    text-align: center;
    color: #000000;
}

.container h4 {
    font-size: 42px;
    text-align: center;
    color: #000000;
    font-style: arial;
}

.container h2 {
    font-size: 18px;
    font-style: arial;
    text-align: center;
    color: #000000;
}


.container .img_container {
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
   
}


.container .img_container .main_img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 5px rgba(1, 23, 46, 0.6);
    object-fit: cover;
}

.container .thumbnail_container {
    height: 120px;
    display: flex;
    justify-content: space-between;
}


.container .thumbnail_container .thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    cursor: pointer;
    object-fit: cover;
    opacity: .7;
    transition: .3s;
}

@media screen and (max-width: 768px) {
    .container .thumbnail_container .thumbnail {
        width: 50px;
        height: 50px;
        display: block;
        margin-bottom: 10px; /* Añadir espacio entre las líneas */
    }
    .content h3, 
    .textoServicios{
        background-color: rgba(137, 137, 137, 0.719);
        font-weight: bold;
        color: white;
        position: relative;
         top: -60px;

    }
}


@media screen and (max-width: 480px) {
    .container .thumbnail_container .thumbnail {
        width: 30px;
        height: 30px;
        display: block;
        margin-bottom: 10px; /* Añadir espacio entre las líneas */
    }
}

.container .thumbnail_container .thumbnail:hover {
    opacity: 1;
}

.active {
    opacity: 1 !important;
    box-shadow: 0 5px 5px rgba(1, 23, 46, 0.6);
}

/*Imagen de fondo servicios */

.background-container {
    position: relative;
    background-image: url('../img/serviciosEsta.jpg'); /* Reemplaza 'tu-imagen.jpg' con la ruta o URL de tu imagen */
    background-size: cover;
    background-position: center;
    height: 100vh; /* Ajusta la altura según tus necesidades */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .overlay-text {
    font-size: 1.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

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

    .overlay-text  .textoEnImagen {

        font-size: 15px;
         background-color: 2px 2px 4px rgba(179, 179, 179, 0.8);
        


    }
}