body {
    font-family: 'Outfit', sans-serif;
}

.wrapper {
    display: flex;
    flex-direction: column;

}

button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

#calendari {
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    height: 360px;
    width: 500px;
    font-size: 14px;
    box-shadow: 1px 2px 10px #dadada;
    border-radius: 20px;
}

table {
    border-collapse: collapse;
    table-layout: fixed;
    height: 360px;
    width: 500px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(0);
    transition: all 0.3s ease;
}

table.actif {
    transform: translateX(0px);
}

table.inactif {
    transition: all 0.3s 0.01s ease;
}

table.cache-gauche {
    transform: translateX(-299px);
}

table.cache-droite {
    transform: translateX(300px);
}

td, th {
    text-align: center;
    background-color: #fff;
}

th {
    padding: 10px;
}

tr:first-child th {
    font-size: 20px;
    font-weight: bold;
    border-left: none;
    border-top: none;
}

td:last-child, th:last-child {
    border-right: none;
}

th {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #0063CE;
    color: #fff;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
    font-weight: normal;
}

th .any {
    font-size: 12px;
    font-weight: normal;
    display: block;
    text-shadow: none;
    color: rgba(0, 0, 0, 0.4);
}

tr:nth-child(2) th {
    padding: 5px;
}

td {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

td > span {
    color: black;
    padding: 10px;
    display: block;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

td:nth-child(even) > span {
    background-color: rgba(0, 0, 0, 0.02);
}

td:last-child > span {
    color: red;
}

td.aujourdhui > span {
    font-weight: bold;
    background-color: #0063CE;
    color: #fff;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

td.hors-mois > span {
    opacity: 0.2;
}

td > span:hover {
    background: #0063CE;
    color: #fff;
}

.bouton-suivant, .bouton-precedent {
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    font-family: inherit;
    border: none;
    font-size: 30px;
    font-weight: bold;
    text-shadow: inherit;
    line-height: 1px;
    height: 30px;
    width: 30px;
    vertical-align: middle;
    border-radius: 100%;
    position: absolute;
    top: 15px;
}

.bouton-suivant {
    right: 10px;
}

.bouton-precedent {
    left: 10px;
}

.bouton-suivant:hover,
.bouton-precedent:hover {
    background: rgba(0, 0, 0, 0.2);
}

button:hover {
    cursor: pointer;
}

button:focus {
    outline: none;
}


.ferie {
    background-color: #C70039;

}

.selectionne {
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
}


.titre-container {
    font-weight: 600;
    font-size: 35px;
    text-align: center;
    color: white;

}


.titre-calendrier {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 20px;
}


.box-rendez-vous {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    background-color: white;
    box-shadow: 1px 1px 5px #cdcccc;
    border-radius: 20px;
    padding: 40px;
    max-width: 1300px;
}


.information-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
    background-color: white;
    box-shadow: 1px 1px 5px #cdcccc;
    border-radius: 20px;
    padding: 40px 90px;
    max-width: 1300px;
}


.forms-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    font-weight: 400;
    font-size: 18px;
}

.forms-content input {
    padding: 15px;
    border-radius: 15px;
    box-sizing: border-box;
    width: 650px;
    height: 45px;
    border: solid 1px #006ad9;
    background-color: #f2f8ff;
}

.label-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 500;
    font-size: 18px;
}

.forms-content input.error {
    border: 1px solid red;
}


.title-date {
    font-weight: 600;
    font-size: 28px;
    text-align: center;
}

.rendez-vous-content {

    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;

}

.heure-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.heure-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.button-heure {
    background-color: white;
    color: black;
    border: solid 1px white;
    box-shadow: 1px 2px 10px #cdcccc;
    border-radius: 10px;
    font-weight: 500;
    font-size: 20px;
    width: 120px;
    height: 45px;
}

.selectionnee {
    background-color: #0063CE;
    color: #fff;
    font-weight: bold;
}

.container-rendez {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 200px;
}

.date-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-image: url("../images/background\ arrondie.svg");
    height: 50vh;
    gap: 50px;
}

.text-heure {
    font-weight: 400;
    font-size: 18px;
}


.confirmation {
    display: flex;
    width: 100%;
    justify-content: end;
}


.confirmation button,
.btn-one {

    border: none;
    cursor: pointer;
    color: #00082B;
    background-color: white;
    font-weight: 600;
    font-size: 20px;
    font-family: "Outfit", sans-serif;
}

.btn-two {
    padding: 10px 35px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    color: white;
    background-color: #00082B;
    font-weight: 300;
    font-size: 20px;
    font-family: "Outfit", sans-serif;
}

.boutton-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: end;
    gap: 30px;
}

.success-rendez-vous {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
    background-color: white;
    box-shadow: 1px 1px 5px #cdcccc;
    border-radius: 20px;
    padding: 40px 90px;
    max-width: 1300px;
}

.confirmation-rendez-vous {
    display: flex;
    flex-direction: row;
    gap: 100px;
    background-color: #f2f8ff;
    padding: 60px 40px;

}

.information-rendez-vous {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 451px;
}

.sous-title-info {
    font-weight: 500;
    font-size: 25px;
}

.date-heure {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text-info {
    font-weight: 300;
    font-size: 20px;
}

#afficher-date,
#afficher-heure,
#afficher-adresse {
    font-weight: 500;
    color: #0063CE;
}

.text-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}


.information-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.success {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

@media screen and (max-width: 1200px) {

    .container-rendez {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 400px;
    }

    .date-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-image: url("../images/background\ arrondie.svg");
        height: 50vh;
        gap: 50px;
    }

    .rendez-vous-content {
        display: flex;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .box-rendez-vous {
        padding: 40px;
        max-width: 900px;
    }


}

@media screen and (max-width: 950px) {

    .box-rendez-vous {
        padding: 40px;
        max-width: 600px;
    }

    #calendari {
        height: 340px;
        width: 400px;
    }

    table {
        height: 340px;
        width: 400px;
    }

    .titre-calendrier {
        text-align: center;
    }

    .heure-container {
        gap: 10px;
    }

    .button-heure {
        width: 100px;
        height: 40px;
    }

    .information-content {
        padding: 40px 40px;

    }

    .forms-content input {

        width: 550px;

    }

    .success-rendez-vous {

        padding: 40px 50px;

    }

    .confirmation-rendez-vous {
        gap: 60px;
        padding: 60px 20px;
    }

    .sous-title-info {
        font-weight: 500;
        font-size: 20px;
    }
}

@media screen and (max-width: 750px) {
    .success-rendez-vous {

        padding: 40px 20px;

    }

    .confirmation-rendez-vous {
        gap: 50px;
        padding: 40px 20px;
    }

    .sous-title-info {
        font-weight: 500;
        font-size: 20px;
    }
}

@media screen and (max-width: 650px) {

    .box-rendez-vous {
        padding: 20px;
        max-width: 490px;
    }

    .information-content {
        padding: 40px 20px;

    }

    .forms-content input {

        width: 450px;

    }

    .titre-container {
        font-size: 30px;
    }

    .title-date {

        font-size: 23px;

    }

    .titre-calendrier {
        font-weight: 500;
        font-size: 18px;
    }

    .confirmation-rendez-vous {
        display: flex;
        flex-direction: column;
        background-color: #f2f8ff;

    }

}


@media screen and (max-width: 500px) {

    .box-rendez-vous {
        padding: 40px;
        max-width: 400px;
    }

    #calendari {
        height: 340px;
        width: 370px;
    }

    table {
        height: 340px;
        width: 370px;
    }

    .titre-calendrier {
        text-align: center;
    }

    .heure-container {
        gap: 5px;
    }

    .button-heure {
        width: 80px;
        height: 40px;
    }

    .information-content {
        padding: 20px 20px;

    }

    .forms-content input {

        width: 350px;

    }

    .confirmation-rendez-vous {
        padding: 10px;
        width: 400px;

    }

    .success-rendez-vous {
        padding: 30px;
    }

    .date-content {
        padding: 20px;
    }
}


@media (max-width: 414px) {
    table {
        width: 328px;
    }

    #calendari {
        width: 327px;

    }

    .forms-content input {
        width: 284px;
    }

    .confirmation-rendez-vous {
        width: 285px;
    }

    .information-rendez-vous {
        width: 251px;
    }

    .text-content {
        width: 350px;
    }
    .text-content{
        width: 300px;
    }
}

@media (max-width: 375px) {

    table {
        width: 328px;
    }

    #calendari {
        width: 327px;

    }

    .heure-content {
        width: 306px;
    }
    .forms-content input {
        width: 284px;
    }

    .confirmation-rendez-vous {
        width: 285px;
    }

    .information-rendez-vous {
        width: 251px;
    }

    .text-content {
        width: 350px;
    }
    .text-content{
        width: 300px;
    }
}

@media (max-width: 390px) {
    table {
        width: 328px;
    }

    #calendari {
        width: 327px;

    }
    .forms-content input {
        width: 284px;
    }

    .confirmation-rendez-vous {
        width: 285px;
    }

    .information-rendez-vous {
        width: 251px;
    }

    .text-content {
        width: 350px;
    }
    .text-content{
        width: 300px;
    }

}

@media (max-width: 360px) {
    table {
        width: 302px;
    }

    #calendari {
        width: 301px;

    }

    .heure-content {
        width: 294px;
    }

    .forms-content input {
        width: 284px;
    }

    .confirmation-rendez-vous {
        width: 285px;
    }

    .information-rendez-vous {
        width: 251px;
    }

    .text-content {
        width: 350px;
    }
    .text-content{
        width: 300px;
    }
}


