:root {
  --primary-color: #130d37;
  /*secondary-color: ;
      tertiary-color: ;*/
  --pg-border-color: #8e328f;
}

* {
  padding: 0;
  margin: 0;
}

body {
  color: white;
  font-family: "Titillium Web", sans-serif;
  overflow: hidden;
}

.wrapper {
  height: 100vh;
  overflow-y: scroll;
  background-color: black;
}

.more-info-header {
  display: flex;
  align-items: center;
}

/* 
.wrapper nav {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  z-index: 10;
  width: calc(100%);
  height: 80px;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100%);
} */

.safety-box {
  position: relative;
}

.tooltiptext {
  width: 25px;

  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  left: 10px;
  top: 10px;
  font-size: 2em;
}

.black {
  color: #333;
}

.white {
  color: lightgray;
}
/* 
@media screen and (max-width: 1700px) {
  .tooltiptext {
    left: 10%;
  }
}

@media screen and (max-width: 1510px) {
  .tooltiptext {
    left: 5%;
  }
}

@media screen and (max-width: 1310px) {
  .tooltiptext {
    left: 0%;
  }
}

@media screen and (max-width: 1200px) {
  .tooltiptext {
    left: -5%;
  }
}

@media screen and (max-width: 1042px) {
  .tooltiptext {
    left: 0%;
  }
}

@media screen and (max-width: 690px) {
  .tooltiptext {
    left: 15%;
  }
}

@media screen and (max-width: 510px) {
  .tooltiptext {
    left: 0%;
  }
} */

main {
  background-color: black;
  /* height: 100vh; */
  position: relative;
}

main .bg {
  width: 100%;
  height: 100%;
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}

main .hue {
  z-index: 1;
  background-color: rgb(0, 0, 0);
  opacity: 0.6;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation: fadeIn 1s;
}

@keyframes flyIn {
  0% {
    transform: translateY(200px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

main nav {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  z-index: 10;
  width: calc(100% - 7px);
  height: 80px;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
}

main nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 7px);
}

nav h1 {
  font-size: 2em;
  padding-left: 40px;
}

.navbar {
  display: flex;
  width: 600px;
  padding-right: 70px;
  justify-content: space-between;
}

.navbar a {
  text-decoration: none;
  color: white;
}

.nov {
  color: #eebdff;
}

.navbar a div {
  padding: 5px;
  border-bottom: 2px solid transparent;
}

.navbar a div:hover {
  border-bottom: 2px solid white;
  animation: fadein 0.5s;
}

@keyframes fadein {
  0% {
    border-bottom: 2px solid transparent;
  }

  100% {
    border-bottom: 2px solid white;
  }
}

@media screen and (max-width: 850px) {
  main nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 20px 0 !important;
  }

  main nav div h1 {
    padding: 0 !important;
  }

  .navbar {
    padding: 10px 0px 0px 0px !important;
    width: 80%;
  }

  .safety-content {
    padding-bottom: 50px;
    height: auto !important;
  }

  .more-info-wrapper {
    padding-top: 135px !important;
  }

  .main-paragraph {
    margin-bottom: 35px !important;
  }

  .more-info-wrapper .disclaimer {
    width: 90%;
    margin-bottom: 75px !important;
  }
}

@media screen and (max-width: 500px) {
  .main-paragraph,
  .step-boxes,
  .more-info-wrapper .disclaimer {
    width: 80% !important;
  }

  .step {
    width: 100% !important;
    padding: 10px;
  }

  .step ul {
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75em !important;
  }

  .health-ul {
    width: 40% !important;
  }
}

@media screen and (max-width: 420px) {
  .navbar {
    display: none;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px !important;
    background-color: #000;
    width: 100%;
  }

  .hamburger-nav {
    background-color: #000;
  }

  .upper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 40px !important;
    overflow: hidden;
    /* fix overflow issue */
    width: calc(100% - 80px);
  }

  .hamburger-menu {
    display: block;
    cursor: pointer;
  }

  .hamburger-menu .bar {
    width: 30px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
  }

  .safety-box {
    width: 90% !important;
  }

  .more-info-wrapper h1 {
    font-size: 2em !important;
    margin-right: 20px;
  }

  .more-info-wrapper button {
    width: 30px !important;
    height: 30px !important;
  }

  .step h3 {
    font-size: 1.5em !important;
  }

  .health-ul {
    width: 25% !important;
  }
}

.safety-content {
  height: calc(100% - 100px);
  background-color: black;
  padding-top: 80px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  transform: scale(0.9);
  transition: transform 1.5s;
}

.safety-boxes {
  display: grid;
  height: calc(100%);
  justify-items: center;
  padding-bottom: 20px;
  width: 1200px;
  gap: 30px;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
}

@media (max-width: 1042px) {
  .safety-boxes {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto;
  }
}

@media (max-width: 690px) {
  .safety-boxes {
    grid-template-columns: auto;
    grid-template-rows: auto auto auto auto auto auto;
  }

  .safety-content {
    height: auto !important;
    padding: 0px !important;
    margin: 0px !important;
  }
}

@keyframes borderPulse {
  0% {
    box-shadow: 0 0 10px transparent, 0 0 10px transparent, 0 0 20px transparent;
  }
  50% {
    box-shadow: 0 0 10px transparent, 0 0 10px #8e328f, 0 0 20px #8e328f;
  }

  100% {
    box-shadow: 0 0 10px transparent, 0 0 10px transparent, 0 0 20px transparent;
  }
}
.safety-box {
  height: 400px;
  width: 360px;
  border-radius: 10px;
  position: relative;
  animation: borderPulse 5s infinite;
}

.safety-box:hover {
  cursor: pointer;
}

.safety-box .img {
  height: 100%;
  width: 100%;
  border-radius: 10px;
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

.safety-box .hue {
  z-index: 1;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  position: absolute;
  background-color: rgb(0, 0, 0);
  opacity: 0;
}

@animation shiftOpacity {
  0% {
    opacity: 0;
  }

  100 % {
    opacity: 0.5;
  }
}

/* .safety-box .hue:hover {
  background-color: rgb(0, 0, 0, 0.5);
  color: black;
  transition: all 1s;
} */

.hue-on-hover {
  transition: all 0.5s;
  color: black;
  opacity: 0.5 !important;
}

.more-on-hover {
  opacity: 1 !important;
  transition: all 0.5s;
}

.safety-box .icon {
  position: absolute;
  height: 30px;
  width: 30px;
  object-fit: cover;
  object-position: center;
  top: 10px;
  right: 10px;
  opacity: 0.8;
  transform: rotate(-5deg);
  display: none;
}

.safety-box .more {
  position: absolute;
  z-index: 2;
  height: 100%;
  width: 100%;
  flex-direction: column;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.safety-box button {
  border: 2px solid #eebdff;
  color: #eebdff;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  margin-top: 5px;
}

.safety-box button:hover {
  background-color: #eebdff;
  color: #240d33;
  transition: all 1s;
}

.more-info {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: black;
  z-index: 2;
  display: none;
  transform-origin: center;
  overflow-y: scroll;
}

.more-info-wrapper {
  opacity: 0%;
  padding-top: 100px;
  position: relative;
}

.more-info-wrapper h1 {
  width: 100%;
  text-align: center;
  font-size: 3.5em;
  color: #eebdff;
  text-shadow: 0 0 10px #8e328f, 0 0 20px #8e328f, 0 0 30px #8e328f;
}

.more-info-wrapper button {
  position: absolute;
  right: 40px;
  width: 40px;
  height: 40px;
  font-size: 1.5em;
  background: none;
  outline: none;
  border: 1px solid white;
  color: white;
  border-radius: 5px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.more-info-wrapper button:hover {
  cursor: pointer;
  border-color: #ce75cf;
  color: #ce75cf;
  transition: all 0.5s;
}

.more-info-wrapper .disclaimer {
  text-align: center;
  font-size: 0.8em;
  color: rgb(165, 164, 164);
  margin-bottom: 60px;
}

.disclaimer a {
  color: var(--pg-border-color);
}

.disclaimer a:hover {
  cursor: pointer;
  text-decoration: underline;
}

.main-paragraph {
  text-align: center;
  margin: 20px;
  width: 50%;
  font-size: 0.9em;
}

.more-info-content {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.step-boxes {
  display: flex;
  flex-direction: column;
  /* border: 1px solid white; */
  width: 850px;
  margin-bottom: 60px;
  overflow: visible;
}

@media (max-width: 861px) {
  .step:nth-child(2n + 1) {
    align-self: center !important;
    /* border: 3px solid #240d33; */
    background: linear-gradient(to bottom right, #4b1948, #442f69);
    color: white;
  }

  .step:nth-child(2n) {
    align-self: center !important;
    /* height: 200px; */
    background: black;
    border: 1px solid var(--pg-border-color);
    color: white;
  }

  .step-boxes {
    gap: 120px;
    width: 450px;
  }
}

.step {
  height: 300px;
  width: 450px;
  transform: scaleY(1.2);
  transform-origin: center;
  /* border: 1px solid #240d33; */
}

.step .step-container,
.step span {
  transform: scaleY(calc(1 / 1.2));
  transform-origin: center;
}

.t-minus-zero {
  background-image: linear-gradient(to bottom right, #6b1c66, #6f569b);
  background-size: 100%;
  color: transparent;
  -webkit-background-clip: text;
  font-size: 1.5em;
  font-weight: 700;
  border: 2px solid #8b3586;
  padding: 10px;
  border-radius: 15px;
}

.step:nth-child(2n + 1) {
  align-self: flex-start;
  /* border: 3px solid #240d33; */
  background: linear-gradient(to bottom right, #4b1948, #442f69);
  color: white;
}

.step:nth-child(2n) {
  align-self: flex-end;
  /* height: 200px; */
  background: black;
  border: 1px solid var(--pg-border-color);
  color: white;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  position: relative;
}

@keyframes flyInStep {
  0% {
    transform: translateY(100px) scaleY(1.2);
    opacity: 0%;
  }

  100% {
    transform: translateY(0) scaleY(1.2);
    opacity: 100%;
  }
}

.step span {
  position: absolute;
  top: 10px;
  left: 15px;
  height: 20px;
  width: 20px;
  border: 1px solid white;
  font-size: 1em;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
  padding: 5px;
}

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

.step h3 {
  font-size: 2.5em;
  padding: 15px;
  text-align: center;
}

.step ul {
  font-weight: 300;
  font-size: 0.9em;
  color: rgb(189, 189, 189);
}

.step ul li {
  padding: 5px 0px;
}

.health-ul {
  border-radius: 15px;
  margin-bottom: 20px;
  padding: 0px 100px;
  width: 50%;
}
/* 
.more-info-1, .more-info-1 .more-info-wrapper {
  display: block;
  opacity: 1;
}  */

@keyframes openDiv {
  0% {
    transform: scale(0%, 10%);
  }

  50% {
    transform: scale(100%, 10%);
  }
  100% {
    transform: scale(100%, 100%);
  }
}

@keyframes closeDiv {
  0% {
    transform: scale(100%, 100%);
  }

  50% {
    transform: scale(100%, 10%);
  }

  100% {
    transform: scale(0%, 10%);
    display: none;
  }
}

::-webkit-scrollbar {
  width: 7px;
  background-color: black;
}

::-webkit-scrollbar-thumb {
  background-color: #333;
  width: 7px;
  border-radius: 5px;
}
