/* -------------------------------------------------------------------------- */
/*                        RESOURCE CARDS FOR SIDE MENU                        */
/* -------------------------------------------------------------------------- */

.resource-select-top,
.the-menu-top {
  height: 12.5vh;
  height: 12.5svh;
  width: 100%;
  background-color: var(--light-colour);
  display: flex;
  justify-content: space-evenly;
  padding: 0 6vmin;
  flex-direction: row;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0.1vmin 0.2vmin,
    rgba(0, 0, 0, 0.15) 0 0.35vmin 0.6vmin -0.15vmin,
    rgba(0, 0, 0, 0.1) 0 -0.3vmin 0 inset;
}

.resource-select-top .top-title,
.the-menu-top .top-title {
  width: 100%;
  text-align: center;
  color: var(--dark-colour);
  font-size: 5vmin;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-select-top .circleButton {
  height: 50%;
  background-color: var(--dark-colour);
}

.resource-select-btm {
  width: 100%;
  height: 87.5vh;
  height: 87.5svh;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.all-resources {
  width: 90%;
  height: 92%;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2.4vmin;
  padding: 2vmin 0;
  background-color: rgba(0, 0, 0, 0.025);
  box-shadow: rgba(67, 71, 85, 0.1) 0px 0px 0.25vmin inset,
    rgba(90, 125, 188, 0.05) 0px 0.25vmin 1vmin inset;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.resource-card {
  width: 90%;
  height: fit-content;
  background-color: var(--white-colour);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px,
    rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
  border: 1vmin solid var(--white-colour);
  user-select: none;
  cursor: pointer;
}

.resource-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  column-gap: 1vmin;
}

.resource-thumb {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.resource-meta {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.resource-title {
  font-size: 2vmin;
  font-weight: 700;
  color: var(--white-colour);
  text-transform: uppercase;
  width: 100%;
  background-color: var(--dark-colour);
  padding: 1vmin 0;
  height: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-blurb {
  height: 75%;
  width: 100%;
  padding: 0 0.5vmin;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1vmin;
  background-color: var(--light-colour);
}

.resource-blurb p {
  font-size: 1.4vmin;
  font-weight: 800;
  text-wrap: balance;
}

.resource-blurb p:first-of-type {
  font-weight: 300;
}
