/*
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: #f03e3e;
  --secondary-color: #7950f2;
  --tertiary-color: #701820;
  --background-color: #220606;
  --text-color: #fff5f5;
  --btn-text: #f3f0ff;
  --btn-color: #5f3dc4;
  --btn-color2: #b19fe4;
  --btn-color3: #dcd2f8;
  --btn-shadow: #1a0e3d;
}

@font-face {
  font-family: "rocks";
  src: url(media/fonts/rocks.otf);
}

/* UNIVERSALS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  font-family: "rocks", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  min-height: 100vh;
}

.container {
  width: 80%;
  margin: auto;
}

.loading-cover {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 500ms;
}

.fade-out {
  opacity: 0;
  pointer-events: none;
}

#video-container {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#entry-curtains {
  position: absolute;
  z-index: -1;
  width: auto;
  min-width: 100%;
  min-height: 100%;
}

#entry-button,
#loading {
  z-index: 1;
  font-size: 4.8rem;
}

#hero-container {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
#hero-container img {
  position: relative;
  width: auto;
  bottom: -5rem;
  z-index: -2;
}

#h-box,
#h-dog {
  position: absolute;
  transform: translateY(-200vh);
  transition: 300ms ease-in-out;
  animation-fill-mode: forwards;
  font-size: 12.8rem;
  color: var(--btn-color2);
}

#h-box {
  top: 5%;
  left: 27%;
  rotate: -35deg;
}
#h-dog {
  top: 7%;
  right: 25%;
  rotate: 35deg;
}

@keyframes fallDown {
  to {
    transform: translateY(0);
  }
}

#the-site {
  position: relative;
  margin-top: 100vh;
  display: none;
}

h1 {
  font-size: 7.2rem;
  padding: 0 12.6rem;
}

main .the-site {
  position: relative;
}

#main-title {
  transition: all 200ms;
  /* position: relative; */
}

.parent {
  overflow: hidden;
}

.hidden {
  transition: all 200ms;
}
.left {
  transform: translateX(-100vw);
}
.right {
  transform: translateX(100vw);
  text-align: right;
}

.show {
  transform: translate(0, 0) !important;
}

u {
  font-size: inherit;
}

.divider {
  width: 100%;
  height: 60rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
}

#divider1 {
  z-index: -2;
  bottom: 0;
  transform: translateY(30%);
}

#divider2 {
  z-index: -3;
  top: 0;
  transform: translateY(-65%);
}

.layer1 {
  background-image: url("media/imgs/divider1.svg");
}

.layer2 {
  top: -20%;
}
.layer3 {
  top: -75%;
}
.layer4 {
  top: 20%;
  transform: scale(-100%, -100%);
}

#canvas-container {
  width: 98vw;
  height: 98vh;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.page {
  height: 100vh;
  position: relative;
}
.page4 {
  height: 120vh;
  position: relative;
}

.card {
  padding: 3.6rem;
  margin: 3.6rem;
  background-color: var(--tertiary-color);
  color: var(--btn-text);
  font-size: 3.2rem;
  width: 35%;
  border-radius: 5px;
  position: relative;
  margin: auto;
  margin-top: 200px;

  display: flex;
}
.card-left {
  top: 5%;
  rotate: 7deg;
}
.dog-grid-card {
  width: 65%;
  color: var(--btn-text);
  background-color: var(--tertiary-color);
  border-radius: 5px;
  position: relative;
  margin: auto;
  margin-top: 200px;
  padding: 3.6rem;
  margin: 3.6rem;
  rotate: -4deg;
  left: 15%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.dogs {
  width: 100%;
}

.blobs {
  position: relative;
  overflow: hidden;
}

#cardboard-box {
  position: absolute;
  width: 500px;
  top: 63%;
  left: 24%;
  transform: translate(0, -45px);
  transition: all 200ms;
}
#bowler-hat {
  position: absolute;
  width: 350px;
  top: 3.5%;
  left: 27%;
  scale: -100% 100%;
  rotate: -5deg;
  z-index: 10;
  transform: translate(20px, 290px);
  transition: all 200ms;
}

.buttons {
  position: absolute;
  top: 35%;
  left: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2.4rem;
}

.dogblox {
  position: absolute;
  right: 30%;
  bottom: 12%;
  filter: var(--btn-color);
}

.accent {
  color: var(--btn-color2);
  font-size: inherit;
}

/* BUTTONS */

.btn {
  padding: 1.2rem 3.6rem;
  background-color: var(--btn-color);
  color: var(--btn-text);
  border-radius: 9px;
}

.clickable {
  background-color: var(--btn-color);
  box-shadow: 0 9px var(--btn-shadow);
  transform: translateY(-9px);
}

.clickable:hover {
  background-color: var(--btn-color2);
  box-shadow: 0 15px var(--btn-shadow);
  transform: translateY(-15px);
  cursor: pointer;
}

.clickable:active {
  background: var(--btn-color3);
  box-shadow: 0 5px var(--btn-shadow);
  transform: translateY(-5px);
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }
}

@media (max-width: 560px) {
  .hero-container img {
    width: 120%;
  }
}
