* {
  font-family: "scale-variable";
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

:root {
  --main-color: rgb(238, 238, 238);
  --secondary-color: rgb(17, 17, 17);
  --tertiary-color: rgb(0, 0, 0);

  --main-color-semiTransparent: rgba(238, 238, 238, 0.7);
  --secondary-color-semiTransparent: rgba(17, 17, 17, 0.7);
  --tertiary-color-semiTransparent: rgba(0, 0, 0, 0.7);

  --main-color-transparent: rgba(238, 238, 238, 0.4);
  --secondary-color-transparent: rgba(17, 17, 17, 0.4);
  --tertiary-color-transparent: rgba(0, 0, 0, 0.4);
}

html,
body {
  margin: 0;
  padding: 0;

  background-color: var(--secondary-color);

  overflow: hidden;
}

.main-header {
  position: sticky;
  height: fit-content;
  padding: 10px 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  width: 100vw;
  height: 80vh;
  position: relative;
}

.title {
  text-align: center;
  margin: 0;
  font-size: 2em;
  font-weight: 900;
  color: var(--main-color);
}

#card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
  height: 100%;
  z-index: 1;
  position: relative;
}

/* INDIVIDUAL CARDS */

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-content{
  width: 250px;
  height: fit-content;
  border: 1px solid var(--main-color);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  background-color: var(--secondary-color);
}

.card-content:hover{
  cursor: pointer;
  box-shadow: 0 0 20px var(--tertiary-color);
}

.card {
  padding: 20px;
}

/* Hover animation */
/* .card:hover {
  transform: skewX(-2deg) skewY(-2deg) scaleX(1.05);
  z-index: 1;
} */

.dataList {
  list-style-type: none;
  width: 100%;
  padding: 0;
}

.dataTitle {
  color: var(--main-color);
  margin-top: 0;
  font-size: 14px;
  font-weight: 500;
}

.dataPoint {
  color: var(--main-color);
  margin-top: 0;
  font-size: 14px;
  font-weight: 300;
}

.name {
  color: var(--main-color);
  font-size: 18px;
  font-weight: 700;
}

.imgContainer {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.physicistImg {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 6px;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.physicistImg:hover {
  width: 100%;
  height: 100%;
}

/* CARD DROPDOWN */
.cardDropdown {
  color: var(--main-color);
  width: 100%;
  height: 30px;
  border-radius: 0 0 5px 5px;
  background-color: var(--main-color);
  color: var(--secondary-color);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  transform: scaleY(0);
  transform-origin: top;
}

.divider {
  background-color: var(--secondary-color);
  width: 2px;
  border-radius: 2px;
  height: 75%;
}

.deleteButtonContainer, .replaceButtonContainer {
  width: 50%;
}

.deleteButton, .replaceButton {
  width: 100%;
  border: none;
  cursor: pointer;
}


/* Add Card UI Element */
.addCardContainer {
  position: absolute;
  width: 100%;
  height: 40px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
}

.addCardButton {
  width: fit-content;
  height: 100%;
  border-radius: 10px;
  border-style: none;
  background-color: var(--main-color);
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 18px;
  padding: 0 10px 0 10px;
  transform: scaleX(0) scaleY(0);
  cursor: pointer;
}

/* Physicist name background */
.background {
  position: absolute;
  width: 125vw;
  height: 125vh;
  transform: translateX(-12.5vw) translateY(-12.5vh);
  color: var(--main-color);
  opacity: 0.1;
  font-weight: 900;
  font-size: 400px;
  top: 0; bottom: 0; left: 0; right: 0;
  line-height: 400px;
  align-content: center;
  text-align: center;
  z-index: 0;
  /* background-image: url(AJourneyThroughPhysicsLogo.png); */
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: unset;
}

/* Hint */
.hint {
  color: var(--main-color);
  margin-left: 20px;
  font-style: italic;
  opacity: 0.7;
}

/* Collected Cards UI element */
.collectionContainer {
  padding-right: 20px;
  padding-bottom: 20px;
}

.collectedText {
  color: var(--main-color);
  font-weight: 800;
}


/* OVERLAY */
.overlay {
  position: absolute;
  font-size: 30px;
  color: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;

  z-index: 2;
  pointer-events: none;
  transform: scaleX(0) scaleY(0);
  top: 0;

}

.overlayContent {
  position: relative;
  width: 70%;
  height: 50%;
  background-color: var(--secondary-color-semiTransparent);
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: white solid 2px;
}

.imgSection {
  position: relative;
  height: 82.5%;
  width: 30%;
  padding: 2.5%;
  display: flex;
  flex-direction: column;
  background-image: none;
  justify-content: center;
  align-items: center;
}

.backgroundImg {
  position: absolute;
  width: 105%;
  height: 100%;
  top: -5%;
  left: -5%;
  filter: blur(10px);
  
  object-fit: cover;
  z-index: -1;
}

.physicistDescTitle {
  width: 100%;
  height: fit-content;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 5%;
}

.physicistDescImg {
  width: 100%;
  height: 70%;
  object-fit: cover;
  border-radius: 6px;
}

.infoSection {
  position: relative;
  height: 82.5%;
  width: 70%;
  padding: 2.5%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-image: none;
}

.descList {
  font-size: 18px;
  list-style-type: none;
}

.descTitle {
  font-weight: 500;
}

.descPoint {
  font-weight: 300;
}

.physicistDesc {
  font-size: 16px;
  overflow: scroll;
}

.secret {
  position: absolute;
  z-index: 2;
  color: var(--main-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  text-align: center;
}

.blackHolePrompt {
  margin-bottom: 20px;
  font-weight: 800;
  font-size: 20px;
}

.blackHoleButtonContainer {
  margin-top: 20px;
}

.blackHoleButton{
  font-style: oblique;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

