/* styles.css */
body {
  font-family: Montserrat, Arial, sans-serif;
  min-width: 375px;
  font-size: 1.1rem;
}

nav {
  display: none;
}

nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
}

section {
  padding: 10px 40px;
  text-align: center;
}

.hero {
  background-image: url('./images/truck-hero.webp');
  background-size: cover;
  background-position-y: -40px;
  background-repeat: no-repeat;
  position: relative;
  min-height: 200px;
}

.social-header {
  position: absolute;
  bottom: 0;
  left: 30px;
}

.social-header img {
  padding: 10px;
  width: 20px;
}

.social-header a {
  text-decoration: none;
}

#welcome {
  text-align: left;
  font-size: 1.3rem;
}

.text-group {
    display: inline-block;
}

.logo {
  float: left;
  width: 150px;
  padding-right: 30px;
}

.sam {
  float: right;
  width: 150px;
  padding-left: 30px;
}

.menu-item {
  margin: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #d9f9d9;
}

.menu-item h4 {
  font-style: italic;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: green;
  color: white;
  text-decoration: none;
  margin-top: 20px;
  font-size: 1rem;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  border: none;
}

form {
  max-width: 400px;
  margin: 0 auto;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

input,
textarea {
  font-family: Montserrat, Arial, sans-serif;
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

footer {
  background-color: green;
  color: white;
  text-align: center;
  padding: 10px 0;
}

.social img {
  padding: 10px;
  width: 40px;
}

.social a {
  text-decoration: none;
}

.map {
  overflow: auto;
}

.map iframe {
  border: 0;
}

.modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: 450px;
  padding: 1.3rem;
  min-height: 250px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 3px solid green;
  border-radius: 15px;
  z-index: 2;
}

.modal p {
  margin: 0.4rem 0 0.2rem;
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.hidden {
  display: none;
}

@media only screen and (min-width: 720px) {
  .hero {
    min-height: 380px;
  }

  nav {
    display: block;
  }
}
