@font-face {
    font-family: "montserrat-light";
    src: url("../fonts/Montserrat/Montserrat-Light.ttf");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "montserrat-medium";
    src: url("../fonts/Montserrat/Montserrat-Medium.ttf");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "montserrat-semibold";
    src: url("../fonts/Montserrat/Montserrat-SemiBold.ttf");
    font-style: normal;
    font-weight: 400;
}

.cont_body_home {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.cont_home {
    background-image: url(../images/home/fondo_oftalmologia1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    /* height: 100vh; */
    padding: 2.5rem 4rem 4.5rem;
}

.cont_home.logged{
    padding: 2.5rem 4rem 1.4rem;
}

.cont_home>.content_home {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cont_home.logged>.content_home {
    flex-direction: column;
}

.cont_home .box_home {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    max-width: 1600px;
    margin: 0 auto;
}

.buttons_menu_home {
    display: flex;
    margin-bottom: 4rem;
    /* width: 100%; */
    gap: 0.4rem;
    max-width: 1200px;
    margin: 0 auto 1rem;
}

.buttons_menu_home a {
    text-transform: uppercase;
    color: var(--naranja);
    padding: 0.7rem 1rem;
    background-color: var(--violeta);
    display: table;
    border-radius: 8px;
    font-family: 'montserrat-bold';
}

.cont_home .box_home.logged {
    grid-template-columns: 1fr;
}






.square_home {
/*     background-image: url('../images/home/background_home.png');
    background-position: center center;
    background-size: cover; */
}

.square_home>div {
    /* background-color: var(--violeta); */
    /* height: 80vh; */
    border-radius: 22px;
    /* border: 1px solid var(--violeta); */
}

.square_home .background_square_home {
    width: 90%;
    background-color: var(--violeta);
    /* height: 70%; */
    border-radius: 8px;
    box-shadow: 4px 5px 5px 0px #c58d8d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 2rem;
    position: relative;
    gap: 1rem;
    margin: auto;
}

.square_home .background_square_home img.orbe_home {
    position: absolute;
    left: 0;
    top: 0;
    width: 25%;
    height: auto;
    transform: translate(-30%, -15%);
}

/* En caso de Height en el background */
/* En .square_home .background_square_home el padding es 0.5rem 0 5rem */

/* .square_home .background_square_home .ojo_pr_home{
    object-fit: contain;
    width: auto;
    height: 75%;
    margin: auto;
}

.square_home .background_square_home h2{
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'montserrat-semibold';
    color: var(--naranja);
    font-size: 3.5rem;
} */


/* Sin Height */
/* En .square_home .background_square_home el padding es 0.5rem 0 3rem */

.square_home .background_square_home .ojo_pr_home {
    object-fit: contain;
    width: 60%;
    /* height: 35%; */
    margin: auto;
}

.square_home .background_square_home h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'montserrat-semibold';
    color: var(--naranja);
    font-size: 2.4rem;
}

.square_home .background_square_home .romb_home {
    position: absolute;
    bottom: 0;
    width: 58%;
    margin: auto;
    /* left: 50%; */
    /* -webkit-transform: translateX(-50%); */
    transform: translate(4%, 50%);
    left: 0;
    right: 0;
    margin: auto;
}

.square_home .cont_text_square_home {
    width: 100%;
    /* display: flex; */
    justify-content: space-between;
    align-items: flex-start;
    text-align: center;
    position: relative;
    /* top: 41px; */
    /* margin-bottom: 62px; */
    position: relative;
    /* top: 50% !important; */
    transform: translateY(60%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.square_home .cont_text_square_home .img_doc_container {
    display: flex;
    position: relative;
}

.respon {
    display: none;
}

.square_home .cont_text_square_home .lft {
    position: relative;
    left: -1.9rem;
}

.square_home .cont_text_square_home h6 {
    margin-top: 0.5rem;
}

.cont_text_square_home .mid {}

.cont_text_square_home .mid>h5 {
    margin-bottom: 2rem;
}

.square_home .cont_text_square_home .rght {
    position: relative;
    right: -1.9rem;
}

.square_home .cont_text_square_home .img_doc_container img {
    object-fit: contain;
    width: 120%;
    position: absolute;
    top: 0%;
    transform: translateY(-100%);
    left: 0;
    right: 0;
    margin: auto;
    max-width: initial;
}

.square_home .cont_text_square_home h5,
.square_home .cont_text_square_home h6,
.square_home .cont_text_square_home p {
    color: var(--violeta);
}

.square_home .cont_text_square_home h5 {
    text-transform: uppercase;
    font-family: 'montserrat-bold';
    font-size: 0.8rem;
}

.square_home .cont_text_square_home h6 {
    font-family: 'montserrat-semibold';
    font-size: 0.8rem;
}

.square_home .cont_text_square_home p {
    font-size: 0.7rem;
    line-height: 0.8875rem;
    font-family: 'montserrat-medium';
}





.form_home {
    display: flex;
    justify-content: flex-end;
}


.form_home>div {
    /* border: 1px solid yellow; */
    /* height: 80vh; */
    width: 65%;
    /* display: grid; */
    grid-template-rows: 60px auto;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.form_home .title_form {
    background-color: var(--violeta);
    width: 100%;
    /* height: 80px; */
    border-radius: 8px;
    box-shadow: 4px 5px 5px 0px #c58d8d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form_home h2 {
    color: var(--naranja);
    text-align: center;
    padding: 0;
    margin: 0 auto;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.form_home .title_form h2 {
    color: var(--naranja);
    padding: 6px 0;
}

.form_home .content_form {
    background-color: var(--naranja);
    width: 100%;
    text-align: center;
    border-radius: 8px;
    box-shadow: 4px 5px 5px 0px #c58d8d;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0.6rem 0;
}

.form_home .content_form>div {
    width: 100%;
}

.form_home .content_form h2 {
    color: var(--violeta);
    font-family: 'montserrat-semibold';
}

.form_home .content_form .cont_box_home_form {
    width: 75%;
    margin: auto;
}

.form_home .content_form p {
    font-size: 0.8rem;
    color: var(--violeta);
    font-family: 'montserrat-medium';
    line-height: 0.875rem;
}

.form_home .content_form .cont_box_home_form p {
    color: #000000;
    font-family: 'montserrat-semibold';
    text-align: center;
}

.form_home .content_form p a {
    text-decoration: underline;
}

#adjust_password_text_form {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
    font-family: 'montserrat-semibold';
}

.form_home .content_form form {
    text-align: left;
    margin-top: 0.65rem;
}

.form_home .content_form form label {
    color: var(--violeta);
    margin: 0;
    font-size: 0.8rem;
    font-family: 'montserrat-semibold';
    margin-top: 1rem;
    line-height: 0;
}

.form_home .content_form form .cont_input {
    display: flex;
    align-items: center;
    background-color: #f9db85;
    padding: 0.2rem 0.5rem;
    gap: 0.5rem;
    overflow: hidden;
}

.form_home .content_form form .cont_input i {
    font-size: 0.8rem;
}

.form_home .content_form form .cont_input i:before {
    top: 0.0625rem;
    position: relative;
}

.form_home .content_form form input {
    width: 100%;
    margin: 0;
    background-color: transparent;
    font-size: 0.75rem;
    padding: 0;
    position: relative;
    top: .0938rem;
}

.form_home .content_form form input::placeholder {
    color: var(--violeta);
    font-size: 0.75rem;
}

.form_button {
    all: unset;
    background-color: var(--violeta) !important;
    text-transform: uppercase;
    color: var(--naranja) !important;
    letter-spacing: 1px;
    margin: 0.5rem auto !important;
    padding: 0.25rem 0.5rem;
    display: table;
    border-radius: 4px;
    font-family: 'montserrat-semibold' !important;
    font-size: 1.1rem;
}



/* ========================== Program =================================== */


.cont_program {
    background-image: url(../images/home/fondo_oftalmologia1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    /* height: 100vh; */
    padding: 2.5rem 4rem 2.5rem;
    ;
}

.cont_program .box_program {
    display: block;
    max-width: 945px;
    width: 88%;
    margin: auto;
}

.cont_program .box_program h5 {
    text-transform: uppercase;
    color: var(--naranja);
    padding: 0.7rem 1rem;
    background-color: var(--violeta);
    display: table;
    border-radius: 8px;
    margin-bottom: 1rem;
    cursor: default;
}

.cont_program .box_program .sect_program {
    margin: 0;
}

.cont_program .box_program .sect_program .title_sect_program {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--violeta);
    padding: 4px 0;
}

.cont_program .box_program .sect_program .title_sect_program>img {
    object-fit: contain;
    width: auto;
    height: 3.625rem;
}

.cont_program .box_program .sect_program .title_sect_program>div {
    text-align: center;
}

.sect_program .title_sect_program .info_title_sect_program h6 {
    color: var(--naranja);
    display: table;
    margin: auto;
    font-size: 1.2rem;
    font-family: 'montserrat-semibold';
}

.sect_program .title_sect_program .info_title_sect_program p {
    color: #ffffff;
    font-family: 'montserrat-medium';
    font-size: 0.8rem;
}

.cont_program .box_program .sect_program .cntnt_sect_program {
    padding: 1.5rem 0;
    margin: auto;
}



.sect_program .cntnt_sect_program>ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sect_program .cntnt_sect_program>ul li {
    margin: 0;
    padding: 0;
    position: relative;
}

.sect_program .cntnt_sect_program>ul>li:before {
    content: "";
    background-color: #a275b3;
    width: 11px;
    height: 11px;
    border-radius: 50px;
    top: 0.3rem;
    left: -1rem;
    transform: translate(0%, -0%);
    position: absolute;
    border: 3px solid #d0b3d5;
}

.sect_program .cntnt_sect_program>ul>.ul_inside {
    padding-left: 1.5rem;
}

.sect_program .cntnt_sect_program>ul>.ul_inside li:before {
    background-color: #ab88b5;
    content: "";
    width: 6px;
    height: 6px;
    top: 0.3rem;
    left: -1rem;
    transform: translate(0%, 0%);
    position: absolute;
    border-radius: 50px;
}

.ul_inside li p {
    color: var(--violeta);
    font-size: 0.8rem;
    font-family: 'montserrat-light';
    margin: 0;
    padding: 0;
    /* display: flex; */
    line-height: 19px;
    font-weight: 600;
}

.sect_program .cntnt_sect_program>ul>li:after {
    /*     content: "";
    background-color: #d0b3d5;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    top: 50%;
    left: -8%;
    transform: translate(0%, -50%);
    position: absolute; */
}

.sect_program .cntnt_sect_program ul li h6 {
    color: var(--violeta);
    font-family: 'montserrat-semibold';
    font-size: 1.1rem;
}


.pad_left {
    padding-left: 11% !important;
}

@media screen and (width > 1600px) {

    .cont_home.logged {
        padding: 2.5rem 4rem 4.5rem;
    }

    .cont_home {
        padding: 2.5rem 4rem 7.5rem;
    }

    .logged .square_home .background_square_home h2 {
        font-size: 5.4rem;
        padding-bottom: 2rem;
    }

    .square_home .cont_text_square_home h5 {
        font-size: 1.2rem;
    }

    .square_home .cont_text_square_home h6 {
        font-size: 1.1rem;
    }

    .square_home .cont_text_square_home p {
        font-size: 0.9rem;
    }

    footer .footer_sect>div>p:nth-of-type(1) {
        color: var(--violeta);
        font-family: 'montserrat-semibold';
        font-size: 1rem;
    }

    footer .footer_sect .footer_left p{
        font-size: 0.8rem;
    }

    footer .footer_sect .footer_left p a{
        font-size: 0.75rem;
    }

}

@media only screen and (width >=1280px) and (width <=1600px) {

    .square_home .cont_text_square_home {
        transform: translateY(40%);
    }

    .logged .square_home .background_square_home h2 {
        font-size: 5.4rem;
        margin-bottom: 2rem;
    }

    .logged .square_home .cont_text_square_home {
        transform: translateY(70%);
        margin-bottom: 4rem;
    }

}

@media screen and (width <=1280px) {
    .cont_home .box_home {
        grid-template-columns: 1fr;
    }

    .square_home>img:not(.box_home.logged .square_home img){
        margin-bottom: 2rem;
    }



    .form_home>div {
        width: 88%;
        margin: auto;
    }

    .form_home>div {
        width: 88%;
        margin: auto;
    }

    .square_home .cont_text_square_home {
        transform: translateY(40%);
        margin-bottom: 4rem;
    }


}

@media screen and (width >=1200px) {

    .cont_home.logged>.content_home {
        max-width: 1100px;
        margin: auto;
    }
}

@media only screen and (width >=800px) and (width <=1280px) {

    .cont_home.logged {
        padding: 2.5rem 4rem 4.5rem;
    }

    .logged .square_home .background_square_home h2 {
        font-size: 3.4rem;
    }

    .logged .square_home .cont_text_square_home {
        transform: translateY(60%);
    }

    .form_home {
        width: 60%;
        margin: auto;
    }

}


@media screen and (width <=800px) {

    :root {
        font-size: 14px;
    }

    .square_home .background_square_home {
        width: 100%;
    }

    .square_home .background_square_home h2 {
        font-size: 1.7rem;
    }

    .cont_program {
        padding: 0;
        padding-top: 1rem;
    }

    .cont_program .box_program h5 {
        display: table;
        margin: auto;
        margin-bottom: 1rem;
        font-size: 2.2rem;
    }

    .cont_program .box_program .sect_program .title_sect_program {
        flex-direction: column;
        gap: 0.5rem;
        border-radius: 8px;
        padding: 0;
    }

    .buttons_menu_home {
        display: flex;
        flex-direction: column;
    }
    
    .buttons_menu_home a {
        text-align: center;
    }

}

@media only screen and (width>=480px) and (width<=800px) {

    .square_home .cont_text_square_home {
        transform: translateY(30%);
        margin-bottom: initial;
    }

}

@media screen and (width < 480px) {
    :root {
        font-size: 12px;
    }

    .cont_home{
        padding: 2.5rem 2rem 1.4rem !important;
    }

    .square_home .cont_text_square_home {
        margin: 2rem auto;
        grid-template-columns: 1fr;
    }

    .square_home .cont_text_square_home {
        transform: initial;
    }

    .square_home .cont_text_square_home .lft,
    .square_home .cont_text_square_home .rght {
        position: initial;
        left: initial;
        right: initial;
    }

    .square_home .cont_text_square_home .lft {
        order: 1;
    }

    .square_home .cont_text_square_home .mid {
        order: 2;
        margin-top: 2rem;
    }

    .square_home .cont_text_square_home .lft>img:nth-of-type(1),
    .square_home .cont_text_square_home .rght>img:nth-of-type(1){
        width: 48%;
        margin: auto;
    }

    .square_home .cont_text_square_home .lft>img:nth-of-type(2),
    .square_home .cont_text_square_home .rght>img:nth-of-type(2){
        width: 70%;
        margin: auto;
    }

    .square_home .cont_text_square_home .lft>img:nth-last-of-type(1),
    .square_home .cont_text_square_home .rght>img:nth-last-of-type(1),
    .square_home .cont_text_square_home .mid img{
        width: 80%;
        margin: auto;
    }

    .square_home .cont_text_square_home .mid img{
        width: 68%;
        margin: auto;
        margin-top: 0.48rem;
    }

    .square_home .cont_text_square_home .img_doc_container img {
        width: 48%;
        position: relative;
        transform: initial;
    }

    .desk {
        display: none;
    }

    .respon {
        display: block;
    }

    .square_home .cont_text_square_home h5 {
        font-size: 1rem;
    }

    .square_home .cont_text_square_home h5.respon {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .square_home .cont_text_square_home h6 {
        font-size: 1.2rem;
    }

    .square_home .cont_text_square_home p {
        font-size: 1.1rem;
        line-height: 1.4rem;
    }

    .form_home {
        margin-top: 0rem;
    }

    .square_home .background_square_home img.orbe_home{
        width: 20%;
    }

}

@media screen and (width < 280px) {

    .cont_home {
        padding: 2.5rem 2rem 3.5rem;
    }

}
