html,
body {
  height: 100%;
  font-family: sans-serif;
  text-align: center;
  background-color: #1a1b26;
  color: #c0caf5;
  overflow-y: hidden;
}

.flex-col {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.main {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: scroll;
}

.footer {
  flex-grow: 1;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.regular {
  grid-area: main;
  justify-self: center;
}

.navigation {
  grid-area: navbar;
  padding: 10px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex: 0 1 auto;
  border-radius: 10px;
  background-color: #222430;
}

.icon-button {
  height: 30px;
  width: 30px;
  padding: 5px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  background-color: #1a1b26;
  text-decoration: none;
  color: #c0caf5;
  border-radius: 5px;
  font-weight: bold;
}

.navigation-button {
  height: 30px;
  display: flex;
  align-items: center;
  margin: 0px 10px 0px 0px;
  padding: 5px 10px;
  background-color: #1a1b26;
  text-decoration: none;
  color: #c0caf5;
  border-radius: 5px;
  font-weight: bold;
}

svg {
  display: flex;
  align-items: center;
  margin: 0px 10px 0px 0px;
  padding: 5px;
  background-color: #1a1b26;
  text-decoration: none;
  color: #c0caf5;
  border-radius: 5px;
  font-weight: bold;
}

svg:hover {
  background-color: #3E4152;
}

.navigation-button:hover {
  background-color: #3E4152;
}

.navigation-end {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: end;
}

.card,
.title-card {
  background-color: #222430;
  padding: 2vh 1vw;
  border-radius: 10px;
  overflow-wrap: break-word;
}

.title-card {
  padding: 0px 10px;
}

.card {
  width: 300px;
  max-width: 300px;
}

.description {
  line-height: 2.5ex;
  height: 5ex;
  overflow: hidden;
}

.card-picture {
  margin: 1vw 1vw 0vw 1vw;
  box-shadow: 0px 0px 30px #3E4152;
  background-color: #222430;
  border-radius: 10px;
  padding: 5px;
  color: #F74B00;
}

.stapid {
  max-width: 80%;
  width: 80%;
}

.youtube {
  height: 315px;
  margin: 2.5vh 0vh 0vh 0vh;
}

#stapid-button:hover {
  background-color: #54586f;
}

#stapid-button {
  max-width: 80%;
  background-color: #3E4152;
  color: #c0caf5;
  border-radius: 5px;
  padding: 10px;
  text-decoration: none;
}

.stapid-spacer {
  margin: 2vh 0vh;
}

.card-view {
  grid-area: itembox;
  display: grid;
  column-gap: 10vw;
  row-gap: 3vh;
  grid-template-columns: auto auto;
  width: 100%;
  justify-content: center;
}

.responsive {
  width: calc(14vw + 600px);
}

#stapid-canvas {
  margin: 3vh 0vh 0vh 0vh;
}

.text {
  font-size: 2ex;
  white-space: pre-line;
  line-height: 26px;
}

.card-title {
  font-size: 2.4ex;
  font-weight: bold;
}

.card-description {
  font-size: 1.8ex;
  font-weight: bold;
}

.card-repository {
  font-size: 2ex;
  font-weight: bold;
}

a {
  text-decoration: none;
  color: #6DCFF6;
}

[aria-current] {
  background-color: #3E4152;
}

@media screen and (min-width: 1980px) {
  .card-view {
    grid-template-columns: auto auto auto;
  }
  .youtube {
    height: 630px;
  }
  .responsive {
    width: calc(26vw + 900px);
  }
}
@media screen and (max-width: 700px) {
  .card-view {
    grid-template-columns: auto;
  }
  .responsive {
    width: calc(2vw + 300px);
  }
  .stapid {
    max-width: 100%;
    width: 100%;
  }
  .navigation-button {
    height: 20px;
  }
  .icon-button {
    height: 20px;
    width: 20px;
  }
}
