/* ----------------------------------------------Imports------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@600&display=swap');

/* ----------------------------------------------Navigation bar, coded with help from w3 schools------------------------------------- */

/* General Wrapper Styles */
.wrapper {
  width: 100%;
  text-align: center; /* Center the navigation */
  margin: 0 auto;
  padding: 5px 0;
  text-transform: uppercase;
}

.wrapper2 {
  display: flex; /* Use flexbox for easy alignment */
  justify-content: center; /* Center children horizontally */
  align-items: center; /* Center children vertically */
  min-height: 100vh; /* At least the full height of the viewport */
  margin: 0;
  padding: 0;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  text-align: center;
}

/* Navigation Styles */
#topnav {
  display: inline-block;
  margin: 0 auto; /* Centers the navigation within the wrapper */
}

/* Unordered List Styles for Navigation */
.nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* List Item Styles */
.nav li {
  display: inline-block; /* Aligns the list items in a row */
  margin-right: -4px; /* Removes the gap between inline-block elements */
}

/* Link Styles */
.nav a {
  text-decoration: bold;
  font-size: 18px;
  font-family: 'Work Sans' sans-serif;
  padding: 10px 15px; /* Adds padding to the links for a larger click area */
  display: block;
  color: #ECE9E0; /* Sets the text color */
  background-color: #008080; /* Sets the background color */
  transition: background-color 0.3s; /* Adds a transition effect on hover */
}

/* Hover and Active States */
.nav a:hover,
.nav li.active a {
  background-color: #004949; /* Darkens the link on hover */
}

/* Last Item Style */
.nav .last {
  margin-right: 0; /* Removes margin on the last item */
}

/* Clearfix */
.clear {
  clear: both;
}

/* ----------------------------------------------Body formatting------------------------------------- */
.container {
  width: 80%; /* Adjust the width as needed */
  margin: 0 auto; /* Center the container horizontally */
  padding: 5px 0px; /* Add padding as needed to create space around the content */
}

/* General Wrapper Styles */
.body {
  width: 100%;
  margin: 0 auto;
  padding: 100px 20px;
}

/* ----------------------------------------------Video formatting------------------------------------- */
.video-container {
  margin-bottom: 30px; /* Margin for video */
}

video {
  display: block; /* Ensure the video is treated as a block element */
}

/* ----------------------------------------------Image formatting------------------------------------- */
.image-list {
  list-style-type: none; /* Removes the default list styling */
  padding: 0; /* Removes the default padding */
  margin: 0; /* Removes the default margin */
}

.image-list li {
  display: inline-block; /* Displays list items inline */
  margin-right: 10px; /* Adds some space between the images */
}

.image-list img {
  width: auto; /* Maintains the original aspect ratio */
  height: 200px; /* Sets a uniform height for all images */
  vertical-align: middle; /* Aligns images vertically in line */
}

.image-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ----------------------------------------------Scroll to top: With help from w3 schools, chatgpt------------------------------------- */
html {
  scroll-behavior: smooth;
}

/* Scroll to top button styles */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #008080;
  color: #ECE9E0;
  padding: 10px 20px;
  cursor: pointer;
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.scroll-to-top:hover {
  background-color: #004949;
}

.scroll-to-top.show {
  opacity: 1;
}

/* ----------------------------------------------Various website styles------------------------------------- */
body {
  font-family: 'Work Sans', sans-serif;
  font-weight: normal;
  color: #36393B;
  font-size: 20px;
}

/* Set the background color */
body {
  background-color: #ECE9E0;
}

p {
  color: #36393B;
  font-size: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans', sans-serif;
  color: #008080;
}

.special-h1 {
  font-weight: bold;
  color: #13293D;
  font-size: 40px;
  text-align: center;
  padding: 10px;
}

.special-h2 {
  font-family: 'League Spartan', sans-serif;
  margin-bottom: 80px;
  color: white;
}

.index-h2 {
  text-align: center;
  font-family: 'Noto Sans', sans-serif;
  color: #008080;
  padding: -10px;
}

.link-h2 {
  color: #40a877; /* Remove underlines */
  font-weight: bold;
  text-align: center;
}

/* Increase spacing for <li> bullet points */
li {
  margin-left: 20px; /* Adjust the value as needed to control the spacing */
  list-style: disc outside; /* Add bullet points outside the list item */
  margin-bottom: 10px; /* Adjust the value as needed to control the spacing */
  font-size: 20px;
}

ul {
  font-size: 20px;
}

/* Remove underlines and set the color */
a {
  text-decoration: none;
  color: #40a877;
  font-weight: normal;
}

table {
  border-collapse: collapse;
  width: 100%;
}

table, th, td {
  border: 1px solid black;
}

th, td {
  padding: 8px;
  text-align: left;
}

/* Secret test */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 50px;
}

.quiz-container {
  max-width: 600px;
  margin: 0 auto;
}

.question {
  font-size: 18px;
  margin-bottom: 10px;
}

.options {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.option {
  margin: 5px;
}

#result {
  margin-top: 20px;
}

.test-h2 {
  color: Orange;
}

.test-body {
  color: orange;
}

.white-box {
  background-color: white;
  width: 1100px;
  padding: 20px;
  margin: 20px;
  align-self: center;
  float: none;
}
