/* 
  Fonts 
*/
@font-face {
  font-family: Poppins;
  src: url(/assets/fonts/Poppins/Poppins-Regular.ttf);
}

@font-face {
  font-family: Playwright;
  src: url(/assets/fonts/Playwright/PlaywriteIN-Regular.ttf);
}

@font-face {
  font-family: Barriecito;
  src: url(/assets/fonts/Barriecito/Barriecito-Regular.ttf);
}

:root {
  /* Color */
  --light-blue: #B0E0E6;
  --light-green: #98FB98;
  --light-pink: #FFB6C1;
  --tomato-red: #FF6347;
  --vibrant-yellow: #FFD700;
}

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

body {
  font: 1rem "Poppins", sans-serif;
  background-color: #F8F8F8;
  margin-top: 100px;
}

.logo {
  display: block;
  font-family: "Playwright", sans-serif;
  color: var(--tomato-red);
  margin: 0;
  padding: 5px;
  padding-left: 8px;
  text-decoration: none;
  position: fixed;
  top: 0;
  background: #F8F8F8;
  width: 100%;
  height: 65px;
  border-bottom: thin solid black;
  z-index: 100;
}

header {
  height: 40vh;
  width: 90vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  font: 1.7rem "Barriecito", sans-serif;
}

.greeting {
  margin-top: 40px;
  margin-left: 20px;
  font-family: "Barriecito", sans-serif;
}

.menu-btn {
  font: 1.7rem monospace;
  position: fixed;
  top: -18px;
  right: -18px;
  width: 80px;
  height: 100px;
  padding: 50px;
  border-radius: 45%;
  background-color: var(--light-green);
  border: 1.5px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  cursor: pointer;
  z-index: 150;
}

.feautured-packs {
  background-color: var(--vibrant-yellow);
  min-height: 100vh;
  padding: 25px;
}

.feautured-packs-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.feautured-packs h2 {
  text-align: center;
  margin: 15px auto 40px auto;
  font-family: "Barriecito", sans-serif;
}

.pack-name {
  text-align: center;
  margin: 5px auto;
  font-family: "Barriecito", sans-serif;
}

.pack {
  background-color: var(--light-blue);
  width: auto;
  height: auto;
  padding: 1.5rem;
  border: 3px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 20px;
}

.pack-sample {
  width: 50px;
  height: 50px;
}

.price {
  font-family: monospace;
  font-weight: bolder;
}

.green {
  color: var(--light-green);
  font-weight: bolder;
  -webkit-text-stroke-color: black;
  -webkit-text-stroke-width: 1px;
}

.purchase-btn {
  background-color: #2A994C;
  color: white;
  width: 70%;
  height: auto;
  padding: 10px;
  border: 1.6px solid black;
  font: inherit;
  font-weight: bolder;
  margin-bottom: 1.5rem;
}

.purchase-btn:active,
.purchase-btn:hover,
.purchase-btn:focus {
  filter: brightness(80%);
}

.img-stack {
  width: 60%;
  height: auto;
  margin: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.bold {
  font-weight: bolder;
}

.simple-dialog {
  color: black;
  background-color: var(--tomato-red);
  border: 2px solid black;
  width: 80%;
  height: auto;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-weight: bolder;
  position: fixed;
  top: 15vh;
  left: 8%;
  animation: ease 1.5s pop;
}

.simple-dialog h2 {
  font-family: "Barriecito", sans-serif;
}

.blur {
  /* filter: blur(2px); */
  opacity: 40%;
}

.btns-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.continue-btn {
  background-color: var(--light-green);
  width: 100px;
  height: 50px;
  border: 1.2px solid black;
  font: inherit;
  cursor: pointer;
}

.cancel-btn {
  background-color: var(--vibrant-yellow);
  width: 100px;
  height: 50px;
  border: 1.2px solid black;
  font: inherit;
  cursor: pointer;
}

.logout-btn {
  font: inherit;
  font-weight: bold;
  background: var(--tomato-red);
  color: black;
  border: thin solid black;
  width: 150px;
  padding: 10px;
  cursor: pointer;
  margin: 100px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.d-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.d-none {
  display: none;
}

.nav-links {
  display: none;
}

.menu {
  background-color: var(--light-green);
  border-right: 1.2px solid black;
  width: 0;
  padding: 0;
  height: 100vh;
  margin: auto;
  position: fixed;
  left: 0;
  top: 65px;
  transition: all ease-out 0.3s;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow-y: scroll;
}

.menu li a {
  color: black;
  font-size: 1.2rem;
  font-weight: bolder;
}

.menu li {
  list-style-type: none;
  margin: 1.2rem auto;
  text-align: center;
}

.menu ul figure {
  text-align: center;
  margin: 50px;
  font: 1.2rem "Barriecito", sans-serif;
  font-weight: bold;
}

.menu ul figure img {
  margin-bottom: 15px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: thin solid black;
}

.close-btn {
  font: 2.6rem monospace;
  position: fixed;
  top: -18px;
  right: -18px;
  width: 80px;
  height: 100px;
  padding: 50px;
  border-radius: 45%;
  background-color: var(--light-green);
  border: 1.5px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  cursor: pointer;
  z-index: 150;
  display: none;
}

.red {
  color: red;
}

.error {
  border: 2px solid red !important;
}

.error::placeholder {
  color: red;
}

input[type="text"], input[type="email"] {
  font: inherit;
  height: 35px;
  width: 80%;
  border: thin solid var(--vibrant-yellow);
  background: whitesmoke;
  padding: 15px;
}

input[type="text"]:focus, input[type="email"]:focus {
  outline: none;
  border: 2px solid var(--vibrant-yellow);
}

.loader {
  min-height: 100%;
  min-width: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  background: var(--vibrant-yellow);
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.show {
  display: flex;
}

.hide {
  display: none;
}

/* 
  Animations 
*/
@keyframes pop {
  0% {
    transform: scale(30%);
  }

  100% {
    transform: scale(102%);
  }
}

@media screen and (min-width: 1024px) {
  body {
    margin-top: 130px;
  }

  .greeting {
    margin-left: 60px;
  }

  .logo {
    display: flex;
    align-items: center;
    height: 90px;
  }

  .whole-page {
    opacity: 100% !important;
  }

  .feautured-packs-flex {
    gap: 4rem;
  }

  .pack {
    margin: auto;
  }

  header {
    height: 30vh;
  }

  .pack:active,
  .pack:hover,
  .pack:focus {
    filter: brightness(98%);
  }

  .menu-btn,
  .menu,
  .close-btn {
    display: none !important;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: fixed;
    top: 13px;
    right: 25px;
    border: 1px solid black;
    background-color: var(--light-green);
    width: auto;
    height: auto;
    padding: 5px;
    z-index: 100;
  }

  .nav-links ul figure {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }

  .nav-links li a {
    color: black;
    font-size: 1.2rem;
  }

  .nav-links li {
    list-style-type: none;
  }

  .nav-links button {
    font: inherit;
    font-weight: bold;
    background: var(--tomato-red);
    color: black;
    border: thin solid black;
    width: 150px;
    padding: 10px;
    cursor: pointer;
  }

  .simple-dialog {
    width: 70%;
    left: 15vw;
  }
}

@media screen and (max-height: 400px) {
  header {
    height: 55vh;
  }
}