body {
  margin: 0;
}

.wrapper {
  width: 900px;
  margin: 0 auto;
}

.sidebar-img, .footer, .title, .links, .box {
  margin-top: 25px;
}

.title, .links, .footer {
  text-align: center;
}

.links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.links li {
  display: inline-block;
}

.links li:before {
  content: "ã€Œ";
}

.links li:after {
  content: "ã€ âˆ· ";
}

.links .last:after {
  content: "ã€";
}

.links li:before, .links li:after {
  letter-spacing: 0.1em;
}

.box {
  border: 1px solid black;
  padding: 0.5em 1em;
}

.inner {
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 10px rgba(225,145,5,0.4);
  border: 2px rgba(225,145,5,0.4);
  background: rgba(225,145,5,0.4);
  padding: 5px;
  border-radius: 8px;
  cursor: pointer;
}

.box img, .sidebar img {
  max-width: 100%;
  height: auto;
}

.sidebar {
  width: 200px;
  float: left;
}

.sidebar-image {
  border: 1px solid black;
}

.sidebar-image img {
  display: block;
}

.main-wrapper {
  margin-left: 225px;
}

/* FLEXBOX LAYOUT */
.main {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.main .box {
  flex: 1 1 45%;
  box-sizing: border-box;
}

.single-column {
  columns: 1;
}

.footer {
  margin-bottom: 25px;
}

/* IMAGE ROW FLEX */
.image-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.image-row img {
  flex: 1 1 45%;
  max-width: 45%;
  height: auto;
  box-sizing: border-box;
}

/* CROPPED IMAGE ROW */
.image-row.crop {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  height: 320px;
  overflow: scroll;
}

.image-row.crop img {
  flex: 1 1 45%;
  max-width: 45%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}

@media(max-width:915px) {
  .wrapper {
    width: 95%;
  }

  .main-wrapper {
    width: calc(100% - 225px);
  }
}

@media (orientation: portrait), (max-width: 480px) {
  .wrapper {
    width: 100%;
  }

  .main-wrapper, .sidebar, .footer {
    margin: 0 auto;
    width: 90%;
  }

  .sidebar {
    float: none;
    display: block;
  }

  .sidebar-image {
    margin: 0 auto;
    width: 33%;
    margin-top:25px;
  }

  .sidebar .sidebar-image img {
    width: 100%;
  }

  .footer {
    margin-bottom: 25px;
  }

  .main {
    flex-direction: column;
  }

  .main .box {
    flex: 1 1 100%;
  }

  .image-row img {
    max-width: 100%;
    flex: 1 1 100%;
  }

.image-row.crop img {
  flex: 1 1 48%;
  max-height: 270px;
  width: auto;
  object-fit: cover;
  
}

}
