/* BASIC------------------------------------------------------------------- */

#preview-basic {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 4px solid black;
  border-radius: 5px;
}

#preview-char-basic {
  font-size: 25vw;
  min-height: 20vw;
}


#preview-info-basic {
  font-size: 16px;
  font-family: 'Cyan', sans-serif;
  font-variation-settings: 'wght' 300;
  text-align: center;
  margin-top: 50px;
}

#preview-info-2-basic {
  font-size: 12px;
  font-family: 'Cyan', sans-serif;
  font-variation-settings: 'wght' 300;
  text-align: center;
  margin-top: 10px;
}

.char {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid black;
  border-radius: 5px;
  background-color: cyan;
  font-size: 1.5vw;
  font-variation-settings: 'wght' 350;
  width: 30px;
  height: 60px;
}


/* SUPPLEMENT A----------------------------------------------------------- */

#preview-supplementA {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 4px solid black;
  border-radius: 5px;
}

#preview-char-supplementA {
  font-size: 25vw;
  min-height: 20vw;
}


#preview-info-supplementA {
  font-size: 16px;
  font-family: 'Cyan', sans-serif;
  font-variation-settings: 'wght' 300;
  text-align: center;
  margin-top: 50px;
}

#preview-info-2-supplementA {
  font-size: 12px;
  font-family: 'Cyan', sans-serif;
  font-variation-settings: 'wght' 300;
  text-align: center;
  margin-top: 10px;
}

.char-supplementA {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid black;
  border-radius: 5px;
  background-color: magenta;
  font-size: 1.5vw;
  font-variation-settings: 'wght' 350;
  width: 60px;
  height: 60px;
}

/* EXTENDED A------------------------------------------------------------- */

#preview-extendedA {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 4px solid black;
  border-radius: 5px;
}

#preview-char-extendedA {
  font-size: 25vw;
  min-height: 20vw;
}


#preview-info-extendedA {
  font-size: 16px;
  font-family: 'Cyan', sans-serif;
  font-variation-settings: 'wght' 300;
  text-align: center;
  margin-top: 50px;
}

#preview-info-2-extendedA {
  font-size: 12px;
  font-family: 'Cyan', sans-serif;
  font-variation-settings: 'wght' 300;
  text-align: center;
  margin-top: 10px;
}

.char-extendedA {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid black;
  border-radius: 5px;
  background-color: yellow;
  font-size: 1.5vw;
  font-variation-settings: 'wght' 350;
  width: 60px;
  height: 60px;
}



/* EXTENDED B------------------------------------------------------------- */

#preview-extendedB {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 4px solid black;
  border-radius: 5px;
  min-height: 40vw;
  margin-bottom: 100px;
}



#preview-char-extendedB {
  font-size: 25vw;
  min-height: 20vw;
}


#preview-info-extendedB {
  font-size: 16px;
  font-family: 'Cyan', sans-serif;
  font-variation-settings: 'wght' 300;
  text-align: center;
  margin-top: 50px;
}

#preview-info-2-extendedB {
  font-size: 12px;
  font-family: 'Cyan', sans-serif;
  font-variation-settings: 'wght' 300;
  text-align: center;
  margin-top: 10px;
}

.char-extendedB {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid black;
  background-color: white;
  color: black;
  font-size: 1.5vw;
  font-variation-settings: 'wght' 350;
  width: 60px;
  height: 60px;
  border-radius: 5px;
}


/* NO PADDING ------------------------------------------------------------- */
.row-no-padding {
  padding: 0;
  margin: 0;
}

.char:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}
.char-supplementA:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}
.char-extendedA:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}
.char-extendedB:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

/* breakpoint mobile */
@media (max-width: 768px) {
  
  #preview-char-basic {
    font-size: 30vw;
    min-height: 30vw;
    margin-top: 20px;
  }
  #preview-info-2-basic {
    margin-bottom: 20px;
  }

  .char {
    border: 4px solid black;
    border-radius: 5px;
    font-size: 4vw;
    height: 40px;
    width: auto;
    flex: 0 0
    calc(
      100% / 6 * 1 -
        (var(--gap) * (6 - 1) / 6)
    );
  }


  #preview-char-supplementA {
    font-size: 30vw;
    min-height: 30vw;
    margin-top: 20px;
  }

  #preview-info-2-supplementA {
    margin-bottom: 20px;
  }

  .char-supplementA {
    border: 4px solid black;
    border-radius: 5px;
    font-size: 4vw;
    height: 40px;
    width: auto;
    flex: 0 0
    calc(
      100% / 6 * 1 -
        (var(--gap) * (6 - 1) / 6)
    );
  }


  #preview-char-extendedA {
    font-size: 30vw;
    min-height: 30vw;
    margin-top: 20px;
  }

  #preview-info-2-extendedA {
    margin-bottom: 20px;
  }
  
  .char-extendedA {
    border: 4px solid black;
    border-radius: 5px;
    font-size: 4vw;
    height: 40px;
    width: auto;
    flex: 0 0
    calc(
      100% / 6 * 1 -
        (var(--gap) * (6 - 1) / 6)
    );
  }

  #preview-extendedB {
    margin-bottom: 0px;
  }


  #preview-char-extendedB {
    font-size: 30vw;
    min-height: 30vw;
    margin-top: 20px;
  }

  #preview-info-2-extendedB {
    margin-bottom: 20px;
  }

  .char-extendedB {
    border: 4px solid black;
    border-radius: 5px;
    font-size: 4vw;
    height: 40px;
    width: auto;
    flex: 0 0
    calc(
      100% / 6 * 1 -
        (var(--gap) * (6 - 1) / 6)
    );
  }

}