@font-face {
  font-family: "Rubik";
  src: url("Rubik-VariableFont_wght.ttf") format("truetype");
}

h1 {
  font-weight: black !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --background-color: #fbc932;
  --text-color: #000000;
  --accent-color: #ef3124;
  --button-color: #343c76;
  --button-hover-color: #2a305e;
}

body {
  background: var(--background-color);
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--text-color);
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

.height {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

.mainBG {
  background: var(--background-color);
}

.accent-bg {
  background: var(--accent-color);
}

.accent-text {
  color: var(--accent-color);
}

[class^="bi-"]::before,
[class*=" bi-"]::before {
  line-height: normal;
}

label[for="pfp"] {
  cursor: pointer;
}

.buttonColor:hover {
  background: var(--button-hover-color) !important;
}

.buttonColor {
  background: var(--button-color) !important;
}

.checkFlex {
  display: block;
  position: relative;
  padding-left: 45px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.checkFlex input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
  border-radius: 50%;
}

.checkFlex:hover input ~ .checkmark {
  background-color: #eee;
}
.checkFlex input:checked ~ .checkmark {
  background-color: #fff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkFlex input:checked ~ .checkmark:after {
  display: block;
}

.checkFlex .checkmark:after {
  content: "\2714";
  font-weight: black;
  left: 3px;
  top: -5px;
  font-size: 2rem;
}
.drag-container.left,
.drag-container.right {
  width: 30px;
}

.drag-container.left {
  background: -moz-linear-gradient(
    left,
    rgba(220, 28, 19, 1) 0%,
    rgba(240, 116, 112, 0.62) 38%,
    rgba(246, 189, 192, 0.01) 100%
  );
  background: -webkit-linear-gradient(
    left,
    rgba(220, 28, 19, 1) 0%,
    rgba(240, 116, 112, 0.62) 38%,
    rgba(246, 189, 192, 0.01) 100%
  );
  background: linear-gradient(
    to right,
    rgba(220, 28, 19, 1) 0%,
    rgba(240, 116, 112, 0.62) 38%,
    rgba(246, 189, 192, 0.01) 100%
  );
}
.drag-container.right {
  background: -moz-linear-gradient(
    right,
    rgba(46, 182, 44, 1) 0%,
    rgba(131, 212, 117, 0.62) 38%,
    rgba(197, 232, 183, 0.01) 100%
  );
  background: -webkit-linear-gradient(
    right,
    rgba(46, 182, 44, 1) 0%,
    rgba(131, 212, 117, 0.62) 38%,
    rgba(197, 232, 183, 0.01) 100%
  );
  background: linear-gradient(
    to left,
    rgba(46, 182, 44, 1) 0%,
    rgba(131, 212, 117, 0.62) 38%,
    rgba(197, 232, 183, 0.01) 100%
  );
}

.icon {
  width: 40px;
}
footer .icon {
  width: 30px;
}

.logo {
  width: 50px;
}

header {
  height: 66px;
}

footer {
  height: 60px;
}
.grad {
  background: -moz-linear-gradient(
    bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.62) 38%,
    rgba(0, 0, 0, 0.01) 100%
  );
  background: -webkit-linear-gradient(
    bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.62) 38%,
    rgba(0, 0, 0, 0.01) 100%
  );
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.62) 38%,
    rgba(0, 0, 0, 0.01) 100%
  );
}

.left::before {
  content: "Don't Like";
  text-align: center;
  position: absolute;
  top: 50%;
  font-size: xx-large;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bolder;
  color: red;
  text-transform: uppercase;
}

.right::before {
  content: "Like";
  font-size: xx-large;
  white-space: nowrap;
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bolder;
  color: green;
  text-transform: uppercase;
}

@media only screen and (max-width: 768px) {
  .left::before {
    rotate: -90deg;
    font-size: large;
    right: -50%;
    white-space: nowrap;
    color: black;
  }
  .right::before {
    rotate: 90deg;
    font-size: large;
    left: -75%;
    color: black;
  }
}

.circle {
  border: 2px solid black;
}

/* Modal */

.modal {
  z-index: 1072;
}

.modal.show {
  display: block;
}

.modal-backdrop {
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  position: fixed;
  background: white;
  top: 0;
  left: 0;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 50%;
}

.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -50px);
}

.modal.show .modal-dialog {
  -webkit-transform: none;
  transform: none;
}

.scan-region-highlight {
  z-index: 99;
}

.marquee {
  --gap: 1rem;
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll 7.5s linear infinite;
}

.marquee__item {
  aspect-ratio: 1;
  width: 50px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

#moreInfo.show::before {
  content: "Click Me";
  font-size: 0.95rem;
  position: absolute;
  white-space: nowrap;
  top: -105%;
  z-index: 1000;
  padding: 0px 10px;
  background: rgb(226 232 240 / var(--tw-bg-opacity));
}

#shaker {
  rotate: -45deg;
}

#shaker:hover,
.shake {
  animation: shake 1s linear infinite;
}

@keyframes shake {
  0% {
    rotate: -45deg;
  }
  10% {
    rotate: -50deg;
  }
  20% {
    rotate: -55deg;
  }
  40% {
    rotate: -65deg;
  }
  50% {
    rotate: -70deg;
  }
  60% {
    rotate: -65deg;
  }
  80% {
    rotate: -55deg;
  }
  90% {
    rotate: -50deg;
  }
  100% {
    rotate: -45deg;
  }
}
