*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

:root {
    --principal:rgb(255, 255, 255);
    --secundario:rgb(57, 118, 158);
    --claro:rgb(2, 164, 192);
}

html {
	scroll-behavior: smooth;
    scroll-padding: 30px;
}

body {
    background-color: var(--principal);
    color: var(--secundario);
    overflow-x: hidden;
}

header {
    min-height: 100px;
    padding: 0px 10%;
/*     background-color: var(--secundario); */
    color: var(--secundario);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 2px 15px 4px rgba(158,158,158,0.75);
-webkit-box-shadow: 0px 2px 15px 4px rgba(158,158,158,0.75);
-moz-box-shadow: 0px 2px 15px 4px rgba(158,158,158,0.75);
}

header .logo {
    height: 90px;
    margin: 20px;
}

header .logo img {
    height: 100%;
}

header a {
    text-decoration: none;
    color: var(--secundario);
}

header a:hover {
    color: var(--claro);
}

header ul{
    display: flex;
    width: 50%;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

main {
    width: 100%;
    margin: auto;
}

.hero {
    width: 80%;
    margin: auto;
    height: calc(100vh - 120px);
    display: flex;
    padding: 30px 5px;
    gap: 50px;
}

.herotext{
    padding: 0px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5%;
    text-align: center;
}

.herotext h1{
    font-size: 2.3dvw;
}

.corazon {
    animation: palpitar 2s linear infinite;
    width: 15%;
}

@keyframes palpitar {
    50% {
        scale: 2;
    }
}

.herotext h2 {
    font-size: 1.2dvw;
}

.herotext li {
    list-style: none;
    margin: 9px 0px;
    text-align: left;
    font-size: 0.9dvw;
}

.herotext button{
    padding: 8px 15px;
    background-color: var(--claro);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 0.9vw;
    cursor: pointer;
    transition: 0.3s;
}

.herotext button:hover {
    color: blue;
}

.hero .imghero {
    height: calc(100% - 30px);
    object-fit: contain;
    margin: auto;
    width: 50%;
    border-radius: 30px;
}

.empleo {
    background-color: rgba(238, 238, 238, 0.486);
    text-align: center;
    padding: 5% 20%;
    margin: 100px 0px;
}

.empleo h3 {
    font-size: 2vw;
}

.empleo p {
    font-size: 1vw;
    margin: 40px 0;
}

.empleo a button {
    padding: 8px 15px;
    background-color: var(--claro);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 0.9vw;
    cursor: pointer;
    transition: 0.3s;
}

.empleo a button:hover {
    color: blue;
}


.sobrenosotros{
    height: 100vh;
    margin: 100px auto;
    margin-top: 20px;
    padding: 4% 0px;
    width: 80%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.sobrenosotros h2 {
    font-size: 2vw;
}

.sobrenosotros p {
    font-size: 1vw;
    padding: 0px 25%;
}

.sobrenosotros .lisn {
    font-size: 0.95dvw;
    list-style: none;
    margin: 6% 0px;
}

.caracteristicasul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 5%;
    list-style: none;
    padding:0  10%;
}

.caracteristicas {
    width: 33%;
    height: 100%;
    display: flex;
    padding: 0px 3%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.13);
    background-color: rgba(245, 245, 245, 0.521);
    border-radius: 30px;
}

.caracteristicas img {
    width: 70%;
}

.caracteristicas h2 {
    font-size: 1.1vw;
    text-align: center;
    margin: 20px;
}

.caracteristicas p {
    font-size: 0.8vw;
    padding: 0;
    margin-bottom: 50px;
    
}

.descripcion {
    width: 100%;
    margin:100px auto;
    height: auto;
    display: flex;
    background-color: rgba(238, 238, 238, 0.486);
    position: relative;
}

.capa3 {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.233);
    width: 50%;
    height: 100%;
}

.descripcion img{
    width: 50%;
}

.descripciontxt {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10%;
    padding: 0px 5%;
}

.descripciontxt h3 {
    font-size: 2vw;
    text-align: center;
    color: var(--claro);
}

.descripciontxt p {
    font-size: 1vw;
    text-align: center;
    color: var(--claro);
}

.descripciontxt a button {
    padding: 5px 8px;
    border: none;
    border-radius: 30px;
    background-color: var(--claro);
    color: var(--principal);
    cursor: pointer;
    font-size: 1vw;
}   

.descripciontxt a button:hover {
    background-color: var(--principal);
    color: var(--claro);

}

.pacientes {
    width: 80%;
    min-height: 55vh;
    background: rgb(241, 228, 228) url(img/paciente.webp);
    background-position: top;
    overflow: hidden;
    background-size: cover;
    background-repeat: round space;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 15%;
    position: relative;
    color: rgb(0, 0, 179);
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.39);
    border-radius: 30px;
    margin: 200px auto;
}

.pacientes h2 {
    font-size: 1.7vw;
    width: max-content;
    background: linear-gradient(to right, rgba(0, 26, 255, 0.377), rgba(4, 22, 80, 0.678));
    background-clip: text;
    color: transparent;
    z-index: 1;
}

.pacientes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 1.1vw;
    color: rgb(0, 0, 179);
    z-index: 2;
}

.pacientes ul li {
    background: linear-gradient(to right, rgba(14, 28, 155, 0.459), rgba(4, 22, 80, 0.781));
    background-clip: text;
    color: transparent;
}

.pacientes .capa2 {
    background: rgba(255, 255, 255, 0.466);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.servicios {
    width: 80%;
    margin: auto;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.carrusel {
    width: 100%;
    margin: 50px 0;
    display: flex; 
    transition: 0.8s;
}

.btnizquierda {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0px;
    font-size: 20px;
    font-weight: 900;
    border-radius: 50%;
    border: 1px solid black;
    background-color: rgba(128, 128, 128, 0.101);
    aspect-ratio: 1/1;
    width: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btnderecha {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 0px;
    font-size: 20px;
    font-weight: 900;
    border-radius: 50%;
    border: 1px solid black;
    background-color: rgba(128, 128, 128, 0.101);
    aspect-ratio: 1/1;
    width: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.conttarjetacarr {
    min-width: calc(100% / 2);
    height: 100%;
}

.tarjeta {
    aspect-ratio: 1;
    width: 86%;
    margin: 0px 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0 0px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.tarjeta:hover > .capa {
    opacity: 0;
}

.tarjeta img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.capa {
    background-color: rgba(255, 255, 255, 0.781);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .3s;
    display: flex;
    flex-direction: column;
    gap: 10%;
    align-items: center;
    justify-content: center;
    color: var(--secundario);
    padding: 10%;
}



.capa h3 {
    font-size: 1.4vw;
}

.capa ul li{
    font-size: 1vw;
}

.eligenos {
    width: 80%;
    text-align: center;
    margin: 100px auto;
    margin-bottom: 150px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.eligenos h3 {
    font-size: 1.8vw;
}

.eligenos p {
    font-size: .9vw;
}

.eligenos p strong {
    font-size: 1.1vw;
    color: var(--claro);
}




footer {
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 15px 4px rgba(158,158,158,0.75);
    -webkit-box-shadow: 0px 2px 15px 4px rgba(158,158,158,0.75);
    -moz-box-shadow: 0px 2px 15px 4px rgba(158,158,158,0.75);
    min-height: 100px;
    height: 100%;
    width: 100%;
}

footer a {
    text-decoration: none;
    color: var(--secundario);
}

.foredes {
    width: 30%;
}

.foredes ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    list-style: none;
}

.foredes ul li {
    width: 40px;

}

.foredes ul li a img {
    width: 100%;
}

.focopy {
    width: 30%;
}

.float {
    position: fixed;
    font-size: 3vw;
}

.fderecha {
    bottom: 12%;
    right: 20px;
    color: green;
}


.fizquierda {
    bottom: 12%;
    left: 20px;
    color: rgb(0, 140, 255);
}



.fade-in {
  opacity: 0;
  transform: translateY(-100px);
  animation: fadeIn ease 1.5s forwards;
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes izquierda {
    from {
        opacity: 0;
        transform: translateX(-600px);
    }

    50% {
        opacity: 0.2;
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.izquierda {
    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: izquierda;

    animation-range: entry 1% cover 45%;
    animation-fill-mode: both;
}

@keyframes derecha {
    from {
        opacity: 0;
        transform: translateX(600px);
    }

    50% {
        opacity: 0.2;
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.derecha {
    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: derecha;

    animation-range: entry 1% cover 45%;
    animation-fill-mode: both;
}


/* Página de empleo */ 

.contenedoremp {
    display: flex;
    height: calc(100vh - 130px);
}

.contratando {
    width: 80%;
    height: 100%;
    margin: 0px auto;
    padding: 50px;
    margin-bottom: 0px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.contratando h2 {
    font-size: 2.2vw;
}

.contratando p {
    font-size: 1.2vw;
}

.contratando ul {
    font-size: 1vw;
    list-style: none;
}

.contratando h3 {
    font-size: 1.7vw;
}

.contratando a button {
    padding: 8px 15px;
    background-color: var(--claro);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 0.9vw;
    cursor: pointer;
    transition: 0.3s;
}

.contratando a button:hover {
    color: blue;
}

.contenedoremp img {
    width: 40%;
    margin: 5% 5%;
    object-fit: cover;
    border-radius: 20px;
}




@media (max-width:900px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    header a {
        margin: auto;
    }

    header ul {
        width: 94%;
        margin: 25px auto;
    }

    header a {
        font-size: 12px;
    }

    header .logo {
        margin: 20px auto;
        margin-bottom: 0;
        height: 70px;
    }

    main {
        width: 100%;
    }

    .hero {
        flex-direction: column;
    }

    .herotext {
        height: 50%;
        justify-content: space-between;
    }

    .herotext h1{
        font-size: 6dvw;
    }

    .corazon {
        width: 20%;
    }

    .herotext h2 {
        font-size: 4.3dvw;
    }

    .herotext li {
        font-size: 3.9dvw;
        list-style: square;
    }

    .herotext button {
        font-size: 3.5dvw;
    }

    .hero .imghero {
        height: auto;
        max-height: 30vh;
        width: 100%;
    }

    .empleo {
        padding: 5% 10%;
        margin: 0px 0px;
    }

    .empleo h3 {
        font-size: 4.5vw;
    }

    .empleo p {
        font-size: 3vw;
        margin: 30px 0px;
    }

    .empleo a button {
        font-size: 3vw;
    }

    .sobrenosotros {
        height: auto;
        padding: 20px 20px;
        width: 90%;
    }

    .sobrenosotros h2 {
        font-size: 6vw;
    }

    .sobrenosotros p {
        font-size: 4vw;
        padding: 15px 0;
    }
    
    .sobrenosotros .lisn {
        font-size: 3.5vw;
    }

    .caracteristicasul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0px;
    }

    .caracteristicas {
        width: 100%;
    }

    .capa3 {
        display: none;
    }

    .descripcion img{
        display: none;
    }

    .descripciontxt {
        width: 100%;
        padding: 10%;
    }

    .descripciontxt h3 {
        font-size: 5vw;
    }

    .descripciontxt p {
        font-size: 3.5vw;
        padding: 10% 0;
    }

    .descripciontxt a button {
        font-size: 3vw;
        padding: 8px 10px;
    }

    .pacientes {
        width: 96%;
        min-height: 20vh;
        padding: 5% 5%;
        background-size: cover  ;
        margin: 50px auto;
    }

    .pacientes h2 {
        font-size: 4vw;
    }

    .pacientes ul {
        font-size: 3.3vw;
        gap: 10px;
    }

    .servicios {
        width: 96%;
    }

    .btnderecha{
        top:calc(50% - 18.5px);
    }

    .btnizquierda {
        top:calc(50% - 18.5px);
    }

    .conttarjetacarr {
        min-width: 100%;
    }

    .tarjeta {
        width: 75%;
        margin: auto;
    }

    .capa h3 {
        font-size: 4.4vw;
    }

    .capa ul li {
        font-size: 2.4vw;
    }

    .eligenos {
        width: 96%;
        margin: 50px auto;
    }

    .eligenos h3 {
        font-size: 4vw;
    }

    .eligenos p {
        font-size: 2.5vw;
    }

    .eligenos p strong {
        font-size: 2.7vw;
    }

    .float {
        font-size: 9vw;
    }

    .fderecha {
        bottom: 19%;
    }

    .fizquierda {
        bottom: 19%;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        padding:7%;
    }

    .foredes {
        width: 65%;
    }

    .foredes ul li {
        width: 25px;
    }

    .focopy {
        width: 80%;
    }

    .izquierda {
    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: izquierda;

    animation-range: entry 1% cover 20%;
    animation-fill-mode: both;
    }

    .derecha {
    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: izquierda;

    animation-range: entry 1% cover 20%;
    animation-fill-mode: both;
    }

    /* pagina de empleo celular  */


    .contenedoremp {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: 73vh;
    }

    .contratando {
        width: 96%;
        height: 60%;
    }

    .contratando h2 {
        font-size: 3.8vw;
    }

    .contratando p {
        font-size: 2.4vw;
    }

    .contratando ul {
        font-size: 2.4vw;
    }

    .contratando h3 {
        font-size: 3vw;
    }

    .contratando a button {
        font-size: 2.5vw;
    }

    .contenedoremp img {
        width: 92%;
        border-radius: 30px;
    }
}