* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
}

nav {
  background-color: #f0f0f0;
  padding: 10px 0;
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav ul li {
  display: inline-block;
}

nav a {
  text-decoration: none;
  color: #333;
  font-family: Arial, sans-serif;
  transition: border-bottom 0.3s ease;
  padding: 5px 10px;
}

nav a:hover {
  border-bottom: 2px solid #333;
}

.row {
  --bs-gutter-x: 1rem;
}

.box {
  border: solid;
  border-width: 1px;
  border-radius: 5px;
}

header {
  height: 50vh;
  background: linear-gradient(rgba(0, 0, 0, 0.179), rgba(0, 0, 0, 0.65)), url("https://engineering.uiowa.edu/sites/engineering.uiowa.edu/files/styles/ultrawide__1312_x_562/public/2022-04/19415%20Robot.jpg?h=9519e769&itok=9MPxvMcI");
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header h1 {
  padding-top: 22vh;
  font-size: 3rem;
}

#asdf {
  font-size: 3px;
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

main {
  background: url("https://cdn.pixabay.com/photo/2016/03/27/23/00/weight-lifting-1284616_1280.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

main h1 {
  font-size: 3rem;
  color: #fff;
}

main p {
  max-width: 600px;
  margin: 10px;
  color: #fff;
  margin-bottom: 80px;
}

main button {
  background: transparent;
  border: none;
  background: #fff;
  padding: 10px 20px;
  cursor: pointer;
}

main .content-container {
  background: black;
  height: 45%;
  width: 50%;
  border-radius: 25px;
}

.card {
  min-height: 80vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 0;
}

.card .card-content {
  width: 400px;
  min-height: 300px;
  padding: 20px;
  margin: 1rem;
  font-family: sans-serif;
}

.card .card-content h1 {
  font-size: 2rem;
  font-family: serif;
  margin-bottom: 1rem;
}

.card .card-content p {
  margin-bottom: 1rem;
  line-height: 1.5rem;
}

.card .card-content a {
  text-decoration: none;
  color: #fff;
  background: #000;
  padding: 10px 20px;
  display: inline-block;
  margin-top: 1rem;
}

.card .card-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 1rem;
}

.gallery {
  margin-top: 6rem;
}

.gallery h1 {
  text-align: center;
  font-family: sans-serif;
  margin-bottom: 5rem;
}

.gallery .images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.gallery .gallery-img {
  width: 300px;
  margin: 20px;
}

footer {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

footer input {
  padding: 10px 20px;
  margin-bottom: 20px;
}

footer textarea {
  padding: 20px;
  width: 420px;
  height: 200px;
  margin-bottom: 20px;
}

footer a {
  text-decoration: none;
  color: #fff;
  background: #000;
  padding: 10px 20px;
  font-family: sans-serif;
}

@media screen and (max-width: 1200px) {
  nav ul {
      flex-wrap: wrap;
      justify-content: center;
  }

  nav ul li {
      margin: 5px 15px;
  }
}

@media screen and (max-width: 768px) {
  .card {
      flex-direction: column;
      align-items: center;
  }

  .card .card-content,
  .card .card-img {
      width: 90%;
      max-width: 400px;
      margin: 1rem auto;
  }

  main .content-container {
      width: 90%;
      height: auto;
      padding: 20px;
  }

  footer textarea {
      width: 90%;
      max-width: 420px;
  }
}

@media screen and (max-width: 480px) {
  header h1,
  main h1 {
      font-size: 2rem;
  }

  .gallery .gallery-img {
      width: 90%;
      max-width: 300px;
  }
}
#abcdefg{
  height:300px;
}