@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

.App {
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex;
  box-sizing: border-box;
  padding: 15vh 4vw 5vh 2vw;
}

.stanceContainer {
  display: block;
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: .2s all;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  width: 22vw;
  gap: 1rem;
}

.stanceTuningContainer {
  background: rgba(0,0,0,.53);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  user-select: none;
  max-height: 60vh;
  overflow: hidden;
  overflow-y: overlay;
  &::-webkit-scrollbar {
    width: 10px;
    height: 15px;
  }
  &::-webkit-scrollbar-track {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  &::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,.33);
    border-right: 3px solid transparent;
    border-left: 3px solid transparent;
    background-clip: padding-box;
  }
  &::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255,255,255,.55);
  }
}

#title {
  font-weight: 600;
  font-size: 1.2rem;
  font-style: italic;
  text-align: left;
}

.tuningConfirmButtons {
  display: flex;
  flex-direction: row;
  gap: 1.3rem;
  button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.53);
    border: none;
    color: white;
    padding: 2%;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: 0.2s all;
    &:hover {
      background: rgba(0,0,0,.60);
    }
  }
}

.showStance {
  opacity: 1 !important;
}

.linkCheckboxContainer {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.linkCheckbox {
  position: relative;
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  input[type="checkbox"] {
    display: none;
  }
  input[type="checkbox"] + label {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    color: #ddd;
    cursor: pointer;
    user-select: none;
    width: 100%;
    height: 100%;
    opacity: .6;
  }
  
  input[type="checkbox"] + label:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #6cc0e5;
    position: absolute;
    opacity: .4;
    transition: 0.2s all;
  }
  input[type="checkbox"]:checked + label {
    opacity: 1;
  }

  input[type="checkbox"]:checked + label:before {
    opacity: 1;
  }
}
