@import 'template/modal/ask_home_rdv.css';
.banner {
    padding: 2rem 3rem;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    border-bottom: solid 1px lightgray;
}

section.home {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: montserrat, sans-serif, helvetica neue;
}

section.home .title {
    font-size: 30px;
    font-weight: 300;
    margin: 1rem 0;
}

section.home p {
    font-weight: 300;
    font-size: 28px;
    margin: 1rem 0;
    width: 80%;
    text-align: center;
}

section.home .infos {
    font-size: 15px;
}

section.rdv {
    margin: 3rem 0;
}

section.rdv>div {
    display: flex;
    justify-content: center;
}

section.rdv>div>img {
    transform: translateY(1rem);
}

section.rdv h2 {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
}

section.rdv .home {
    background: #fafaf9;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.rdv .home>div>p {
    font-size: 18px;
    font-weight: 300;
    margin: 1rem 0;
    width: 100%;
}

section.rdv .home .btn {
    background: #0EA5E9;
    color: white;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

section.rdv .content {
    display: flex;
    margin: 2rem 0;
}

section.rdv .content>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.rdv .content p {
    text-align: center;
    font-size: 20px;
    font-weight: 300;
}

section.rdv .content .infos {
    font-size: 14px;
}

section.rdv .content button {
    background: #0EA5E9;
    color: white;
    padding: 1rem;
    margin: 1rem;
    border-radius: 5px;
    height: 5rem;
}

section.rdv .link,
.home .link {
    display: block;
    font-weight: bold;
    text-align: center;
    width: 100%;
    transition-duration: 0.25s;
}

.divider {
    height: 10rem;
    border: solid 1px black !important;
    margin: 0 1rem;
}

.details {
    margin: 3rem 0;
}

.details h2.title {
    font-size: 20px;
    font-family: montserrat, sans-serif, helvetica neue;
    font-weight: bold;
    margin: 2rem 0;
}

.details p {
    margin: 1rem 0;
    font-size: 16px;
}

.service .localisation {
    position: relative;

    border-radius: 10px;
    color: white;
    padding: 0.5rem 1rem;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    width: 8rem;
}

.service .link {
    font-weight: bold;
    text-decoration: underline;
    transition-duration: 0.25s;
}

.service .content {
    display: flex;
    justify-content: center;
    margin: 1rem 3rem;
    padding: 1rem;
    height: 25rem;
}

.service .content .item {
    background: white;
    border-radius: 1rem;
    margin: 1rem;
    padding: 1rem;
    height: 24rem;
    width: 20rem;
    min-width: 20rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition-duration: 0.25s;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.service .content .item:hover {
    transform: translateY(-0.5rem);
}

.service .content img {
    width: 3rem;
}

.service .content .title {
    font-size: 18px;
    height: 4rem;
}

.service .content .descr {
    font-size: 15px;
    margin: 3rem 0 1rem;
    height: 6rem;
}

@media screen and (max-width: 550px) {
    .service .content{
        flex-direction: column;
        margin: 0;
        height: auto;
    }

    .divider {
        height: 20rem !important;
    }
    #askHomeRDV .divider {
        height: 1px !important;
        margin: 1rem 0;
    }
    #askHomeRDV .content {
        flex-direction: column;
    }
}