@import url("https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400..800&display=swap");

* {
  margin: 0;
}

html,
body {
  height: 100%;
  font-family: "Wix Madefor Display", sans-serif;
}

main {
  min-height: 100%;
  position: relative;
  background: url("../assets/lp-phase-two-bg-desktop.png"), linear-gradient(180.11deg, #262626 85.23%, #433425 100%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right top;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 64px;
}

.font-wmd {
  color: white;
  font-size: 22px;
  font-weight: 400;
}

.font-wmd.large {
  font-size: 28px;
  line-height: 110%;
}

.font-yellow {
  color: #eee7af;
}

.list-item {
  position: relative;
}

.list-item::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -36px;
  width: 27px;
  height: 36px;
  background: url("../assets/list-item-marker.png") no-repeat;
  background-size: 27px 36px;
}

.top-logo-image {
  margin-top: 32px;
  margin-bottom: 54px;
  width: 274px;
  height: 122px;
}

.texts-container h1,
.texts-container p {
  margin-bottom: 20px;
}

.texts-container p:nth-of-type(1) {
  max-width: 690px;
}

.texts-container p:nth-of-type(2) {
  max-width: 770px;
}

.store-presence-container {
  margin-top: 20px;
  margin-bottom: 22px;
}

.store-presence-container p {
  margin-bottom: 20px;
}

.qr-code {
  height: 225px;
  width: 225px;
  margin-right: 10px;
  border-radius: 30px;
  border: 1px solid #ffffff;
}

.store-button {
  max-width: 225px;
}

.buttons-and-qr-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

a {
  display: block;
  width: fit-content;
}

.bottom-logo-container {
  display: flex;
  gap: 20px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.bottom-logo-container img {
  margin-top: 20px;
  height: 120px;
}

.bottom-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 16px;
  column-gap: 54px;
  padding-bottom: 40px;
}

.bottom-container > div {
  display: flex;
  flex-direction: row;
  column-gap: 54px;
  row-gap: 16px;
}

.bottom-container a,
.bottom-container p {
  font-size: 18px;
  color: #ADADAD;
  text-decoration: none;
  text-wrap: nowrap;
}

.bottom-container #eques {
  margin-left: auto;
}

.cookie-modal {
  width: 100%;
  max-width: min(380px, calc(100% - 54px));
  color: white;
  padding: 16px;
  border: 1px solid #A15F22;
  border-radius: 18px;
  background: #262626;
  position: fixed;
  left: 30px;
  bottom: 30px;

  &[data-open="false"] {
    display: none;
  }

  & .cookie-modal-accept-button {
    width: 100%;
    max-width: 180px;
    border-radius: 9999px;
    padding: 12px;
    margin: 24px auto 14px auto;
    text-align: center;
    background: linear-gradient(270deg, #FFD964 -29.2%, #C18122 24.71%, #A15F22 75.98%, #B07626 102.27%);
    cursor: pointer;
  }

  & .cookie-modal-expand-button {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    margin: 0 auto;
    width: fit-content;
    cursor: pointer;
  }

  & .cookie-policy-button {
    text-align: end;
    margin-top: 12px;
    color: white;
    text-decoration: none;
    margin-left: auto;
  }

  & ul {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    padding-left: 14px;

    &[data-expanded="false"] {
      display: none;
    }
  }

  & li > div {
    margin-top: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  & ion-toggle {
    margin-left: 8px;
    --handle-background-checked: white;
    --track-background-checked: #C18122;
  }
}

@media screen and (max-width: 1024px) {
  .bottom-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
    column-gap: 36px;
  }

  .bottom-container > div {
    flex-direction: column;
  }

  .bottom-container #eques {
    margin-left: 0;
  }

  .bottom-logo-container {
    justify-content: center;
  }

  .bottom-logo-container img {
    margin-top: 0px;
    height: 88px;
  }

  .bottom-container .font-wmd {
    font-size: 16px;
  }
}

@media screen and (max-width: 640px) {
  body {
    background: url("../assets/lp-phase-two-bg-mobile.png"), linear-gradient(180.11deg, #262626 78.23%, #433425 136.67%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
  }

  .container {
    padding: 0px 40px;
  }

  .top-logo-image {
    width: 193px;
    height: 95px;
  }

  .font-wmd,
  .font-wmd.large {
    font-size: 20px;
  }

  .texts-container h1,
  .texts-container p {
    margin-bottom: 18px;
  }

  .list-item::before {
    content: "";
    position: absolute;
    top: 0px;
    left: -25px;
    width: 19px;
    height: 25px;
    background: url("../assets/list-item-marker.png") no-repeat;
    background-size: 19px 25px;
  }

  .store-presence-container p {
    font-size: 14px;
    text-align: center;
    max-width: 180px;
    margin: 0px auto 16px auto;
  }

  .store-presence-container div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .qr-code {
    height: 162px;
    width: 162px;
    margin-bottom: 20px;
  }

  .store-button {
    max-width: 205px;
  }

  .invitation-container {
    flex-direction: column;
  }

  .bottom-container .font-wmd {
    font-size: 14px;
  }

  .cookie-modal {
    left: 8px;
    bottom: 8px;
  }
}