html, body {
    margin: 0;
    padding: 0;
    width: 100vw; /* Ancho de la ventana del navegador */
    overflow-x: hidden; /* Evita el desplazamiento horizontal */
    scroll-behavior: smooth; /* Hace que el desplazamiento sea suave */
}
body {
    background-image: url("Imagenes/Fondo-estatico.jpg"); /* Establece la imagen de fondo */
    background-size: cover; /* Ajusta el fondo al tamaño de la pantalla */
    background-attachment: fixed; /* Hace que el fondo sea estático */
    background-repeat: no-repeat;
}
.navbar {
    position: fixed; /* Fija el elemento en la ventana del navegador */
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #009FE3;
    display: flex;
    justify-content: space-between; /* Distribuye los elementos con espacio igual entre ellos */
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.logo {
    padding-left: 5px;
}
.nav-btn {
    display: flex;
    list-style: none;
}
.nav-btn a {
    padding: 10px;
    color: white;
    text-decoration: none;
}
.inicio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    animation: aparecer 3s ease-in-out forwards;
}
@keyframes aparecer {
    0% {
        opacity: 0; /* Al principio es invisible */
    }
    100% {
        opacity: 1; /* Al final es completamente visible */
    }
}
.btn-inicio {
    background-color: #009FE3;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-size: medium;
    border-radius: 20px;
    border: 2px solid #009FE3;
}
.btn-inicio:hover {
    background-color: white;
    color: #009FE3;
    border-color: #009FE3;
}
.titulo {
    width: 60%;
    display: flex;
}
.nosotros {
    background-color: white;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    margin: 0;
    
}

.textos-nosotros {
    width: 50%;
    display: block;
    align-items: center;
    justify-content: center;
    padding: 50px;
}
.parrafo-nosotros {
    text-align: justify;
    line-height: 1.6;
}
.imagen-nosotros {
    width: 50%;
    display: block;
    align-items: center;
    justify-content: center;
    padding: 50px;
}
.imagen-nosotros img{
    height: auto;
    width: 100%; 
}
.servicios {
    background-color: rgba(0, 0, 0, 0.4);
    padding-bottom: 50px;
}
.diseño-digital, .diseño-impreso, .diseño-ux {
    width: 100%;
    border-radius: 10px;
}
.titulo-servicios {
    display: flex;
    align-items: center;
    justify-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding-left: 50px;
    color: white;
}
.bloques-servicios {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.bloque1, .bloque2, .bloque3 {
    background-color: rgba(0, 0, 0, 0.3);
    width: 300px;
    border: 2px solid white;
    border-radius: 10px;
    padding: 20px;
    color: white;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.titulo1, .titulo2, .titulo3 {
    padding-left: 15px;
}
hr {
    border: none;
    height: 2px;
    background-color: white;
    width: 90%;
}
.contacto {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
}
.contacto-box{

    display: flex;
    margin: 10%;
    width: 80%;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
.info-contacto {
    background-color: white;
    padding: 25px;
    text-align: left;
    flex: 1;
}
.info-contacto p {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    margin: 0;
}
.border-top {
    display: block;
    width: 50px;
    height: 4px;
    background-color: black;
    margin-left: 0 auto;
    margin-bottom: 15px;
}
.border-top-white {
    display: block;
    width: 50px;
    height: 4px;
    background-color: white;
    margin-left: 0 auto;
    margin-bottom: 15px;
}
.formulario {
    background-color: #009fe3;
    text-align: left;
    flex: 1;
    padding: 10px;
}
.formulario form {
    display: flex;
    flex-direction: column;
}
.formulario input, .contacto textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
}
.btn-enviar {
    display: flex;
    justify-content: center;
}
.formulario button {
    width: 50%;
    margin-top: 10px;
    padding: 10px 10px;
    background-color: white;
    color: #009FE3;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid white;
}
.formulario button:hover {
    background-color: #009FE3;
    color: white;
    border: 2px solid white;
}
.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.iconos-redes {
    width: 30px; /* Ancho del icono */
    height: 30px; /* Altura del icono */
}
.menu-plegable {
    display: none;
    margin: 0;
}
.boton-plegable {
    display: none;
    margin: 0;
}
.footer {
    display: flex;
    flex-direction: column;
    background-color: #009FE3;
    color: white;
    width: 100%;
    margin: 0;

}
.lista-footer {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 15px;
}

.linea-footer {
    width: 35%;
    height: 2px;
    background-color: white;
    margin: 15px 0;

}
.iconos-footer {
    width: 30px;
    height: 30px;
    padding: 0;
}
.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding-bottom: 20px;
}
#nav-footer {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}
.nav-footer {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: center;
    gap: 50px;
    margin: 0;
}
.nav-footer a {
    padding: 5px;
    color: rgb(255, 255, 255);
    text-decoration: none;
}
.nav-footer a:hover {
    background-color: white;
    color: #009FE3;
    border-radius: 10px;
}
.nav-btn a:hover {
    background-color: white;
    color: #009FE3;
    border-radius: 10px;
}
.ubicacion {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 50px 0;
}
.mapa {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.514);
}
@media (max-width: 768px) {

    html, body {
        margin: 0;
        padding: 0;
        width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .navbar {
        display: flex;
        width: 100%;
        margin: 0 auto; 
        box-sizing: border-box;
    }

    .boton-plegable {
        display: flex;
        cursor: pointer;
        padding: 15px;
        right: 0;
    }
    .nav-btn {
        max-height: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 0;
        width: 100%;
        top: 30px;
        background: rgb(0, 159, 227, 0.8);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
        opacity: 0;
        transform: translateY(-10px);
        transition: max-height 1s ease-in, opacity 1s ease-in, transform 2s ease-in;
    }
     #menu-boton:checked ~ .nav-btn {
        max-height: 600px;
        opacity: 1;
        transform: translateY(0);
    }
    .nav-btn li {
        text-align: center;
        padding: 10px;
    }
    .inicio {
        height: 100vh;
        width: 100vw;              
        margin: 0;
    }
    .titulo {
        width: 95%;
        display: flex;
    }
    .btn-inicio {
        font-size: small;
    }
    .nosotros {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    .textos-nosotros {
        width: 90%;
    }
    .parrafo-nosotros {
        width: 90%;
    }
    .imagen-nosotros {
        width: 90%;
    }
    .imagen-nosotros img {
        width: 100%;
    }
    .servicios {
        padding-block: 50px;
    }
    .titulo-servicios {
        padding-left: 30px;
    }
    .bloques-servicios {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .bloque1, .bloque2, .bloque3 {
        width: 85%;
        margin: 10px 10px;
    }
    .contacto-box {
        flex-direction: column;
    }
    .info-contacto {
        text-align: left;
    }
    .formulario {
        padding: 20px;
        padding-bottom: 30px;
    }
    .nav-footer {
        flex-wrap: wrap;
        gap: 5px;
    }
}
