/* Main page styles */

.skip {
  z-index: -100;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/**
 * =======================================
 * Buttons
 * =======================================
 */

.icon {
  transition: all 0.3s ease-in-out;
}

.btn {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  text-wrap: nowrap;
  font-size: 1.1rem;
  padding: 0.6rem 1.25rem 0.6rem 1.6rem;
  border-radius: 6rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.btn-disabled {
  cursor: default;
  opacity: 0.5;
  pointer-events: none;
}

.btn > .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.btn-sm {
  font-size: 1rem;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  gap: 0.75rem;
}

.btn-sm-no-icon {
  font-size: 1rem;
  padding: 0.5rem 1rem;
  gap: 0.75rem;
}

.btn-sm > .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary {
  z-index: 1;
  background-color: var(--primary-brand-2);
  color: var(--white);
  border: 2px solid var(--primary-brand-2);
}

.btn-primary::before, .btn-secondary::before,
.btn-outline-1::before, .btn-outline-2::before {
  position: absolute;
  z-index: -1;
  content: "";
  width: 110%;
  height: 110%;
  border-radius: 6rem;
  transition: all 0.3s ease-in-out;
  transform: translateX(-110%);
}

.btn-primary:hover::before, .btn-primary:focus::before,
.btn-secondary:hover::before, .btn-secondary:focus::before,
.btn-outline-1:hover::before, .btn-outline-1:focus::before,
.btn-outline-2:hover::before, .btn-outline-2:focus::before {
  transform: translateX(0%);
}

.btn-primary::before {
  background-color: var(--white);
}

.btn-primary:hover, .btn-primary:focus {
  color: var(--primary-brand-2);
}

.btn-primary > .icon {
  stroke: var(--white);
}

.btn-primary:hover > .icon, .btn-primary:focus > .icon {
  stroke: var(--primary-brand-2);
}

.btn-secondary {
  background-color: var(--white);
  border: 2px solid var(--white);
  color: var(--primary-brand-2);
}

.btn-secondary > .icon {
  stroke: var(--primary-brand-2);
}

.btn-secondary::before {
  background-color: var(--primary-brand-2);
  background: linear-gradient(to right, var(--secondary-brand-5), var(--secondary-brand-4) 60%, var(--secondary-brand-3), var(--secondary-brand-2));
}

.btn-secondary:hover, .btn-secondary:focus {
  color: var(--white);
}

.btn-secondary:hover > .icon, .btn-secondary:focus > .icon {
  stroke: var(--white);
}

.btn-outline-1 {
  background-color: transparent;
  border: 2px solid var(--primary-brand-1);
  color: var(--primary-brand-1);
}

.btn-outline-1 > .icon {
  stroke: var(--primary-brand-1);
}

.btn-outline-1::before {
  background-color: var(--primary-brand-1);
}

.btn-outline-1:hover, .btn-outline-1:focus {
  color: var(--primary-brand-2);
}

.btn-outline-1:hover > .icon, .btn-outline-1:focus > .icon {
  stroke: var(--primary-brand-2);
}

.btn-outline-2 {
  background-color: transparent;
  border: 2px solid var(--primary-brand-2);
  color: var(--primary-brand-2);
}

.btn-outline-2 > .icon {
  stroke: var(--primary-brand-2);
}

.btn-outline-2::before {
  background-color: var(--primary-brand-2);
}

.btn-outline-2:hover, .btn-outline-2:focus {
  color: var(--primary-brand-1);
}

.btn-outline-2:hover > .icon, .btn-outline-2:focus > .icon {
  stroke: var(--primary-brand-1);
}

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.icon-btn > .icon {
  stroke: var(--graphite);
  width: 2.5rem;
  height: 2.5rem;
}

.icon-btn.down-arrow > .icon-hidden {
  position: absolute;
  transform: translateY(-3.4rem);
}

.icon-btn.down-arrow:hover > .icon,
.icon-btn.down-arrow:focus > .icon {
  transform: translateY(3.4rem);
}

.icon-btn.down-arrow:hover > .icon-hidden,
.icon-btn.down-arrow:focus > .icon-hidden {
  transform: translateY(0rem);
}

.icon-btn.up-arrow > .icon-hidden {
  position: absolute;
  transform: translateY(3.4rem);
}

.icon-btn.up-arrow:hover > .icon,
.icon-btn.up-arrow:focus > .icon {
  transform: translateY(-3.4rem);
}

.icon-btn.up-arrow:hover > .icon-hidden,
.icon-btn.up-arrow:focus > .icon-hidden {
  transform: translateY(0rem);
}

/**
 * =======================================
 * Images
 * =======================================
 */

.img-zoom {
  transition: all 0.3s ease-in-out;
}

.img-zoom:hover {
  transform: scale(1.015);
}

/**
 * =======================================
 * Home section
 * =======================================
 */

#home {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding: 6rem 0 0 0;
  background-color: var(--primary-background);
  cursor: default;
  overflow: hidden;
}

.home-skyline {
  position: relative;
  bottom: -4px;
  width: 100%;
  aspect-ratio: 5654 / 1505.32;
  pointer-events: none;
}

.home-skyline > path {
  fill: var(--secondary-background);
  overflow: visible;
}

.home-text {
  width: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem;
  flex-grow: 1;
  background-color: var(--secondary-background);
}

.h1 {
  position: relative;
  color: var(--primary-brand-1);
  font-size: 16vw;
  font-weight: 700;
  line-height: 1;
  z-index: 0;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
}

.home-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.home-cta-text {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 1rem;
}

.hero-subheading {
  font-family: var(--font-heading);
  color: var(--primary-brand-1);
  font-size: 1.5rem;
  font-weight: 600;
  text-wrap: balance;
  z-index: 2;
}

.hero-subheading2 {
  font-family: var(--font-body);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  text-wrap: balance;
  z-index: 2;
  opacity: 0.9;
}

.home-cta-btns {
  width: 60%;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.home-transition {
  overflow: visible;
  position: relative;
  top: -2px;
}

.home-transition > g > path {
  fill: var(--secondary-background);
}

/**
 * =======================================
 * General section
 * =======================================
 */

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.overline {
  color: var(--primary-brand-2);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
}

.h2 {
  color: black;
  font-size: 2.25rem;
  line-height: 1;
  text-wrap: balance;
  margin-bottom: 0.5rem;
}

.h2 > span {
  background: linear-gradient(to right, var(--secondary-brand-4) -10%, var(--secondary-brand-6), var(--secondary-brand-4) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/**
 * =======================================
 * Tickets section
 * =======================================
 */
#tickets {
  margin: 5rem 1rem 0 1rem;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--primary-brand-2);
  /* background-image:
    linear-gradient(var(--image-overlay)),
    url(""); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20%;
}

#tickets > a {
  margin-top: 1rem;
}

/**
 * =======================================
 * About section
 * =======================================
 */
#about {
  width: 100%;
  font-size: 1.6rem;
  font-weight: 350;
  color: var(--black);
  margin-left: auto;
  margin-right: auto;
  padding: 6rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-bold {
  font-weight: 500;
}

.about-highlight {
  background-color: var(--highlight);
}

.about-quote {
  font-size: 1.25rem;
  opacity: 0.5;
}

.about-btn-container {
  display: flex;
  flex-direction: row;
  justify-content: start;
  margin-top: 1rem;
}

/**
 * =======================================
 * Image carousel
 * =======================================
 */

@keyframes carousel-img-move-right {
  0% {
    transform: translateX(-280vw);
  }
  100% {
    transform: translateX(0vw);
  }
}

@keyframes carousel-img-move-left {
  0% {
    transform: translateX(0vw);
  }
  100% {
    transform: translateX(-280vw);
  }
}

@keyframes carousel-img-move-right-md {
  0% {
    transform: translateX(-175vw);
  }
  100% {
    transform: translateX(0vw);
  }
}

@keyframes carousel-img-move-left-md {
  0% {
    transform: translateX(0vw);
  }
  100% {
    transform: translateX(-175vw);
  }
}

@keyframes carousel-img-move-right-xl {
  0% {
    transform: translateX(-140vw);
  }
  100% {
    transform: translateX(0vw);
  }
}

@keyframes carousel-img-move-left-xl {
  0% {
    transform: translateX(0vw);
  }
  100% {
    transform: translateX(-140vw);
  }
}

@keyframes carousel-img-move-right-xxl {
  0% {
    transform: translateX(-105vw);
  }
  100% {
    transform: translateX(0vw);
  }
}

@keyframes carousel-img-move-left-xxl {
  0% {
    transform: translateX(0vw);
  }
  100% {
    transform: translateX(-105vw);
  }
}

.img-carousel-container {
  width: 100%;
}

.img-carousel {
  width: 100vw;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: hidden;
}

.img-container {
  width: 40vw;
  flex-shrink: 0;
  padding: 0.25rem;
  animation-duration: 60s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

#img-carousel-1 > .img-container {
  animation-name: carousel-img-move-right;
}

#img-carousel-2 > .img-container {
  animation-name: carousel-img-move-left;
}

.carousel-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 0.5rem;
}

.img-container:hover {
  opacity: 1;
}

.img-carousel-container:has(.img-container:hover) > .img-carousel > .img-container:not(:hover) {
  opacity: 0.7;
}

/**
 * =======================================
 * Speakers section
 * =======================================
 */
#speakers {
  max-width: 96rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 6rem 1rem 0rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.speakers-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.speaker-card {
  padding: 0.5rem;
  width: 100%;
}

.speaker-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--primary-brand-2);
}

.speaker-card-header {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.speaker-img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.speaker-company-img, .speaker-company-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  /* border-radius: 50%; */
  border-radius: 0.75rem;
  background-color: var(--white);
}

.speaker-company-img-container {
  overflow: hidden;
}

.speaker-company-img-container > img {
  width: 2rem;
  height: 2rem;
}

.speaker-name {
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 600;
}

.speaker-title {
  color: var(--black);
  opacity: 0.8;
}

/**
 * =======================================
 * FAQ section
 * =======================================
 */
#faq {
  max-width: 96rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 6rem 1rem 0rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.faq-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.faq-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
}

.faq-col {
  width: 100%;
  flex-shrink: 0;
  padding: 0.5rem;
}

.faq-item {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.faq-question {
  font-family: var(--font-heading);
  color: var(--black);
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  text-align: left;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--jet-black);
  box-shadow: 1px 1px 0px var(--jet-black);
  background-color: var(--pine-blue);
  background: linear-gradient(to bottom right, var(--soft-fawn), var(--pine-blue));
  color: var(--parchment);
}

.faq-icon {
  width: 1.75rem;
  height: 1.75rem;
  transform: rotate(0deg);
  transition: all 0.3s ease-in-out;
}

.faq-icon.open {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.faq-answer.open {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  font-family: "Inter";
  font-size: 1.2rem;
  padding: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.5rem;
  padding: 1rem 3rem 1rem 0rem;
}

/**
 * =======================================
 * CTA section
 * =======================================
 */
#cta {
  max-width: 96rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 6rem 1rem 0rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.ticket-tier-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

.ticket-tier {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 1rem;
  padding: 1.25rem;
  height: 20rem;
  margin-top: 2rem;
  border: 1px solid var(--primary-brand-2);
}

.ticket-tier.disabled {
  opacity: 0.5;
}

.ticket-tier-name {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.75;
}

.ticket-tier-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  font-size: 5rem;
  font-weight: 600;
}

.ticket-tier-price::after {
  content: "per ticket";
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.6;
}

.ticket-tier > p {
  margin-top: auto;
}

.ticket-tier > a {
  margin-top: 0.5rem;
}

.countdown-overline {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.cta-countdown {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  width: 100%;
}

.countdown-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 5rem;
}

.countdown-colon {
  display: flex;
  flex-direction: row;
  justify-content: start;
}

.countdown-number {
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
}

.countdown-text {
  font-size: 1rem;
  text-transform: uppercase;
  opacity: 0.6;
}

.h2.bottom {
  margin-top: 2rem;
  opacity: 0.75;
  text-align: center;
}

/**
 * =======================================
 * Footer section
 * =======================================
 */

footer {
  max-width: 96rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 6rem 1rem 1.5rem 1rem;
}

.footer-text-sm {
  color: var(--black);
  display: inline;
  text-align: center;
}

.footer-text-lg {
  color: var(--black);
  display: none;
}

.footer-text-sm > a, .footer-text-lg > a {
  color: var(--black);
  text-decoration: underline;
}

.footer-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.footer-link {
  color: var(--primary-brand-2);
}

.footer-link > .linkedin {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-link > .arrow {
  width: 2rem;
  height: 2rem;
}

/**
 * =======================================
 * Media queries
 * =======================================
 */

/* width >= 400px */
@media (min-width: 25rem) {
}

/* width >= 640px */
@media (min-width: 40rem) {
  .btn {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem 0.75rem 2rem;
  }

  .btn-sm {
    font-size: 1rem;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    gap: 0.75rem;
  }

  .btn-sm-no-icon {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    gap: 0.75rem;
  }

  #about {
    width: 30rem;
    font-size: 1.75rem;
  }

  .about-quote {
    font-size: 1.35rem;
  }

  .speaker-card {
    width: 50%;
  }

  .countdown-time {
    width: 8rem;
  }

  .countdown-number {
    font-size: 4rem;
  }

  .countdown-text {
    font-size: 1.1rem;
  }
}

/* width >= 768px */
@media (min-width: 48rem) {
  .home-cta-btns {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  #tickets {
    margin: 5rem 4rem 0 4rem;
    padding: 3rem;
  }

  #about {
    width: 40rem;
  }

  .overline {
    font-size: 1.1rem;
  }

  .h2 {
    font-size: 3.5rem;
  }

  .img-container {
    width: 25vw;
  }

  #img-carousel-1 > .img-container {
    animation-name: carousel-img-move-right-md;
  }

  #img-carousel-2 > .img-container {
    animation-name: carousel-img-move-left-md;
  }

  #speakers {
    padding: 8rem 4rem 0rem 4rem;
  }

  .speakers-container {
    width: 90%;
  }

  #faq {
    padding: 8rem 4rem 0rem 4rem;
  }

  .faq-container {
    width: 80%;
  }

  .ticket-tier-grid {
    width: 90%;
    grid-template-columns: repeat(3, 1fr);
  }

  .ticket-tier-name {
    font-size: 1.1rem;
  }

  .ticket-tier-price {
    font-size: 3rem;
  }

  .ticket-tier-price::after {
    font-size: 1.2rem;
  }

  #cta {
    padding: 8rem 4rem 0rem 4rem;
  }

  .countdown-time {
    width: 8.5rem;
    gap: 0.75rem;
  }

  .countdown-number {
    font-size: 5rem;
  }

  .countdown-text {
    font-size: 1.2rem;
  }

  footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 8rem 4rem 1.5rem 4rem;
  }

  .footer-text-sm {
    display: none;
  }

  .footer-text-lg {
    display: inline;
  }
}

/* width >= 1024px */
@media (min-width: 64rem) {
  .home-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.75rem;
  }

  .home-cta-text {
    flex-grow: 1;
    text-align: left;
  }

  .hero-subheading {
    font-size: 2rem;
  }

  .hero-subheading2 {
    font-size: 1.25rem;
  }

  .home-cta-btns {
    width: auto;
    flex-shrink: 0;
    justify-content: end;
    gap: 0.75rem;
  }

  #about {
    width: 48rem;
    font-size: 2rem;
  }

  .about-quote {
    font-size: 1.5rem;
  }

  .speaker-card {
    width: 33%;
  }

  .faq-container {
    width: 90%;
    flex-direction: row;
  }

  .faq-col {
    width: 50%;
  }
}

/* width >= 1280px */
@media (min-width: 80rem) {
  #home {
    padding: 0.5rem 0 0 0;
  }

  .sun-btn {
    top: 4rem;
    left: 11.5rem;
    width: 7rem;
    height: 7rem;
  }

  .moon-btn {
    top: 5rem;
    left: 12.5rem;
    width: 5rem;
    height: 5rem;
  }

  .hero-subheading {
    font-size: 2rem;
  }

  .hero-subheading2 {
    font-size: 1.25rem;
  }

  .img-container {
    width: 20vw;
  }

  #img-carousel-1 > .img-container {
    animation-name: carousel-img-move-right-xl;
  }

  #img-carousel-2 > .img-container {
    animation-name: carousel-img-move-left-xl;
  }

  .speakers-container {
    width: 70%;
  }

  .faq-container {
    width: 80%;
  }

  .ticket-tier-grid {
    width: 80%;
    grid-template-columns: repeat(3, 1fr);
  }

  .ticket-tier {
    height: 24rem;
  }

  .ticket-tier-name {
    font-size: 1.1rem;
  }

  .ticket-tier-price {
    font-size: 5rem;
  }

  .ticket-tier-price::after {
    font-size: 1.2rem;
  }

  .countdown-time {
    width: 9rem;
    gap: 1.25rem;
  }

  .countdown-number {
    font-size: 6rem;
  }

  .countdown-text {
    font-size: 1.3rem;
  }
}

/* width >= 1536px */
@media (min-width: 96rem) {
}

/* width >= 1920px */
@media (min-width: 120rem) {
  .img-container {
    width: 15vw;
  }

  #img-carousel-1 > .img-container {
    animation-name: carousel-img-move-right-xxl;
  }

  #img-carousel-2 > .img-container {
    animation-name: carousel-img-move-left-xxl;
  }
}
