/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* COLOR THEME */
:root {
  --primary-color: #327ab6;
  --secondary-color: #333;
  --background-color: #f1f4f7;
  --text-color: #222;
  --btn-text: #eee;
  --btn-color: #04aa6c;
  --btn-color2: #049660;
  --btn-color3: #327ab6;
  --btn-shadow: #1f1202;
}

/* UNIVERSALS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 62.5%;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.container {
  width: fit-content;
  margin: 10dvh auto;
  /* overflow: hidden; */
  /* box-shadow: -0.5rem 0 1rem rgba(0, 0, 0, 0.1); */
  border-radius: 1.2rem;
}

.fang-box {
  width: 100%;
  display: flex;
}

.each-box {
  max-width: 16rem;
  height: 20rem;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 300ms ease-out;
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: -0.5rem 0 1rem rgba(0, 0, 0, 0.1);
}

.fang-box .each-box:hover {
  cursor: pointer;
  z-index: 10;
  transform: scale(1.2);
}

.each-box:nth-child(1) {
  z-index: 1;
}
.each-box:nth-child(2) {
  z-index: 2;
}
.each-box:nth-child(3) {
  z-index: 3;
}
.each-box:nth-child(4) {
  z-index: 4;
}
.each-box:nth-child(5) {
  z-index: 5;
}

.fang-logo {
  width: 14rem;
}

.details {
  max-width: 80rem;
  min-width: 10rem;
  padding: 1.8rem;

  background-color: #f1f4f7;
  border-radius: 12px;
  display: flex;
  align-items: center;
}

.heading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--secondary-color);
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.icons-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icon {
  margin: 1rem 2rem;
  width: 4rem;
  height: 4rem;
  fill: var(--btn-shadow);
}

.icon:hover {
  fill: var(--btn-color);
}

.socials {
  display: flex;
  flex-direction: column;
}

.blurb {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-top: 2.4rem;
}

.blurb strong {
  font-weight: 700;
}

.ca {
  font-size: 1rem;
  margin: 3.2rem;
}

/* BUTTONS */

.buy-icon {
  margin-right: 0.6rem;
  width: 3.2rem;
  height: 3.2rem;
  position: relative;
  left: -0.4rem;
}

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  width: 18rem;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;

  margin: 2rem;
}

.btn:link,
.btn:visited {
  background-color: var(--btn-color);
  color: var(--btn-text);
}

.btn:hover,
.btn:active {
  background-color: var(--btn-color2);
  color: var(--btn-text);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.btn:hover .icon {
  fill: var(--btn-text);
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }
}
