* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width:100vw;
  height:100vh;
}

body {
  width:100%;
  height:100%;
  font-family: 'Quicksand', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  background-image: url('img/jericho.jpg');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  transition: all 0.3s ease-in-out;
}

.wrapper {
  margin-top: 22vh;
  z-index: 1;
  width: 320px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 56px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1),
              2px 4px 4px 1px rgba(255, 255, 255, 0.4) inset,
              -2px -4px 4px 1px rgba(255, 255, 255, 0.3) inset,
              0.5px 0.5px 0.5px rgba(255, 255, 255, 0.8) inset,
              -0.25px -0.5px 1px rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: black;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.title-group h1 {
  font-size: 3.25em;
  margin: 2rem 0 1rem 0;
  font-family: 'Pacifico', sans-serif;
  font-weight: normal;
  text-wrap: nowrap;
  transition: all 0.3s ease-in-out;
}

.title-group h2 {
  font-size: 1.1rem;
  margin: 0rem 0 0rem 0;
  font-weight: bold;
  text-wrap: nowrap;
  transition: all 0.3s ease-in-out;
}

/* buttons */
.button-group {
  margin: 40px 8px 15px 8px; 
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease-in-out;
  width: 100%;
}

.btn {
  border-radius: 120px;
  width: 100%;
  height: 45px;
  padding: 12px 0px;
  font-size: 1em;
  font-family: 'Quicksand', sans-serif;
  cursor: pointer;
  font-weight: normal;
  background: rgba(128, 128, 128, 0.3);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1),
              2px 4px 4px rgba(255, 255, 255, 0.4) inset,
              -2px -4px 4px rgba(255, 255, 255, 0.2) inset,
              0.5px 0.5px 0.5px rgba(255, 255, 255, 0.4) inset,
              -0.25px -0.5px 1px rgba(255, 255, 255, 0.4) inset;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: none;
  color: black;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.btn .text {
  font-weight: bold;
}

.btn:hover {
  background: rgba(153, 203, 255, 0.3);
  box-shadow: 2px 8px 30px rgba(0, 0, 0, 0.1),
              2px 4px 4px rgba(255, 255, 255, 0.6) inset,
              -2px -2px 4px rgba(255, 255, 255, 0.6) inset,
              0.075px 0.25px 0.25px rgba(255, 255, 255, 0.8) inset,
              -0.125px -0.25px 0.25px rgba(255, 255, 255, 0.8) inset;
  border: none;
  text-align: center;
  animation: bounce 0.7s;
  transition: all 0.3s ease-in-out;
}

.btn:active {
  background: rgba(153, 203, 255, 0.8);
}

@keyframes bounce {
  0% { transform: scale(1, 1); }
  20% { transform: scale(1.1, 0.95); }
  40% { transform: scale(0.95, 1.025); }
  60% { transform: scale(1.025, 0.9875); }
  80% { transform: scale(0.9875, 1.00625); }
  100% { transform: scale(1, 1); }
}

/* Responsive layout switch */
@media (orientation: landscape) {
  body {
    background-position: center;
  }
  .title-group {
    margin: 0 20px 0 20px;
  }
  .title-group h1 {
    margin: 0.5rem 0 1rem 0;
  }
  .wrapper {
    margin-top: 28vh;
    width: 550px;
    height: 244px;
  }
  .inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }
  .button-group {
    margin: 25px 0px 25px 16px;
    flex-direction: column;
    gap: 1rem;
  }
  .btn {
    margin: 0px;
    width: 140px;
    height: 45px;
  }
}