* {
  box-sizing: border-box;
}

:root {
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.76);

  --surface: rgba(255, 255, 255, 0.96);
  --surface-border: rgba(255, 255, 255, 0.42);

  --input-text: #174846;
  --placeholder: #75908e;

  --accent: #b5d52c;
  --accent-hover: #c5e23d;
  --accent-shadow: rgba(181, 213, 44, 0.35);

  --nav-color:#00b1b9;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  font-family: "Sofia Sans", sans-serif;
  font-size: 20px;

  @media screen and (max-width: 768px) {
    font-size: 16px;
  }

}

body {

  position: relative;
  min-height: 100svh;
  overflow: auto;
  color: var(--text);

  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(189, 216, 24, 0.28),
      transparent 26%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(0, 205, 196, 0.3),
      transparent 30%
    ),
    linear-gradient(
      150deg,
      #3a9187 0%,
      #28756f 32%,
      #1c5352 66%,
      #13383b 100%
    );

  background-size: 160% 160%;
  animation: background-shift 8s ease-in-out infinite alternate;

}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 72vmax;
  height: 72vmax;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  will-change: transform;
}

body::before {
  top: -30vmax;
  left: -28vmax;
  opacity: 0.62;

  background:
    radial-gradient(
      circle,
      rgba(190, 218, 26, 0.72) 0%,
      rgba(72, 178, 121, 0.42) 36%,
      transparent 70%
    );

  animation: blob-one 9s ease-in-out infinite alternate;
}

body::after {
  right: -30vmax;
  bottom: -36vmax;
  opacity: 0.58;

  background:
    radial-gradient(
      circle,
      rgba(0, 197, 204, 0.7) 0%,
      rgba(17, 118, 126, 0.44) 40%,
      transparent 72%
    );

  animation: blob-two 11s ease-in-out infinite alternate;
}

.site-header {

    background: #246b67;

  width: 100%;
  
    height: 164px;
    
    @media screen and (max-width: 768px) {
    height: 124px;
    }

    top:0px;
    position: sticky;
    z-index: 3;

    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: stretch;
    align-items: stretch;

    a{

        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-content: center;
        align-content: center;
        -webkit-align-items: center;
        align-items: center;
        width: 100%;
        height: calc(100% - 64px);

      @media screen and (max-width: 768px) {
        height: calc(100% - 44px);
      }

    }

    h1{
        color: var(--text);
        font-size: 40px;
        
        height: 64px;

        @media screen and (max-width: 768px) {
          font-size: 22px;
     
          height: 46px;
        }

        font-weight: 700;
        background: var(--accent);
        padding:8px;
        text-align: center;
        margin:0px;
        
        font-style: italic;
    }

}

.logo {
  display: block;
  height: 100%;
  margin: auto auto;
  max-width: 100%;
  padding:16px;
}

.page-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - 260px);
  place-items: center;

  padding:
    clamp(3rem, 3rem, 5rem)
    clamp(1.25rem, 5vw, 3rem)
    clamp(3rem, 8vh, 5rem);


        @media screen and (max-width: 768px) {

              padding:
              clamp(2rem, 2rem, 3rem)
              clamp(1.25rem, 5vw, 3rem)
              clamp(3rem, 8vh, 5rem);

        }

}

.welcome {
  width: min(100%, 430px);
  text-align: center;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.2rem;
  font-weight: 300;
}

.welcome-text {
  margin: clamp(1.5rem, 4vh, 2.4rem) 0 0;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  font-style: italic;
}

.question {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 300;
}

.identity-form {
  width: 100%;
  margin-top: clamp(1.6rem, 4vh, 2.4rem);
}

.email-control {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;

  width: 100%;
  min-height: 70px;
  padding: 6px 7px 6px 22px;

  border: 1px solid var(--surface-border);
  border-radius: 999px;

  background: var(--surface);

  box-shadow:
    0 20px 50px rgba(8, 40, 41, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.email-control:focus-within {
  transform: translateY(-2px);
  border-color: rgba(205, 230, 85, 0.9);

  box-shadow:
    0 24px 60px rgba(8, 40, 41, 0.34),
    0 0 0 5px rgba(181, 213, 44, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.email-control input {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 0.75rem 0.8rem 0;

  border: 0;
  outline: 0;

  color: var(--input-text);
  background: transparent;

  font: inherit;
  font-size: 1.05rem;
  font-weight: 650;
}

.email-control input::placeholder {
  color: var(--placeholder);
  opacity: 1;
  font-weight: 500;
}

.email-control button {
  display: grid;
  place-items: center;

  width: 56px;
  height: 56px;
  padding: 0;

  border: 0;
  border-radius: 50%;
  cursor: pointer;

  color: #24413a;
  background: var(--accent);

  box-shadow:
    0 10px 22px var(--accent-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);

  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.email-control button .material-symbols-rounded {
  display: block;
  font-size: 1.65rem;
  line-height: 1;

  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.email-control button:hover {
  transform: scale(1.06);
  background: var(--accent-hover);

  box-shadow:
    0 14px 28px rgba(181, 213, 44, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.email-control button:active {
  transform: scale(0.98);
}

.email-control button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;

  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@keyframes background-shift {
  0% {
    background-position:
      0% 10%,
      100% 15%,
      0% 0%;
  }

  50% {
    background-position:
      35% 30%,
      65% 35%,
      50% 50%;
  }

  100% {
    background-position:
      100% 80%,
      0% 70%,
      100% 100%;
  }
}

@keyframes blob-one {
  0% {
    transform: translate3d(0, 0, 0) scale(0.95);
  }

  50% {
    transform: translate3d(18vw, 12vh, 0) scale(1.14);
  }

  100% {
    transform: translate3d(8vw, 28vh, 0) scale(1.02);
  }
}

@keyframes blob-two {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-22vw, -14vh, 0) scale(1.16);
  }

  100% {
    transform: translate3d(-12vw, -30vh, 0) scale(0.98);
  }
}


@media (prefers-reduced-motion: reduce) {
  body,
  body::before,
  body::after {
    animation: none;
  }

  .email-control,
  .email-control button {
    transition: none;
  }
}

.card{
      border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;

  background: rgba(7, 39, 42, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  padding:16px;

  font-weight: 300;

  h2{
    margin-top:0.3rem;
    margin-bottom:0.3rem;
    color: var(--text);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    font-style: italic;
  }

  p{
    margin-top:0.3rem;
    margin-bottom:0.3rem;
  }
}

.align-left{
    text-align: left;
}
.green{
    color: var(--accent);
}




nav{

    z-index: 3;

    height: 90px;

    @media screen and (max-width: 768px) {

      height: 60px;

    }

    position: sticky;
    bottom: 0px;
    background: #fff;

    padding:16px;

    ul{
        height: 100%;
        margin:0px;
        padding:0px;

        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-content: center;
        align-content: center;
        -webkit-align-items: center;
        align-items: center;

        a{
            
            padding: 8px 24px;
            display: block;
            text-decoration: none;

            color: var(--nav-color);

            @media screen and (max-width: 768px) {

                  font-size: 16px;

            }

            .material-symbols-outlined{
                font-size: 34px;

                @media screen and (max-width: 768px) {

                  font-size: 26px;

                }
            }

            span{
                text-align: center;
                display: block;
                width: 100%;
            }
        }
    }

}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

.text-center{
    text-align: center;
}

.ucb-logo{
    max-width: 260px;
    width: 100%;
}










.schedule-item {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.speaker + .speaker {
  margin-top: 1rem;
}

.program-footer {
  padding: 4rem 0 2rem;
}

nav a.active {
  color: var(--accent);
}

nav a.active .material-symbols-outlined {
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.photo-page {
  width: min(100%, 520px);
  margin: 0 auto;
}

.photo-page h2 {
  margin: 0.5rem 0;
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.photo-card {
  margin-top: 2rem;
  padding: 0.8rem;
}

.photo-preview {
  display: grid;
  min-height: 350px;
  place-items: center;
  align-content: center;
  gap: 0.5rem;

  overflow: hidden;

  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 18px;

  color: var(--text-soft);
  background: rgba(0, 0, 0, 0.1);
}

.photo-preview .material-symbols-outlined {
  font-size: 3rem;
}

.photo-preview p {
  margin: 0;
}

.photo-preview.has-image {
  display: block;
  border-style: solid;
}

.photo-preview img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.photo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  width: 100%;
  min-height: 58px;
  margin-top: 0.8rem;
  padding: 0.75rem 1rem;

  border-radius: 999px;
  cursor: pointer;

  color: #263f37;
  background: var(--accent);

  font-weight: 750;

  box-shadow:
    0 12px 28px var(--accent-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);

  transition:
    transform 160ms ease,
    background 160ms ease;
}

.photo-button:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

.photo-button:active {
  transform: translateY(0);
}

.photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}