* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

:root {
  --color-primary: #6c63ff;
  --color-success: #00bf8e;
  --color-warning: #f7c94b;
  --color-danger: #f75842;
  --color-danger-variant: rgba(247, 88, 66, 0.4);
  --color-white: #fff;
  --color-light: rgba(255, 255, 255, 0.7);
  --color-black: #000;
  --color-bg: #1f2641;
  --color-bg1: #2e3267;
  --color-bg2: #424890;

  --container-width-lg: 76%;
  --container-width-md: 90%;
  --container-width-sm: 94%;
  --transition: all 400ms ease;
}

/* achivements */

.aboutAchiv {
  margin-top: 3rem;
}

.aboutAchivContainer {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 5rem;
}

.aboutAchivRight > p {
  margin: 1.6rem 0 2.5rem;
}

.achivementsCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.achivementCard {
  background: var(--color-bg1);
  padding: 1.6rem;
  border-radius: 1rem;
  text-align: center;
  transition: var(--transition);
}

.achivementCard:hover {
  background: var(--color-bg2);
  box-shadow: 0 3rem 3rem rgba(0, 0, 0, 0.3);
}

.achiveIcon {
  background: var(--color-danger);
  padding: 0.6rem;
  border-radius: 1rem;
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 2rem;
  width: 5rem;
}

.achivementCard:nth-child(2) .achiveIcon {
  background: var(--color-success);
}

.achivementCard:nth-child(3) .achiveIcon {
  background: var(--color-primary);
}

.achivementCard p {
  margin-top: 1rem;
}

/* staff */

.staff6,
.staff4,
.staff2 {
  background: var(--color-bg1);
  box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
}

.staffContainer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.staffMembers {
  background: var(--color-bg2);
  padding: 2rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.staffMembers:hover {
  background: transparent;
  border-color: var(--color-primary);
}

.staffMembersImage img {
  /* filter: saturate(0); */
  border-radius: 12%;
}

.staffMembersImage:hover img {
  filter: saturate(1);
}

.staffMembersInfo * {
  text-align: center;
  margin-top: 1.4rem;
}

.staffMembersInfo p {
  color: var(--color-light);
}

.staffMembersSocial {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -100%;
  display: flex;
  flex-direction: column;
  background: var(--color-primary);
  border-radius: 1rem 0 0 1rem;
  box-shadow: -2rem 0 2rem rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.staffMembers:hover .staffMembersSocial {
  right: 0;
}

.staffMembersSocial a {
  padding: 1rem;
}

/* media query for tablates */

@media screen and (max-width: 1024px) {
  .aboutAchiv {
    margin-top: 2rem;
  }

  .aboutAchivContainer {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .aboutAchivLeft {
    width: 80%;
    margin: 0 auto;
  }

  .staffContainer {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .staffMembers {
    padding: 1rem;
  }
}

/* media query for mobiles */

@media screen and (max-width: 600px) {
  .achivementsCards {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .staffContainer {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  .staffMembers {
    padding: 0;
  }

  .staffMembers p {
    margin-bottom: 1.5rem;
  }
}

.bgAniConatiner {
  position: fixed;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.bubbles {
  position: relative;
  display: flex;
  z-index: -100;
}

.bubbles span {
  position: relative;
  width: 30px;
  height: 30px;
  background: #4fc3dc;
  margin: 0 4px;
  border-radius: 50%;
  box-shadow: 0 0 0 10px #4fc3dc44, 0 0 50px #4fc3dc, 0 0 100px #4fc3dc;
  animation: aniBG 15s linear infinite;
  animation-duration: calc(125s / var(--i));
}

.bubbles span:nth-child(even) {
  background: #ff2d75;

  box-shadow: 0 0 0 10px #ff2d7544, 0 0 50px #ff2d75, 0 0 100px #ff2d75;
}

@keyframes aniBG {
  0% {
    transform: translateY(100vh) scale(0);
  }

  100% {
    transform: translateY(-10vh) scale(1);
  }
}
