body {
  margin: 0;
  font-family: 'Alegreya Sans SC', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #252121;
}

header {
  background-color: white;
  padding: 4px;
  text-align: left;
  padding-left: 16%;
}

.logo {
  height: auto;
  max-width: 10vw;
}

main {
  position: relative;
}

.responsive-image {
  width: 100%;
  height: 80vh; /* Set a height based on the viewport height */
  background-image: url('bg-speaker-image.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.header-text {
  font-size: calc(2vw + 1em);
  color: #352121;
  vertical-align: middle;
}

.overlay-text {
  position: absolute;
  top: 33%;
  left: 16%;
  font-size: calc(6vw + 1em);
  color: white;
  font-weight: bold;
  transform: translateY(-50%);
}

footer {
  background-color: #252121;
  padding: 20px;
  text-align: left;
  padding-left: 16%;
  min-height: 40px;
}

.email-icon {
  width: 25px;
  height: auto;
  fill: white;
  vertical-align: middle;
}

.email-text {
  margin-left: 15px;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: white;
}

a:hover {
  opacity: 0.8;
}

/* Media Query for mobile */
@media (max-width: 768px) {
  header {
    padding-left: 8%; /* Adjusted ratio */
  }

  .overlay-text {
    font-size: calc(8vw + 0.5em); /* Adjusted font size */
    left: 8%; /* Adjusted ratio */
  }

  footer {
    padding-left: 8%; /* Adjusted ratio */
  }
}
