.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden; /*Hides any content that overflows this container.*/
  z-index: -2; /*Places the video behind other content.*/
}

.video-background video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /*Adjusts position to truly center the video using CSS transform.*/
  object-fit: cover; /*Scales the video to cover the entire container.*/
  filter: brightness(0.7); /*Makes the video darker.*/
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /*Adds 50% opacity.*/
  z-index: -1;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: solid;
  margin: 0 auto;
  background-color: #3A506B;
  border-color: #062750;
  border-top: none;
  border-right: none;
  border-left: none;
  padding-top: 10px;
  position: relative;
  z-index: 10; /*Puts navbar above most content.*/
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.navbar nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1500px;
  padding: 0 20px;
  box-sizing: border-box;
}
.navbar nav ul {
  display: flex;
  align-items: center;
  justify-content: space-evenly; /*Distributes list items evenly with space around them.*/
  width: 100%;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style-type: none; /*Removes bullet point from the text.*/
}
.navbar nav ul li {
  border-color: black;
  border-style: solid;
  background-color: white;
  border-radius: 10px;
  width: 175px;
  height: 80px;
  list-style-type: none;
}
.navbar nav ul li a {
  display: flex;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-weight: bold;
  font-size: 25px;
  color: black;
  justify-content: center;
  position: relative;
  overflow: hidden;
  align-items: center;
}
.navbar nav ul li a span {
  position: relative;
  display: inline-block;
}
.navbar nav ul li a span::after {
  content: ""; /*Required for pseudo-elements (virtual element that doesn't exist in the structure).*/
  position: absolute; /*Positions the underline relative to the <span>.*/
  bottom: -5px; /*Positions the underline directly below the text.*/
  left: 50%;
  transform: translateX(-50%) scaleX(0); /*Scales the zero width and centers.*/
  transform-origin: center;
  width: 100%;
  height: 3px;
  background-color: black;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out; /*Smooth transition for transform and opacity.*/
  opacity: 0; /*Initially invisible.*/
}
.navbar nav ul li a:hover span::after {
  transform: translateX(-50%) scaleX(1); /*Scales the underline to full width.*/
  opacity: 1; /*Makes the undelrine fully visible.*/
}
@media screen and (max-width: 800px) {
  .navbar nav {
    flex-direction: column;
    align-items: center;
  }
  .navbar nav ul {
    flex-direction: column; /*Stacks the list items vertically.*/
    align-items: center;
    gap: 10px; /*Adds space between the items.*/
    align-items: stretch;
  }
  .navbar nav ul li {
    width: 100%;
    height: 60px;
    margin: 0;
  }
  .navbar nav ul li a {
    font-size: 18px;
  }
}

#SAMEERHAQ {
  width: 60%;
  height: 20vh;
  border-radius: 50px;
  border-color: black;
  border-style: solid;
  overflow: hidden;
}
#SAMEERHAQ #tooltip {
  position: absolute;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  border-radius: 4px;
  pointer-events: none;
  font-family: sans-serif;
  font-size: 14px;
  display: none;
  z-index: 10;
}
@media screen and (max-width: 800px) {
  #SAMEERHAQ {
    width: 90%;
    flex-direction: column;
    margin-bottom: 10px;
    margin-top: 10px;
    height: 15vh;
  }
}

footer {
  display: flex;
  border-style: solid;
  border-color: #062750;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  height: 100px;
  border-bottom: none;
  border-right: none;
  border-left: none;
  background-color: #3A506B;
  color: white;
}
footer a {
  color: white;
}
@media screen and (max-width: 800px) {
  footer {
    font-size: 20px;
    text-align: center;
  }
}

body {
  background-color: #1b1b1b;
  color: #ffffff;
  margin: 0;
  min-height: 100vh; /*Full height of the viewport.*/
  position: relative;
  background-image: url("../assets/thumbnails/MainBackground4.gif");
  z-index: 0; /*Sets the stacking order for the body.*/
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

#title {
  display: flex;
  padding: 10px;
  border-style: solid;
  border-color: #ffffff;
  width: 25%;
  margin: 0 auto;
  background-color: #ffffff;
  color: black;
  height: 50px;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  border-radius: 10px;
}

#certificates {
  display: flex;
  padding: 100px;
  border: 4px solid #ffffff;
  width: 80vw;
  margin: 0 auto;
  background-color: #ffffff;
  color: black;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
}
#certificates .sections {
  width: 100%;
  border: 4px solid black;
  padding: 30px;
  margin-bottom: 20px;
  font-size: 30px;
}
#certificates .title {
  font-size: 50px;
  border-bottom: 4px solid blue;
  margin-bottom: 20px;
}

#certificates p, #certificates .sections p {
  margin: 0;
  padding-top: 0px;
  width: 100%;
  padding: 0;
  text-align: left;
  box-sizing: border-box;
  /*justify-content: center;*/
  /*align-items: center;*/
}

@media screen and (max-width: 800px) {
  #title {
    font-size: 15px;
  }
  #certificates {
    width: 70vw;
    padding: 20px;
    padding-left: 40px;
    padding-right: 40px;
  }
  #certificates .title {
    font-size: 30px;
  }
  #certificates .sections {
    padding: 10px;
    font-size: 15px;
  }
  #certificates .sections ul {
    padding-left: 15px;
    margin-left: 0px;
  }
  #certificates .sections li {
    margin-left: 0px;
  }
}

/*# sourceMappingURL=certificates.css.map */
