@font-face {
  font-family: 'Userway Dyslexia';
  src: url('../fonts/Userway Dyslexia Font.ttf') format('opentype');
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Userway Dyslexia';
}

.topbar {
  width: 100%;
  background-color: #f9d979;
  color: #000;
  text-align: center;
  padding: 7px 5px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.topbar .pipe {
  display: inline;
}

.topbar .space {
  display: none;
}

/* LOGO STRIP */
.header {
  width: 100%;
  height: auto;
  padding: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #542785;
}

.header img {
  height: 12vh;
  width: auto;
  object-fit: contain;
}

/* HERO SECTION */
.banner {
  width: 100%;
  height: 90vh;
  background: url('../images/2024-12-16.webp') no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* OVERLAY */
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.content {
  color: #fff;
  max-width: 100%;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.text-one {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.text-two {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.banner button {
  padding: 1em 2em;
  font-size: 1rem;
  border: none;
  background: #f9d979;
  color: #000;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: 0.3s;
}

.banner button:hover {
  background: #542785;
  color: #fff;
}

/* ===== COMMON SPLIT ===== */
.layout {
  display: flex;
  width: 100%;
  height: auto;
}

/* ===== FIRST SECTION ===== */
.block-a .panel {
  width: 50%;
  background: #e4c56a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vw;
}

.block-a h1 {
  font-size: 2rem;
  color: #5a2a82;
  margin-bottom: 1rem;
}

.stroke {
  width: 80%;
  height: 0.2vh;
  background: #5a2a82;
  margin-bottom: 1.5rem;
}

.action {
  display: inline-block;
  padding: 0.8em 1.8em;
  font-size: 0.9rem;
  background: #5a2a82;
  color: #fff;
  border-radius: 2rem;
  text-decoration: none;
  width: fit-content;
}

.block-a .frame {
  width: 50%;
}

.block-a iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== SECOND SECTION ===== */
.block-b .visual {
  width: 50%;
  background: url('../images/background-2.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brandmark {
  width: 25vw;
}

.block-b .details {
  width: 50%;
  background: #5a2a82;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vw;
}

.block-b h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #f9d979;
}

.block-b p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6em;
  color: #f9d979;
}

/* MAIN */
.base {
  width: 100%;
  min-height: auto;
  background-color: #260d41;
  display: flex;
  justify-content: space-between;
  padding: 6vh 6vw;
  position: relative;
  overflow: hidden;
}

/* BACKGROUND */
.base::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: url('../images/yellow-rotated-1.webp') no-repeat center;
  background-size: cover;
  opacity: 0.15;
  top: 0;
  left: 0;
}

/* LEFT */
.group {
  width: 90%;
  color: #cfc3dd;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.badge {
  width: 10vw;
  min-width: 120px;
  margin-bottom: 3vh;
}

.contact p {
  margin-bottom: 1.5vh;
  font-size: 0.95rem;
}

.hours {
  margin-top: 3vh;
}

.hours h4 {
  margin-bottom: 1vh;
}

.hours p {
  margin-bottom: 1vh;
  font-size: 0.9rem;
}

/* BOTTOM */
.note {
  text-align: center;
  padding: 3vh 5vw;
  color: #cfc3dd;
  background-color: #260d41;
  font-size: 0.75rem;
  line-height: 1.5;
}

.policy {
  color: #c4c3dd;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .topbar .pipe {
    display: none;
  }

  .topbar .space {
    display: block;
    height: 4px;
  }

  .header {
    height: auto;
  }

  .header img {
    height: 10vh;
  }

  .banner {
    height: 80vh;
  }

  .banner h1 {
    font-size: 3rem;
    line-height: 1.3;
  }

  .text-one {
    font-size: 1.5rem;
  }

  .text-two {
    font-size: 1rem;
  }

  .banner button {
    font-size: 1.2rem;
    padding: 0.8em 1.5em;
  }

  .layout {
    flex-direction: column;
    height: auto;
  }

  .block-a .panel,
  .block-b .visual,
  .block-b .details {
    width: 100%;
    height: auto;
  }

  .block-a .frame {
    width: 100%;
    height: 55vh;
  }

  .block-b .visual {
    width: 100%;
    height: 50vh;
  }

  .block-a h1 {
    font-size: 2rem;
  }

  .brandmark {
    width: 65vw;
  }

  .base {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6vh 6vw 2vh 6vw;
  }

  .group {
    width: 100%;
    margin-bottom: 4vh;
  }

  .group {
    flex-direction: column;
  }

  .note {
    padding: 0vh 5vw 3vh 5vw;
  }
}