body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #333;
  color: #fff;
  padding: 1em;
  text-align: center;
  font-family: 'Calligraffitti', cursive;
}

nav ul {
  font-family: 'Arial', sans-serif;
  list-style-type: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

main {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: stretch;
  padding: 20px;
}

.front-video {
  width: 100%;
  max-width: 1000px; /* Adjust the width as needed */
  margin: auto;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  margin-top: auto; /* Push the footer to the bottom */
  height: 40px;
}

/* Responsive Styles */
@media (min-width: 768px) {
  main {
      flex-direction: row;
  }

  .front-video {
      order: 2;
  }
}

/* About Us */

html {
  box-sizing: border-box;
}

/* *, *:before, *:after {
  box-sizing: inherit;
} */

.column {
  float: left;
  width: 33.3%;
  margin-bottom: 16px;
  padding: 0 8px;
}

.row {
  display: flex;
  justify-content: space-evenly;
}

@media (max-width: 650px) {
  .row {
    flex-direction: column;
  }
}

@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

/* Adjusted for team member cards */
article {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
  border: 1px solid #ccc;
}

article {
  display: flex;
  flex-direction: row;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container {
  width: 50%;
  padding: 0 16px;
}

.container::after {
  content: "";
  clear: both;
  display: table;
}

.title {
  color: grey;
}

/* Adjusted for figure and figcaption */
figure {
  margin: 0 0 10px;
}

.figure {
  display: flex;
  justify-content: center;
  align-items: center;
}

figure img {
  margin: auto;
  display: block;
}

figcaption {
  font-style: italic;
}

.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.button:hover {
  background-color: #555;
}

/* Added style for external link */
aside a {
  color: #007bff;
}
