.landing {
  font-family: 'Karla';
  background-color: #ffffff;
  background-size: auto 65%;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-image: url('../icons/landingpage-background.svg');
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

.landing a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.landing a:hover {
  color: black;
  text-decoration: none;
}

.landing .header {
  display: flex;
  width: 45vw;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.landing .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  color: #ff0079;
}

.landing .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  justify-content: center;
  max-width: 100vw;
  margin: 16px 16px;
  gap: 40px;
  color: #ff0079;
  font-size: 1.3rem;
}

.landing .container > div#viz-card,
.landing .container > div#dashboard-card {
  grid-column: 1 / 2;
  grid-row: 1;
}

.landing .container > div#gif-card {
  grid-column: 2 / 3;
  grid-row: 1;
}

.landing .container > div#new-card {
  grid-column: 1 / 3;
  grid-row: 2;
  justify-self: center;
}

.landing .footer {
  color: white;
  display: flex;
  font-family: 'Karla';
  font-size: 14px;
}

.landing .home-title {
  font-size: 22px;
  font-weight: 900;
  color: #424a52;
  display: flex;
  align-items: center;
}

.landing .title {
  font-weight: 500;
  font-size: 35px;
  text-align: center;
  font-family: Montserrat;
  color: black;
}

.landing .subtitle {
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  font-family: Montserrat;
}

.landing .box {
  color: #000000;
  width: 400px;
  max-width: 43vw;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.landing .box.transparent {
  color: white !important;
  background: transparent;
  padding: 2rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
}

.landing ol {
  padding-left: 20px;
}
.landing ol li::marker {
  color: #ff0079;
  font-weight: bold;
}

.landing .info {
  font-family: Karla;
  font-size: 16px;
  line-height: 24px;
  color: #444;
  margin: 8px 0 16px;
  text-align: center;
}

.landing .box.transparent .info {
  color: #fff;
}

.landing .link {
  cursor: pointer;
  color: white;
}

.landing .button {
  align-items: center;
  border-radius: 8px;
  display: flex;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  justify-content: center;
  line-height: 19px;
  padding: 15px 12px;
  text-align: center;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
}

.landing .normal-btn {
  border-color: #ff0079;
  border-style: solid;
  font-size: 16px;
  padding: 8px;
  line-height: 18px;
  color: white;
  cursor: pointer;
  background: #ff0079;
}

.landing .documentation {
  user-select: none;
  border-color: #ff0079;
  border-style: solid;
  font-size: 16px;
  padding: 8px;
  line-height: 18px;
  color: #ff3785;
  cursor: pointer;
  background: #ffffff;
}

.landing .box.transparent .documentation {
  user-select: none;
  border-color: #fff;
  border-style: solid;
  font-size: 16px;
  padding: 8px;
  line-height: 18px;
  color: #fff;
  cursor: pointer;
  background: transparent;
}

.landing .aft-logo.big {
  background-size: contain;
  height: 10vmax;
  width: 19vmax;
  min-height: 100px;
  min-width: 100px;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
}

.landing .aft-logo {
  background-image: url(../icons/logo_appsfortableau.svg);
}

.landing .extension-logo {
  background-image: url(../icons/SuperTables.png);
}

.landing .logo {
  background-repeat: no-repeat;
  background-size: 125px auto;
  background-position: center;
  height: 80px;
  width: 200px;
}

.landing .gear-icon {
  font-size: larger;
  padding-right: 7px;
  color: #666;
}

.landing .commerce-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 10px;
  width: 100%;
}

.extension-version-container {
  position: absolute;
  left: 10px;
}

@media (max-height: 700px) {
  .landing {
    overflow-y: auto;
  }
  .landing .container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .landing .container > div#viz-card,
  .landing .container > div#dashboard-card {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .landing .container > div#gif-card {
    grid-column: 2 / 3;
    grid-row: 1;
    flex: 1;
  }

  .landing .container > div#new-card {
    grid-column: 2 / 3;
    grid-row: 2;
    flex: 1;
  }
}

.landing #unsupported-card {
  grid-column: 1 / 3;
  margin: 0 auto;
}

@media (max-height: 700px) {
  .landing {
    overflow-y: auto;
  }
  .landing .container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .landing .container > div#viz-card,
  .landing .container > div#dashboard-card {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .landing .container > div#gif-card {
    grid-column: 2 / 3;
    grid-row: 1;
    flex: 1;
  }

  .landing .container > div#new-card {
    grid-column: 2 / 3;
    grid-row: 2;
    flex: 1;
  }
}

@media (max-height: 700px) {
  .landing {
    overflow-y: auto;
  }
  .landing .container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .landing .container > div#viz-card,
  .landing .container > div#dashboard-card {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .landing .container > div#gif-card {
    grid-column: 2 / 3;
    grid-row: 1;
    flex: 1;
  }

  .landing .container > div#new-card {
    grid-column: 2 / 3;
    grid-row: 2;
    flex: 1;
  }
}

@media (max-height: 400px) {
  .landing .hide-on-400-height {
    display: none;
    /* Hide on small screens */
  }
  .landing .home-title {
    font-size: 18px;
  }
  .landing .box {
    height: 120px;
    padding: calc(max(20px, 1rem));
  }
  .landing .aft-logo.big {
    background-size: 33vmax 15vmax;
    height: 15vmax;
    width: 33vmax;
  }

  .landing .title {
    font-size: 25px;
  }

  .landing .subtitle {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .landing .button {
    font-size: 14px;
  }
}
@media (max-height: 301px) {
  .landing .header {
    flex-direction: row;
    justify-content: space-evenly;
    width: 80vw;
  }
  .landing .box {
    justify-content: center;
  }
  .landing .title {
    display: none;
  }
}
@media (max-height: 201px) {
  .landing {
    height: auto;
  }
  .landing .title {
    font-size: 14px;
  }
  .landing .hide-on-200-height {
    display: none;
    /* Hide on small screens */
  }
  .landing .button {
    font-size: 12px;
  }
  .landing .box {
    justify-content: space-evenly;
    height: 100px;
  }
}
@media (max-width: 720px) {
  .landing {
    align-items: stretch;
  }
  .landing .subtitle {
    font-size: 16px;
  }

  .landing .header {
    width: 100%;
    margin: 0 auto;
  }

  .landing .box {
    max-width: none;
    min-height: 50px;
    width: 90%;
    margin: auto;
  }

  .landing .container {
    gap: 15px;
    font-size: 1rem;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin: 5px;
    padding: 5px;
  }

  .landing .container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .landing .container > div {
    margin: auto;
  }

  .landing .container > div#viz-card,
  .landing .container > div#dashboard-card {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .landing .container > div#gif-card {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }

  .landing .container > div#new-card {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
  }

  .landing .documentation {
    font-size: 4vw;
  }
  .landing .title {
    font-size: 18px;
  }

  .landing .footer {
    flex-direction: column-reverse;
  }

  .extension-version-container {
    position: relative;
    left: 0;
  }
}
