body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif
}

body,
html {
  height: 100%;
  line-height: 1.8;
}

/* Full height image header */
.bgimg-1 {
  background-position: center;
  background-size: cover;
/*  background-image: url("../images/tahoe.jpg"); */
  background-image: url("../images/background.jpeg");
  min-height: 110%;
}

.w3-bar .w3-button {
  padding: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Custom CSS to maintain aspect ratio */
.w3-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio (9 divided by 16) */
}

.w3-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Styling for the trigger link */
.modal-trigger {
  color: #0076ff;
  text-decoration: underline;
  cursor: pointer;
}

/* Background overlay (hidden by default) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show the modal when the URL hash matches the ID */
.modal-overlay:target {
  opacity: 1;
  pointer-events: auto;
}

/* The actual content box */
.modal-box {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Close button (X) */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  text-decoration: none;
  color: #333;
}