/* Style dédié à la page d'accueil */

.hero-info-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-info {
  min-height: 85vh !important;
  width: 100%;
  background: var(--index-header-gradient);
  padding-top: 15vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 600px) {
  .hero-info {
    height: auto !important;
    min-height: 100vh !important;
  }

  .big-logo {
    max-width: calc(100vw - 1rem);
    background-size: contain;
  }
}

.hero-logo-title-wrapper {
  line-height: 1.5;
  margin: 0.5rem;
  text-align: center;
  background: rgb(255 255 255 / 90%);
  padding: 15px;
}

.big-logo {
  max-height: 300px;
  filter: drop-shadow(2px 2px 1px rgb(0 0 0 / 30%));
}

.hero-title {
  line-height: 1.5;
  color: var(--default-primary-color);
  margin: 0.5rem;
  font-weight: 500;
  text-align: center;
  padding: 15px;

  /* text-shadow: var(--index-header-shadow); */
}

.team-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .team-info {
    grid-template-columns: 1fr;
  }
}

.team-photo {
  background-color: var(--gray-lighter-background-color);
  max-width: 100%;
  max-height: 100%;
  margin-top: 2rem;
  margin-inline: auto;
}

.event-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .event-info {
    grid-template-columns: 1fr;
  }
}

.stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: max-content;
  gap: 1rem;
}

.stat {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-weight: 300;
}

.stat-value {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.stat-value::after {
  content: "";
  display: block;
  height: 4px;
  width: 64px;
  background-color: var(--default-primary-color);
}

.sponsor-types {
  padding-bottom: 2rem;
}

.sponsors {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 90px);
  gap: 1rem;
}

@media (max-width: 900px) {
  .sponsors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sponsors {
    grid-template-columns: 1fr;
  }
}

.sponsor {
  max-height: 90px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 2px 2px 0 rgb(0 0 0 / 14%),
    0 3px 1px -2px rgb(0 0 0 / 12%),
    0 1px 5px 0 rgb(0 0 0 / 20%);
  transition: box-shadow 0.25s;
}

.sponsor:hover {
  box-shadow:
    0 8px 17px 0 rgb(0 0 0 / 20%),
    0 6px 20px 0 rgb(0 0 0 / 19%);
}

.sponsor .logo {
  max-width: 100%;
  max-height: 100%;
}

.ticketing {
  background-color: var(--primary-background-color);
  padding-top: 1px;
  padding-bottom: 1px;
}

.pricings {
  display: flex;
  gap: 1rem;
  margin-bottom: 20px;
  justify-content: center;
  align-items: start;
}

@media (max-width: 600px) {
  .pricings {
    flex-direction: column;
    align-items: center;
  }
}

.pricing {
  background-color: var(--default-background-color);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(primary-text-color);
  width: 200px;
  text-align: center;
  padding-top: 24px;
  box-shadow:
    0 2px 2px 0 rgb(0 0 0 / 14%),
    0 3px 1px -2px rgb(0 0 0 / 12%),
    0 1px 5px 0 rgb(0 0 0 / 20%);
  transition: box-shadow 0.25s;
}

.pricing:hover {
  box-shadow:
    0 8px 17px 0 rgb(0 0 0 / 20%),
    0 6px 20px 0 rgb(0 0 0 / 19%);
  text-decoration: none;
}

.pricing > * {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1.2rem;
}

.pricing-name {
  font-size: 1.2rem;
  font-weight: 300;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 300;
}

.pricing-ticketing-comment {
  font-size: 0.9rem;
  color: var(--secondary-text-color);
}

.pricing-comment {
  font-size: 0.8rem;
  color: var(--secondary-text-color);
}

.pricing-action {
  border-top: 1px solid var(--divider-color);
  padding: 1rem 0;
  margin-top: 0.5rem;
}

.speakers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

@media (max-width: 900px) {
  .speakers {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .speakers {
    grid-template-columns: 1fr;
  }
}

.speakers .speaker-name {
  font-size: 1.4rem;
  margin: 1em 0 0.5em;
  font-weight: 400;
}

.all-speakers {
  margin-bottom: 2rem;
}

.map-container {
  position: relative;
}

.map {
  height: 610px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50%;
  filter: grayscale(100);
}

@media (max-width: 900px) {
  .map {
    background-position: 67%;
  }
}

.location {
  display: inline-block;
  padding: 3rem;
  width: 500px;
  position: absolute;
  bottom: 3.2rem;
  left: 3.2rem;
  color: var(--primary-inv-text-color);
  background-color: var(--gray-darker-background-color);
}

@media (max-width: 900px) {
  .location {
    position: relative;
    left: 0;
    top: 0;
    bottom: 0;
    width: auto;
  }
}

.location .address {
  padding: 0.5rem 0;
  text-transform: none;
}

.photos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(3, 25.7vh);
  grid-template-areas:
    "photo1 photo1 photo2 photo2 photo3"
    "photo4 photo5 photoLink photoLink photo3"
    "photo6 photo6 photo7 photo7 photo8";
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, 20vh) minmax(20vh, min-content);
    grid-template-areas:
      "photo1 photo2 photo2"
      "photo4 photo4 photo3"
      "photo5 photo7 photo3"
      "photo6 photo6 photo8"
      "photoLink photoLink photoLink";
    grid-auto-rows: auto;
  }
}

.photos .photo-link {
  grid-area: photoLink;
  text-align: center;
  color: var(--primary-inv-text-color);
  background-color: var(--gray-darker-background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.photos > .img {
  background-color: var(--gray-lighter-background-color);
  background-size: cover;
  background-position: 50%;
}

.photos .photo-link h1 {
  margin-top: 0;
}

.speaker[data-to-hide] {
  display: none;
}

h1 a.link {
  text-decoration: underline;
}
