* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: Kreon;
}

/* Style de l'en-tête */
header {
    background-color: rgba(33, 45, 57, 0.8);
    border: 1px solid #3e2c0a;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

nav a:hover {
  font-weight: bold;
  background-color: rgba(33, 45, 57, 1);
}

/* Style pour les sections avec fond fixe, effet parralaxe */
.fondfixe {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Section qui : Première partie à 100% de la hauteur de la page */
#qui .box {
    min-height: 100vh;
}

/* Section chiffre : s'adapte au contenu */
#chiffre {
    min-height: auto;
}

#chiffre .section-content {
    height: auto;
    min-height: 20rem;
    padding: 10rem 5rem;
}

/* Section carte : Padding */
#carte {
    min-height: auto;
    padding: 5rem;
}

/* Parties supérieure et inférieure des sections (50% chacune) */
.section-part {
    position: relative;
    z-index: 1;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Contenu de chaque section */
.section-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: black;
}

/* Images des différentes sections */
#qui {
    background-image: url("../img/pexels-photo-132694.jpeg");
}

#chiffre {
    background-image: url("../img/kitchen-cake-backe-backing.jpg");
}

#carte {
    background-color: white;
}

#menus {
    background-image: url("../img/pexels-photo-24553.jpg");
}

#resa {
    background-color: white;
}

/* Style des titres des sections */
.title {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.title h2 {
    font-size: 3rem;
    padding: 0 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.title h3 {
    font-size: 1.5rem;
    padding-bottom: 1.5rem;
    /* font-weight: bold; */
    text-transform: uppercase;
    position: relative;
}

.title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #333;
}

/* Style de la section Qui ? */
#qui .box h1 {
    font-size: 5rem;
    color: white;
    background-color: #3e2c0a;
    padding: 0 1rem;
    font-weight: bold;
}

#qui .box p {
    font-size: 2rem;
    color: #3e2c0a;
    background-color: white;
    padding: 0 1rem;
}

#qui .box i {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 3rem;
}

#qui .white-box {
    background-color: white;
}

#qui .white-box i {
    font-size: 5rem;
    padding: 2rem;
}

#qui .white-box h4 {
    font-size: 2rem;
}

#qui .white-box p {
    font-size: 1.5rem;
    padding: 1rem;
}

/* Style de la section chiffre ? */

#chiffre i {
    font-size: 7rem;
    padding: 1rem;
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1)
}

#chiffre h5 {
    font-size: 5rem;
    padding: 1rem;
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1)
}

#chiffre p {
    font-size: 1.5rem;
    padding: 1rem;
    color: white;
    text-transform: uppercase;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1)
}

/* Style de la section carte */
#carte img {
    border: 5px solid #333;
    border-radius: 1rem;
    margin: 2rem;
}

#carte h5 {
    font-size: 2rem;
    padding: 1rem;
}

#carte p {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0rem;
}

/* Style de la section menus */
#menus {
    padding-bottom: 5rem;
}

#menus .title {
    color: white;
}

#menus h5 {
    font-size: 2rem;
    color: white;
}

#menus p {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

#menus a {
    font-size: 1.5rem;
    font-weight: bold;
}

#menus .col {
    text-align: start;
    padding-bottom: 2rem;
}

#menus img {
    border: 0.5rem solid white;
    border-radius: 0.5rem;
}

#menus .figure {
    position: relative;
    display: inline-block;
}

#menus .figure figcaption {
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    border: 0.5rem solid white;
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#menus .fig1 figcaption {
    background-color: #333;
}
#menus .fig2 figcaption {
    background-color: cyan;
}
#menus .fig3 figcaption {
    background-color: green;
}
#menus .fig4 figcaption {
    background-color: #333;
}

/* Style de la section Réservation */
#resa .reserv {
    padding: 2rem;
}

#resa input {
    width: 100%;
}

#resa .form {
    text-align: left;
}

#resa h4 {
    font-size: 1.8rem;
}

#resa .btn {
    width: auto;
    font-size: 1.5rem;
}

#resa .form p {
    padding-top: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: justify;
}

#resa .infos {
    padding-left: 2rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
    text-align: left;
}

/* Style de mon pied de page */
footer {
    background-color: #3e2c0a;
    min-height: 20rem;
    display: flex;
    align-items: center;
}

footer p {
    font-size: 2rem;
    color: white;
}

footer i {
    font-size: 2rem;
    color: white;
}
