/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

.nudge {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5vw;
  height: 5vw;
  background-color: #7428a1;
  z-index: 4000;
  border-radius: 100%;
  text-align: center;
  line-height: 4.5vw;
  font-size: 4vw;
  padding: 0;
  margin: 0;
  box-shadow: 0 0 20px #7428a1;
  color: white;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

.hero {
  height: 110vh;
  width: 120vw;
  margin: 0;
  padding: 0;
  background-color: #7428a1;
  box-shadow: 0px -2px 54px 52px rgba(0,0,0,0.75) inset;
  filter: blur(50px);
  transform: translateX(-10vw) translateY(-10vh);
}

.blob {
  position: absolute;
  height: 25vw;
  width: 25vw;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.blob_g {
  position: absolute;
  height: 25vw;
  width: 25vw;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  /*background-image: url("../img/grain.svg"); !* Grain texture *!*/
  /*background-size: 75vw 75vw; !* Size of the texture *!*/
  /*background-blend-mode: multiply; !* Blend the texture with the color *!*/
  z-index: 100;
}

.b1 {
  top: 20%;
  left: 30%;
  animation: hover 5s ease-in-out infinite;
}
.b2 {
  top: 50%;
  left: 70%;
  animation: hover 4s ease-in-out 1s infinite;
}
.b3 {
  top: 80%;
  left: 40%;
  animation: hover 4.5s ease-in-out 2s infinite;
}
.b4 {
  top: 30%;
  left: 60%;
  animation: hover 6s ease-in-out 0.25s infinite;
}
.b5 {
  top: 70%;
  left: 20%;
  animation: hover 6.5s ease-in-out 1s infinite;
}
.b6 {
  top: 10%;
  left: 80%;
  animation: hover 5s ease-in-out 0.5s infinite;
}

.blob.b1 {
  background-color: #f9c74f;
}

.blob.b2 {
  background-color: #90be6d;
}

.blob.b3 {
  background-color: #f3722c;
}

.blob.b4 {
  background-color: #4ff9b8;
}

.blob.b5 {
  background-color: #f94d7b;
}

.blob.b6 {
  background-color: #cf4ff9;
}

@keyframes hover {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -60%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.hero-text {
  position: absolute;
  top: 40%; /* Raise the text vertically */
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  width: 100vw;
  text-align: center;
  font-size: 5rem;
  text-decoration: none; /* Remove default underline */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0 5 Q 25 0, 50 5 T 100 5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 100%; /* Align underline at the bottom of the text */
  background-size: contain; /* Tile the underline across the text */
  padding-bottom: 5px; /* Adjust spacing for the underline */
}

.site-header {
  margin-top: 2rem;
  box-shadow: 0 20px 20px 0 #000;
  background-color: #000;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 2rem;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  height: 4rem;
  width: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  color: #fff;
}

.site-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: #7428a1; /* Highlight color on hover */
}

.about {
  border-image:
    linear-gradient(
      to bottom,
      #7428a1,
      rgba(0, 0, 0, 0)
    ) 1 100%;
  border-width: 3px;
  border-style: solid;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  padding: 0 2rem 0 2rem;
}

.about h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  padding: 0;
  margin-top: 0;
}

.about p {
  color: white;
  font-size: 1.25rem;
  line-height: 1.4;
}

.staff {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2rem auto;
  max-width: 80%;
  z-index: 1000;
}

h2 {
  text-align: center;
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  padding: 0;
  margin-top: 0;
}

.staff-member {
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  color: white;
  border-radius: 10px;
  box-shadow: 0 0 00px rgba(0,0,0,0);
  margin: 1rem;
  padding: 1rem;
  flex: 1 1;
  transition: all 0.5s ease;
  z-index: 100;
}

.staff-member:hover {
  box-shadow: 0 0 20px rgba(157, 40, 161, 0.5);
  transition: all 0.5s ease;
}

.staff-member:nth-child(1):hover {
  box-shadow: 0 0 20px rgba(161, 109, 40, 0.5);
}

.staff-member:nth-child(2):hover {
  box-shadow: 0 0 20px rgba(40, 161, 139, 0.5);
}

.staff-member:nth-child(3):hover {
  box-shadow: 0 0 20px rgba(123, 152, 116, 0.5);
}

.staff-member img {
  width: 75px;
  border-radius: 10%;
}

.info h2 {
  margin-top: 6rem;
}

.info .slash {
  position: absolute;
  background-color: #7428a1;
  width: 120vw;
  height: 12rem;
  rotate: -10deg;
  filter: blur(50px);
  transform: translateX(-10vw) translateY(4rem);
  z-index: -1;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2rem auto;
  max-width: 80%;
}

.column {
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  color: white;
  border-radius: 10px;
  box-shadow: 0 0 00px rgba(0,0,0,0);
  margin: 1rem;
  padding: 1rem;
  flex: 1;
  transition: all 0.5s ease;
}

.column:hover {
  box-shadow: 0 0 20px rgba(116, 40, 161, 0.5);
  transition: all 0.5s ease;
}

.contact {
  text-align: center;
  margin-bottom: 4rem;
}

.sponsors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  max-width: 80%;
  text-align: center;
  color: #fff;
}

.contact p {
  color: white;
  font-size: 1.25rem;
  line-height: 1.4;
}

.contact h2 {
  margin-top: 0;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.sponsor-logos h3 {
  background-image: linear-gradient(
    to right,
    #7428a1,
    #f9c74f,
    #90be6d,
    #f3722c,
    #4ff9b8,
    #f94d7b,
    #cf4ff9
  );
  background-size: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 1.5rem;
}

button {
  background-color: rgba(116, 40, 161, 0.4);
  box-shadow: 0 0 20px rgba(116, 40, 161, 0.5);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1rem 1rem 0 0;
}

a {
  text-decoration: none;
  color: #007BFF;
}

a:hover {
  text-decoration: underline;
}

footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 2px solid #fff;
}

.ext-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 2rem auto;
  max-width: 80%;
}

.ext-links p {
  margin: 0 1rem;
  line-height: 1.4;
}

@media(prefers-color-scheme: light) {
  body {
    background-color: #fff;
    color: #444;
  }

  .hero {
    background-color: #fff;
    box-shadow: 0px -2px 54px 52px rgba(255,255,255,0.75) inset;
  }

  .hero-text {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0 5 Q 25 0, 50 5 T 100 5' fill='none' stroke='%23444444' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  h1, h2, h3 {
    color: #444;
  }

  .blob.b1 {
    background-color: rgba(249, 199, 79, 0.4);
  }

  .blob.b2 {
    background-color: rgba(144, 190, 109, 0.4);
  }

  .blob.b3 {
    background-color: rgba(243, 114, 44, 0.4);
  }

  .blob.b4 {
    background-color: rgba(79, 249, 184, 0.4);
  }

  .blob.b5 {
    background-color: rgba(249, 77, 123, 0.4);
  }

  .blob.b6 {
    background-color: rgba(207, 79, 249, 0.4);
  }

  .site-header {
    background: #fff;
    color: #444;
    box-shadow: 0 20px 20px rgba(0,0,0,0.25);
  }

  .site-header a {
    color: #444;
  }

  .site-header ul {
    color: #444;
  }

  html {
    background: #fff;
  }

  .about {
    box-shadow: none;
  }

  .about p {
    color: #444;
  }

  .about h2 {
    color: #444;
  }

  .staff-member {
    background-color: rgba(249, 199, 79, 0.4);
    color: #444;
  }

  .column {
    background-color: rgba(249, 199, 79, 0.4);
    color: #444;
  }

  .contact p {
    color: #444;
  }

  .info .slash {
    background-color: #7428a1;
  }
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  --offwhite: #f8f8f8;
  background: #000;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.donation-box {
  text-align: center;
}
