* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 15px;
  padding: 10px;
  font-family: sans-serif;
  position: fixed;
  width: 100%;
  background: white;
  z-index: 100;
}

nav .logo-container {
  margin-left: 40px;
  background-image: url('logo.png');
  width: 50px;
  height: 50px;
  z-index: 101;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0px;
}

nav ul {
  margin-right: 40px;
}

nav ul li {
  display: inline;
  list-style: none;
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #000;
}

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;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-container {
  position: relative;
  background: rgba(0, 0, 0, 0.8);
  height: 50%;
  width: 45%;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 2rem;
}

#myVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.content-container h1 {
  font-size: 1.4rem;
  color: rgba(230, 230, 240, .94);
  margin-bottom: 1.5rem;
  text-align: center;
  z-index: 1.4;
  position: relative;
}

.content-container .info {
  max-width: 600px;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
  z-index: 1;
  position: relative;
  line-height: 1.6;
}

.content-container .cta {
  background: #fff;
  color: #000;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  z-index: 1;
  position: relative;
  transition: all 0.3s ease;
}

.content-container .cta:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.card {
  min-height: 80vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
}

.card .card-content {
  width: 35%;
  padding: 20px;
  margin: 0 6rem;
  font-family: sans-serif;
}

.card .card-content h1 {
  font-size: 3rem;
  font-family: serif;
}

.card .card-content p {
  margin: 20px 0;
  margin-bottom: 40px;
  line-height: 1.5rem;
}

.card .card-content a {
  text-decoration: none;
  color: #fff;
  background: #000;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.card .card-img {
  width: 35%;
  max-height: 400px;
  object-fit: cover;
}

.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 {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

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;
}

#firstbutton {
  text-decoration: none;
  color: black;
}

embed {
  align: center;
  justify: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
  }

  .card .card-content,
  .card .card-img {
    width: 100%;
    margin: 0;
  }

  .content-container {
    width: 80%;
  }
}