.tomorrow-thin {
    font-family: "Tomorrow", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.tomorrow-extralight {
    font-family: "Tomorrow", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.tomorrow-light {
    font-family: "Tomorrow", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.tomorrow-regular {
    font-family: "Tomorrow", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.tomorrow-medium {
    font-family: "Tomorrow", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.tomorrow-semibold {
    font-family: "Tomorrow", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.tomorrow-bold {
    font-family: "Tomorrow", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.tomorrow-extrabold {
    font-family: "Tomorrow", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.tomorrow-black {
    font-family: "Tomorrow", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.tomorrow-thin-italic {
    font-family: "Tomorrow", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.tomorrow-extralight-italic {
    font-family: "Tomorrow", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.tomorrow-light-italic {
    font-family: "Tomorrow", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.tomorrow-regular-italic {
    font-family: "Tomorrow", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.tomorrow-medium-italic {
    font-family: "Tomorrow", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.tomorrow-semibold-italic {
    font-family: "Tomorrow", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.tomorrow-bold-italic {
    font-family: "Tomorrow", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.tomorrow-extrabold-italic {
    font-family: "Tomorrow", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.tomorrow-black-italic {
    font-family: "Tomorrow", sans-serif;
    font-weight: 900;
    font-style: italic;
}

/* ------------------------------------------------- */

a {
    all: initial;
    color: white;
    cursor: pointer;
}

body {
    margin: 0;
    overflow-x: hidden;
}

[data-lang] {
    opacity: 0;
    transition: opacity 0.4s ease;
    position: absolute;
}

[data-lang]:not([hidden]) {
    opacity: 1;
    position: static;
}

header {
    background: linear-gradient(to right, crimson, black);
    color: white;
    width: 31%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0px;
    z-index: 10;
    border-bottom: 5px solid cyan;
}

header h1 {
    font-size: 3rem;
    font-weight: 800 !important;
    margin: 0px !important;
    padding: 0px;
}

header p {
    font-family: Helvetica, sans-serif;
    margin: 0px !important;
    padding: 0px;
    position: relative;
    top: -3px;
}

footer {
    background: #aaaaaaaa;
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    top: 80px;
}

footer .contacto {
    font-size: 1.5rem;
}

footer h3 {
    font-size: 1.5rem;
    margin: 0px !important;
    padding: 0px;
    margin-top: 1rem !important;
    margin-bottom: 0rem !important;
    position: relative;
    left: 2rem;
}

footer a {
    margin: 0;
    font-size: 2rem !important;
    font-family: Arial, Helvetica, sans-serif;
}

footer .redes {
    font-size: 2rem !important;
    position: relative;
    top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: space-around !important;
    justify-content: space-around !important;
    height: 200px;
    border: 0px solid red;
    padding: 0;
}

footer .redes p {
    margin: 0;
}

footer p {
    font-family: Arial, Helvetica, sans-serif;
}

main {
    position: relative !important;
    top: 80px !important;
}

/* ------------------------------------------------------ */

.banner {
    background: lightcyan;
    height: 210px;
}

.behance {
    height: 100% !important;
    position: relative;
    left: 1rem;
}

.derechos-autor {
    position: relative;
    top: -.5rem;
    font-size: .7rem !important;
}

.cianware {
    width: 60%;
    margin-top: 3rem;
}

.daniel-vega-caro {
    width: 100%;
}

.elegir-idioma {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: .5rem;
}

.elegir-idioma label {
    margin-right: .5rem;
}

.elegir-idioma select {
    padding: 0.5em 1em;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath fill='%23666' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .5em top 50%;
    background-size: 0.6em auto;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.elegir-idioma select:focus {
    border-color: cyan;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    outline: none;
}

.emex-logo {
    width: 100% !important;
}

.freepik {
    width: 200px;
    z-index: 8 !important;
    position: absolute;
    top: 720px !important;
    left: 1000px;
}

.derechos-freepik {
    z-index: 9 !important;
    position: absolute !important;
    color: white;
    top: 658px;
    left: 528px;
    font-size: small;
    background: navy;
    border-radius: 1rem;
    padding: 3px;
}

.linea-separadora {
    width: 97%;
    border-bottom: 3px solid gray;
    margin-top: 3rem;
    position: relative;
    top: -130px;
}

.mi-portafolio {
    margin: 0;
    background: LightSalmon;
}

.mi-portafolio-2 {
    margin: 0;
    background: yellowgreen !important;
}

.mi-portafolio .github {
    margin: 0;
    height: 70% !important;
    width: 90% !important;
    position: relative;
    left: 5px;
    top: 5px;
}

.mi-portafolio p {
    margin: 0;
    font-size: 10px;
    position: relative;
    left: 10px !important;
    top: 5px;
}

.servicio {
    width: 87%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.servicio h2 {
    background: linear-gradient(to right, white, cyan, yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
    font-family: "Tomorrow", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin-top: 0;
}

.servicio p {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
}

.servicio-1 {
    background: linear-gradient(to bottom, crimson, crimson, white);
}

.servicio-1 h2 {
    font-size: 1.4rem;
}

.servicio-2 {
    background: linear-gradient(to bottom, lightcyan, black);
}

.servicio-2 h2 {
    background: linear-gradient(to right, black, navy, yellowgreen);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.servicio-2 p {
    color: black;
}

.servicio-3 {
    background: linear-gradient(to bottom, crimson, crimson, white);
}

.trabajos-web {
    display: flex;
    justify-content: space-between;
    align-items: space-between;
    flex-wrap: wrap;
    width: 100%;
    z-index: 3 !important;
}

.card {
    margin-bottom: 1.5rem !important;
    padding: 1rem;
    border-radius: 1rem 5rem 5rem 5rem;
    transition: all 0.5s ease;
}

.card .emex {
    width: 100% !important;
    border-radius: 0 0 0 0 !important;
}

.pildora {
    all: initial;
    height: 200px !important;
}

.pildorilla {
    display: flex;
    justify-content: center;
    border: none !important;
    height: 300px !important;
    width: 800px !important;
    position: relative;
    left: 100px;
    top: 100px;
    cursor: pointer;
}

.pildorilla-iluminacion {
    border: 0px solid white;
    width: 200px;
    height: 300px;
    position: absolute;
    left: 1130px;
    top: 420px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%);
            z-index: 13;
}

.pildorilla-sombra {
    border: 0px solid white;
    width: 250px;
    height: 300px;
    position: absolute;
    left: 300px;
    top: 0px;
    background: linear-gradient(to bottom, rgb(255, 255, 122), rgb(254, 149, 28), rgb(193, 103, 1), rgb(110, 38, 2));
    shape-outside: ellipse(20% 50%);
      clip-path: ellipse(50% 50%);
}

.pildorilla-sombra::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* ajusta la opacidad según la oscuridad deseada */
    z-index: 1;
    pointer-events: none;
    border-radius: 13rem;
    border: 13px solid rgb(255, 255, 122);
  }

.izquierda-a {
    border: none;
    border-radius: 10rem 0 0 10rem;
    background: linear-gradient(to bottom, rgb(255, 255, 122), rgb(254, 149, 28), rgb(193, 103, 1), rgb(110, 38, 2));
    height: 300px;
    width: 431px;
    position: absolute;
    LEFT: 0px;
}

.izquierda-b {
    border: none;
    border-radius: 10rem 10rem 10rem 10rem;
    background: linear-gradient(to bottom, cyan, rgb(36, 36, 228), rgb(7, 7, 153), rgb(4, 4, 66));
    height: 300px;
    width: 500px;
    position: absolute;
    LEFT: 281px;
    z-index: 13;
}

.derecha {
    border: none !important;
    border-radius: 80px 13px 13px 80px;
    position: relative;
    top: 500px;
    left: 0px !important;
    background: linear-gradient(to left, white, white, white, white, gray);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ajusta sin deformar, recorta si sobra */
    cursor: pointer;
    border-radius: 0 !important;
}

.estrella {
    position: absolute;
    top: 1237px;
    left: 768px;
}

#curved-corner-bottomleft {
    top: 120px !important;
    left: 40px !important;
}

#curved-corner-bottomright {
    top: 40px !important;
    left: -40px !important;
}

#curved-corner-topleft {
    top: 40px !important;
    left: 40px !important;
}

#curved-corner-topright {
    top: -40px !important;
    left: -40px !important;
}

#curved-corner-bottomleft,
#curved-corner-bottomright,
#curved-corner-topleft,
#curved-corner-topright {
    width: 80px;
    height: 80px;
    overflow: hidden;
    position: relative;
}

#curved-corner-bottomleft:before,
#curved-corner-bottomright:before,
#curved-corner-topleft:before,
#curved-corner-topright:before {
    content: "";
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    border-radius: 50%;
}

#curved-corner-bottomleft:before {
    bottom: 0;
    left: 0;
    box-shadow: -50px 50px 0 0 #AEAEAE;
}

#curved-corner-bottomright:before {
    bottom: 0;
    right: 0;
    box-shadow: 50px 50px 0 0 #AEAEAE;
}

#curved-corner-topleft:before {
    top: 0;
    left: 0;
    box-shadow: -50px -50px 0 0 #AEAEAE;
}

#curved-corner-topright:before {
    top: 0;
    right: 0;
    box-shadow: 50px -50px 0 0 #AEAEAE;
}

.sombra-centro {
    border: 0px solid red;
    width: 30px;
    height: 330px;
    position: absolute;
    top: 1180px;
    left: 793px;
    z-index: 4;
    background: linear-gradient(to right, #9D9D9D, #9D9D9D, gray, #9D9D9D, #9D9D9D);
}


/* ------------------------------------------------------- */

/* Dispositivos muy pequeños (teléfonos antiguos, 320px - 480px) */
@media (max-width: 480px) {}

/* Teléfonos modernos (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {

    .card {
        margin-bottom: 1.5rem !important;
    }

    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Ajusta sin deformar, recorta si sobra */
        cursor: pointer;
    }

    footer {
        font-family: Arial, Helvetica, sans-serif;
        height: 550px !important;
    }

    footer .contacto {
        font-size: 1.5rem;
        margin: 0;
    }

    footer h3 {
        font-size: 8rem;
        margin: 0px !important;
        padding: 0px;
        margin-top: 1rem !important;
    }

    footer a {
        margin-top: 1.5rem;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 2rem !important;
        margin: 0;
    }

    footer p {
        margin-top: 2rem;
        margin-bottom: 3rem;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 5rem !important;
        margin: 0 !important;
    }

    .redes {
        font-size: 2rem !important;
        position: relative !important;
        top: 8rem !important;
        display: flex;
        flex-direction: column;
        align-items: space-around !important;
        justify-content: space-around !important;
        height: 100px;
        border: 0px solid red;
        margin: 0;
    }

    .redes p {
        margin: 0;
    }

    .servicio {
        width: 69%;
        padding: 8rem;
    }

    .servicio h2 {
        font-size: 2rem !important;
        margin: 0px !important;
        padding: 0px;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .trabajos-web div {
        border: 3px solid white;
        height: 180px;
        overflow: hidden;
        border-radius: .3rem;
        margin-top: 3rem;
    }
}

/* Laptops pequeños (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {}

/* Pantallas grandes (más de 1280px) */
@media (min-width: 1281px) {

    header {
        flex-direction: row;
        justify-content: start;
        width: 100%;
    }

    header h1 {
        margin-left: 5rem !important;
    }

    header p {
        margin-left: 5rem !important;
        font-size: 2rem;
    }

    /* ---------------------------------------- */

    .banner {
        height: 550px;
    }

    .banner img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
        /* Ajusta sin deformar, recorta si sobra */
        cursor: pointer;
    }

    .card {
        margin: 0 !important;
        padding: 0;
    }

    .card a {
        width: 50% !important;
        height: 100% !important;
        object-fit: cover !important;
        /* Ajusta sin deformar, recorta si sobra */
        cursor: pointer;
    }

    .card img {}

    .card p {
        color: gray;
        position: relative !important;
        left: 18rem !important;
        font-size: 3rem !important;
    }

    .cianware {
        width: 21rem;
    }

    .cianware-fondo {
        height: 1000px;
        position: absolute;
        z-index: 1;
        top: 0px;
    }

    .cianware,
    .redes,
    .derechos-autor {
        z-index: 2;
    }

    .derechos {
        position: relative;
        top: 400px;
    }

    .derechos p {
        font-size: 2rem !important;
    }

    .derechos-autor {
        z-index: 2;
        color: crimson;
    }

    footer {
        font-family: Arial, Helvetica, sans-serif;
        height: 500px !important;
    }

    footer .contacto {
        font-size: 1.5rem;
        margin: 0;
    }

    footer h3 {
        font-size: 3rem;
        font-weight: 400 !important;
        margin: 0px !important;
        padding: 0px;
        margin-top: 1rem !important;
    }

    .rs {
        background: #C6C6C6;
        color: white !important;
        padding: 2rem;
        width: 130px;
        height: 30px;
        position: relative !important;
        left: -600px;
        top: -180px !important;
        border-radius: 1rem;
        border-top: white solid 1px;
        border-bottom: black solid 8px;
        border-left: black solid 5px;
        border-right: black solid 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 8px;
        border: 2px solid transparent;
        /* Borde invisible por defecto */
        padding: 0.5rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        border-top: white solid 1px;
        border-bottom: black solid 8px;
        border-left: black solid 5px;
        border-right: black solid 5px;
    }

    .rs-linkedin {
        position: relative !important;
        top: 0px !important;
    }

    .rs p {
        font-size: 1rem !important;
    }

    a:hover .rs.email,
    a:hover  .wa,
    a:hover .fb,
    a:hover .li {
        background-color: lightcyan;
        /* Color de fondo iluminado */
        color: black;
        /* Color de texto al iluminar */
        box-shadow: 0 0 20px lightcyan;
        /* Efecto de brillo */
        transition: all 0.3s ease;
        border-top: white solid 1px;
        border-bottom: gray solid 8px;
        border-left: gray solid 5px;
        border-right: gray solid 5px;
    }

    .email,
    .fb,
    .li {
        width: 130px !important;
        height: 80px;
    }

    .wa {
        width: 180px !important;
        height: 80px;
    }

    .negrita {
        font-weight: 800;
    }

    footer .derechos-autor {
        margin-top: 1rem;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem !important;
    }

    .redes {
        font-size: 2rem !important;
        position: relative !important;
        top: 0rem !important;
        display: flex;
        flex-direction: column;
        align-items: space-around !important;
        justify-content: space-around !important;
        height: 200px;
        margin: 0;
    }

    .redes p {
        margin: .5rem !important;
        font-size: 5rem;
    }

    .linkedin {
        position: relative !important;
        top: -18rem !important;

    }

    .servicio {
        width: 64.5%;
        padding: 21rem;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .servicio h2 {
        font-size: 2rem;
        font-weight: 700;
    }

    .servicio p {
        font-size: 1.5rem;
    }
}