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

nav {
  background-color: rgb(44, 58, 70);
  padding: 20px;
  color: #fff;
  text-align: center;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #3b8fc7;
}

nav ul {

  list-style: none;
  display: flex;
  justify-content: space-evenly;

}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  font-size: 28px;
  color: white;
  text-decoration: none;
}

.container {
  display: grid;
  gap: 20px;
  justify-items: center;
  padding: 20px;

}

.box {

  border: 3px solid #ddd;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.box:hover {
  transform: scale(1.04);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.box img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.box img:hover {
  transform: scale(1.05);
}

.box button {
  background-color: #173040;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 3px;
}

.box button:hover {
  background-color: #3b8fc7;
}

@media only screen and (min-width: 768px) {
  .container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (min-width: 992px) {
  .container {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  .container {
    grid-template-columns: repeat(1, 1fr);
  }
}

.Contact {
  display: flex;
  justify-content: center;
}

form {
  border-radius: 10px;
  max-width: 500px;
  margin: 100px auto;
  margin-top: 10px;
  padding: 20px;
  background-color: #e7e5e5;
}

input[type="text"] {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

input[type="submit"] {
  color: #fff;
  background-color: #173040;
  padding: 10px 20px;
  border-radius: 3px;
}