body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: white;
  color: black;
}

header {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: #f0f0f0;
}

header .title {
  color: black;
  font-size: 2em;
  font-weight: bold;
  margin-right: auto;
  text-decoration: none;
}

header .title img {
  max-width: 275px;
  height: 100%;
}

header img {
  height: 50px;
  margin-left: 10px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
  justify-content: center;
}

.box {
  background-color: black;
  box-sizing: border-box;
  width: 300px;
  border-radius: 8px;
  overflow: hidden;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.box img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.box-title {
  color: white;
}

.box-only-image {
  background-color: black;
  box-sizing: border-box;
  width: 300px;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0px;
  cursor: pointer;
  transition: transform 0.2s;
}

.box-only-image img {
  width: 100%;
  height: 300px;
}

.box:hover,
.box-only-image:hover {
  transform: scale(1.05);
}


@media (max-width: 660px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header .title {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  header img {
    height: 40px;
    margin-left: 0;
    margin-right: 10px;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .box,
  .box-only-image {
    width: 100%;
  }

  .box img,
  .box-only-image img {
    height: auto;
  }
}
