* {
    font-family: Arial, sans-serif;
}

body {
    background-color: #344074;
    margin: 0;
    padding: 0;
}

/* navbar */
.navContenu ul {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    row-gap: 10px;
    align-items: center;
}

.navContenu ul li {
    list-style: none;
    flex: 1;
}

.navContenu ul li a {
    text-decoration: none;
    color: white;
    background-color: #5c62ad;
    display: block;
    padding: 20px;
    margin: 0 20px;
    text-align: center;
}

nav {
    display: grid;
    grid-template-columns: 1fr 5fr 0fr 1fr;
    align-items: center;
}

nav .itemLogin i {
    color: #7d82c8;
    font-size: 48px;
    margin-left: 40%;
}

nav #itemContenu .navContenu ul li a:hover {
    background-color: #7d82c8;
    transition: 0.3s;
    cursor: pointer;
}

nav .itemLogin i:hover {
    color: #b4b7df;
    transition: 0.25s;
    cursor: pointer;
}

.hamburger {
    text-decoration: none;
}

.hamburger i {
    color: #7d82c8;
    font-size: 48px;
    margin: 0;
    display: none;
}

.logo {
    margin-left: 20%;
    width: 6em;
    justify-self: center;
}

.logo:hover {
    cursor: pointer;
}

/* responsive pour la navbar */
@media only screen and (max-width: 850px) {
    nav .itemLogin i {
        margin-left: 25%;
    }

    .navContenu ul li a {
        margin: 0px 15px;
    }

    .logo {
        margin-left: 10%;
    }
}

@media only screen and (max-width: 780px) {
    nav .itemLogin i {
        margin-left: 15%;
    }

    .navContenu ul li a {
        padding: 20px 15px;
        margin: 0px 10px;
    }

    .navContenu ul li:first-child a {
        margin-left: 0px;
    }

    .navContenu ul li:last-child a {
        margin-right: 0px;
    }
}

@media only screen and (max-width: 660px) {
    .navContenu ul li a {
        margin: 0px 5px;
    }

    #itemContenu {
        display: flex;
    }
}

@media only screen and (min-width: 611px){
    header nav #itemContenu {
        display: block!important;
    }

    #navBar {
        grid-template-columns: 1fr 5fr 0fr 1fr !important;
    }
}

@media only screen and (max-width: 610px) {
    nav {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        align-items: center;
    }

    .hamburger i {
        display: block;
        text-align: center;
    }

    #itemContenu {
        display: none;
    }

    #itemContenu .navContenu {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        z-index: 2;
        padding: 10px 0px;
    }

    nav .itemLogin i {
        margin-left: 40%;
    }

    .navContenu ul {
        flex-wrap: wrap;
    }

    .navContenu ul li:first-child a {
        margin-left: 5px;
    }

    .navContenu ul li:last-child a {
        margin-right: 5px;
    }
}

@media only screen and (max-width: 400px) {
    nav .itemLogin i {
        margin-left: 20%;
    }

    .logo {
        margin-left: 5%;
    }
}

@media only screen and (max-width: 350px) {
    nav .itemLogin i {
        margin-left: 10%;
    }
}

/* corps des pages */
main {
    background-color: #a9bbdf;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 2em;
    height: 100%;
}

/* page accueil */
.accueil {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr;
    height: 100vh;

}

.contenu {
    padding: 2em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em;
}

.contenu h1 {
    font-size: 4em;
    font-weight: 400;
    margin: 0;
    margin-top: 0.5em;
}

.contenu p {
    text-align: justify;
    font-size: 1.5em;
    margin: 0;
}

.contenu button {
    background-color: #5c62ad;
    color: white;
    border: none;
    border-radius: 2em;
    padding: 1em 2.5em;
    font-size: 1.5em;
    width: fit-content;
    margin-top: 0.5em;
}

.contenu button:hover {
    background-color: #7d82c8;
    transition: 0.2s;
    cursor: pointer;
}

.carrousel {
    position: relative;
    overflow: hidden;
    margin-right: 1em;
}

.carrousel img {
    position: absolute;
    width: 100%;
    height: 45vh;
    animation: carroussel 12s linear infinite;
}

.carrousel img:nth-child(1) {
    animation-delay: -9s;

}
.carrousel img:nth-child(2) {
    animation-delay: -6s;

}
.carrousel img:nth-child(3) {
    animation-delay: -3s;

}
.carrousel img:nth-child(4) {
    animation-delay: 0s;

}

@keyframes carroussel {
    0% {
        top: 100vh;              /* commence en bas de l'écran */
        opacity: 1;
        visibility: visible;
    }
    90% {
        top: -75vh;            /* continue à monter */
        opacity: 1;
        visibility: visible;
    }
    100% {
        top: -100vh;            /* en dehors de l’écran */
    }
}
@media only screen and (max-width: 1200px) {
    .carrousel img {
        height: 30%;
    }

    @keyframes carroussel {
        0% {
            top: 100vh;              /* commence en bas de l'écran */
            opacity: 1;
            visibility: visible;
        }
        90% {
            top: -29vh;            /* continue à monter */
            opacity: 1;
            visibility: visible;
        }
        100% {
            top: -150vh;            /* en dehors de l’écran */
        }
    }
}
@media only screen and (max-width: 850px) {
    .accueil {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 2fr;
    }

    .carrousel {
        display: flex;
        margin-right: 0;

    }

    .carrousel img {
        height: 60%;
        width: 60%;

    }

    .contenu h1 {
        font-size: 3em !important;
    }

    .contenu p {
        font-size: 1em !important;
    }

    .contenu button {
        margin: 0em !important;
        font-size: 1em !important;
    }

    .contenu {
        gap: 1em !important;
        padding-top: 0.5em !important;
        padding-bottom: 0em !important;
    }
        @keyframes carroussel {
        0% {
            transform: translateX(-250%);
            opacity: 1;
            visibility: visible;
        }
        100% {
            transform: translateX(200%);
            opacity: 1;
            visibility: visible;
        }
    }
}

@media only screen and (max-width: 530px) {
    .contenu {
        gap: 1em !important;
    }
    @keyframes carroussel {
        0% {
            transform: translateX(-250%);
            opacity: 1;
            visibility: visible;
        }
        100% {
            transform: translateX(250%);
            opacity: 1;
            visibility: visible;
        }
    }
    .carrousel{
        margin-top: 3.5em;
        margin-right: 0;
    }
    .carrousel img{
        width: 55%;
        height: 55%;
    }
}

/* page destination */
.main-destination {
    padding: 1em 0em;
    height: 87vh;
}

.article-destination {
    background-color: #f1fbfe;
    margin: 0em 1em;
    height: 80vh;
    padding: 1em;
    display: grid;
    position: relative;
    grid-template-columns: 1fr 20fr;
    grid-template-rows: 1fr;
}

/* sans les paramètres */
.hidden {
    display: block;
    opacity: 1;
    position: relative;
    grid-column: 1/2;
    grid-row: 1/2;
}

.hidden .parametres-destination {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    height: 100%;
    grid-column: 1/2;
    grid-row: 1/2;
}

.hidden .boutton-engrenage-destination {
    background-color: #f1fbfe;
    border: none;
    font-size: 48px;
    grid-column: 1/2;
    grid-row: 1/2;
}

.hidden .bouton-refresh {
    background-color: #5c62ad;
    position: relative;
    padding: 0.5em;
    grid-column: 1/2;
    grid-row: 1/2;
}

.hidden .icone-refresh-destination {
    background-color: #f1fbfe;
    border-radius: 2em;
    padding: 1em;
    border: none;
    font-size: 16px;
    grid-column: 1/2;
    grid-row: 1/2;
}

.carte {
    position: relative;
    grid-column: 2/3;
    grid-row: 1/2;
    user-select: none;
    text-align: center;
    align-content: center;
    background-color: #a9bbdf;
}

.carte iframe {
    width: 100%;
    height: 100%;
    z-index: 3;
    grid-column: 2/3;
    grid-row: 1/2;
}

#fleche-destination {
    background-color: #f1fbfe;
    padding: 0.5em 0.5em;
    display: block;
    position: absolute;
    z-index: 4;
    top: 0;
    left: 0;
    user-select: none;
}

#fleche-destination.toggled {
  left: 47%;
}

@media only screen and (max-width: 1200px) {
  #fleche-destination.toggled {
    left: 46%;
  }
}

@media only screen and (max-width: 1000px) {
  #fleche-destination.toggled {
    left: 45%;
  }
}

@media only screen and (max-width: 800px) {
  #fleche-destination.toggled {
    left: 44%;
  }
}

@media only screen and (max-width: 740px) {
    .filtre {
        grid-template-columns: 1fr!important;
    }

    .filtre label {
        padding: 0.5em!important;
        font-size: 100%!important;
    }

    .filtre select {
        padding: 0.25em!important;
        font-size: 100%!important;
    }

    .icone-refresh-destination {
        font-size: 16px!important;
    }
}

@media only screen and (max-width: 700px) {
  #fleche-destination.toggled {
    left: 43%;
  }
}

@media only screen and (max-width: 650px) {
  #fleche-destination.toggled {
    left: 41%;
  }
}

@media only screen and (max-width: 525px) {
  #fleche-destination.toggled {
    left: 38%;
  }
}

@media only screen and (max-width: 425px) {
  #fleche-destination.toggled {
    left: 33%;
  }
}

@media only screen and (max-width: 360px) {
  #fleche-destination.toggled {
    left: 25%;
  }
}

@media only screen and (max-width: 300px) {
  #fleche-destination.toggled {
    left: 15%;
  }
}

.bouton-hotel-destination {
    background-color: #344074;
    color: white;
    border: none;
    font-size: 1em;
    border-radius: 2em;
    padding: 1em 2.5em;
    width: fit-content;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 1.5em 4em;
    grid-column: 2/3;
    grid-row: 1/2;
}

.bouton-hotel-destination:hover {
    background-color: #5c62ad;
}

/* avec les paramètres */
.shown {
    opacity: 0;
    position: relative;
    grid-column: 1/3;
    grid-row: 1/2;
    z-index: -1;
    width: 50%;
    background-color: #f1fbfe;
}

.shown .parametres-destination {
    width: 102%;
    height: 100%;
}

@media only screen and (max-width:1000px) {
    .shown .parametres-destination {
        width: 101%;
    }
}

@media only screen and (max-width:800px) {
    .shown .parametres-destination {
        width: 100%;
    }
}

.shown .parametres-destination .criteres form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    height: 100%;
}

.shown .boutton-engrenage-destination {
    background-color: #f1fbfe;
    border: none;
    font-size: 48px;
}

.shown .bouton-refresh {
    background-color: #5c62ad;
    position: relative;
    padding: 0.5em;
    padding-right: 0%;
    width: 98%;
    text-align: center;
}

.shown .icone-refresh-destination {
    background-color: #f1fbfe;
    border-radius: 2em;
    padding: 0.75em;
    border: none;
    font-size: 18px;
}

.criteres {
    width: 96%;
    height: 100%;
}

.criteres ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100%;
}

.filtre {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.option-nom {
    background-color: #344074;
    color: white;
    text-align: center;
    padding: 0.75em;
    font-size: 125%;
}

.filtre select {
    background-color: #a9bbdf;
    text-align: center;
    font-size: 125%;
    border: none;
    padding: 0;
}

/* page hôtels */
.recherche-container-hotel {
    display: grid;
    margin-right: 50%;
}

/* barre recherche */
.recherche-hotel {
    border: none;
    border-radius: 3em;
    grid-column: 1/4;
    grid-row: 1/2;
    margin-left:1.5em;
    margin-top: 3em;
    margin-bottom: 3em;
    outline: none;
    padding: 0em 5em;
    z-index: 1;
}

.icone-engrenage {
    grid-column: 1/2;
    grid-row: 1/1;
    z-index: 2;
    margin: 2em;
    margin-left: 1.666em;
    margin-right: 0px;
    font-size: 175%;
    width: fit-content;
}

.icone-recherche {
    background: none;
    border: none;
    font-size: 175%;
    grid-column: 3/4;
    grid-row: 1/1;
    justify-self: end;
    margin-right: 10%;
    z-index: 2;
}

/* filtres page hôtel */
#liste-filtre {
    position: absolute;
    padding: 0;
    margin: 0;
    margin-top: 6.5em;
    margin-left: 2em;
    font-size: 0.85em;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 1em;
    box-shadow: 0 0 15px 7.5px rgba(0, 0, 0, 0.25);
    opacity: 0;
}

.filtre-hotel {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.option-nom-hotel {
    background-color: #344074;
    color: white;
    text-align: center;
    padding: 0.75em;
    font-size: 125%;
}

.filtre-hotel select {
    background-color: #a9bbdf;
    text-align: center;
    font-size: 125%;
    border: none;
    padding: 0;
}

/* bordure filtres page hotel */
.filtre-hotel:first-child label {
    border-top: none;
    border-left: none;
    border-top-left-radius: 1em;
}

.filtre-hotel:first-child select {
    border-top: none;
    border-right: none;
    border-top-right-radius: 1em;
}

.filtre-hotel:last-child label {
    border-bottom: none;
    border-left: none;
    border-bottom-left-radius: 1em;
}

.filtre-hotel:last-child select {
    border-bottom: none;
    border-right: none;
    border-bottom-right-radius: 1em;
}

/* hotels, descriptions, images,... */
.liste-hotel {
    display: flex;
    flex-direction: column;
    padding-bottom: 5%;
    gap: 2em;
}

.container-hotel {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto;
}

.image-hotel {
    grid-column: 1/2;
    grid-row: 1/3;
    align-self: center;
    margin-left: 4%;
    width: 80%;
}

.titre-hotel {
    grid-column: 2/3;
    grid-row: 1/2;
    place-self: start;
    margin: 0;
    font-size: 2.5em;
    font-weight: 300;
    position: relative;
}

.titre-hotel a {
    text-decoration: none;
    color: black;
}

.titre-hotel::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 3px;
    background: black;
    transition: width 0.5s;
}

.titre-hotel:hover::after {
    width: 100%;
}

#note-hotel {
    grid-column: 3/4;
    grid-row: 1/2;
    place-self: start center;
    margin: 0;
    font-size: 175%;
    font-weight: 300;
}

.icone-note-hotel {
    grid-column: 3/4;
    grid-row: 1/2;
    place-self: start center;
    margin-left: 3em;
    font-size: 175%;
}

.description-hotel {
    grid-column: 2/3;
    grid-row: 2/3;
    font-size: 100%;
    margin: 0;
    margin-top: 1em;
}

.prix-hotel {
    grid-column: 3/4;
    grid-row: 2/3;
    place-self: start center;
    margin-left: 2em;
}

.boutton-hotel, .boutton-hotel-ajoute {
    color: white;
    background-color: #5c62ad;
    border: none;
    border-radius: 2em;
    font-size: 1em;
    padding: 1em 2.5em;
    text-decoration: none;
    text-align: center;
    width: fit-content;
}

.boutton-hotel-ajoute {
    background-color: #868bcb;
}

.form-hotel, .form-hotel-supprimer {
    display: grid;
    grid-column: 3/4;
    grid-row: 2/3;
    place-self: end center;
    margin-right: 2em;
    color: white;
    background-color: #5c62ad;
    border: none;
    border-radius: 2em;
}

.form-hotel-supprimer {
    background-color: #868bcb;
}

@media only screen and (max-width:1000px) {
    .recherche-container-hotel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-right: 4%;
    }

    .icone-recherche {
        margin-right: 50%;
    }

    .container-hotel {
        display: grid;
        grid-template-columns: 3fr 1fr;
        margin: 0 2%;
    }

    .image-hotel {
        grid-column: 1/3;
        grid-row: 1/2;
        align-self: center;
        width: 96%;
        margin: 0 auto;
        margin-bottom: 2%;
    }

    .titre-hotel {
        grid-column: 1/2;
        grid-row: 2/3;
        place-self: start;
        font-size: 175%;
        font-weight: 300;
        margin-bottom: 0.333em;
        margin-left: 1em;
    }

    #note-hotel {
        grid-column: 2/3;
        grid-row: 2/3;
        place-self: start end;
        margin: 0;
        font-size: 175%;
        align-self: center;
        margin-right: 2.25em;
    }

    .icone-note-hotel {
        grid-column: 2/3;
        grid-row: 2/3;
        place-self: start end;
        font-size: 150%;
        align-self: center;
        margin-right: 1.25em;
    }

    .prix-hotel {
        grid-column: 1/2;
        grid-row: 3/4;
        place-self: start;
        margin: 0;
        align-self: center;
        margin-left: 1.5em;
        margin-bottom: 0.25em;
    }

    .description-hotel {
        grid-column: 1/3;
        grid-row: 4/5;
        place-self: center;
        text-align: center;
        font-size: 95%;
        margin: 1em 1.75em;
    }

    .container-hotel .form-hotel, .container-hotel .form-hotel-supprimer {
        grid-column: 1/3;
        grid-row: 5/6;
        place-self: center;
        margin-right: 0;
        margin-bottom: 0.7em;
    }
}

/* page contact */
.contact-main {
    z-index: 1;
}

.titre-contact {
    font-size: 4em;
    font-weight: 300;
    text-align: center;
    margin: 0;
    padding-top: 1em;
}

.contact-container {
    display: flex;
    flex-direction: column;
    margin-top: 2em;
    gap: 1em;
    flex: 1 1 auto;
}

.mail {
    place-self: center;
    background-color: #f1fbfe;
    padding: 0.8em 1.5em;
    border-radius: 2em;
    border: none;
    text-align: center;
    font-size: 1.8em;
    outline: none;
}

.mail-texte {
    margin: 1em;
    padding: 1em; 
    background-color: #f1fbfe;
    resize: vertical;
    border: none;
    border-radius: 0.25em;
    outline: none;
    box-sizing: border-box;
}

.bouton-contact {
    color: white;
    background-color: #5c62ad;
    border: none;
    border-radius: 2em;
    padding: 1em 2.5em;
    margin-bottom: 2em;
    margin-right: 0.5em;
    font-size: 1.5em;
    z-index: 2;
    width: fit-content;
    align-self: end;
}

.bouton-contact:hover {
    background-color: #7d82c8;
    transition: 0.2s;
    cursor: pointer;
}

@media only screen and (max-width: 850px) {
    .titre-contact {
        font-size: 3em;
        padding-top: 0.75em;
    }

    .mail {
        font-size: 1.25em;
    }
}

@media only screen and (max-width: 400px) {
    .titre-contact {
        font-size: 2em;
        padding-top: 0.75em;
    }

    .mail {
        font-size: 1em;
        padding: 0.8em 0.5em;
    }

    .bouton-contact {
        font-size: 1.25em;
    }
}

/* page utilisateur */
.haut-page-utilisateur div {
    display: flex;
    justify-content: space-between;
}

.nom-utilisateur {
    margin: 0.5em;
    font-size: 4em;
    font-weight: 300;
}

.deconnecter-utilisateur {
    font-size: 0.66em;
}

.sauvegarde-utilisateur {
    margin-left: 1em;
    margin-bottom: 0.5em;
    font-size: 2.5em;
    font-weight: 300;
}

.visite-utilisateur {
    margin-right: 1.5em;
    text-align: end;
    font-size: 2em;
    font-weight: 300;
}

/* filtres page utilisateur */
#liste-filtre-utilisateur {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    margin-top: -1em;
    margin-left: 7em;
    font-size: 1em;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 1em;
    box-shadow: 0 0 15px 7.5px rgba(0, 0, 0, 0.25);
    opacity: 0;
}

.filtre-utilisateur {
    list-style-type: none;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.option-nom-utilisateur {
    background-color: #344074;
    color: white;
    text-align: center;
    padding: 0.75em;
    font-size: 125%;
}

.filtre-utilisateur select {
    background-color: #a9bbdf;
    text-align: center;
    font-size: 125%;
    border: none;
    padding: 0;
}

.filtre-recherche {
    list-style-type: none;
    width: 100%;
    background-color: #a9bbdf;
}

.icone-recherche-utilisateur {
    background: none;
    border: none;
    font-size: 150%;
    z-index: 2;
    padding: 0.666em;
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    width: 100%;
    justify-content: center;
}

.icone-recherche-utilisateur p {
    margin: 0;
    position: relative;
    cursor: pointer;
}

.icone-recherche-utilisateur p::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background-color: black;
    width: 0;
    transition: width 0.5s;
}

.icone-recherche-utilisateur:hover p::after {
    width: 100%;
}

/* bordure filtres utilisateur */
.filtre-utilisateur:first-child label {
    border-top: none;
    border-left: none;
    border-top-left-radius: 1em;
}

.filtre-utilisateur:first-child select {
    border-top: none;
    border-right: none;
    border-top-right-radius: 1em;
}

.filtre-utilisateur:last-child {
    border-bottom: none;
    border-left: none;
    border-bottom-left-radius: 1em;
}

.filtre-recherche {
    border-bottom: none;
    border-right: none;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}

/* reste de la page utilisateur */
.liste-hotel-utilisateur {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding-bottom: 2.5em;
}

.container-utilisateur {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
}

.apercu-hotel {
    position: relative;
}

.image-utilisateur {
    width: 96%;
    margin-left: 4%;
}

.boutton-visite-utilisateur {
    background-color: #7d82c8;
    color: white;
    font-size: 1.5em;
    padding: 1% 2%;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
}

.detail-hotel {
    display: flex;
    flex-direction: column;
    margin-right: 4%;
    position: relative;
    justify-content: space-between;
}

.detail-principal-hotel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.nom-hotel-utilisateur {
    font-size: 2.5em;
    font-weight: 300;
    margin: 0;
    position: relative;
}

.nom-hotel-utilisateur a {
    text-decoration: none;
    color: black;
}

.nom-hotel-utilisateur::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 3px;
    background: black;
    transition: width 0.5s;
}

.nom-hotel-utilisateur:hover::after {
    width: 100%;
}

.note-utilisateur {
    font-size: 225%;
    font-weight: 300;
    margin: 0;
}

.detail-secondaire-hotel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.adresse-utilisateur {
    font-size: 135%;
    font-weight: 300;
    margin: 0;
    margin-right: 5%;
}

.description-utilisateur {
    font-size: 110%;
    font-weight: 300;
}

.boutton-utilisateur {
    color: white;
    background-color: #5c62ad;
    border: none;
    border-radius: 2em;
    padding: 1em 2.5em;
    font-size: 1.1em;
    align-self: flex-end;
}

.aucun-hotel-utilisateur {
    margin: 0px 1em;
    padding-top: 6em;
    padding-bottom: 8em;
    font-size: 1.5em;
    font-weight: 300;
    text-align: center;
    vertical-align: middle;
}

@media only screen and (max-width:900px){
    .description-utilisateur {
        font-size: 100%;
    }

    .adresse-utilisateur {
        font-size: 125%;
    }
}

@media only screen and (max-width:750px) {
    .haut-page-utilisateur div {
        flex-direction: column;
        text-align: center;
    }

    .nom-utilisateur {
        margin-top: 1.25em;
        font-size: 275%;
        font-weight: 300;
    }

    .sauvegarde-utilisateur {
        font-size: 195%;
        font-weight: 300;
    }

    .visite-utilisateur {
        text-align: center;
        margin-right: 0;
        font-size: 150%;
        font-weight: 300;
    }

    #liste-filtre-utilisateur {
        margin-top: -0.5em;
        margin-left: 8em;
        font-size: 0.85em;
    }

    .detail-hotel{
        gap: 0;
    }

    .container-utilisateur{
        display: grid;
        grid-template-columns: 1fr;
        margin-left: 4%;
        gap: 0;
    }

    .image-utilisateur{
        margin-left: 0;
        margin-bottom: 0;
    }

    .boutton-visite-utilisateur{
        margin-right: 4%;
    }

    .description-utilisateur{
        text-align: center;
    }

    .detail-hotel .form-hotel, .detail-hotel .form-hotel-supprimer {
        place-self: center;
    }
}

@media only screen and (max-width:500px) {
    #liste-filtre-utilisateur {
        margin-top: -0.5em;
        margin-left: 3em;
        font-size: 0.75em;
    }

    .sauvegarde-utilisateur {
        font-size: 160%;
    }
}

@media only screen and (max-width:350px) {
    .nom-utilisateur {
        margin-top: 1em;
        font-size: 200%;
    }

    .visite-utilisateur {
        font-size: 125%;
        font-weight: 300;
    }

    #liste-filtre-utilisateur {
        margin-top: -0.5em;
        margin-left: 3em;
        font-size: 0.6em;
    }

    .sauvegarde-utilisateur {
        font-size: 130%;
    }
    .note-utilisateur{
        font-size: 150%;
    }
}

/* page de connection */
.main-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 70vh;
    padding-top: 10vh;
}

.login-container form {
    display: flex;
    flex-direction: column;
    margin: 1.5em 10%;
    row-gap: 1em;
}

.login-container form div {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    width: 100%;
}

#email, #motDePasse, #nomUtilisateur, .connection-bouton {
    background-color: #f1fbfe;
    padding: 0.8em 1.5em;
    border-radius: 2em;
    border: none;
    font-size: 1.1em;
}

#email, #motDePasse {
    width: 100%;
}

.connection-bouton {
    width: 66%;
    align-self: center;
}

.connection-bouton:hover {
    background-color: #ffffff;
    transition: 0.25s;
}

.main-login p {
    text-align: center;
    padding-top: 2em;
}

.erreur-login {
    color: rgb(243, 60, 60);
    font-size: 1.5em;
    text-align: center;
}

/* page d'inscription */
.main-inscription {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 70vh;
    padding-top: 10vh;
}

.inscription-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5em 10%;
    row-gap: 1em;
}

.inscription-container form div {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    width: 100%;
}

.titre-inscription {
    font-size: 4em;
    font-weight: 300;
    text-align: center;
    margin: 0;
}

#email, #motDePasse, #nomUtilisateur, .inscription-bouton {
    background-color: #f1fbfe;
    padding: 0.8em 1.5em;
    border-radius: 2em;
    border: none;
    font-size: 1.1em;
}

.inscription-bouton {
    width: 66%;
}

.inscription-bouton:hover {
    background-color: #ffffff;
    transition: 0.25s;
}

.main-inscription p {
    text-align: center;
}

.erreur-inscription {
    color: rgb(243, 60, 60);
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 0px;
}
@media only screen and (max-width: 600px) {
    .titre-inscription{
        font-size: 3em;

    }
    .login-container form div {
        flex-direction: column;
        row-gap: 1em;
    }
    #email, #motDePasse, #nomUtilisateur{
        width: 75%;

    }
    .connection-bouton{
        padding: 0.8em 1em;
    }
}
/* footer */
footer {
    bottom: 0;
    left: 0;
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    background-color: #344074;
    z-index: 100;
}

footer .copyright {
    margin-left: 2.5%;
    margin-right: 2.5%;
    font-size: 0.75em;
}

footer .reseaux {
    margin-left: 2.5%;
    margin-right: 2.5%;
    font-size: 1.5em;
}

footer * {
    color: white;
    padding-bottom: 1vh;
    padding-top: 1vh;
}