* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.header {
  display: flex;
  flex-flow: column;
  gap: 10px;
}

.header-logo {
  display: flex;
  flex-flow: column;
  gap: 10px;
  justify-self: center;
  width: 12em;
  max-width: 75%;
  max-height: 75%;
  margin-top: 2em;
  transition: 0.5s;
}

.header-logo:hover {
  transition: 1s;
  transform: rotate(360deg);
}

.navbar {
  background-color: rgb(0 79 153);
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: black;
  text-decoration: none;
}

li {
  list-style: none;
}

.button-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
}

.website-header {
  display: flex;
  width: fit-content;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  margin-top: 1em;
  padding: 1em;
  border-radius: 10px;
  background-color: black;
  color: rgb(0 79 153);
  font-weight: bolder;
  font-size: 60px;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  transition: 1s;
}

.website-header:hover {
  background-color: rgb(0 79 153);
  color: black;
  transition: 1s;
}

.line-spacer {
  margin-top: 30px;
  margin-bottom: 3px;
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  transition: 2s;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  min-height: 5em;
  max-height: 30em;
  padding-top: 2em;
  padding-left: 2em;
  background-color: rgb(0 79 153);
  color: white;
  font-weight: bold;
  font-family: Arial;
  line-height: 25px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  width: 100%;
}

.footer-links {
}

.copyright-text {
  display: flex;
  margin-top: 10em;
  margin-right: 20px;
  text-align: right;
}

.paragraph-lead {
  display: flex;
  width: fit-content;
  height: auto;
  margin: 2em 5%;
  padding: 1em;
  border-radius: 10px;
  background-color: rgb(0 79 153);
  color: white;
  font-weight: bold;
  font-size: 35px;
  font-family: Arial;
  transition: 1s;
}

.paragraph-lead:hover {
  padding: 2em;
  transition: 1s;
}

.video-player {
  display: grid;
  justify-content: center;
  max-width: 50%;
  margin: 0 auto;
}

.header-gif {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  transition: 1s;
}

.header-gif:hover {
  filter: invert(100%);
  transition: 1s;
}

.gif-wrapper {
  position: relative;
}

.text-overlay {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.mmp-paragraph {
  display: block;
  width: auto;
  height: auto;
  margin: 2em 5% 25px;
  border-radius: 10px;
  background-color: rgb(185 185 185);
  color: (white);
  font-size: 25px;
  font-family: Arial;
}

.section-titles {
  display: flex;
  width: fit-content;
  height: auto;
  margin: 0 auto;
  margin-top: 1em;
  padding: 1em;
  border-radius: 10px;
  background-color: black;
  color: rgb(0 79 153);
  font-weight: bolder;
  font-size: 60px;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  transition: 1s;
}

.section-titles:hover {
  background-color: rgb(0 79 153);
  color: black;
  transition: 1s;
}

.body-title {
  display: flex;
  width: fit-content;
  height: auto;
  margin: 0 auto;
  margin-top: 1em;
  padding: 1em;
  border-radius: 10px;
  background-color: black;
  color: rgb(0 79 153);
  font-weight: bolder;
  font-size: 40px;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  transition: 1s;
}

.body-title:hover {
  background-color: rgb(0 79 153);
  color: black;
  transition: 1s;
}

.graph-container {
  position: relative;
  width: 80%;
  max-width: 76rem;
  max-height: 75%;
  aspect-ratio: 1.5;
  margin: auto;

  & > .bar-graph {
    inset: 0;
    animation-name: grow;
    animation-timing-function: linear;
    animation-timeline: view(block 90% 0%);
  }
}

.line-graph-container {
  position: relative;
  width: 80%;
  max-width: 76rem;
  max-height: 75%;
  aspect-ratio: 1.5;
  margin: auto;

  & > .line-graph {
    inset: 0;
    animation-name: grow;
    animation-timing-function: linear;
    animation-timeline: view(block 90% 0%);
  }
}

.pie-graph-container {
  position: relative;
  width: 80%;
  max-width: 76rem;
  max-height: 75%;
  aspect-ratio: 1.5;
  margin: auto;

  & > .pie-graph {
    inset: 0;
    animation-name: grow;
    animation-timing-function: linear;
    animation-timeline: view(block 90% 0%);
  }
}

.mmp-link {
  display: block;
  width: fit-content;
  height: auto;
  margin: 2em 5% 25px;
  padding: 20px;
  border-radius: 10px;
  background-color: black;
  color: rgb(255 255 255);
  font-size: 20px;
  font-family: Arial;
  transition: 0.5s;
}

.mmp-link:hover {
  background-color: rgb(0 79 153);
  transition: 1s;
  scale: 1.2;
}

.body-gifs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: space-between;
  max-width: 100%;
  margin: 10px 10% 0;
}

.body-gif3 {
  width: 21%;
  transition: 1s;
}

.body-gif2 {
  width: 35%;
  transition: 1s;
}

.body-gif1 {
  transition: 1s;
}

.body-gif3:hover {
  transition: 1s;
  scale: 1.1;
}

.body-gif2:hover {
  transition: 1s;
  scale: 1.1;
}

.body-gif1:hover {
  transition: 1s;
  scale: 1.1;
}

.show-more-button {
  display: flex;
  max-width: fit-content;
  margin-left: 0 auto;
  padding: 1em;
  border-radius: 1em;
  background-color: rgb(0 79 153);
  color: white;
  transition: 1s;
}

.show-more-button:hover {
  max-width: fit-content;
  margin-left: 2em;
  padding: 1em;
  border-radius: 1em;
  background-color: white;
  color: rgb(0 79 153);
  transition: 1s ease-in-out;
}

.hidden-message {
  display: inline-block;
  max-width: fit-content;
  margin-top: 1em;
  margin-left: 1em;
  padding: 1em;
  color: white;
  transition: 1s;
}

.animated-dropdown {
  max-width: fit-content;
  margin-left: 2em;
  border-radius: 1em;
  background-color: rgb(0 79 153);
  color: white;
  transition: 1s;
}

.animated-dropdown:open {
  display: flex;
  max-width: 50%;
  border-radius: 1em;
  background-color: rgb(0 79 153);
  color: white;
  font-size: 20px;
}

.show-more-button-container {
  margin-top: 1em;
}

.show-more-button-container2 {
  margin-top: 1em;
  margin-left: 3em;
}

.fig-caption {
  display: flex;
  width: auto;
  height: auto;
  margin: 1em;
  border-radius: 10px;
  background-color: rgb(185 185 185);
  color: white;
  font-weight: bold;
  font-size: 14px;
  font-family: Arial;
}

.map-fig-caption {
  display: flex;
  width: auto;
  height: auto;
  margin: 1em;
  border-radius: 10px;
  background-color: rgb(185 185 185);
  color: rgb(0 0 0);
  font-weight: bold;
  font-size: 15px;
  font-family: Arial;
}

.article-tab-all {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  margin-left: 45.5%;
}

.article-tabs {
  display: flex;
  justify-content: space-between;
  width: 80%;
  max-width: 70rem;
  margin: auto;
}

.resources {
  display: flex;
  gap: 0.5em;
  justify-content: center;
  align-items: center;
  width: 80%;
  max-width: 2em;
  margin: auto;
  margin-bottom: 10em;
}

.imported-map {
  display: flex;
  place-content: center center;
  width: 100%;
  height: 50em;
  max-height: 100%;
}

.d-block {
  justify-self: center;
  height: 50em;
}

.image-caption {
  color: rgb(75 168 255);
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.quiz-container {
  width: 100%;
  max-width: 600px;
  margin: auto;
  margin-bottom: 2em;
  padding: 30px;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 0 20px rgb(0 0 0 / 0.1);
}

.quiz-header {
  margin-bottom: 30px;
  text-align: center;
}

.question {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  padding: 15px;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  background-color: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option:hover {
  background-color: #e9ecef;
}

.option.selected {
  border-color: rgb(0 79 153);
  background-color: #cfe2ff;
}

.option.correct {
  border-color: #28a745;
  background-color: #d4edda;
}

.option.incorrect {
  border-color: #dc3545;
  background-color: #f8d7da;
}

.quiz-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.timer {
  font-weight: bold;
  font-size: 1.2rem;
}

.progress {
  height: 10px;
  margin-bottom: 20px;
}

.results {
  text-align: center;
}

.result-icon {
  margin-bottom: 20px;
  font-size: 4rem;
}

.score {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 2rem;
}

.quiz-page-paragraph {
  display: flex;
  justify-self: center;
  width: fit-content;
  height: auto;
  margin: 2em 5%;
  padding: 1em;
  border-radius: 10px;
  background-color: rgb(0 79 153);
  color: white;
  font-weight: bold;
  font-size: 35px;
  font-family: Arial;
  transition: 1s;
}

.quiz-page-paragraph:hover {
  padding: 2em;
  transition: 1s;
}

.parallax {
  position: relative;
  height: 1000px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.parallax-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-family: 'Courier New', Courier, monospace;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 0.5);
}

.parallax-caption h3 {
  font-weight: bold;
  font-size: 4rem;
}

.parallax-caption p {
  font-size: 1.8rem;
}

.parallax-1 {
  background-image: url('https://media1.tenor.com/m/qmSIzc-H7vIAAAAC/1984.gif');
}

.parallax-2 {
  background-image: url('https://gizmodo.com/app/uploads/2023/07/69603e1b1d0e22237c9313d2f4de0bfc.gif');
}

.parallax-3 {
  background-image: url('https://i.pinimg.com/originals/5e/2f/ec/5e2fec1ddbe1b3d19643f8ff6f3428e0.gif');
}

.parallax-4 {
  background-image: url('https://images.axios.com/0P8bonlHTrcT0VBWHCYCNN1OdUQ=/0x0:1280x720/2026/04/09/1775766037126.gif');
}

.parallax-5 {
  background-image: url('https://media1.tenor.com/m/aIwrARxCG10AAAAC/openai-chatgpt.gif');
  transform: scaleX(1);
}

.parallax-6 {
  background-image: url('https://media1.tenor.com/m/DvzcC0UpGtMAAAAC/squidward-future.gif');
  transform: scaleX(1);
}

.next-page-button {
  display: flex;
  max-width: fit-content;
  margin: 0 auto;
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 1em;
  border-radius: 1em;
  background-color: rgb(0 79 153);
  color: white;
  transition: 1s;
}

.next-page-button:hover {
  max-width: fit-content;
  margin: 0 auto;
  margin-bottom: 4em;
  padding: 3em;
  border-radius: 1em;
  background-color: white;
  color: rgb(0 79 153);
  transition: 1.5s ease-in-out;
}

.map-chart {
  justify-self: center;
  width: 1000px;
  max-width: 100%;
  margin: auto 0;
}

@media screen and (width <= 1600px) {
  .resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1em;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin-top: 2rem;
  }
}

@media screen and (width <= 500px) {
  .website-header {
    display: flex;
    width: 40%;
    max-width: 100%;
    margin-right: 49%;
    padding: 1em;
    border-radius: 10px;
    background-color: black;
    color: rgb(0 79 153);
    font-weight: bolder;
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    transition: 1s;
  }
}
