html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: "Montserrat", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}

#head {
    margin: 0 auto;
    border-radius: 25px;
    padding: 15px 0;
    width: 70%;
    border: #00f4f7 solid;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#logo-header {
    width: 220px;
    height: auto;
}

#txt-head {
    text-align: center;
    margin: 10PX 0  0 0 ;
    font-size: 1.5em;
    font-weight: 500;
    color: #008486;
}

#us {
    width: 70%;
    margin: 50px 0;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#us-title {
    margin: 30px 30px 10px 40px;
    width: fit-content;
    font-size: 2em;
    font-weight: 700;
    color: #008486;
    text-align: center;
}

#us-body {
    border-radius: 25px;
    background-color: none;
    margin: 20px 0 0 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#txt-us {
    margin-bottom: 0;
    font-size: 1.3em;
    max-width: 90%;
    color: #008486;
    font-weight: 700;
    line-height: 35px;
    text-align: center;
}

#title-page-home{
    margin: 0 0;
    width: 70%;
    color: #008486;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
}
#formation{
    margin:50px 0 ;
    width: 70%;
    display: flex;
    align-items: center;
    border-radius: 25px;
    
}
#formation-body{
    border-radius: 25px;
    width: 60% ;
}
#formation-img-right{
    height: auto;
    width: 40%;
    border-radius: 25px;
}
#formation-img-left{
    height: auto;
    width: 40%;
    border-radius:25px;
}
#title-formation{
    color: #008486;
    font-size: 4rem;
    font-weight: 700;
    margin:10px 30px;
}
#colored-title{
    margin: 0 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#icon-formation{
    width: 3.5rem;
    height: auto;
}
#formation-txt-purple{
    margin: 10px 0;
    color: #32008C;
    font-size: 3rem;
    font-weight: 500;
}
#formation-txt-green{
    margin: 10px 0;
    color: #006C0A;
    font-size: 2.8rem;
    font-weight: 500;
}
#body-formation{
    width: 95%;
}
#formation-body{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
#doctors{
    margin: 50px 0;
    width: 70%;
    height: auto;
    border: solid #00f4f7;
    border-radius: 25px;
}
#doctors-2{
    display: none;
    margin: 50px 0;
    width: 90%;
    border: solid #00f4f7;
        height: auto;
    border-radius: 25px;
}
#title-doctor{
    margin: 10px 0;
    color: #008486;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
}
#doc-txt{
    width: 70%;
    
    display: flex;
    gap: 20px;
}
#doc-title{
    padding: 10px;
    max-width: 400px;
    color: #008486;
    border:solid #00f4f7 ;
    border-radius:25px ;
    font-size: 2.3rem;
    text-align: center;
}

#docs-name{
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 1rem;
    margin: 0.5rem 0;
}
#doc-container{
    width: 100%;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.doc{
    padding: 10px ;
    background-color: #008486;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 5px;
}
#icon-doc{
    width: 2.5rem;
    height: auto;
}
#doc-name{
    margin: 10px 0;
    color:white;
    font-size: 2.3rem;
    font-weight: 600;
}
#div-doc{
    height: fit-content;
    width: 90%;
    display: flex;
    justify-content: space-around;
}
#certified{
    margin: 50px 0;
    border-radius: 25px;
    width: 70%;
    display: flex;
    align-items: center;
}
#certified-2{
    margin: 50px 0;
    border-radius: 25px;
    width: 90%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

}
#certified-txt{
    margin: 20px 0 0 40px;
    width: 60%;
}
#certified-txt-2{
    width: 90%;
    margin: 10px auto 0 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
#logo-certified{
    margin: 0 40px;
    width: 14rem;
}
#container-img{
    margin: 20px 0;
    width: 40%;
    display: flex;
    justify-content: space-around;
}
#container-img-2{
    margin: 0 0 20px 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
}
#title-certified{
    margin: 10px 0 30px 0;
    color: #008486;
    font-size: 4rem;
    font-weight: 700;
}


#txt-btn-formation {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    font-weight: 600;
    color: white;
}

#feedback-docs {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Added alignment to center horizontally */
    margin: 0 auto; /* Center the container horizontally */
}

#feedbacks {
    padding: 10px;
    width: 100%; /* Changed width to 100% for full width */
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap; /* Added flex-wrap to allow items to wrap */
}

.feedback {
    margin: 0 13px;
    background-color: #00f4f7;
    width: 350px;
    max-width: 100%; /* Added max-width to ensure responsiveness */
    height: fit-content;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.img-feedback {
    width: 100%; /* Adjusted image width to fill its container */
    height: auto;
    border-radius: 25px 25px 0 0; /* Added border-radius for top corners */
}

.name-doc {
    margin: 10px 0;
    font-size: 1.5em; /* Adjusted font size */
    color: #008486;
    font-weight: 600;
}

.txt-feedback {
    text-align: center;
    font-size: 1em;
    margin: 10px 25px; /* Adjusted margin */
    color: #008486;
    font-weight: 500;
}


#album {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#formation-2 {
    padding-bottom: 10px;
    border-radius: 25px;

    width: 70%;
    position: relative;
}

#name-fr {
    width: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.formation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 1;
}
#link-fr{
    text-decoration: none;
}
#title-arrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

#link-btn {
    margin-top: 15px;
    text-decoration: none;
}
#arrow-button-colored{
    display: none;
}
#formation-btn-home:hover,
#formation-btn-home:hover #txt-btn-formation {
    color: #008486;
}
#formation-btn-home:hover #arrow-button-colored{
    display: block;
}
#formation-btn-home:hover #arrow-button{
    display: none;
}


#formation-btn-home:hover {
    transition-duration: 500ms;
    color: #008486;
    background-color: white;
}

#formation-btn-home {
    margin: 10px 0;
    align-items: center;
    border: none;
    height: 50px;
    width: 400px;
    background-color: #008486;
    border-radius: 25px;
    display: flex;
    color: white;
    justify-content: space-around;
}

#fr-txt {
    margin: auto;
    font-size: 1.8rem;
}

#title-fr {
    color: #00f4f7;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
    font-size: 2.2rem;
    text-align: center;
}

#img-fr-background {
    width: 100%;
    height: auto;
}

#formation-2 {
    width: 70%;
    margin-bottom: 30px;
}

#img-fr-background {
    width: 100%;
    height: auto;
    border-radius: 25px;
}

#txt-formation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.formation-2-btn {
    width: 300px;
    border-radius: 25px;
    padding: 0 30px;
    border: solid #008486 3px;
    height: 60px;
    font-size: 2rem;
    color: #008486;
    font-weight: 550;
    background-color: transparent;
    text-align: center;
    display: flex;
    justify-content: space-around;
    background-color: #00f4f7;
    z-index: 1;
}


#media {
    width: 70%;
    border-radius: 25px;
    padding: 20px 0 25px 0;
    margin: 50px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#title-media {
    font-size: 3.3rem;
    font-weight: 600;
    color: #008486;
    margin: 0;
}

#media-links {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.media-square {
    margin: 10px;
    border-radius: 50px;
    padding: 20px;
    width: 6.25rem;
    height: 6.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #00f4f7;
}

.media-txt {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
    color: #008486;
}

.link-media {
    text-decoration: none;
}

.img-links {
    width: 80%;
    height: auto;
    margin: auto;
}


.media-txt {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
    color: #008486;
}

.link-media {
    text-decoration: none;
}

.img-links {
    width: 80%;
    height: auto;
    margin: auto;
}
.button-grid:hover{
    transition-duration: 500ms;
    background-color: white;
    color: #008486;
}

@media screen and (max-width: 1720px) {
    html {
        font-size: 14px;
    }


}
@media screen and (max-width: 1550px) {
    html {
        font-size: 12px;
    }

    #formation-txt-green{
        font-size: 2.6rem;
    }

}

@media screen and (max-width: 1420px) {
    html {
        font-size: 12px;
    }

    #title-formation{
        font-size: 3.5rem;
    }
    #doc-name,#doc-title {
        font-size: 2rem;
    }
    #formation-txt-purple{
        font-size: 2.5rem;
    }
    #formation-txt-green{
        font-size: 2.3rem;
    }


}

@media screen and (max-width: 1320px) {
    html {
        font-size: 12px;
    }
    #title-formation{
        font-size: 3.2rem;
    }
    #contact-img{
        display: none;
    }
    #input-list{
        width: 100%;
    }


}

@media screen and (max-width: 1260px) {
    html {
        font-size: 12px;
    }



    #formation-btn-home {
        width: 300px;
        height: 45px;
    }

    #title-arrow {
        font-size: 10px;
    }
    #formation-txt-purple{
        font-size: 2.2rem;
    }
    #formation-txt-green{
        font-size: 2rem;
    }

}

@media screen and (max-width: 1240px) {
    html {
        font-size: 11px;
    }

    #txt-us{
        font-size: 1.6rem;
    }

    #formation-btn-home {
        width: 300px;
        height: 45px;
    }
    #title-arrow {
        font-size: 10px;
    }
    #doc-name{
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 1090px) {

    #formation-btn-home {
        width: 300px;
        height: 45px;
    }
    #formation-txt-green{
        font-size: 1.8rem;
    }
    #formation-txt-purple{
        font-size: 2rem;
    }
    #icon-formation{
        font-size: 2.8rem;
    }
    #title-formation{
        font-size: 2.7rem;
    }
    #title-page-home{
        font-size: 3rem;
    }

    #title-arrow {
        font-size: 10px;
    }
    #album {
        align-items: center;
    }
    #doc-title{
        font-size: 1.7rem;
    }
    #doc-name{
        font-size: 1.5rem;
    }
    #title-media{
        font-size:3rem ;
    }
}
@media screen and (max-width: 970px) {

    #formation-txt-green{
        font-size: 1.5rem;
    }
    #formation-txt-purple{
        font-size: 1.8rem;
    }
    #icon-formation{
        font-size: 2.7rem;
    }
    #title-formation{
        font-size: 2.7rem;
    }
    #title-page-home{
        font-size: 3rem;
    }
    #title-arrow {
        font-size: 10px;
    }
    #album {
        align-items: center;
    }
    #doc-title{
        font-size: 1.5rem;
    }
    #doc-name{
        font-size: 1.3rem;
    }
    #title-media{
        font-size:2.5rem ;
    }
    #title-certified {
        font-size: 3.5rem;
    }
    #title-page-home{
        font-size: 2.8rem;
    }

}

@media screen and (max-width: 800px) {

    html {
        font-size: 10px;
    }
    #media{
        width: 90%;
    }
    #title-media{
        font-size: 2.5rem;
    }

    #us-text {
        flex-direction: column;
        width: 80%;
    }

    #formation-btn-home {
        width: 300px;
        height: 45px;
    }
    #title-doctor{
        font-size: 2.6rem;
    }


    #title-arrow {
        font-size: 10px;
    }
    #bottom-head{
        flex-direction: column;
    }



    #input-list {
        width: 90%;
        font-size: 14px;
    }

    #bottom,
    #contact,
    #us,
    #head,#certified {
        width: 90%;
    }

    #doctors{
        display: none;
    }
    #doctors-2{
        display: block;
    }
    #formation{
        width: 90%;
    }
    #title-page-home{
        width: 90%;
        font-size:2rem ;
    }
    #formation-img-right{
        width: 100%;
        border-radius:25px 25px 0 0 ;
    }
    #formation-img-left{
        width: 100%;
        border-radius:0 0 25px 25px ;
    }
    #certified{
        display: none;
    }
    #certified-2{
        display: flex;
    }

    #logo-header {
        width: 170px;
    }
    #logo-certified{
        margin: 0;
    }
    #title-certified{
        margin: 0;
    }
    .media-square{
        width:4rem;
        height:4rem ;
    }
    #title-media{
        font-size:2rem ;
    }

    .indicator {
        display: none;
    }

    .indicator-album {
        display: none;
    }

    .btn-slide {
        margin: 0 10px;
    }

    #txt-us {
        line-height: 25px;
    }
    #formation{
        display: flex;
        align-items: center;
    }
    .card{
        width: 100%;
    }
    .grid-album{
        width: 100%;
    }
    #us-body{
        padding: 10px 0;
    }
    #formation{
        flex-direction: column;
    }
    #feedback-docs{
        width: 90%;
    }
}
@media screen and (max-width: 400px) {
    #input-list{
        font-size: 14px;
    }
    .txt-info{
        font-size:16px ;
    }
    .media-square{
        width:2.5rem ;
        height: 2.5rem;
    }
    #title-media{
        font-size:1.5rem ;
    }
    #doc-name{
        font-size: 1.2rem;
    }
    #doc-txt{
        width: 90%;
        font-size: 1.1rem;
    }
    .img-grid{
        width: 280px;
    }
    .button-grid{
        width: 280px;
        font-size: 1.5rem;
    }
    .pr-grid{
        font-size: 1.5rem;
    }
    .txt-grid{
        font-size: 2rem;
    }
}
