* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  width: 100vw;
  height: 100vh;
  background-color: antiquewhite;
}
.back-to-main-page {
  top: 20px;
  left: 20px;
  background-color: burlywood;
  padding: 10px;
  border: none;
  margin-top: 20px;
  margin-left: 10px;
  border-radius: 5px;
  color: white;
  font-size: 1rem;
}
.back-to-main-page:hover {
  cursor: pointer;
  background-color: white;
  color: burlywood;
}
.main-wrapper {
  width: 80vw;
  /* height: 100vh; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  margin: auto;
  background-color: burlywood;
  border-radius: 10px;
  margin-top: 20px;
}
.images-wrapper {
  width: 100%;
  height: 70%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  border: 1px solid white;
  height: 420px;
  align-items: center;
}
.card img {
  height: 200px;
  width: 300px;
  border-radius: 10px;
  margin-top: 15px;
}
.card-opis {
  width: 100%;
  height: 200px;
  color: white;
  text-align: center;
  font-size: 1.3rem;
  line-height: 25px;
}
.card-opis span {
  font-size: 1.5rem;
}
.card-opis p {
  margin-top: 15px;
}
.opis-wrapper {
  width: 100%;
  height: 300px;
  background-color: white;
  border-radius: 10px;
  font-size: 1.2rem;
  color: burlywood;

  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px;
}
.opis-wrapper p:nth-of-type(1) {
  font-weight: bolder;
  font-size: 1.3rem;
}
.opis-wrapper p {
  margin: 5px 0;
}
.opis-wrapper a {
  text-decoration: none;
}
.opis-wrapper a:hover {
  text-decoration: underline;
  font-size: 1.3rem;
}

@media screen and (max-width: 600px) {
  .main-wrapper {
    width: 100vw;
  }
  .opis-wrapper {
    height: 500px;
    font-size: 1rem;
    padding: 15px;
  }
  .opis-wrapper p:nth-of-type(1) {
    font-size: 1.1rem;
  }
  .card-opis {
    font-size: 1.1rem;
  }
}
