body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway Thin', sans-serif;
    background-color: #fff;
}

html {
    scroll-behavior: smooth;
}

.highlight {
    color: #efcc03;
}

/* Estilos para el botón del menú hamburguesa */
#hamburguer-btn {
    display: none;
    position: absolute;
    right: 20px;
    top: 16px;
    font-size: 30px;
    cursor: pointer;
    background-color: #fafafa;
    border: none;
    color: #232321;
}

#hamburguer-btn:hover {
    color: #efcc03;
}

/* BARRA DE NAVEGACIÓN DE LA HOME */
#navbar a.active {
    color: #efcc03;
    /* Cambia esto por el color que prefieras */
    font-weight: bold;
}

#navbar {
    position: fixed;
    font-family: 'Raleway Regular', sans-serif;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fafafa;
    text-align: right;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap;
    height: 70px;
    /* Agregamos un relleno izquierdo y derecho para espacio alrededor del contenido */
}

#navbar h4 {
    color: #232321;
    font-family: 'Raleway Medium', sans-serif;
    font-size: larger;
    margin-right: auto;
    margin-left: 25px;
    /* Esto empujará "David Muñoz" hacia la izquierda */
}


#navbar a {
    color: #232321;
    margin: 16px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

#navbar a:hover {
    color: #efcc03;
}

/* BARRA DE NAVEGACIÓN PÁG. INTERIORES */
#navbar-interior a.active {
    color: #efcc03;
    /* Cambia esto por el color que prefieras */
    font-weight: bold;
}

#navbar-interior {
    position: fixed;
    font-family: 'Raleway Regular', sans-serif;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fafafa;
    text-align: right;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
    flex-wrap: wrap;
    height: 70px;
    /* Agregamos un relleno izquierdo y derecho para espacio alrededor del contenido */
}

#navbar-interior h4 {
    color: #232321;
    font-family: 'Raleway Medium', sans-serif;
    font-size: larger;
    margin-right: auto;
    margin-left: 25px;
    /* Esto empujará "David Muñoz" hacia la izquierda */
}


#navbar-interior a {
    color: #232321;
    margin: 16px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

#navbar-interior a:hover {
    color: #efcc03;
}

#section1 {
    text-align: center;
    background-color: #232321;
    /* background: url('./images/portada_img_retocada.png') center center/cover no-repeat; */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding-top: 70px;
    /* Ajusta la altura según tus necesidades */
}

#section1 h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: -85px;
}


#section1 p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
    letter-spacing: 2px;
}

#section1::before {
    content: "";
    display: block;
    background: url('./images/portada_img.jpg') center center/cover no-repeat;
    background-color: #232321;
    background-blend-mode: multiply;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    z-index: -1;
}

#section1::before {
    content: "";
    display: block;
    background: url('ruta/de/tu/imagen-de-fondo.jpg') center center/cover no-repeat;
    /* Reemplaza con la ruta de tu imagen de fondo */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    /* Ajusta la opacidad según tu preferencia */
    z-index: -1;
}

.cta-button {
    display: inline-block;
    background-color: #efcc03;
    border: 2px solid #efcc03;
    font-family: 'Raleway Medium', sans-serif;
    /* Cambia el color de fondo según tus preferencias */
    color: #232321;
    /* Cambia el color del texto según tus preferencias */
    padding: 10px 20px;
    /* Ajusta el espaciado interno del botón */
    text-decoration: none;
    border-radius: 40px;
    /* Agrega esquinas redondeadas */
    margin-top: 10px;
    /* Agrega un margen superior para separarlo del contenido anterior */
}

.cta-button:hover {
    background-color: #232321;
    color: #efcc03;
    border: 2px solid #efcc03;
    /* Cambia el color de fondo cuando el mouse está sobre el botón */
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.content {
    max-width: 100%;
    width: 500px;
    height: 500px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: none;
}

section:nth-child(odd) {
    background-color: #f0f0f0;
}

section:nth-child(even) {
    background-color: #e0e0e0;
}


/* SECCIÓN SOBRE MI */
#section2 {
    background-color: #ffffff;
    /* max-height: 100vh;*/
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: flex-start; */
    /* padding-top: 70px; */
    margin-top: -70px;
}

.about-content {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    width: 600px;
    margin-bottom: 20px;
    margin-top: auto;
    /* Espacio entre about-content y grid-container */
    display: contents;
    flex-direction: column;
    /* Cambia la dirección del flujo a vertical */
    align-items: center;
    /* Centra horizontalmente los elementos */
}

.about-content h1 {
    font-family: 'Raleway Thin', sans-serif;
    font-size: 12px;
}

.about-content p {
    font-family: 'Raleway Thin', sans-serif;
    font-size: 18px;
    /* margin-bottom: -18px; */
    letter-spacing: 2px;
}

.profile-picture img {
    border-radius: 50%;
    /* Aplica una máscara circular a la imagen */
    max-width: 16vh;
    /* Ajusta el tamaño de la imagen */
    margin-bottom: 10px;
    /* Espacio entre la imagen y el título */
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-rows: repeat(2, 1fr); */
    margin-top: 0px;
    margin-bottom: 25px;
}

.grid-item {
    background-color: #ffffff;
    font-family: 'Raleway Thin', sans-serif;
    padding: 20px;
    text-align: left;
    font-size: 10px;
    transition: background-color 0.6s ease-in-out, opacity 0.6s ease-in-out;
    display: flex;
    /* Utiliza flexbox */
    /*align-items: center;*/
    width: 120px;
    height: 150px;
    grid-gap: 10px;
    text-overflow: ellipsis;
    line-height: 20px;
    /* Centra verticalmente el contenido */
}

.grid-item:hover {
    background-color: #232321;
    transition: background-color 0.3s ease-in-out, opacity 0.6s ease-in-out;
}

.grid-item:hover h2 {
    color: #efcc03;
    transition: color 0.6s ease-in-out;
}

.special-item {
    grid-column: 6;
    /* Coloca el elemento en la última columna */
    grid-row: 3;
    /* Coloca el elemento en la última fila */
    background-color: #fff;
    padding: 24px;
    text-align: center;
    font-size: 24px;
    border: none;
    cursor: pointer;
    transition: background-color 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.special-item:hover {
    background-color: #232321;
    transition: background-color 0.3s ease-in-out, opacity 0.6s ease-in-out;
}

.special-item:hover h2 {
    color: #efcc03;
    transition: color 0.6s ease-in-out;
}



/* SECCIÓN BLOG */

#section3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #eeeded;
    min-height: 100vh;
}

.section-content {
    text-align: center;
    padding: 20px;
    color: #232321;
    margin-top: -70px;
}

#section3 h1 {
    font-family: 'Raleway Regular', sans-serif;
    font-size: 36px;
}

#section3 p {
    font-size: 18px;
    max-width: 500px;
    letter-spacing: 2px;
}

#slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}



.slide {
    position: relative;
    flex: 0 0 auto;
    max-width: 200px;
    height: 200px;
    padding: 24px;
    background-color: #fff;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    border: none;
    cursor: pointer;
    transition: background-color 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.slide h2 {
    margin: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    font-size: 24px;
    font-weight: lighter;
    color: #232321;
    transition: color 0.6s ease-in-out;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.slide:hover::before,
.slide:hover::after {
    opacity: 1;
}

.slide:hover {
    background-color: #232321;
    transition: background-color 0.3s ease-in-out, opacity 0.6s ease-in-out;
}

.slide:hover h2 {
    color: #efcc03;
    transition: color 0.s ease-in-out;
}

/* DISEÑO DENTRO DE LA SECCIÓN BLOG */

#blog-content {
    display: block;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #fff;
}

.image-post-container {
    display: inline-block;
    overflow: hidden;
    width: 100%;
}

.image-post-container a img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.image-post-container a:hover img {
    transform: scale(1.1);
}




.post-blog-seccion {
    margin-top: 10px;
    margin-bottom: 15px;
}

.post-blog-seccion hr {
    background-color: #d4d4d4;
    height: 1px;
    border-width: 0px;
    margin-top: 15px;
    width: 100%;
    /* Con esto cambio el tamaño de la línea en el contenedor */
    margin-left: 0px;
}

.read-more {
    width: 100%;
    text-align: right;
}

.read-more a {
    font-family: 'Raleway Medium', sans-serif;
    color: #232321;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.read-more a:hover {
    color: #efcc03;
}

.post-blog-seccion h2 {
    font-family: 'Raleway SemiBold', sans-serif;
    color: #232321;
    font-size: 36px;
    text-decoration: none;
}

.post-blog-seccion a h2 {
    font-family: 'Raleway SemiBold', sans-serif;
    color: #232321;
    font-size: 36px;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
    /* Esto evita que el título se subraye al pasar el ratón por encima */
}

.post-blog-seccion a:hover h2 {
    color: #efcc03;
}

.post-blog-seccion p {
    font-family: 'Raleway Regular', sans-serif;
    color: #727272;
    font-size: 18px;
    line-height: 28px;
}



.post-blog-seccion img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* Desactiva el ajuste automático del objeto */
    object-position: center;
    /* Coloca el área visible en el centro de la imagen */
}

/* SECCIÓN TESTIMONIOS */
#section4 {
    /* text-align: center; */
    background-color: #f6f6f6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    /* Esto permite el posicionamiento absoluto de los elementos hijos */
}

.overlay-content {
    width: 500px;
    position: absolute;
    /* Posicionamiento absoluto */
    top: 20%;
    /* Centrar verticalmente */
    left: 50%;
    /* Centrar horizontalmente */
    transform: translate(-50%, -50%);
    /* Ajuste para centrar exactamente */
    text-align: center;
    /* Alineación del texto */
    color: #fff;
    /* Color del texto */
    /* z-index: 2; */
    /* Asegurar que esté sobre el slider */
}

.overlay-content h1 {
    font-family: 'Raleway Regular', sans-serif;
    color: #232321;
    font-size: 36px;

}

.overlay-content p {
    font-size: 18px;
    color: #232321;
    margin-bottom: 30px;
    max-width: 500px;
    letter-spacing: 2px;
}


#testimonials-slider {
    display: flex;
    overflow-x: auto;
    overflow: hidden;
    scroll-behavior: smooth;
    margin-top: 25vh;
    /* Para un desplazamiento suave */
}

#testimonials-slider .testimonial-card {
    /* background-color: #ffffff; */
    flex: 0 0 calc(100% / 3);
    margin: 12px;
    padding: 24px;
    max-height: 400px;
    /* border-radius: 10px; */
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
    border-color: #232321;
    border: solid 1px #232321;
}

.testimonial-card h1 {
    font-family: 'Raleway Regular', sans-serif;
    font-size: 24px;
    color: #232321;
}

.testimonial-card p {
    font-family: 'Raleway Regular', sans-serif;
    font-size: 18px;
    color: #232321;
}

.testimonial-card span {
    font-family: 'Raleway Regular', sans-serif;
    color: #efcc03;
}

.resaltado {
    font-family: 'Raleway Semibold', sans-serif;
}

/* SECCIÓN SERVICIOS */

#section5 {
    background-color: #dfded1;
}

#servicios {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.servicio {
    width: calc(33.33% - 20px);
    margin: 10px;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    text-align: center;
}


/* SECCIÓN SERVICIOS */
.pricing-section {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 20px;
    background: #f6f6f6;
    /* Cambia este color de fondo si es necesario */
}

.tarjeta1 {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 10px;
    width: 30%;
    /* Ajustar según el ancho deseado */
    background-color: #fff;
    text-align: center;
    /* Centrar texto */
    transition: transform 0.3s ease;
    /* Transición suave para el hover */
    border-top: 10px solid #bcbbb7;
    text-align: left;
    /* Borde superior más claro */
    height: 79vh;
}

.tarjeta2 {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 10px;
    width: 30%;
    /* Ajustar según el ancho deseado */
    background-color: #fff;
    text-align: center;
    /* Centrar texto */
    transition: transform 0.3s ease;
    /* Transición suave para el hover */
    border-top: 10px solid #232321;
    text-align: left;
    /* Borde superior más claro */
    height: 79vh;
}

.tarjeta3 {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 10px;
    width: 30%;
    /* Ajustar según el ancho deseado */
    background-color: #fff;
    text-align: center;
    /* Centrar texto */
    transition: transform 0.3s ease;
    /* Transición suave para el hover */
    border-top: 10px solid #efcc03;
    text-align: left;
    /* Borde superior más claro */
    height: 79vh;
}

#servicio1 h1 {
    font-family: 'Raleway Medium', sans-serif;
}

/* CSS Precios

#servicio1 p {
    font-family: 'Raleway Medium', sans-serif;
    font-size: 34px;
    margin-bottom: 0px;
    color: #efcc03;
    margin-top: -10px;
}*/

#servicio1 p {
    font-family: 'Raleway Regular', sans-serif;
    font-size: 16px;
    margin-bottom: 0px;
    color: #232321;
    margin-top: 0px;
    line-height: 24px;
}

#servicio1 p1 {
    font-family: 'Raleway Thin', sans-serif;
    font-size: 18px;
    color: #bcbbb7;
}

#servicio1 ul {
    margin-top: 22px;
    margin-bottom: 38px;
}

.trial-card {
    font-family: 'Raleway Medium', sans-serif;
    font-size: 14px;
    background-color: #e2e2e2;
    padding: 8px;
    text-align: center;
    color: #242c31;
    margin-bottom: 20px;
}

#servicio1 li {
    font-family: 'Raleway Thin', sans-serif;
    margin-bottom: 20px;
    text-align: left;
    font-size: 16px;
}



.cta-services-button {
    display: block;
    /* Hacer que el botón ocupe el ancho completo */
    width: 80%;
    /* Ancho del botón */
    padding: 15px 0;
    /* Ajusta el espaciado vertical del botón */
    background-color: #efcc03;
    /* Color del botón */
    border: none;
    /* No border */
    color: #fff;
    /* Texto blanco */
    font-size: 16px;
    /* Tamaño del texto */
    cursor: pointer;
    /* Cursor en forma de mano */
    border-radius: 40px;
    /* Bordes redondeados */
    border: 2px solid #efcc03;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
}

.cta-services-button:hover {
    background-color: #ffffff;
    color: #efcc03;
    border: 2px solid #efcc03;
    /* Cambia el color de fondo cuando el mouse está sobre el botón */
}

.tarjeta:hover {
    transform: translateY(-10px);
    /* Efecto de elevación al pasar el mouse */
}



/* Estilos adicionales para los textos de precios y sitios */
.tarjeta p {
    font-size: 20px;
    /* Tamaño del texto */
    color: #555;
    /* Color del texto */
    margin: 20px 0;
    /* Espaciado */
    font-weight: bold;
    /* Negrita */
}


/* CONTENEDOR HEADER INTERIOR */
#cont-header-interior {
    width: 100%;
    margin: 0px;
    background-color: #eeeded;
}

#cont-header-interior-sm {
    width: 100%;
    margin: 0px;
    background-color: #fffced;
}

.header-interior,
.header-interior-sm {
    max-width: 800px;
    padding-top: 70px;
    padding-left: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

.header-interior h1 {
    font-family: 'Raleway Thin', sans-serif;
    font-size: 36px;
    color: #232321;
}

.header-interior p {
    font-family: 'Raleway Thin', sans-serif;
    font-size: 18px;
    color: #232321;
    line-height: 28px;
}


.header-interior-sm h1 {
    font-family: 'Raleway Thin', sans-serif;
    font-size: 36px;
    color: #232321;
}

.header-interior-sm p {
    font-family: 'Raleway Thin', sans-serif;
    font-size: 18px;
    color: #232321;
    line-height: 28px;
}

.header-interior,
.header-interior-sm strong {
    font-family: 'Raleway Medium', sans-serif;
}

/* FOOTER */

#container-footer {
    width: 100%;
    height: 122px;
    overflow: hidden;
    margin-bottom: -4px;
}

/* Añade estilos responsivos si es necesario */
@media (max-width: 640px) {
    #hamburguer-btn {
        display: block;
    }

    .navbar-links {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: -100%;
        /* Inicialmente oculto */
        background-color: #fafafa;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s;
    }

    .navbar-links.open {
        left: 0;
        /* Se muestra cuando se activa */
    }
}

@media (max-width: 800px) {

    .pricing-section {
        flex-direction: column;
        /* Cambia la dirección de los elementos a columnas */
        align-items: center;
        /* Centra los elementos horizontalmente */
    }

    .tarjeta1,
    .tarjeta2,
    .tarjeta3 {
        width: 80%;
        /* Ocupar todo el ancho disponible */
        margin-bottom: 40px;
        /* Agrega espacio entre las tarjetas */
    }

    #testimonials-slider {
        display: flex;
        overflow-x: auto;
        overflow: hidden;
        scroll-behavior: smooth;
        margin-top: auto;
    }

    .overlay-content {
        width: 90%;

    }

    .profile-picture img {
        margin-top: 20px;
    }

    #slider {
        display: grid;
        /* height: 20px; */
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
        margin-bottom: 40px;
    }

    .slide {
        max-width: 150px;
    }


    .section-content {
        text-align: center;
        padding: 20px;
        color: #232321;
        margin-top: 0px;
    }

    .grid-item {
        background-color: #ffffff;
        font-family: 'Raleway Thin', sans-serif;
        padding: 16px;
        text-align: left;
        font-size: 10px;
        transition: background-color 0.6s ease-in-out, opacity 0.6s ease-in-out;
        display: flex;
        /* Utiliza flexbox */
        /*align-items: center;*/
        width: 100px;
        height: 150px;
        grid-gap: 10px;
        text-overflow: ellipsis;
        line-height: 20px;
        /* Centra verticalmente el contenido */
    }

    .about-content p {
        font-family: 'Raleway Thin', sans-serif;
        font-size: 18px;
        /* margin-bottom: -18px; */
        letter-spacing: 2px;
        width: 70%;
    }

}