/* Styles de base */
@font-face {
  font-family: "Raleway";
  src: url(fonts/Raleway-Regular.ttf) format(opentype);
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.2px;
  background-color: rgb(227, 199, 121);
  font-family: "Raleway";
}

.header {
  background: white;
  padding: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-napo {
  height: 40px;
  width: auto;
}

.header-title {
  color: black;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}

.main {
  background-image: url(img/merajaccio-modified-modified.jpg);
  background-size: cover;
  background-position: center;
  padding: 20px;
  text-align: center;
}

.titre {
  color: white;
  font-size: 2em;
  margin-top: 10px;
}

.main p {
  color: white;
  font-size: 20px;
  margin-top: 10px;
}

.header-nav {
  background: rgb(227, 199, 121);
  padding: 50px;
  display: flex;
  justify-content: center;
}

.header-nav a {
  padding: 0 15px;
  color: inherit;
  text-decoration: none;
  font-size: 28px;
  padding: 10px;
  text-decoration: underline;
  font-weight: bold;
}

.first-titre {
  color: inherit;
  text-decoration: none;
  font-size: 24px;
  padding: 20px;
}
a:hover {
  color: white;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul li {
  position: relative;
}

ul li a {
  display: block;
  padding: 25px 20px;
  text-decoration: none;
  color: black;
}

.footer {
  background: rgb(227, 199, 121);
  color: black;
  padding: 10px;
  text-align: center;
}

.titre-restaurant {
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.card {
  background-color: rgb(227, 199, 121);
}

.btn {
  background-color: rgb(144, 144, 144);
}

.col {
  margin-bottom: 20px;
}

.btn {
  color: black;
  background-color: #ffffff;
  border-color: transparent;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
  color: white;
  background-color: #007bff;
}

.btn:focus,
.btn:active {
  outline: none;
}

/* PAGE RESTAURANTS !!!!!!!!! */

.card-container {
  margin-bottom: 40px;
}

.content-container {
  margin-bottom: 50px;
  text-align: center;
  font-size: 20px;
}

.text-body-custom {
  color: black;
}

/* PAGE PAILLOTES */

.bus {
  font-size: 26px;
}

/* PAGE SNACK */

.snack {
  font-size: 26px;
}

svg {
  margin: 20px;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (max-device-width: 1366px) and (orientation: landscape) {
  @media screen and (max-width: 576px) {
    .titre {
      font-size: 1.8em;
    }

    .main p {
      font-size: 20px;
    }

    .header-title {
      font-size: 24px;
    }

    .header-nav a {
      padding: 0 15px;
      color: inherit;
      text-decoration: none;
      font-size: 36px;
      padding: 15px;
    }

    .btn {
      font-size: 18px;
    }

    .card {
      margin-bottom: 100px;
      padding: 40px;
      font-size: 40px;
      width: 90%;
      margin: 10px auto;
    }

    .row-cols-1 {
      column-count: 1;
    }

    ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    ul li {
      position: relative;
    }

    ul li a {
      display: block;
      padding: 25px 20px;
      text-decoration: none;
      color: black;
    }

    svg {
      margin: 20px;
    }
  }

  @media only screen and (max-device-width: 1024px) and (max-device-width: 1366px) and (orientation: landscape) {
    .titre {
      font-size: 2em; /* Ajuster la taille du titre */
    }

    .main p {
      font-size: 24px; /* Ajuster la taille du paragraphe */
    }

    .header-title {
      font-size: 28px; /* Ajuster la taille du titre de l'en-tête */
    }

    svg {
      margin: 20px;
    }

    .header-nav a {
      font-size: 36px; /* Ajuster la taille des liens de navigation */
      padding: 15px; /* Ajuster le rembourrage des liens de navigation */
    }

    .btn {
      font-size: 18px; /* Ajuster la taille des boutons */
    }

    .card {
      margin-bottom: 20px; /* Ajuster la marge inférieure des cartes */
      padding: 20px; /* Ajuster la marge intérieure des cartes */
      font-size: 28px; /* Ajuster la taille du texte des cartes */
      width: 45%; /* Ajuster la largeur des cartes */
      margin: 10px; /* Ajuster la marge extérieure des cartes */
      display: inline-block; /* Afficher les cartes en ligne */
    }

    .row-cols-1 {
      column-count: 2; /* Afficher les cartes en deux colonnes */
    }

    ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    ul li {
      position: relative;
    }

    ul li a {
      display: block;
      padding: 25px 20px; /* Ajuster le rembourrage des éléments de menu */
      text-decoration: none;
      color: black;
      font-size: 32px; /* Ajuster la taille du texte des éléments de menu */
    }
  }
}
