/* Font-face */
@font-face {
  font-family: "Abel";
  src: url(fonts/Abel-reg/Abel-Regular.ttf);
}
@font-face {
  font-family: "Luckiest Guy";
  src: url(fonts/Luckiest_Guy/LuckiestGuy-Regular.ttf);
}

/* Body Styles and font-family */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Abel", "Arial", sans-serif;
  background-image: url("/assets/images/208277804-generative-ai-abstract-blur-of-chinese-food-restaurant-and-coffee-shop-use-for-background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #333;
  line-height: 1.6;
}
#englishLogo img {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 60px;
  height: auto;
  cursor: pointer;
  padding: 0;
  border-radius: 0 0 5px 0;
}
#Logo img {
  width: 220px;
}

.content {
  background-color: lightgrey;
  margin: 2svh 4svw 4svh 4svw;
  border-radius: 25px;
}

header {
  background-color: #e64a19;
  text-align: center;
  padding: 2rem;
  color: #fff;
  border-radius: 25px 25px 0px 0px;
}
header h1 {
  font-size: 4rem;
  margin: auto;
  margin-top: 1rem;
  font-family: "Luckiest Guy", "Arial";
}

header p {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Navbar Styles */
nav ul {
  list-style: none;
  padding: 2rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin: 0;
  display: flex;
  justify-content: space-evenly;
  background-color: #333;
}

nav a {
  font-size: 1.2rem;
  padding: 0.75rem 1.1rem;
  border-radius: 20px;
  transition: background-color 0.3s, background-image 0.3s; /* Smooth transition */
  color: #fff;
  text-decoration: none;
}

nav a:hover {
  background: linear-gradient(
    to bottom,
    #d4a373 0%,
    /* Bun top */ #d4a373 25%,
    /* Bun top */ #ffcc00 25%,
    /* Cheese */ #ffcc00 30%,
    /* Cheese */ #8b4513 30%,
    /* Meat */ #8b4513 70%,
    /* Meat */ #ff6347 70%,
    /* Tomato */ #ff6347 75%,
    /* Tomato */ #98fb98 75%,
    /* Lettuce */ #98fb98 80%,
    /* Lettuce */ #d4a373 80%,
    /* Bun bottom */ #d4a373 100% /* Bun bottom */
  );
}

section,
#foodtruck {
  padding: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  padding: 2rem;
  row-gap: 1rem;
  column-gap: 2rem;
}

.single img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Gör så att bilderna fyller sina containrar */
  aspect-ratio: 1; /* Håller bilderna kvadratiska */
}
#wideshot img {
  display: flex;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: 0 75%;
}

p {
  font-size: 18px;
}

/* Footer Styles */
footer {
  margin-top: auto;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem;
  border-radius: 0px 0px 25px 25px;
}

footer a {
  color: #fff;
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}
table {
  margin: 0 auto;
}
th,
td {
  padding: 0.5rem;
}
.menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.menu-item {
  background-color: #f9f9f9;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.menu-item h3 {
  margin-top: 0;
}

.menu-item .price {
  font-weight: bold;
  margin: 0.5rem 0;
}
#foodtruck {
  display: flex;
  align-items: start;
  padding-top: 0;
}

#foodtruck p {
  flex: 3;
}

#foodtruck picture {
  flex: 1;
}

#foodtruck img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

form label {
  font-weight: bold;
}

form input,
form select,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

form button {
  padding: 10px 20px;
  background-color: #e64a19;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

form button:hover {
  background-color: #d84315;
}
.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.suppliers-grid a {
  display: block;
  text-align: center;
}

.suppliers-grid img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.suppliers-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
/* Mobile and smaller devices */
@media (max-width: 767px) {
  header h1 {
    font-size: 2.5rem;
  }
  header p {
    font-size: 1rem;
  }
  nav ul {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  nav li {
    margin: 0.5rem 0;
  }
  nav li:not(:last-child) {
    border-bottom: 0.1px solid #ccc;
  }

  .gallery {
    display: flex;
    flex-direction: column;
  }
}

/* Tablets and medium-sized devices */
@media (max-width: 1024px) {
  #englishLogo img {
    position: static;
  }
  #lang {
    height: 30px;
  }
  header,
  .gallery {
    padding: 1rem;
  }
  h1 {
    padding: 0;
    margin: 0;
  }
  header h1 {
    font-size: 3rem;
    margin: 0;
    margin-top: 1rem;
  }
  section,
  #foodtruck {
    padding: 1rem;
  }
  header p {
    font-size: 1.1rem;
  }
  nav ul {
    justify-content: space-between;
  }
  .menu {
    grid-template-columns: repeat(1, 1fr);
  }
  #foodtruck {
    display: flexbox;
    flex-direction: column;
  }
}
