/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* COLOR THEME */
:root {
  --primary-color: #0a7ed8;
  --secondary-color: #6c757d;
  --background-color: #ffffea;
  --dark-color: #00110e;
  --text-color: #00110e;
  --btn-text: #0a7ed8;
  --btn-color: #e2eaf0;
  --btn-color2: #f5f5f5;
  --btn-color3: #b1c0cc;
  --btn-shadow: #06416e;
  --shadow: 4px 8px 30px rgba(0, 17, 14, 0.5);
  --bg-pattern: url("media/imgs/background-swirls.svg");
  --bg-size: 1000px;
}

@font-face {
  font-family: "Plasma";
  src: url("media/fonts/Plastmatica-Bold.ttf");
}

/* UNIVERSALS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  padding: 0;
  font-family: "Plasma", sans-serif;
}

.preload {
  display: none;
}

.container {
  width: 100%;
  height: 100%;
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: var(--dark-color) solid 4px;
  border-radius: 40px;
}

.container-bg {
  background-color: var(--dark-color);
}

.column-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.page-column {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 40%;
  min-width: 620px;
  height: auto;
  background-color: var(--dark-color);
}
.column-bg {
  width: 100%;
  min-height: 100%;
  background-color: var(--dark-color);
}
.left-column {
  min-height: 100%;
  width: 100%;
  flex-grow: 1;
  border: var(--dark-color) solid 4px;
  border-radius: 40px 0 20px 20px;
  background-color: var(--background-color);
  /* background-image: var(--bg-pattern); */
  background-size: var(--bg-size);
  background-position: left top;
  box-shadow: inset var(--shadow);
}
.right-column {
  min-height: 85%;
  width: 100%;
  flex-grow: 1;
  border: var(--dark-color) solid 4px;
  border-radius: 0 40px 20px 20px;
  background-color: var(--background-color);
  /* background-image: var(--bg-pattern); */
  background-size: var(--bg-size);
  background-position: right bottom;
  box-shadow: inset var(--shadow);
}

header {
  width: 94%;
  height: 180px;
  background-color: var(--background-color);
  margin-top: 4px;
  border-radius: 0 0 55px 55px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-area {
  width: 85%;
  height: 100%;
  position: relative;
  top: -15px;
  border: var(--dark-color) solid 3px;
  border-radius: 35px 35px 65px 65px;
  /* background-image: url("media/imgs/background-eyes.svg"); */
  background-size: 110px;
  background-color: var(--btn-text);
  text-align: center;
  z-index: 100;
}
@keyframes cigar {
  0% {
    opacity: 10%;
  }
  100% {
    opacity: 100%;
  }
}
@keyframes smoke {
  0% {
    transform: scaleY(60%) translateX(-50%);
  }
  100% {
    transform: scaleY(100%) translateX(-50%);
  }
}
.cigar-lit {
  animation: cigar ease-in-out 2s infinite alternate;
}
.smoke {
  animation: smoke ease-in-out 5s infinite alternate;
  transform-origin: 7% 90%;
}

.logo-area img {
  margin-top: 15px;
  max-height: 100%;
  max-width: 110%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.headline-bar {
  width: 130%;
  height: 120px;
  margin: 10px 0;
  position: relative;
  background-color: var(--background-color);
  border: var(--dark-color) solid 3px;
  border-radius: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
}
.blunt-wrap {
  width: 90px;
  height: auto;
  position: absolute;
  left: 12px;
  bottom: 24px;
}
.jar {
  width: 100px;
  height: auto;
  position: absolute;
  right: 20px;
  bottom: 24px;
  z-index: 100;
}
.top-links {
  width: 82%;
  height: 24px;
  position: absolute;
  top: 0;
  background-color: var(--dark-color);

  border-radius: 0 0 22px 22px;
  display: flex;
  justify-content: center;
}
.top-links-text {
  position: relative;
  top: -5px;
  color: var(--btn-text);
  letter-spacing: 3px;
}
nav {
  margin-top: 18px;
  position: absolute;
  display: flex;
}

.bottom-design {
  width: 80%;
  height: 12px;
  position: absolute;
  bottom: 0;
  background-color: var(--dark-color);
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: center;
}
.squarea {
  width: 94%;

  background-color: var(--background-color);
  margin-top: 4px;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.three-boxes {
  width: 94%;
  height: 220px;
  margin: 24px 0;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  position: relative;
  /* overflow: hidden; */
}
.overflow-boxfix {
  position: absolute;
  width: 100%;
  height: 15%;
  bottom: -15%;
  background-color: var(--dark-color);
}
#candlestick {
  position: absolute;
  right: -5px;
  bottom: -15px;
  height: 80%;
  transform-origin: bottom center;
  transition: 1s ease;
  opacity: 1;
  transform: translateY(100%) rotate(-2deg);
  animation: scaleIn 1s ease-out,
    slightRotate 2s ease-in-out 1s infinite alternate;
  animation-fill-mode: forwards;
}
@keyframes scaleIn {
  from {
    transform: translateY(100%) rotate(-2deg);
  }
  to {
    transform: translateY(0%) rotate(4deg);
  }
}
@keyframes slightRotate {
  0%,
  100% {
    transform: rotate(4deg);
  }
  40% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(6deg); /* Small rotation */
  }
  60% {
    transform: rotate(-1deg);
  }
}
#tate {
  width: 160px;
  position: absolute;
  bottom: -25px;
  right: -40px;
  z-index: 100;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#lighter {
  width: 135px;
  height: auto;
  position: absolute;
  bottom: -30px;
  left: -35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.box {
  background-color: var(--background-color);
  width: 100%;
  border-radius: 10px;
  padding: 25px;
  font-size: 24px;
  color: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
/* .three-boxes > .box:first-of-type {
  border-radius: 55px 10px 10px 55px;
  margin-right: 12px;
}
.three-boxes > .box:last-of-type {
  border-radius: 10px 55px 55px 10px;
  margin-left: 12px;
} */

footer {
  width: 100%;
  height: 350px;
  background-color: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.foot-art {
  min-width: 400px;
  height: 94%;
  margin-top: 10px;
  margin-left: 25px;
  margin-right: 25px;
  flex-shrink: 0;
  flex-grow: 2;
  border-radius: 60px;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  position: relative;
  /* overflow: hidden; */
}
.hippyvan {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-left: 50px;
  transform: translateX(-150%) scale(40%);
}
.overflow-wrapper {
  position: absolute;
  height: 110%;
  width: 150%;
  left: 0;
  top: -10%;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.animate {
  animation: slideIn 2s forwards;
}

@keyframes slideIn {
  0% {
    transform: translateX(-150%) scale(40%);
  }
  100% {
    transform: translateX(0%) scale(100%);
  }
}
.foot-text {
  width: auto;
  max-width: 550px;
  height: 94%;
  flex-grow: 1;
  background-color: var(--dark-color);
  display: flex;
  flex-direction: column;
}
.foot-text-box {
  width: 94%;
  min-width: 325px;
  height: 100%;
  margin: 3%;
  padding: 5px 20px;
  border-radius: 100px;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.ca {
  margin-top: 12px;
  word-break: break-all;
  font-size: 12px;
}
.community-buttons {
  display: flex;
  margin-bottom: 15px;
}

.foot-right {
  height: 94%;
  flex-shrink: 1;
  flex-grow: 2;
  background-color: var(--dark-color);
}

#memebox {
  width: 700px;
  height: 700px;
  /* background-color: #007bff; */
}

/* BUTTONS */

.btn {
  padding: 8px 12px;
  background-color: var(--btn-color);
  color: var(--btn-text);
  border-radius: 20px;
  font-size: 28px;
}

.clickable {
  background-color: var(--btn-color);
  box-shadow: 0 5px var(--btn-shadow);
  border: var(--dark-color) solid 2px;
  transform: translateY(-5px);
}

.clickable:hover {
  background-color: var(--btn-color2);
  box-shadow: 0 7px var(--btn-shadow);
  transform: translateY(-7px);
  cursor: pointer;
}

.clickable:active {
  background: var(--btn-color3);
  box-shadow: 0 2px var(--btn-shadow);
  transform: translateY(-2px);
}

.btn-icon {
  width: 25px;
  height: auto;
  stroke: var(--btn-text);
  fill: var(--btn-text);
}

.btn-fix {
  transform: translateY(-5px);
  margin: 0 12px;
}
.btn-fix:hover {
  transform: translateY(-7px);
}
.btn-fix:active {
  transform: translateY(-2px);
}

/* Media Queries for Mobile */
@media (max-width: 820px) {
  #memebox {
    width: 100%;
    height: auto;
  }
  .page-column {
    width: 100%;
    min-width: 100%;
  }
  .column-bg {
    display: none;
  }

  .headline-bar {
    width: 100%;
    height: 235px;
  }
  .btn-fix {
    margin: 8px;
  }
  nav {
    flex-direction: column;
  }
  .top-links {
    width: 100%;
  }
  .top-links-text {
    font-size: 12px;
  }
  .bottom-design {
    width: 100%;
  }
  .box {
    font-size: 22px;
  }
  footer {
    min-height: 782px;
    flex-direction: column;
  }
  .foot-art {
    min-width: 96%;
    max-height: 160px;
    margin-bottom: 15px;
    overflow: hidden;
  }
  .overflow-wrapper {
    position: absolute;
    height: 140%;
    top: -15%;
    width: 100%;
  }
  .hippyvan {
    max-width: 65%;
    height: auto;
    width: auto;
    max-height: 220px;
  }
  @keyframes slideIn {
    0% {
      transform: translateX(-150%) scale(0%);
    }
    100% {
      transform: translateX(15%) scale(100%);
    }
  }
  .foot-text {
    min-width: 100%;
    min-height: 600px;
  }
  .ca {
    word-break: break-all;
    font-size: 16px;
    padding: 16px 0;
  }
  .foot-text-box:first-child .btn {
    font-size: 80px;
    padding: 20px 30px;
    border-radius: 60px;
  }
  .foot-text-box:first-child .btn-icon {
    width: 75px;
  }
  .foot-text-box:last-child .btn {
    display: inline-block;
    text-align: center;
    width: 200px;
    font-size: 35px;
    padding: 20px 30px;
    border-radius: 60px;
  }
  .foot-text-box:last-child .btn-icon {
    width: 35px;
  }
  .foot-right {
    display: none;
  }
}
@media (max-width: 768px) {
}

@media (max-width: 488px) {
  .box {
    font-size: 18px;
  }
  .community-buttons {
    flex-direction: column;
    margin-bottom: 0;
  }
}
@media (max-width: 400px) {
  .foot-text-box:first-child .btn {
    font-size: 45px;
    padding: 20px 30px;
    border-radius: 60px;
  }
  .foot-text-box:first-child .btn-icon {
    width: 45px;
  }
}

@media (max-width: 380px) {
  .box {
    font-size: 14px;
  }
}
