/* Global Style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}

/* Page Style */

body {
  min-height: 100vh;
  min-width: 100vw;
  padding: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top left, #28b487, #7dd56f);
  /* border: 5px solid #000000; */
}
h1 {
  font-family: 'Signika Negative', sans-serif;
  font-size: 25px;
  line-height: 1;
  padding-bottom: 10px;
  text-align: center;
  color: white;
  /* border: 5px solid #000000; */
}

h2 {
  font-family: sans-serif;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  color: #000;
}

a:link {
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  background-color: transparent;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.74);
}

a:hover {
  color: #21d4fd;
  background-color: transparent;
  text-decoration: underline;
}

/* Class Styles */

.top {
  display: flex;
  width: 100%;
  margin-top: -50px;
  padding-top: 145px;
  padding-left: 5px;
  padding-right: 5px;
  background-image: url(assets/logo.png);

  background-repeat: no-repeat;
  background-position: center;
  /* border: 5px solid #000000; */
}

.row1 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 15px;
  /* border: 5px solid #000000; */
}

.card {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 450px;
  height: 250px;
  border: 1px solid #000000;
  border-radius: 7px;
  box-shadow: 5px 5px 5px 5px #35353523;
  background-image: url(assets/start.jpg);
  background-position: center;
  animation: cardAppear 2s forwards;
  position: relative;
}

.message {
  position: absolute;
  max-height: 160px;
  top: 90px;
  padding: 0px 5em 0px 5em;
  font-family: 'Signika Negative', sans-serif;
  font-size: 18px;
}

.linkBox {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  max-width: 500px;
  width: 100%;
  margin-top: 10px;
}

.buttonsBox {
  display: flex;
  column-count: 2;
  column-gap: 10px;
  column-width: 100px;
  max-width: 500px;
  width: 60vw;
  padding: 20px;
  /* border: 5px solid #000000; */
}

.btn {
  font-family: 'Signika Negative', sans-serif;
  font-weight: 700;
  width: 50%;
  height: 5rem;
  padding: 1.5rem;
  font-size: 1rem;
  border-radius: 0.15rem / 100%;
  box-shadow: 5px 5px 5px 5px #35353523;
  position: relative;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  -webkit-transition: all 330ms;
  transition: all 330ms;
}
.btn + .btn {
  margin-top: 0rem;
}
.btn span {
  position: relative;
  z-index: 1;
}
.btn:before {
  content: '';
  background-color: #21d4fd;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-transform: scale(4) translateX(-100%);
  transform: scale(4) translateX(-100%);
  -webkit-transition: all 495ms ease-out;
  transition: all 495ms ease-out;
}
.btn:hover:before,
.btn:focus:before,
.btn:active:before {
  -webkit-transform: scale(4) translate(37%);
  transform: scale(4) translate(37%);
}

.chance {
  background-color: #ff8555;
  color: #000000;
  grid-column: 2/2;
  grid-column-start: 2;
  grid-column-end: 2;
}
.chance:before {
  background-color: #ff8555;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(30%, #ff8555),
    to(#cecece)
  );
  background-image: linear-gradient(to right, #ff7741 30%, #ffffff 100%);
  position: absolute;
}
.chance:hover,
.chance:focus,
.chance:active {
  color: #ffffff;
}

.chest {
  background-color: #fee140;
  color: #000000;
  grid-column: 1/2;
  grid-column-start: 1;
  grid-column-end: 1;
}
.chest:before {
  background-color: #000000;
  background-image: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(30%, #ffd900),
    to(#ffffff)
  );
  background-image: linear-gradient(to right #ffffff 30%, #fee140 100%);
  position: absolute;
}
.chest:hover,
.chest:focus,
.chest:active {
  color: #ffffff;
}

/* ID Styles */

#Selector-Box {
  display: block;
  padding: 50px;
}

/* Animation Keyframes */

@keyframes cardAppear {
  0% {
    transform: rotate3d(0, 0, 1, -15deg) translate3d(0, -100vh, 0);
  }
  30% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0);
  }
  65% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
  80% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

@keyframes cardAppear1 {
  0% {
    transform: rotate3d(0, 0, 1, -15deg) translate3d(0, -100vh, 0);
  }
  30% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0);
  }
  65% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
  80% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

@keyframes cardAppear2 {
  0% {
    transform: rotate3d(0, 0, 1, 15deg) translate3d(-100vw, 0, 0);
  }
  30% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0);
  }
  65% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
  80% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}

@keyframes cardAppear3 {
  0% {
    transform: rotate3d(0, 0, 1, -15deg) translate3d(100vw, 0, 0);
  }
  30% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0);
  }
  65% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
  80% {
    transform: rotate3d(0, 0, 0, 0deg) translate3d(0, 0, 0) scale3d(1, 1, 1);
  }
}
