

/*Banner*/

.home .banner{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    background: var(--bg--gradient);
    margin: 0;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.home .banner .text{
    width: 50%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-right: 5%;
    padding: 2rem;

}

.home .banner .text h1{
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 3rem;    
    color: var(--tittles--dark);
}

.home .banner .text span{
    color: var(--color-white);
}

.home .banner .text p{
    margin-bottom: 1.5rem;
    width: 60%;
    color: var(--tittles--dark);
}


.home .banner .img{
    width: 25%;
    height: fit-content;
}

.home .banner .img img{
    width: 100%;
    height: fit-content;
    max-height: 400px;
    
}

.home .banner .social{
    width: 5%;
    height: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 4rem;
    margin-bottom: 2rem;
    margin-right: 2rem;
}


.home .banner .social i{
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: var(--color-blue);
    transition: all 0.3s ease-in-out;
}

.home .banner .social i:hover{
    color: var(--color-white);
}

/*Ingreso al Sistema*/

.sistema{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background: var(--bg--lightgray);
}

.sistema .tittles{
    width: 80%;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
}

.sistema .card-cont{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}

.sistema .card-cont .left{
    width: 40%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.sistema .card-cont .right{
    width: 40%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}


.sistema .card-cont .card{
    width: 435px;
    height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    border-radius: 25px;
    padding-top: 3rem;
    background: var(--color-white);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

.sistema .card-cont article p{
    width: 60%;
    font-size: 1.1rem;
}

.sistema .card-cont img{
    width: 80%;
    height: fit-content;
    margin: 1rem;
}

.sistema .card-cont .card button{
    margin-bottom: 1.5rem;
}

.sistema .card-cont .card2{
    width: 434px;
    height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    border-radius: 25px;
    background: var(--color-white);
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

.sistema .card-cont .card2 img{
    width: 40%;
    height: fit-content;
    margin: 1rem;
}


.sistema .card-cont .card3{
    width: 434px;
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    border-radius: 25px;
    background: var(--color-white);
    margin-top: 1rem;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.25);
}

.sistema .card-cont .card3 h3{
    margin-bottom: 0.5rem;
}

.sistema .card-cont h3{
    font-weight: 500;
    color: var(--color-blue);
}

.sistema p{
    margin-bottom: 1rem;
}

/*Anuncios Importantes*/

.anuncios{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg--lightblue);
    padding-bottom: 5rem;
}

.anuncios .tittles{
    width: 80%;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.anuncios .card-cont{
    width: 80%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}


.anuncios .card-cont .card{
    width: 350px;
    height: 430px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1%;
    background: var(--bg--lightgray);
    border-radius: 25px;
    padding: 1rem 1rem 2rem 1rem;
    box-shadow: 3px 6px 4px 0px var(--btn--lightblue);
}

.anuncios .card-cont .card img{
    width: 100%;
    height: fit-content;
    max-height: 210px;
    border-radius: 25px;
    margin-bottom: 1rem;
}

.anuncios .card-cont .card .info{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0.5rem;

}

.anuncios .card-cont .card .info .text{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;

}

.anuncios .card-cont .card h4{
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.anuncios .card-cont .card h5{
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: end;
}

.anuncios .card-cont .card h6{
    font-size: 1rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.anuncios .card-cont .card p{
    font-weight: 600;
    color: var(--tittles--dark);
    margin-bottom: 8%;
}

.anuncios .card-cont .card .info .details{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
} 

.anuncios .card-cont .card .info .details .doctor{
    width: 50%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}


.anuncios .card-cont .card .info .details .doctor .circle-cont{
    width: 30%;
    height: fit-content;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.anuncios .card-cont .card .info .details .doctor .circle-cont .circle{
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: var(--color-lightblue);

}

.anuncios .card-cont .card .info .details .doctor img{
    width: 28px;
    height: 33.6px;
    margin-top: 1rem;
}

.credits{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    background: var(--color-blue);
    border-top: 0.5px solid var(--bg--gray);
}

.credits a{
    text-decoration: none;
    text-transform: none;
    color: var(--bg--gray);
    cursor: pointer;
}

.credits a:hover{
    color: var(--bg--lightgray);
}

/*Media Querys*/
    /*Banner*/

    @media screen and (max-width:1510px) {
        .home .banner .text{
            padding-right: 0;
            padding-top: 0;
        }

        .home .banner .text h1{
            font-size: 3rem;
        }

    }
    
    @media screen and (max-width:1300px) {
        .home .banner .text{
            padding-right: 0;
        }

        .home .banner .text h1{
            font-size: 2.5rem;
        }


    }

    @media screen and (max-width:1100px) {
        
        .home .banner{
            display: flex;
            justify-content: flex-start;
        }
        
        .home .banner .text{
            width: 70%;
            margin-right: 6rem;
            margin-left: 3%;
            padding-top: 0;
        }

        .home .banner .text p{
            width: 80%;
        }

        .home .banner .img{
            display: none;
        }

        .home .banner .social{
            padding-top: 1rem;
        }
        
    }

    @media screen and (max-width:850px) {

        .home .banner{
            padding-bottom: 3rem;
        }


        .home .banner .text{
            width: 80%;
            margin-right: 0rem;
        }
    }

    @media screen and (max-width:720px) {
        .home .banner .social{
            margin-top: 1.5rem;
        }
    }

    @media screen and (max-width:700px) {

        .home .banner{
            margin-top: 0;
        }

        .home .banner .text h1{
            font-size: 2rem;
        }

        .home .banner .text p{
            font-size: 0.9rem;
        }
    }

    @media screen and (max-width:500px) {

        .home .banner .social{
            margin-top: 1.5rem;
        }
    }

    /*Ingreso al Sistema*/

    @media screen and (max-width: 1250px) {

        .sistema .card-cont{
            gap: 3rem;
        }

        .sistema .card-cont .left{
            width: 50%;
        }
        
        .sistema .card-cont .right{
            width: 50%;
        }
    }

    @media screen and (max-width: 1150px) {

        .sistema .card-cont .card{
            width: 348px;
            height: 446px;
        }
        
    
        .sistema .card-cont .card2{
            width: 347px;
            height: 264px;
        }

        
        .sistema .card-cont .card2 img{
            width: 30%;
        }
        
        .sistema .card-cont .card2 p{
            width: 90%;
        }

        .sistema .card-cont .card3{
            width: 347px;
            height: 150px;
        }

        .sistema .card-cont .card3 p{
            width: 90%;
        }
        
        .sistema .card-cont .card3 h3{
            margin-bottom: 0.5rem;
        }
        
    }

    

    @media screen and (max-width: 950px) {
        .sistema .card-cont{
            flex-direction: column;
            justify-content: center;
            align-items: center;
            grid-area: 2rem;
        }

        .sistema .card-cont .left{
            width: 90%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .sistema .card-cont .right{
            width: 90%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 2rem;
        }

        .sistema .card-cont .card2{
            width: 347px;
            height: 304px;
        }

        .sistema .card-cont .card2 img{
            width: 35%;
        }
    }

    @media screen and (max-width: 700px) {
        .sistema .card-cont{
            flex-direction: column;
            justify-content: center;
            align-items: center;
            grid-area: 2rem;
        }

        .section-tittle{
            font-size: 2rem;
        }

        .subtittle{
            font-size: 1rem;
        }


        .sistema .card-cont .card{
            width: 315px;
            height: 420px;
        }

        .sistema .card-cont .card2{
            width: 315px;
            height: 304px;
        }

        .sistema .card-cont .card2 img{
            width: 35%;
        }

        .sistema .card-cont .card3{
            width: 315px;
            height: 150px;
        }

        .sistema .card-cont .card3 p{
            width: 90%;
        }
        
        .sistema .card-cont .card3 h3{
            margin-bottom: 0.5rem;
        }
    }

    @media screen and (max-width: 400px) {
        .sistema .card-cont{
            flex-direction: column;
            justify-content: center;
            align-items: center;
            grid-area: 2rem;
        }

        .sistema .card-cont .card{
            width: 280px;
            height: 420px;
        }

        .sistema .card-cont .card p{
            width: 100%;
        }

        .sistema .card-cont .card2{
            width: 280px;
            height: 304px;
        }

        .sistema .card-cont .card2 img{
            width: 35%;
        }

        .sistema .card-cont .card3{
            width: 280px;
            height: 150px;
        }

        .sistema .card-cont .card3 p{
            width: 90%;
        }
        
        .sistema .card-cont .card3 h3{
            margin-bottom: 0.5rem;
        }
    }


    /*Anuncios Importantes*/

    @media screen and (max-width:1515px) {
        .anuncios .card-cont{
            width: 90%;
        }
    }

    @media screen and (max-width:1350px) {

        .anuncios .card-cont{
            gap: 3rem;
        }

        .anuncios .card-cont .terciary{
            display: none;
        }
    }

    @media screen and (max-width:902px) {

        .anuncios .card-cont{
            gap: 3rem;
        }

        .anuncios .card-cont .secondary{
            display: none;
        }
    }

    @media screen and (max-width:500px) {
        .anuncios .card-cont .card{
            width: 300px;
            height: 400px;
            padding-bottom: 1rem;
        }
    }

    @media screen and (max-width:400px) {
        .anuncios .card-cont .card{
            width: 300px;
            height: 415px;
            padding-bottom: 0.7rem;
        }
    }

    @media screen and (max-width:364px) {
        .anuncios .card-cont{
            width: 95%;
        }
    }
    