@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

body {
    font-family: 'Nunito', sans-serif !important;
    font-size: 1.2em;
    user-select: none;
}

.header-doc {
    height: 150px;
    /* background-image: url(../images/cube_3d.png); */
    /* background-attachment: fixed; */
    background-color: #cfcfcf;
    border-radius: 0 0 100px 100px / 50%;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 2px solid black;
}

.row.one {
    margin-top: 30px;
}

.row.row-carousel {
    margin-top: 50px;
}

#title-page {
    font-family: 'Raleway', sans-serif !important;
    text-align: center;
    color: black;
    font-size: 2.5em;
    padding-top: 15px;
    margin: 0;
    font-weight: bold;
}

#desc-page {
    font-family: 'Raleway', sans-serif !important;
    text-align: center;
    font-size: 1.5em;
    margin: 0;
    color: black;
}

#photo-cabinet {
    width: 92%;
    margin: auto;
    max-height: 350px;
    background-color: transparent;
}

.img-fluid.mx-auto.d-block {
    max-height: 350px;
}

#connexion-border-box {
    border-left: 1px solid blue;
    max-width: 350px;
    margin: auto;
}

#connexion-box {
    text-align: center;
    padding: 20px 0;
    transition: all .3s;
}

#connexion-box:hover {
    background-color: gainsboro;
    transform: scale(1.1, 1.1);
    transition: all .3s;
}

#information-box {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    border-left: 1px solid blue;
    max-width: 350px;
}

#appointment-schedule {
    padding: 5px 0px 0px 20px;
    transition: all .3s;
}

#appointment-schedule:hover {
    background-color: gainsboro;
    transform: scale(1.1, 1.1);
    transition: all .3s;
}

#way-to-schedule {
    padding: 5px 0px 0px 20px;
    transition: all .3s;
}

#way-to-schedule:hover {
    background-color: gainsboro;
    transform: scale(1.1, 1.1);
    transition: all .3s;
}

#localisation {
    padding: 5px 0px 0px 20px;
    transition: all .3s;
}

#localisation:hover {
    background-color: gainsboro;
    transform: scale(1.1, 1.1);
    transition: all .3s;
}

.info-title {
    font-size: 1.1em;
    color: #0051ff;
    font-weight: bold;
}

#link-maps {
    text-decoration: none;
    color: black;
}

#link-maps:hover {
    text-decoration: underline;
    color: green;
}

#link-maps:visited {
    color: black;
}

.text-modality {
    width: 200px;
    margin: auto;
}

.row.two.modality {
    margin-top: 40px;
    margin-bottom: 10px;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='black' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e")
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='black' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e")
}

footer {
    margin-top: 40px;
}

#legal {
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #cfcfcf;
    text-align: center;
}

#legal a {
    font-size: 0.8em;
    color: black;
}

@media screen and (max-width:1000px) {
    .row.one {
        display: block;
    }

    .col-8.my-auto {
        max-width: 100%;
        margin-top: 50px !important;
    }

    #title-page {
        margin: 0;
    }

    .row.title-page {
        display: block;
    }

    .col-4.my-auto {
        max-width: 100%;
    }

    #connexion-border-box {
        margin-top: 40px;
    }

    #connexion-border-box,
    #information-box {
        border: 0;
        text-align: center;
    }

    #appointment-schedule,
    #way-to-schedule {
        margin-bottom: 20px;
    }

    #appointment-schedule,
    #way-to-schedule,
    #localisation {
        padding: 15px 0px;
    }

    .row.modality {
        margin-top: 60px;
    }
    
    .img-fluid.mx-auto.d-block {
        height: auto ;
        max-height: 350px;
    }
}

@media screen and (max-width:550px) {
    #title-page {
        font-size: 1.8em;
        padding-top: 30px;
    }

    #desc-page {
        font-size: 1.4em;
    }
}

@media screen and (max-width:415px) {
    #title-page {
        margin: auto;
        max-width: 350px;
        padding-top: 25px;
    }
    
    #desc-page {
        display: none;
    }
}
