html,
body {
    margin: 0 !important;
    padding: 0;
    background-color: #050505;
    color: white;
}

header {
    background-color: transparent;
}
header .social{
    list-style: none;
    align-items: center;
    padding: 0;
}
header .social li{
    margin-right: 15px;
}

.logo {
    height: 50px;
    max-width: 100%;
}

.video-header {
    height: 80vh;
    overflow: hidden;
}

.video-header video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.servicios {
    background-color: #070DB2;
    background-image: url(../img/bg-servicios.png);
    border-radius: 9px;
    color: white;
    padding-top: 30px;
    padding-bottom: 30px;
    background-position: right bottom;
    background-size: 54%;
    background-repeat: no-repeat;
    padding-bottom: 100px;
}

.servicios .list {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    /* Permite que los elementos bajen a la siguiente fila */
}

.servicios .list .item {
    background: white;
    color: black;
    border-radius: 9px;
    padding: 20px;
    margin: 0 15px;
    width: calc(25% - 2rem);
    /* Resta el gap para que entren 3 por fila */
    position: relative;
    transition: all .2s ease;
    transform: scale(1);
}

.servicios .list .item:hover {
    cursor: pointer;
    transition: all .3s ease;
    transform: scale(1.05);
}

.servicios .list .item:hover img {
    animation: floatSoftly 3s ease-in-out infinite;
}

@media (max-width: 992px) {
    .servicios .list .item {
        width: calc(50% - 2rem);
        /* 2 columnas */
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .servicios .list .item {
        width: 100%;
        /* 1 columna */
        margin-bottom: 15px;
    }
}

.servicios .list h4 {
    margin-top: 5rem;
    text-align: center;
}

.servicios .list p {
    font-size: 12px;
    text-align: justify;
}

.servicios .list .item img {
    height: 50px;
}

.leet-shuffle span {
    display: inline-block;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.trabajos h2 {
    text-align: center;
    font-size: 6rem;
    margin: 6rem 0;
}

.proyecto-list {
    display: flex;
    flex-wrap: wrap;
    /* Permite que los elementos bajen a la siguiente fila */
    gap: 2rem;
    /* Espacio entre columnas y filas */
}



.proyecto-list .proyecto {
    overflow: hidden;
    position: relative;
    margin: 15px;
    cursor: pointer;
    width: calc(33.333% - 4rem);
    /* Resta el gap para que entren 3 por fila */
    position: relative;
}

@media (max-width: 992px) {
    .proyecto-list .proyecto {
        width: calc(50% - 3rem);
        /* 2 columnas */
    }
}

@media (max-width: 576px) {
    .proyecto-list .proyecto {
        width: 100%;
        /* 1 columna */
    }
}

.proyecto-list .proyecto a {
    color: white;
}

.proyecto-list .overlay {
    background-color: rgb(5 5 5 / 34%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    transition: all .3s ease;
}

.proyecto-list .proyecto img {
    max-width: 100%;
    transform: scale(1);
    transition: all .3s ease;
}

.proyecto-list .proyecto:hover .overlay {
    transition: all .3s ease;
    background-color: rgba(5, 5, 5, 0.70);
    /* Fondo oscuro con opacidad */
}

.proyecto-list .proyecto:hover img {
    max-width: 100%;
    transform: scale(1.2);
    transition: all .3s ease;
}

.proyecto-list .proyecto .caption {
    position: absolute;
    top: 0;
    z-index: 2;
    width: 100%;
    padding: 25px;
}

.proyecto-list .proyecto .caption h4 .span {
    font-size: 15px;
}

.proyecto-list .proyecto .caption h4 {
    margin-top: 0;
    transition: all .3s ease;
}

.proyecto-list .proyecto:hover .caption h4 {
    margin-top: 10px;
    transition: all .3s ease;
}

@keyframes floatSoftly {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.bounce-image {
    animation: floatSoftly 3s ease-in-out infinite;
}


.nav ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav li {
    width: 50%;
    /* 2 columnas */
    padding: 0.5rem;
    box-sizing: border-box;
}

.nav li a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    transition: all .3s ease;
}

.nav li a:hover {
    
    transform: translateX(5px);
    transition: all .3s ease;
}

/* Estilos responsive: versión hamburguesa */
@media (max-width: 991.98px) {

    #main-menu {
        flex-direction: column;
        background-color: #000;
        padding: 1rem;
        display: none;
        position: absolute;
        top: 83px;
        width: 98%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9;
    }

    #main-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-toggler {
        border: none;
        background: none;
        color: white;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
}

.contacto-content {
    background-color: #070DB2;
    background-image: url('../img/page-contacto-bg.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 500px;
}

.title-page {
    font-size: 5rem;
}

.contacto-content button,
.contacto-content input,
.contacto-content select,
.contacto-content textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    width: 100%;
}

.contacto-content input,
.contacto-content select,
.contacto-content textarea {
    color: white;
    background: transparent;
    border: solid 0.5px #ffffff54;
    height: 40px;
    border-radius: 4px;
}

.contacto-content input[type="submit"] {
    background-color: #040404;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 24px;
}

.contacto-content label {
    text-transform: uppercase;
}

.slick-dots {
    margin-top: 11px;
    bottom: auto;
}

/* Estilo para los puntos del slider (líneas horizontales) */
.slick-dots li button:before {
    content: '';
    display: block;
    width: 25px;
    /* Ajusta el tamaño de la raya */
    height: 3px;
    /* Altura de la raya */
    margin: 0 auto;
    background-color: white;
    /* Color blanco de las rayas */
    opacity: 0.5;
    /* Opacidad para los puntos inactivos */
}

/* Estilo para el punto activo (la raya activa) */
.slick-dots li.slick-active button:before {
    opacity: 1;
    /* Opacidad completa para la raya activa */
    background-color: white;
    /* Cambia a blanco cuando esté activo */
}


.proyectos-container {
    background-color: #212121;
}

.current-menu-item a {
    color: #7c7fc1 !important;
    font-weight: bold;
}

.font-big {
    font-size: 1.75rem;
}

.scroll-section {
    height: 35vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background-color: rgba(100, 100, 100, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 9999;
}

.cursor-hover {
    transform: scale(2);
    background-color: rgba(150, 150, 150, 0.2);
}

.footer {
    margin-top: 5rem;
    background-color: #212121;
    background-image: url(../img/footer-bg.png);
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.content-footer {
    margin-top: auto;
    background: #212121;
}

.content-footer .container {
    margin-top: -2rem;
}

.content-footer .container a {
    background: black;
    text-decoration: none;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 30px;
    color: white;
    border-radius: 9px;
    margin: 2rem 0;
}

@media (max-width: 991.98px) {

    .footer {
        height: 25vh;
    }

    .trabajos h2 {
        font-size: 3rem;
        margin: 3rem 0;
    }

    .logo {
        height: auto;
        max-width: 100%;
    }

    .scroll-section {
        height: 18vh;
    }

    .video-header {
        height: 40vh;
    }

    .font-big {
        font-size: 18px;
    }
}