.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: 50px;
  border-radius: 10px;
}

#socialsection {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 50vw;
  margin: 0 auto;
  background-color: #ffffff;
  height: 20vh;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}
#socialsection .row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

img {
  width: 110px;
  height: 110px;
}

#thm_id {
  max-height: 100%;
  width: auto;
}

img:hover {
  cursor: pointer;
}

#form {
  padding: 100px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-style: solid;
  border-radius: 20px;
  border-color: #ffffff;
  width: 60%;
  margin: 0 auto;
  background-color: #ffffff;
  color: black;
  height: 600px;
  justify-content: center;
  align-items: center;
  font-size: 50px;
}

h1 {
  margin: 0 auto;
  text-align: center;
  font-size: 60px;
}

#form label {
  display: flex;
  font-size: 20px;
  flex-direction: column;
}
#form input {
  height: 30px;
  margin-bottom: 5px;
}
#form textarea {
  height: 200px;
}
#form button {
  display: flex;
  background-color: blue;
  width: 100px;
  font-size: 30px;
  height: 40px;
  border-radius: 40px;
  margin: 0 auto;
  justify-content: center;
  color: white;
  margin-top: 10px;
  border: none;
  box-shadow: 0px 5px 10px black;
}

@media screen and (max-width: 1100px) {
  #title {
    font-size: 25px;
  }
  #socialsection {
    width: 45vw;
    height: 15vh;
  }
  img {
    width: 50px;
    height: 50px;
  }
  img:hover {
    cursor: pointer;
  }
  h1 {
    font-size: 20px;
  }
  #form {
    display: flex;
    height: 60vh;
    flex-direction: column;
    padding-left: 2px;
    padding-right: 2px;
    width: 80vw;
  }
  #form input {
    width: 70vw;
  }
  #form textarea {
    height: 150px;
    width: 70vw;
  }
  footer {
    font-size: 20px;
    text-align: center;
  }
}
@media screen and (max-width: 430px) {
  #title {
    font-size: 15px;
  }
  #socialsection {
    width: 90vw;
  }
  #socialsection .row {
    gap: 0px;
  }
  #img {
    width: 30px;
    height: 30px;
  }
  #form input {
    width: 225px;
    height: 20px;
  }
  #form textarea {
    width: 225px;
    height: 100px;
  }
  footer {
    font-size: 15px;
    text-align: center;
  }
}

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