* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Kanit', sans-serif;
  color: white;
}

.background {
  background: url('ocean-rocks.webp') no-repeat center center/cover;
  height: 100vh;
  position: relative;
}

.overlay {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 90px 20px; /* adds space top and bottom */
}

.middle-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}





.logo {
  width: clamp(180px, 25vw, 350px);
  height: auto;
 /* margin-bottom: 30px;*/
}

.text-lines h2 {
  font-family: 'Pacifico', cursive;
  color: #35c5ef;
}

.text-lines h2,
.text-lines h3,
.text-lines h4 {
 /* margin-bottom: 10px;*/
}

/* ===== Responsive Text Sizing ===== */


@media screen and (max-height: 500px) and (orientation: landscape) {
  .overlay {
    padding: 20px 20px;
  }
}


@media (min-width: 1920px) {
  .text-lines h2 { font-size: 2.2em; }
  .text-lines h3,
  .text-lines h4 { font-size: 1.6em; }
}

@media (min-width: 1366px) and (max-width: 1919px) {
  .text-lines h2 { font-size: 2em; }
  .text-lines h3,
  .text-lines h4 { font-size: 1.4em; }
}

@media (min-width: 768px) and (max-width: 1365px) {
  .text-lines h2 { font-size: 1.6em; }
  .text-lines h3,
  .text-lines h4 { font-size: 1.2em; }
}

@media (max-width: 767px) {
  .text-lines h2 { font-size: 1.3em; }
  .text-lines h3,
  .text-lines h4 { font-size: 1em; }
}

.download-overlay {
 /* margin-top: 50px;*/
  text-align: center;
}

.download-overlay a {
  text-decoration: none;
  color: white;
  display: inline-block;
}

.pdf-icon {
  width: 64px;
  height: auto;
 /* margin-bottom: 5px; */
  filter: invert(100%); /* makes the black SVG white, remove if not needed */
}

.download-label {
  font-size: 1.1em;
  font-weight: 500;
}




@media (max-width: 768px) {
  .pdf-icon {
    width: 48px;
  }
  .download-label {
    font-size: 1em;
  }
}

