:root {
  --primary-color: #ffffff;
  --background-color: #ffffff;
  --text-color: #3e3d3d;
  --accent-color: #1e90ff;
  --header-height: 60vh;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

header {
  position: relative;
  height: var(--header-height);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
  overflow: hidden;
}

header video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

header img.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
  padding: 1rem;
  z-index: 2;
}

.overlay h1 {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.overlay img {
  width: 120px;
  height: auto; /* Maintain aspect ratio */
  aspect-ratio: 1 / 1; /* Ensures it's always square */
  border-radius: 50%;
  border: 4px solid var(--text-color);
  margin-top: 1rem;
  display: block;
  object-fit: cover;
}

nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  z-index: 10;
}

nav a {
  color: var(--primary-color);
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

footer {
  background-color: #111;
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0% 100%);
  padding: 2rem;
  text-align: center;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
}

@media (max-width: 600px) {
  .overlay h1 {
    font-size: 1.5rem;
  }

  .overlay img {
    width: 90px;
    height: 90px;
  }
}