* {
  box-sizing: border-box;
}
html {
  font-size: clamp(0.8rem, 1vw, 1.2rem);
}

body {
  font-family: "Courier New", monospace;
  color: #f2f3f4;
  background: #666666;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.square-container {
    aspect-ratio: 1/1;
    height: min(100dvw,100dvh);
    width: min(100dvw, 100dvh);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

.inner-content {
  display: flex;
  flex-direction: column; 
  height: 100%;
  text-align: center;
  justify-content: space-between;
  padding: 3rem;
}

.icon img {
  display: block;
  width: 5rem;
  text-align: center; 
  margin: 0 auto;
}

nav {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-evenly;
  white-space: nowrap;
  gap: 0;
}

nav a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-size: 1.3rem;
  color: #f2f3f4;
}

nav a:hover {
  color: #a3a3a3;
}

nav a.active {
  text-decoration: line-through;
  color: #a181af;
}

hr {
  border: 0.075em solid #a181af;
  width: 12.5vw;
  margin: 0 auto;
}

main {
  width:100%;
  height: 66vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 5px solid red;
}

main img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.visual-grid {
  aspect-ratio: 1/1;
  height: 100%;
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
}

.visual-grid img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.visual-grid img:hover {
  filter: grayscale(100%);
}

.marty img:hover {
  filter:invert(75%);
}

.arrow {
  border: solid #2e2e2e;
  border-width: 0 3vw 3vw 0;
  display: inline-block;
  padding: 3vw;
}

.right-arrow {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left-arrow {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.opaque {
  opacity: .5;
}

.overlay-container {
position: relative;
text-align: center;
color:#f2f3f4;
font-size: 1.2rem;
}

.overlay-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
}

.overlay-container:hover {
  font-size: 1.5rem;
}