body, header, nav, main, footer, img, h1, h2, h3, ul, table, td, th, p, section, article {
  padding: 0;
  border: 0;
  margin: 0;
}

/* Google font stuff */
/* font-family: 'Bitter', serif;
font-family: 'IBM Plex Sans', sans-serif;
font-family: 'Inter', sans-serif; */

body {
  /* background-color: black; */
  background-image: url("../images/website_bkg.jpg");
  background-size: cover;
  color: white;
  font-family: 'IBM Plex Sans', sans-serif;
}

main {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  justify-content: center; /* Centers content horizontally */
  align-items: center;     /* Centers content vertically */
  font-family: 'IBM Plex Sans', sans-serif;
  margin-top: 25px;
}


footer {
  height: 30px; /* Set the height of your footer */
  width: 100%;  /* Ensure it spans the width of the viewport */
  position: fixed;
  bottom: 0;    /* Align to the bottom */
  left: 0;      /* Align to the left */
  background-color: rgba(51, 51, 51, 0.0);
  color: white;
  text-align: center;
  font-weight:lighter;
  margin-bottom: 10px;
  line-height: 30px; /* Center the text vertically */
}

.container {
  width: 40%; /* Adjust based on preference */
  max-width: 800px; /* Maximum width of the container */
  padding: 40px; /* Optional shadow for better visibility */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video {
  width: 100%; /* Full width of the container */
  height: 450px; /* Fixed height */
  margin-bottom: 20px;
}

.buttons {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

button {
  margin: 0 2%;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #fc0444;
  color: white;
  border: none;
  border-radius: 2px;
  outline: none;
}

button:hover {
  background-color: #353384;
}

.text-box {
  width: 100%;
  height: 150px; /* Fixed height */
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none; /* Prevent resizing */
}

.navbar {
  width: 100%; /* Full width */
  height: 80px; /* Set a fixed height or adjust as needed */
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  padding: 20px 0; /* Padding to ensure some spacing */
}

.navbar-logo {
  margin-top: 40px;
  width: 300px; /* Fixed width as per your requirement */
  height: auto; /* Maintain aspect ratio */
}



/* Text and link style rules */

a {
  text-decoration: none;
  color: white;
}

p {
  line-height: 2em;
  font-size: .95em;
}

section p {
  margin: 2% auto;
  line-height: 1.5em;
}

.right-align {
  text-align: right;
}

h1 {
  text-align: center;
  font-size: 48px;
}

h2 {
  margin-bottom: 2%;
}

/* List */

ul {
  list-style-type: none;
  text-align: center;
}

li {
  text-decoration: none;
  padding-top: 2%;
  margin: 0% 1.5%;
  display: inline-block;
  font-weight: 700;
}


/* Styles the entire scrollbar */
::-webkit-scrollbar {
  width: 6px;  /* width of the vertical scrollbar */
  height: 12px; /* height of the horizontal scrollbar */
}

/* Styles the draggable part of the scrollbar */
::-webkit-scrollbar-thumb {
  background-color: #1c1c1c;
  border-radius: 12px;
}

/* Styles the track (part the thumb slides within) */
::-webkit-scrollbar-track {
  background: black;
}

/* Optional: style the buttons on the scrollbar (up and down arrows) */
::-webkit-scrollbar-button {
  display: block;
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991px) {
  .container {
      width: 60%; /* Increased width for smaller devices */
      padding: 20px; /* Less padding */
  }

  .video {
      height: 300px; /* Smaller video height */
  }

  .text-box {
      height: 100px; /* Smaller textbox */
  }

  .navbar-logo {
      width: 200px; /* Smaller logo */
  }

  h1 {
      font-size: 36px; /* Smaller font size for h1 */
  }

  button {
      padding: 8px 16px; /* Smaller buttons */
      font-size: 14px;
  }
}

/* Small devices (phones, less than 768px) */
@media (max-width: 767px) {

  main {
    margin-top: 0px;
  }

  .container {
      width: 80%; /* Even wider to take more space */
      padding: 15px;
  }

  .video {
      height: 200px; /* Further reduce video height */
  }

  .text-box {
      height: 80px; /* Smaller textbox */
  }

  .navbar-logo {
      width: 150px; /* Even smaller logo */
  }

  h1 {
      font-size: 28px; /* Smaller font size for h1 */
  }

  button {
      padding: 6px 12px; /* Even smaller buttons */
      font-size: 12px;
  }

  .buttons {
      flex-direction: column; /* Stack buttons vertically */
      margin-bottom: 10px;
  }

  button {
      margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .navbar {
      flex-direction: column; /* Stack navbar content */
      height: auto; /* Adjust height dynamically */
      padding: 0 0;
  }

  .navbar-logo {
      margin-top: 0px; /* Less top margin */
      width: 200px;
  }

  footer {
    display: none;
  }
}