html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

header {
  background-color: #122b4e;
  color: white;
  text-align: center;
  padding: 10px;
  height: auto;
}

header img {
  max-width: 100%;
  max-height: 200px;
}

main {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}


.description {
  text-align: center;
  margin-bottom: 20px;
}

.item {
  margin: 20px;
  width: 300px;
  text-align: center;
}

.item img {
  max-width: 100%;
}

.item h2 {
  margin-top: 10px;
  font-size: 24px;
}

.item p {
  margin-top: 5px;
}

.button-link {
  background-color: #122b4e;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.button-link:hover {
  background-color: #cba87f;
}

@media only screen and (max-width: 600px) {
  main {
    flex-direction: column;
    align-items: center;
  }

  .item {
    width: 80%;
  }

  .description {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .description p {
    font-size: 18px;
  }
}

footer {
  height: 50px;
  width: 100%;
  background-color: #122b4e;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
