@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;

}

body {
    background-color: #1f242d;
}

h2 {
    color: white;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1f242d;
}

::-webkit-scrollbar-thumb {
    background: deepskyblue;
}

::-webkit-scrollbar-thumb:hover {
    background: deepskyblue;
}

section {
    padding: 100px 0;
}

.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

.about,
.services,
.skills,
.works,
.contact,
.experience
footer {
    font-family: 'Poppins', sans-serif;
}

.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content, 
.experiencie .experience-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

section .title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}

section .title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: white;
    /* color de texto de las lineas de los subtitulos*/
    transform: translateX(-50%);
}

section .title::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: green;
    /* color de texto debajo del titulo*/
    padding: 0 5px;
    background: #1f242d;
    /* color del cuadrito de los subtitulo*/
    transform: translateX(-50%);
}

.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}

.navbar.sticky {
    padding: 4px 0;
    background: #1f242d;
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}

.navbar .logo a span {
    color: deepskyblue;
    transition: all 0.3s ease;
}

.navbar.sticky .logo a span {
    color: #fff;
}

.navbar .menu li {
    list-style: none;
    display: inline-block;
}

.navbar .menu li a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
    border-radius: 50px;
}

.navbar .menu li a:hover {
    color: #0ef;

}

.navbar.sticky .menu li a:hover {
    color: #0ef;

}

.menu-btn {
    color: #0ef;
    font-size: 23px;
    cursor: pointer;
    display: none;
}

.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px;
    background: #0ef;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}

.scroll-up-btn:hover {
    filter: brightness(90%);
}


.home {
    display: flex;
    background: url("images/dev2.webp") no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}

.home .max-width {
    width: 100%;
    display: flex;
}

.home .home-content h1{
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}

.home .home-content h2 {
    font-size: 40px;
    margin: 5px 0;
}

.home .home-content .text-3 span {
    color: #0ef;
    font-weight: 500;
}

.home .home-content a {
    display: inline-block;
    background: #0ef;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 50px;
    border: 2px solid #0ef;
    transition: all 0.3s ease;
    
}

.home .home-content a:hover {
    color: #0ef;
    background: none;
    box-shadow: 0 0 1rem deepskyblue;
    transform: scale(1.09);
}

.about .title::after {
    content: "";
}

.about .about-content .left {
    width: 45%;
}

.about .about-content .left img {
    height: 470px;
    width: 470px;
    object-fit: cover;
    border-radius: 6px;
}

.about-content img {
    width: 35vw;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2.4rem);
    }

    100% {
        transform: translateY(0);
    }
}

.about .about-content .right {
    width: 55%;
}

.about .about-content .right .text {
    font-size: 25px;
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

.about .about-content .right .text span {
    color: #0ef;
}

.about .about-content .right p {
    text-align: justify;
    color: white;
}

.about .about-content .right a {
    display: inline-block;
    color: #0ef;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 30px;
    margin-right: 30px;
    border-radius: 50px;
    border: 2px solid #0ef;
    transition: all 0.3s ease;
    
    
}

.about .about-content .right a:hover {
    color: #0ef;
    background: none;
    box-shadow: 0 0 1rem deepskyblue;
    transform: scale(1.09);
}

.service h2 {
    font-size: 30px;
    margin: 5px 0;
}

.services,
.works {
    background: url("images/dev2.webp") no-repeat center;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
}

.services .title::before,
.works .title::before {
    background: #fff;
}

.services .serv-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: stretch; /* ¡Esto es clave! */
}

.services .serv-content .card {
    width: calc(33% - 20px);
    min-width: 280px;
    max-width: 350px;
    height: 400px; /* Altura fija */
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    background: #1f242d;
    text-align: center;
    border-radius: 50px;
    padding: 50px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden; /* Oculta el desbordamiento */
}

.services .serv-content .card p {
    text-align: justify;
}

.services .serv-content .card .box {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    overflow-y: auto; /* Scroll vertical si el contenido es muy grande */
    scrollbar-width: thin; /* Scrollbar delgado para Firefox */
}


.services .serv-content .card .box::-webkit-scrollbar {
    width: 6px;
}
.services .serv-content .card .box::-webkit-scrollbar-thumb {
    background: #0ef;
    border-radius: 4px;
}
.services .serv-content .card:hover .box {
    transform: scale(1.05);
}

.services .serv-content .card i {
    font-size: 50px;
    color: #0ef;
    transition: color 0.3s ease;
}

.services .serv-content .card:hover i {
    color: deepskyblue;
}

.services .serv-content .card .text {
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}

.services .serv-content {
    display: flex;
    flex-wrap: wrap;         /* Permite que bajen si no caben */
    gap: 24px;               /* Espacio entre tarjetas */
    justify-content: center; /* Centra las tarjetas horizontalmente */
    align-items: stretch;    /* Estira las tarjetas para igualar alturas */
}

.services .serv-content .card {
    width: 320px;            /* Ancho fijo para cada tarjeta */
    min-width: 280px;
    max-width: 350px;
    height: 400px;           /* Altura fija para todas */
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    background: #1f242d;
    text-align: center;
    border-radius: 30px;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.services .serv-content .card .box {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    overflow-y: auto;
}

.skills h2{
    font-size: 30px;
    margin: 5px 0;
}

.skills .skills-content {
    display: flex;
    flex-wrap: wrap;         /* Permite que bajen si no caben */
    gap: 50px;               /* Espacio entre tarjetas */
    justify-content: center; /* Centra las tarjetas horizontalmente */
    align-items: stretch;    /* Estira las tarjetas para igualar alturas */
}

.skills .skills-content .card {
    flex: 1 1 220px;
    width: 100px;            /* Ancho fijo para cada tarjeta */
    min-width: 280px;
    max-width: 200px;
    height: 350px;           /* Altura fija para todas */
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    
    box-shadow: 0 0 1rem deepskyblue;
    text-align: left;
    border-radius: 30px;
    padding: 40px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 18px;
    font-weight: bold;
    color: white;
}
.skills .skills-content .card .box {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    overflow-y: auto;
}

/* Aumenta el tamaño de los iconos en las tarjetas de servicios */
.skills .skills-content .card i {
    font-size: 30px; /* Puedes ajustar este valor a tu gusto */
    
}

.skills .skills-content .card h3 {
    color: #0ef;
}

.skills .skills-content .column {
    width: calc(50% - 30px);
}

.skills .skills-content .left .text {
    font-size: 20px;
    color: deepskyblue;
    font-weight: 600;
    margin-bottom: 10px;
}

.skills .skills-content .right .text {
    font-size: 17px;
    color: deepskyblue;
    font-weight: 600;
    margin-bottom: 10px;
}

.skills .skills-content .left p {
    text-align: justify;
    color: #0ef;
}

.skills .skills-content .left a {
    display: inline-block;
    background: #0ef;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid #0ef;
    transition: all 0.3s ease;
}

.skills .skills-content .left a:hover {
    color: #0ef;
    background: none;
}

.skills .skills-content .right .bars {
    margin-bottom: 10px;
}


.skills .skills-content .right span {
    font-weight: 500;
    font-size: 18px;
    color: #0ef;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  flex: 1 1 250px; /* ancho base 250px, pero se ajusta */
  max-width: 250px;
}

.works h2{
    font-size: 30px;
    margin: 5px 0;
}

.works .carousel .card {
    background: #1f242d;
    border-radius: 50px;
    padding: 15px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.works .carousel .card:hover {
    background: deepskyblue;
    box-shadow: 0 0 1rem deepskyblue;
}

.works .carousel .card .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.works .carousel .card:hover .box {
    transform: scale(1.05);
}

.works .carousel .card .text {
    font-size: 25px;
    font-weight: 500;
    margin: 25px 0 7px 0;
}

.works .carousel .card img {
    height: 200px;
    width: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid deepskyblue;
    transition: all 0.3s ease;
}

.works .carousel .card:hover img {
    border-color: #fff;
}

.owl-dots {
    text-align: center;
    margin-top: 20px;

}

.owl-dot {
    height: 13px;
    width: 10px;
    margin: 0 5px;
    outline: none !important;
    border-radius: 50%;
    border: 2px solid #0ef !important;
    transition: all 0.3s ease;
}

.owl-dot.active {
    width: 30px;
    border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover {
    background: #0ef !important;
}

.works .card .box a {
    display: inline-block;
    background: #0ef;
    color: white;
    font-size: 20px;
    padding: 8px 20px;
    margin-top: 17px;
    font-weight: 400;
    border-radius: 50px;
    border: 2px solid #0ef;
    transition: all 0.3s ease;
}

.works .card .box a:hover {
    display: inline-block;
    background: deepskyblue;
    color: #fff;
    font-size: 20px;
    padding: 8px 28px;
    margin-top: 17px;
    font-weight: 400;
    border-radius: 50px;
    border: 2px solid deepskyblue;
    transition: all 0.3s ease;
}

.contact h2{
    font-size: 30px;
    margin: 5px 0;
}

.contact .title::after {
    content: "";
}

.contact .contact-content .column {
    width: calc(50% - 30px);
}

.contact .contact-content .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0ef;
}

.contact .contact-content .left p {
    text-align: justify;
    color: white;
}

.contact .contact-content .left .icons {
    margin: 10px 0;
}

.contact .contact-content .row {
    display: flex;
    height: 65px;
    align-items: center;

}

.contact .contact-content .row .info {
    margin-left: 30px;

}

.contact .contact-content .row i {
    font-size: 25px;
    color: #0ef;
}

.contact .contact-content .info .head {
    font-weight: 500;
    color: white;
}

.contact .contact-content .info .sub-title {
    color: #0ef;
}

.contact .right form .button-area {
    display: flex;
    align-items: center;
}


footer {
    background: #1f242d;
    padding: 3px 23px;
    color: #fff;
    text-align: center;
}

footer span a {
    color: #fff;
    text-decoration: none;

}

footer span a:hover {
    text-decoration: underline;
}


@media (max-width: 1104px) {
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width {
        padding: 0 50px;
    }
}

@media (max-width: 947px) {
    .menu-btn {
        display: block;
        z-index: 999;
    }

    .menu-btn i.active:before {
        content: "\f00d";
    }

    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #222;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }

    .navbar .menu.active {
        left: 0;
    }

    .navbar .menu li {
        display: block;
    }

    .navbar .menu li a {
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }

    .home .home-content .text-2 {
        font-size: 70px;
    }

    .home .home-content .text-3 {
        font-size: 35px;
    }

    .home .home-content a {
        font-size: 23px;
        padding: 10px 30px;
    }

    .max-width {
        max-width: 930px;
    }

    .about .about-content .column {
        width: 100%;
    }

    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }

    .about .about-content .right {
        flex: 100%;
    }

    .services .serv-content .card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }

    .skills .skills-content .column,
    .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width {
        padding: 0 23px;
    }

    .home .home-content .text-2 {
        font-size: 60px;
    }

    .home .home-content .text-3 {
        font-size: 32px;
    }

    .home .home-content a {
        font-size: 20px;
    }

    .services .serv-content .card {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .home .home-content .text-2 {
        font-size: 50px;
    }

    .home .home-content .text-3 {
        font-size: 27px;
    }

    .about .about-content .right .text,
    .skills .skills-content .left .text {
        font-size: 19px;
    }

    .scroll-up-btn {
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
}

span {
    color: #0ef;
}

.bars {
    font-size: 40px;

}

/* Contacto */
.contact-form {
  max-width: 600px;
  margin: 30px auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: white;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: black;
  transition: background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-links {
  margin-top: 30px;
}

.contact-links a {
  display: inline-block;
  margin: 10px;
  text-decoration: none;
  color: black;
  background: #0cc5b6;
  padding: 10px 20px;
  border-radius: 8px;
  transition: 0.3s;
  font-weight: bold;
}

.contact-links a:hover {
  background: #dfd009;
}

/* Mensajes del formulario */
.message {
  margin-top: 20px;
  text-align: center;
}

.success {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #28a745;
}

.error {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #dc3545;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 1px;
}

/* Responsive: apilar columnas en pantallas pequeñas */
@media (max-width: 768px){
  .hero .hero-content{
    flex-direction: column;
    text-align: center;
  }
  .hero .hero-content .left,
  .hero .hero-content .right{
    width: 100%;
  }
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.btn {
  display: inline-block;
  background: rgb(10, 131, 131);
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: rgb(10, 131, 131);
  box-shadow: 0 0 1rem deepskyblue;
  transform: scale(1.05);
  color: white;
}

.button-area {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.bx.bxl-whatsapp {
  font-size: 55px !important; /* aumenta el tamaño */
  color: #0ef;
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left:50px;
}

.bx.bxl-whatsapp:hover {
  transform: scale(1.5);
}

.bx.bxl-github {
font-size: 55px !important; /* aumenta el tamaño */
  color: #0ef;
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left:50px;
}

.bx.bxl-github:hover {
  transform: scale(1.5);
}

.bx.bxl-linkedin {
    font-size: 55px !important; /* aumenta el tamaño */
  color: #0ef;
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left:50px;
}
.bx.bxl-linkedin:hover {
  transform: scale(1.5);
}

.typed-cursor {
    font-size: 1.5rem; /* fija un tamaño único para todos */
    color: #0ef;       /* opcional: color del cursor */
    line-height: 1;
}


