/* about.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, sans-serif;
}

body {
  background: #15181c;
  color: white;
  overflow: hidden;
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 30px;
  z-index: 1000;
}

.back-button {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: 0.3s ease;
}

.back-button:hover {
  opacity: 1;
}

/* MAIN LAYOUT */

.about-container {
  width: 100%;
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 70px 40px 40px;
  gap: 40px;
}

/* LEFT IMAGE SIDE */

.image-side {
  width: 50%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-wrapper {
  width: 100%;
  height: 85vh;

  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* IMAGE CONTROLS */

.image-controls {
  margin-top: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 20px;
}

.image-controls button {
  background: transparent;
  border: none;

  color: white;
  font-size: 18px;

  cursor: pointer;
}

#counter {
  font-size: 13px;
  letter-spacing: 1px;
}

/* RIGHT TEXT SIDE */

.text-side {
  width: 35%;
  height: 85vh;

  overflow: hidden;
}

.text-scroll {
  width: 100%;
  height: 100%;

  overflow-y: auto;
  padding-right: 10px;
}

/* SCROLLBAR */

.text-scroll::-webkit-scrollbar {
  width: 4px;
}

.text-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.text-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.25);
}

/* TEXT */

.date {
  font-size: 12px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.title {
  font-size: 28px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.paragraph {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;

  opacity: 0.9;
}

.archive-link {
  color: white;
  text-decoration: underline;
  font-size: 14px;
}

/* MOBILE */

@media (max-width: 900px) {

  body {
    overflow-y: auto;
  }

  .about-container {
    flex-direction: column;
    height: auto;
    padding-top: 90px;
  }

  .image-side {
    width: 100%;
  }

  .image-wrapper {
    height: 60vh;
  }

  .text-side {
    width: 100%;
    height: auto;
  }

  .text-scroll {
    overflow: visible;
  }

}
