/* Basic page setup */
body {
  margin: 0;
  background-color: black;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5vw;
  box-sizing: border-box;
}

/* Container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2vh;
  width: 100%;
  max-width: 1200px;
}

/* Logo */
.logo {
  width: 60vw;
  max-width: 1100px;
  min-width: 550px;
  height: auto;
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 1200px) {
  .logo {
    width: 88vw;
    max-width: 1150px;
    min-width: 450px;
  }
}

@media (max-width: 600px) {
  .logo {
    width: 97vw;
    max-width: 750px;
    min-width: 350px;
  }
}

/* White line */
.line {
  width: 90%;
  max-width: 90%;
  height: 1.5px;
  background-color: white;
  border-radius: 999px;
  transition: width 2s ease-out;
  margin-top: 5px;
}

@media (max-width: 600px) {
  .line {
    height: 1px;
  }
}

/* Table images */
.table {
  width: 90%;
  max-width: 90%;
  height: auto;
  margin-top: 5px;
  margin-bottom: 10px;
  border-radius: 2.5px;
  object-fit: contain;
}

.table:last-of-type {
  margin-top: 35px;
}

/* Blue box */
.blue-box {
  width: 90%;
  max-width: 90%;
  background-color: black;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

/* Subtitle styling */
.subtitle {
  position: relative;
  display: inline-block;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: "Times New Roman", serif;
  margin: 0;
  padding: 5px 0 0 0;
  overflow: visible;
  color: inherit;
}

/* Underline animation */
.underline {
  position: absolute;
  bottom: 0px;
  left: 0;
  height: 2px;
  width: 0;
  background: fuchsia;
  border-radius: 2px;
  box-shadow: 0 0 3px fuchsia;
  animation: underlineWoosh 1s forwards;
  animation-delay: 0.5s;
}

@keyframes underlineWoosh {
  0% {
    width: 0;
    background: fuchsia;
    box-shadow: 0 0 3px red;
  }
  80% {
    width: 100%;
    background: fuchsia;
    box-shadow: 0 0 3px red;
  }
  100% {
    width: 100%;
    background: white;
    box-shadow: 0 0 0px white;
  }
}

/* About text */
.about-text {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  line-height: 1.8;
  margin-top: 25px;
  width: 100%;
  box-sizing: border-box;
  text-align: justify;
}

.about-text span.word {
  color: fuchsia;
  opacity: 0;
  transition: color 0.8s, opacity 0.4s;
}

.about-text span.word.visible {
  opacity: 1;
  color: white;
}

.about-text p {
  margin: 0 0 15px 0;
}

.highlight {
  font-weight: bold;
  font-style: italic;
  color: fuchsia;
}

.text-bottom-line {
  width: 0;
  height: 2px;
  background-color: white;
  margin-top: 10px;
  border-radius: 2px;
  transform-origin: center;
  transition: width 1s ease-out;
}

.text-bottom-line.visible {
  width: 100%;
}

/* Green box */
.green-box {
  width: 90%;
  max-width: 90%;
  background-color: black;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

/* Center quote section */
.center-quote {
  text-align: center;
  margin: 10px auto;
  font-family: 'Cassandra Personal Use Regular', cursive;
  color: white;
}

.center-quote p {
  margin: 16px 0;
  font-weight: 800;
  font-style: italic;
  font-size: 30px;
  line-height: 1.4;
}

.center-quote span {
  display: block;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.5px;
  font-size: 30px;
}

/* Bottom quote spacing - make top and bottom equal to paragraph spacing */
.center-quote.bottom-quote {
  margin-top: 15px;   /* same as paragraph spacing */
  margin-bottom: 15px; /* same as paragraph spacing */
}

/* Small screens */
@media (max-width: 600px) {
  .about-text {
    font-size: 16px;
    margin-top: 20px;
  }

  .about-text p {
    margin-bottom: 10px;
  }

  .table {
    height: auto;
  }

  .center-quote {
    margin: 10px auto;
  }

  .center-quote p {
    font-size: 20px;
  }

  .center-quote span {
    font-size: 24px;
  }

  .center-quote.bottom-quote {
    margin-top: 12px;
    margin-bottom: 12px;
  }
}
