* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
body {
  width: 100vw;
  background-color: #f2f2f2;
  overflow-x: hidden;
}
header {
  width: 100%;
  min-height: 30px;
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  color: #f2f2f2;
  z-index: 999999;
  animation: appear 1s ease 0s;
  padding: 4px;
}
header a {
  color: inherit;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.25em;
  margin: 0 30px;
}
header button {
  font-weight: bold;
  font-size: 1.1em;
  border-radius: 8px;
  border: none;
}
.float {
  display: grid;
  align-content: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  position: sticky;
  top: calc(100vh - 85px);
  left: calc(100vw - 95px);
  background-color: green;
  border-radius: 50%;
  z-index: 99;
  padding: 15px 10px 10px;
}
.float a {
  overflow: visible;
  font-size: 50px;
  color: #f2f2f2;
}
@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#door-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}
#door {
  background: #f2f2f2;
  position: relative;
  perspective: 100vw;
  backface-visibility: visible;
}

#door .left,
#door .right {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  /*border: 5px solid #332119;*/
  content: "";
  background-color: #231712;
  background-image: url("imgs/door.png");
}
#door .left::before,
#door .right::before {
  width: 50px;
  height: 50px;
  background-size: cover;
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  border-radius: 50%;
  background-color: transparent;
  background-image: url("imgs/handle.png");
}
#door .right {
  left: unset;
  right: 0;
}
#door .right::before {
  left: 10px;
}
#door h1 {
  overflow: hidden;
  border-right: 0.15em solid transparent;
  white-space: nowrap;
  letter-spacing: 0.15em;
  /*animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;*/
  margin: 20px;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -10%;
  font-size: 8vw;
  text-align: center;
  opacity: 0;
  z-index: -1;
  width: 0;
}
#door p {
  position: absolute;
  width: 80%;
  left: 10%;
  bottom: 0;
  opacity: 0;
  z-index: -1;
  transform: translateY(100%);
}
#open {
  position: absolute;
  cursor: pointer;
  bottom: 16px;
  color: #f2f2f2;
  font-size: 10vw;
}
@media (max-width: 768px) {
  .float {
    display: grid !important;
    left: calc(100vw - 70px);
  }
  header {
    position: sticky;
    display: flex !important;
  }
  header a {
    margin: 0 10px;
  }
  #cover {
    width: 100vw;
    height: 100vh;
    display: grid;
    place-content: center;
    background-image: url("imgs/bg.jpg");
    background-size: cover;
    background-position: center;
    margin-top: -55px;
  }
  #cover h1 {
    color: #eee;
    font-size: 4em;
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(2px);
    background-color: rgba(120, 120, 120, 0.3);
  }
  #door-wrapper {
    height: fit-content;
    background-color: #f2f2f2;
  }
  #door .left,
  #door .right {
    display: none;
  }
  #door {
    padding: 20px 8px;
    text-align: center;
    margin-bottom: -25px;
  }
  #door h1 {
    margin: auto;
    margin-bottom: 25px;
    position: static;
    opacity: 1;
    min-width: fit-content;
  }
  #door p {
    width: 100%;
    opacity: 1;
    position: static;
    transform: translate(0);
  }
  #open {
    display: none;
  }
}
section h2 {
  text-align: center;
  font-size: 10vw;
  color: inherit;
  width: 100%;
}
#about {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 100vw;
  height: 100vh;
  background-color: #f2f2f2;
  color: black;
  align-items: center;
  padding: 10px;
  padding-top: 55px;
}
#about > div {
  flex-basis: 45%;
}
#about .left {
  opacity: 0.2;
  transform: translateX(110%);
}
#about .right {
  opacity: 0.5;
  transform: translateX(-110%);
}
#about img {
  width: 405px;
  margin: 0 25%;
  border: 2px solid #f2f2f2;
}
#about p {
  line-height: 1.5;
}
@media (max-width: 768px) {
  #about {
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    height: fit-content;
    padding: 0;
  }
  #about > div {
    flex-basis: unset;
    margin-top: 0;
  }
  #about .left {
    opacity: 1;
    transform: translateX(0);
  }
  #about .right {
    text-align: center;
    padding: 16px;
    opacity: 1;
    transform: translateX(0);
  }
  #about img {
    width: 75%;
    margin: 0;
    margin-left: 12.5%;
    border: 2px solid #f2f2f2;
  }
  #about p {
    display: inline;
    line-height: 1.2;
  }
}
#products {
  width: 100vw;
  height: 110vh;
  color: #000;
  min-height: calc(100vh - 100px);
  background-color: #f2f2f2;
  padding-bottom: 60px;
}
#card-containter {
  display: flex;
  overflow-x: hidden;
  width: 100vw;
  height: 100vh;
}
.card {
  display: grid;
  align-content: flex-start;
  justify-content: center;
  justify-items: center;
  flex-shrink: 0;
  flex-basis: 100%;
  margin-top: 100px;
  height: 100%;
}
.card img {
  width: 100%;
  border-radius: 8px;
}
.card p {
  width: 85%;
  margin-top: 20px;
  padding: 8px 20px;
  border-radius: 8px;
  color: #f2f2f2;
  font-weight: bold;
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  background-color: #bb8815;
}
@media (max-width: 768px) {
  section h2 {
    width: 100%;
    background-color: #bbb;
    padding: 10px;
  }
  #products {
    padding: 0;
    padding-top: 25px;
  }
  #card-containter {
    overflow-y: scroll;
    flex-direction: column;
    border: solid 1px #eee;
    scrollbar-color: #000 #000;
    height: 96vh;
  }
  .card {
    margin-top: 20px;
    flex-basis: unset;
    height: fit-content;
  }
  .card img {
    max-height: 90%;
    max-width: 100%;
  }
}
footer {
  padding: 20px;
  min-height: 100vh;
  background: #000;
  border-top: 1px solid #eee;
  color: #f2f2f2;
}
footer nav a {
  text-decoration: none;
  font-size: 2.5em;
  margin-left: 40px;
}
footer p {
  text-align: center;
  color: #f2f2f2;
  font-weight: bold;
  font-size: 5vw;
}
footer h2 {
  text-align: center;
  color: red;
  margin-bottom: 16px;
}
footer i {
  font-size: 4em;
  color: #f2f2f2;
  margin: 40px;
}
footer nav {
  margin-top: 25px;
  text-align: center;
}
.social-icons {
  text-align: center;
}
#contact h3 {
  position: relative;
  padding: 8px;
  margin: 25px 0;
}
#contact h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background-color: #eee;
}
#contact i {
  color: red;
  font-size: 1em;
  padding: 0 10px;
  margin: 0;
}
.social-icons a {
  color: #666;
  margin: 50px auto;
  font-size: 20px;
}
.hidden {
  display: none;
}
.pin-spacer {
  overflow-x: hidden;
}
@media (max-width: 768px) {
  footer nav a {
    text-decoration: none;
    font-size: 2em;
    display: block;
    margin: 0;
  }
  footer i {
    font-size: 2em;
    margin: 30px 20px;
  }
}
