:root {
  --richBlack: #0d1b2a;
  --OxfordBlue: #1b263b;
  --YBlue: #415a77;
  --SilverLakeBlue: #778da9;
  --Platinum: #e0e1dd;
  --color-1: #186cb8;
  --color-2: #2a9a9f;
  --color-3: #f1b211;
  --color-4: #e83611;
  --color-5: #f9002f;
  --creditsSectionWidth: 15vw;
  --card-background-color: #D2D2D2;
  --description-font-size: 17pt;
  --title-font-size: 28pt;
  --introduction-font-size: 48pt;
  --card-width: 400px
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--Platinum);
}
.introduction {
  font-size: var(--introduction-font-size);
}
.right-side {
  display: flex;
  flex-direction: column;
  width: 45%;
}
.center {
  display: flex;
  justify-content: center;
}
.image {
  width: 128px;
  aspect-ratio: 1 / 1;
}
.image-background {
  display: flex;
  justify-content: center;
  width: 180px;
  aspect-ratio: 1 / 1;
  margin-top: 5%;
  background-color: var(--Platinum);
  border: 10px solid var(--Platinum);
  border-radius: 100px;
}
.card {
  border: 2px solid var(--card-background-color);
  border-radius: 15px;
  max-width: var(--card-width);
  background-color: var(--card-background-color);
}
.cards-holder {
  max-width: 60%;
  max-height: 100vh;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 50px;
}
.holder {
  display: flex;
  justify-content: space-between;
  padding: 5vh 4vw 0 4vw;
}
.title {
  font-size: var(--title-font-size);
  text-align: center;
}
.highlight {
  color: var(--richBlack)
}
.description {
  width: 80%;
  text-align: center;
  font-size: var(--description-font-size);
  color: var(--OxfordBlue) !important;
}
.right-side > .description {
  width: 100%;
  text-align: left;
  font-size: var(--title-font-size);
}
.explore {
  cursor: pointer;
  padding: 10px;
  display: flex;
  max-width: 20%;
  justify-content: space-around;
  background-color: var(--richBlack);
  border: 2px solid var(--richBlack);
  border-radius: 15px;
  transition: all 350ms ease;
}
.explore:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 3px var(--YBlue);
}
.explore > a {
  text-decoration: none;
  background: transparent;
  border: none;
  color: var(--Platinum)
}
.card-text > p {
  margin: 25px;
}
.startCredits {
  cursor: pointer;
  color: var(--Platinum);
  border: 2px solid var(--SilverLakeBlue);
  background-color: var(--SilverLakeBlue);
  border-radius: 15px;
  font-size: 16pt;
  padding: 10px;
}
.extraButtons {
  display: flex;
  justify-content: space-between;
  position: fixed;
  right: 5vw;
  top: 2vh;
}
.marginLeft {
  margin-left: 1vw;
}
.languageButton {
  cursor: pointer;
  position: relative;
  font-size: 16pt;
  background-color: var(--SilverLakeBlue);
  border: 2px solid var(--SilverLakeBlue);
  border-radius: 15px;
  transition: all 0.5s ease;
  text-align: center;
  color: var(--Platinum);
  padding: 10px
}
.description-container {
  display: flex;
  justify-content: center;
}
.buttons-container {
  margin-top: 2vh;
}

.creditsPopup {
  background: linear-gradient(45deg, var(--richBlack), var(--OxfordBlue), var(--SilverLakeBlue));
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100vw;
  min-height: 100vh;
  overflow-y: scroll;
}

.role {
  font-size: 24pt;
  margin-bottom: 0.75em;
}

.involved-list {
  padding: 0;
}

.involved-list > li {
  list-style: none;
  text-align: center;
  font-size: 18pt;
}

.involved-container > section:last-of-type {
  margin-bottom: 20vh;
}

.project-title {
  font-size: 32pt;
  font-style: italic;
}

.closePopupButton-container {
  position: fixed;
  display: flex;
  justify-content: center;
  width: 100vw;
  bottom: 5vh;
  left: 0;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* tablets & landscape oriented phones */
@media screen and (max-width: 1366px) and (min-width: 601px) {
  :root {
    --introduction-font-size: 33pt;
    --title-font-size: 20pt;
    --description-font-size: 14pt;
    --card-width: 300px
  }
  .right-side > .description {
    text-align: center;
  }
  .introduction {
    text-align: center;
  }
  .image {
    width: 88px
  }
  .extraButtons {
    right: 2.5vw;
  }
  .image-background {
    width: 120px;
  }
  .explore {
    max-width: 40%;
  }
  .cards-holder {
    gap: 25px
  }
  .card-text > p {
    margin: 13px;
  }
  .holder {
    padding-top: 3vh;
  }
}

/* landscape oriented phones */
@media screen and (max-width: 1000px) and (min-width: 800px) {
  :root {
    --introduction-font-size: 28pt;
    --title-font-size: 19pt;
  }
  .cards-holder {
    gap: 25px
  }
  .image {
    width: 64px
  }
  .image-background {
    width: 80px;
  }
  .introduction {
    margin: 10px 0px 15px 0px;
  }
  .explore {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 799px) and (min-width: 601px){
  :root {
    --introduction-font-size: 24pt;
    --title-font-size: 16pt;
  }
}