* {
  font-family: "Campuni", sans-serif;
}

/* Variables */
:root {
  --default-pagewidth: 1200px;
}

/* Reset */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 1.1rem;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utilities */
.text-bold {
  font-weight: 900;
}

.text-lg {
  font-size: 1.7rem;
}

/* START#countdown */
#countdown {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgb(124 70 246 / 70%);
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    background-image: url('https://image.divulga.sebraeam.com.br/lib/fe3211727364047f741376/m/1/e0aa5cd2-dd26-4781-8b1c-eddf23f20c37.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: darken;
    color: white;
    font-weight: bold;
}

#countdown .value {
  font-size: larger;
}

#countdown_timer {
    display: flex;
    gap: 20px;
}

#countdown_timer > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#countdown_left_img {
    position: absolute;
    bottom: -30px;
    left: -50px;
    width: 200px;
}

div#countdown_right_img {
    position: absolute;
    bottom: -30px;
    right: -50px;
    width: 200px;
}

#countdown_button {
    background-color: #b5f000;
    border: none;
    padding-left: 20px;
    padding-right: 20px;
    font-size: larger;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    position: relative;
    --mask1: radial-gradient(circle at 0 50%, transparent 0, transparent 5px, black 5px, black 90%, transparent 90%, transparent);
    --mask2: radial-gradient(circle at 100% 50%, transparent 0, transparent 5px, black 5px, black 90%, transparent 90%, transparent);
    -webkit-mask-image: var(--mask1), var(--mask2);
    mask-image: var(--mask1), var(--mask2);
    text-decoration: none;
    display: flex;
    align-items: center;
}
/* END#countdown */

/* header */

header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px 0;
  position: fixed;
  background-color: white;
  width: 100%;
  z-index: 9999999;
}

header ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

header li {
  margin: 0 30px;
}

header a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
}

header img {
  height: 50px;
}

/* END header */

/* START#welcome  */
#welcome {
  background-color: #7b45f5;
  background-image: url("https://image.divulga.sebraeam.com.br/lib/fe3211727364047f741376/m/1/c5845d8e-77ca-4459-86a6-95ebf0b2ac0f.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 50px 10px;
}

#welcome .content {
  display: flex;
  align-items: center;
  gap: 50px;

  max-width: var(--default-pagewidth);
  margin: 0 auto;
}

#welcome-text {
  color: white;
  max-width: 50%;
}

#welcome-text img {
  width: 70%;
  filter: brightness(0) invert(1);
}

#welcome-text a {
  background-color: white;
  color: #7b45f5;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 15px;
  font-size: 1.3rem;
  text-decoration: none;
}

#welcome-img {
  flex: 1;
}

#welcome-img img {
  width: 100%;
}
/* END#welcome  */

/* START#about  */
#about {
  padding: 100px 10px;
}

#about .content {
  display: flex;
  align-items: center;
  gap: 30px;

  max-width: var(--default-pagewidth);
  margin: 0 auto;
}
/* END#about  */

/* START#stats */
#stats-transition img {
  margin-bottom: -10px;
}

#stats {
  background-color: #97f000;
}

#stats .content {
  padding: 100px 10px;
  max-width: var(--default-pagewidth);
  margin: 0 auto;
}

#stats #stats-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

#stats .stats-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#stats .stats-item img {
  width: 50%;
  margin-bottom: 20px;
}

#stats .stats-item {
  color: white;
}

#stats .stats-item p {
  font-size: 2rem;
  font-weight: bold;
}

#stats .stats-item span {
  font-weight: 600;
}

/* END#stats */

/* START#topics */
#topics {
  padding: 100px 10px;
}

#topics .title-topics {
  text-align: center;
  padding-bottom: 50px;
  line-height: 1.7;
}

#topics .title-topics h2 {
  font-weight: bold;
  font-size: 24px;
}

#topics .content {
  max-width: var(--default-pagewidth);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

#topics .topic-item-toggle {
  width: 100%;
  height: auto;
  padding: 40px 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

#topics .topic-item > a {
  text-decoration: none;
}

#topics .topic-item-toggle{
  text-align: center;
  padding: 0;
  height: 150px;
}

#topics .topic-item-toggle > div:nth-child(1) {
  text-align: right;
  padding: 0 5px;
  height: 40%;
}

#topics .topic-item-toggle > div:nth-child(2) {
  height: 60%;
}

#topics .topic-item-content {
  padding: 15px;
  color: white;
  border-radius: 15px;
  margin-top: 20px;
}

#topics .topic-item-content li {
  font-size: 1rem;
}

#topics .topic-item-content li::before {
  content: "• ";
}

.hidden {
  display: none;
}
/* END#topics */

/* START#speakers */
#speakers .content {
  max-width: var(--default-pagewidth);
  margin: 0 auto;
}
/* END#speakers */

/* START#sponsors */
#sponsors .content {
  max-width: var(--default-pagewidth);
  margin: 0 auto;
}
/* END#sponsors */

/* START#local */

#local {
  margin: 0 auto;
  align-items: center;
  text-align: center;
  padding: 50px;
  background-color: #97F000;
}

#local .content {
  display: flex;
  gap: 50px;
  text-align: left;
  align-items: center;
  justify-content: center;
}

#local .content div:nth-child(1) {
  text-align: center;
}

#local iframe {
  max-width: 500px;
}

#local .content h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
}

#local .content p {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
}

#local .content button {
  padding: 10px 20px;
  background-color: #7C45F6;
  color: white;
  border: solid 1px #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: bold;
}

/* END#local*/

/* START#faq */
#faq .content {
  max-width: var(--default-pagewidth);
  margin: 0 auto;
}

#faq .content details:not(:first-child) {
  border-top: 1px solid #ccc;
}

#faq .content details {
  text-align: left;
  padding: 15px;
  cursor: pointer;
}

#faq .content details {
  display: flex;
}

#faq .content details[open] > summary::after {
  transform: rotate(180deg);
}

#faq .content details[open] {
  padding-bottom: 25px;
}

#faq .content summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-weight: bold;
}

#faq .content summary::after {
  content: "";
  width: 15px;
  height: 8px;
  background: url("https://uploads.sitepoint.com/wp-content/uploads/2023/10/1697699669arrow.svg") no-repeat;
  background-size: cover;
  margin-left: 0.75em;
  transition: 0.2s;
}

#faq .content summary::-webkit-details-marker {
  display: none;
}

/* END#faq */


/* Media queries */

@media only screen and (max-width: 1000px) {
  #about,
  #topics {
    padding: 50px 10px !important;
  }

  #stats .content {
    padding: 50px 10px 100px !important;
  }

  #about .content {
    flex-direction: column;
  }

  #stats #stats-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 10% 8%;
  }

  #topics .content {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media only screen and (max-width: 560px) {
  header {
    justify-content: center;
    padding: 10px 5px;
  }

  header img {
    display: none;
  }

  header li {
    font-size: 12px;
    margin: 0 10px;
    text-align: center;
  }

  #welcome {
    padding-top: 80px;
  }

  #welcome .content {
    flex-direction: column;
  }

  #welcome-text,
  #welcome-img {
    max-width: 100%;
  }

  #about p {
    font-size: 1rem;
  }

  #about .content div:last-child {
    width: 100%;
    height: auto;
  }

  #about iframe {
    height: calc(100vw * 0.5625);
    max-width: 100%;
    width: 100%;
  }

  #stats-items .stats-item {
    text-align: center;

    p {
      font-size: 1.5rem;
    }

    span {
      font-size: 0.9rem;
    }
  }

  #countdown_right_img, #countdown_left_img {
    display: none;
  }

  #countdown {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  #countdown #countdown_timer {
    font-size: smaller;
  }
  
  #countdown_button {
    padding: 10px 20px;
    font-size: smaller;
  }

  #local {
    padding: 10px;
  }

  #local .content {
    flex-direction: column;
  }

  iframe {
    width: auto;
    height: auto;
  } 
}

@media only screen and (max-width: 480px) {
  #stats-items .stats-item {
    p {
      font-size: 1.3rem;
    }

    span {
      font-size: 0.7rem;
    }
  }

  #topics .content {
    grid-template-columns: repeat(1, 1fr)
  }

  .text-lg {
    font-size: 1.4rem;
  }
}