


/* BODY DARK/LIGHT MODE*/
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}
body.dark-mode .btn-light-dark {
    background-color: #ffffff;
    color: #000000;
}

.dark-mode .card {
    background-color: #333;
    color: white;
  }

/* Fondo para modo claro */
/*body.light-mode {
    background-color: #d01818  ; 
} */


/* NAVBAR TOGGLER-ICON  */

.navbar-toggler {
    background-color: #007bff !important; /* Cambia esto al color de fondo que prefieras */
    border: none;
}

.bi .bi-list {
    background-color: #007bff !important; /* Cambia esto al color de fondo que prefieras */
}


/* Ajustes para pantallas pequeñas */
@media (max-width: 1200px) {
    .theme-toggle-wrapper {
        position: static;
        transform: none;
        margin-left: auto; /* Mueve el botón hacia la derecha */
        margin-right: 0;
    }

    #theme-toggle {
        width: auto; /* Botón responsivo */
        padding: 8px;
        font-size: 14px;
    }

    .navbar-collapse {
        justify-content: flex-end; /* Mantiene los enlaces alineados a la derecha cuando el menú se colapsa */
    }
}




/* NAVBAR */
/* Estilo personalizado para el enlace de Contact */
.nav-link-contact {
    color: #0deb0d !important;
}

.navbar-nav {
    margin-left: auto; /* Para alinear los enlaces hacia la derecha */
}

.theme-toggle-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Para centrar el botón en la navbar */
}

#theme-toggle {
    width: auto; /* Botón responsivo */
    padding: 6px;
    font-size: 12px;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 991px) {
    .theme-toggle-wrapper {
        position: static;
        transform: none;
        margin-left: auto; /* Mueve el botón hacia la derecha */
        margin-right: 0;
    }

    #theme-toggle {
        width: auto; /* Botón responsivo */
        padding: 6px;
        font-size: 10px;
    }

    .navbar-collapse {
        justify-content: flex-end; /* Mantiene los enlaces alineados a la derecha cuando el menú se colapsa */
    }
 }






/* HERO-HEADER*/
/* hero background image */
.bgimage {
    height:100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/Hero Image.jpg');
    /*background: url('images/DALL·E .webp');*/
    background-size:cover;
    position:relative;
}
/* text css above hero image*/
.hero_title {
    font-size: 4.5rem;
}
.hero_desc {
    font-size: 2rem;
}
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}


/*ABOUT SECTION*/
/* about section image css */
.imageAboutPage {
    width: 100%;    height: 95%;
}

.social-logo {
    width: 40px; /* Ajusta el tamaño según tus preferencias */
    margin-right: 45px; /* Espacio entre los logos */
}


/*SERVICES SECTION*/
/* services section css */
.servicesText.card {
    height: 280px;
    cursor:auto;
  }
.servicesIcon {
    font-size: 36px;
    text-align: center;
    width: 100%;
}
.card-title {
    text-align: center;
}
.card:hover .servicesIcon {
    color: #008000;
}
.servicesText:hover {
    border: 1px solid #008000;
}

a.view-certificate {
    text-decoration: none; /* Quita el subrayado */
    font-size: 1.0rem; /* Ajusta el tamaño del texto */
    color: black; /* Cambia el color del enlace a negro */
}

a.view-certificate:hover {
    color: #555; /* Opcional: Cambia el color al pasar el mouse */
}

/* En modo oscuro */
body.dark-mode a.view-certificate {
    color: white;
}

body.dark-mode a.view-certificate:hover {
    color: #ccc;
}

.noborder {
    border: none !important;
}

/*efecto de subrayado en el h4 */
.card {
    text-align: center; /* Asegura que el contenido dentro de la card esté centrado */
}

.underline-effect {
    display: inline-block; /* Ajusta el tamaño del contenedor al texto */
    position: relative;
}

.underline-effect::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px; /* Ajusta la posición de la línea para que esté justo debajo del texto */
    height: 3px; /* Grosor de la línea */
    width: 100%; /* El ancho será el del texto */
    background-color: #008000; /* Color de la línea */
    transform: scaleX(0); /* La línea está colapsada inicialmente */
    transform-origin: left; /* La línea empezará a animarse desde la izquierda */
    transition: transform 0.5s ease; /* Transición suave */
}

.card:hover .underline-effect::after {
    transform: scaleX(1); /* Expande la línea completamente al hacer hover */
}


/*NAVBAR DARK ON SCROLL */
/* display background color black on navbar scroll */
.navbarScroll.navbarDark {
    background-color: black;
    color: white;
}



/*PORTFOLIO CARDS */

.card-img-top {
    height: 280px; /* Ajusta la altura según la necesidad */
    object-fit: cover; /* Recorta la imagen para que se ajuste */
}



/*FOOTER SECTION*/
/* social media icons styling */
.social-icons {
    font-size: 36px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    gap: 60px; /* Espacio entre los íconos */
}
.fa-facebook:hover,.fa-instagram:hover,.fa-twitter:hover,.fa-linkedin:hover, .fa-twitch:hover, .fa-github:hover, .fa-youtube:hover {
    color: #008000;
}
.fab {
    color: #0d6efd;
}
/* footer styling */
#footer {
    background-color: #000000;
    text-align: center;
}


/*FINAL TOUCHES*/
/*In order to add some spacing between all the sections, let's add some more styling:*/
/* spacing on all sections */
#about, #services, #portfolio, #contact {
    margin-top: 4rem;
    padding-top: 4rem;
}
#contact {
    padding-bottom: 4rem;
}


/* FIXED DOWNLOAD RESUME BUTTON */
.fixed-halfway-down-right {
    position: fixed;
    bottom: 15%;
    right: 20px;
    z-index: 1000;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background-color: #008000 !important;
    color: white !important;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.fixed-halfway-down-right:hover {
    transform: scale(1.1);
}

.vibrate-anim {
    animation: vibrate 0.3s linear infinite both;
}

@keyframes vibrate {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
}

/* ADAPTACION DE CARD EN MOVILES */

@media (max-width: 576px) {
    .card.servicesText {
        padding: 10px; /* Ajusta el padding en móviles */
    }

    .card .row .col-auto {
        margin: 5px 0; /* Reduce los márgenes entre los logos en pantallas pequeñas */
    }

    .card-body img {
        width: 40px; /* Reduce el tamaño de los logos en móviles */
    }

    .underline-effect {
        font-size: 1.2rem; /* Ajusta el tamaño del título en móviles */
    }
}
@media (max-width: 445px) {
    .card.servicesText {
        padding: 8px; /* Ajusta el padding en móviles */
    }

    .card .row .col-auto {
        margin: 3px 0; /* Reduce los márgenes entre los logos en pantallas pequeñas */
    }

    .card-body img {
        width: 35px; /* Reduce el tamaño de los logos en móviles */
    }

    .underline-effect {
        font-size: 1rem; /* Ajusta el tamaño del título en móviles */
    }
}


@media (max-width: 375px) {
    .card.servicesText {
        padding: 5px; /* Reduce el padding para pantallas muy pequeñas */
    }

    .card .row .col-auto {
        margin: 2px 0; /* Ajusta los márgenes entre logos para evitar que se junten */
    }

    .card-body img {
        width: 30px; /* Reduce el tamaño de los logos para pantallas pequeñas como iPhone SE */
    }

    .underline-effect {
        font-size: 0.9rem; /* Ajusta el tamaño del título para pantallas más pequeñas */
    }
}

@media (max-width: 320px) {
    .card.servicesText {
        padding: 3px; /* Aún más reducido para pantallas extremadamente pequeñas */
    }

    .card .row .col-auto {
        margin: 1px 0; /* Márgenes mínimos entre los logos */
    }

    .card-body img {
        width: 25px; /* Logos más pequeños para pantallas muy reducidas */
    }

    .underline-effect {
        font-size: 0.8rem; /* Texto del título más pequeño para pantallas mínimas */
    }
}










