/*variables*/
:root {
  --main-bg-color: #aba8a3;
  --main-text-color: #070608;
  --warm-text-color: rgba(255, 233, 201, 0.7);
  --dark-bg-color: rgba(82, 74, 67, 0.7);
  --main-dark-red: #3d0b0b;
  --brand-color: #b20710;
  --main-dark-bg: rgba(233, 199, 199, 0.938);
}
body,
html {
  font-family: "Lora", serif !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background-color: #000 !important;
}
/*making scrollbar not visible but still functioning*/
body::-webkit-scrollbar {
  display: none;
}
.main-bg {
  /* Set background properties */
  width: 100%;
  min-height: 100vh;
  background-image: url("../images/5.jpg"); /* Replace 'path/to/your/image.jpg' */
  background-size: cover; /* Cover the entire viewport */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
}

/* apply blur to the background */

.blur {
  background-image: url("../images/5-blur.jpg"); 
}

h1 {
  color: var(--main-dark-red) !important;
}
/*navbar styling*/
.navbar {
  background-color: black;
  font-size: 20px;
  position: fixed !important;
  width: 100%;
  z-index: 1000;
}
.navbar-brand {
  font-family: Graphique Pro;
  font-weight: bold;
}
.navbar .navbar-brand {
  color: var(--brand-color);
  font-size: 30px;
  padding: 0;
}
.navbar-brand:hover {
  color: var(--brand-color) !important;
}
.nav-link {
  color: var(--main-bg-color) !important;
}
.toggler {
  color: var(--main-dark-bg) !important;
  border: 1px solid var(--main-dark-bg) !important ;
}
/*class to add to the card when clicked*/
.border {
  border: 1px solid black;
}
/*here's everything that changes appearance in dark mode + changing of the backgrounds */
.dark-mode .blur {
  background-image: url("../images/lightmode2-blur.jpg") !important;
}
.dark-mode .main-bg {
  background-image: url("../images/lightmode2.jpg");
}
.dark-mode .navbar {
  background-color: #231603;
}
.dark-mode h1 {
  color: var(--main-text-color) !important;
}
.dark-mode .toggler {
  background-color: var(--main-dark-bg) !important;
  color: var(--main-dark-red) !important;
}
.dark-mode .jumbotron {
  background-color: var(--main-dark-bg);
  color: var(--main-text-color);
}
.dark-mode .card {
  background-color: #fff !important;
}
.dark-mode .card:hover {
  border: 1px solid black;
}
.dark-mode footer {
  background-color: rgba(174, 111, 17, 0.2);
}
/*card appearance and interactions*/
.card {
  background-color: white;
  transition: all 0.3s;
  height: 100% !important;
}
.card:hover {
  border: 1px solid black;
}
.card-body {
  flex: 0 !important;
}
/*main jumbotron styling*/
.jumbotron {
  background-color: var(--main-bg-color);
  color: var(--main-text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.l-page-color {
  min-height: 300px;
  border-radius: 10px;
  margin-top: 100px;
}
/* Increase the font size of the toggle button text */
.navbar label.btn-toggle {
  font-size: 18px !important; /* Add !important to ensure it takes precedence */
}
.occasion-link {
  text-decoration: none;
}

.next-button {
  border: none !important;
  border-radius: 0 !important;
  width: 150px;
  margin: 2% 0;
}
/*appearance of each question's jumbotron*/
#firstQuestionJ {
  min-width: 700px;
  min-height: 400px;
  border-radius: 10px;
  margin-top: 100px;
  display: none;
}
#secondQuestionJ {
  min-width: 700px;
  min-height: 400px;
  border-radius: 10px;
  margin-top: 100px;
  display: none;
}
.customCard2Q {
  margin-left: 100px;
}
#thirdQuestionJ {
  min-width: 700px;
  min-height: 400px;
  border-radius: 10px;
  margin-top: 200px;
  display: none;
  margin-left: 50px;
  margin-right: 50px;
} 
/*range styling*/
.customRange {
  margin-top: 80px;
}
.range-box {
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
input.customRangeSlider {
  padding-left: 50px;
  padding-right: 50px;
}
/*mood page appearance*/
.neutral-face {
  max-width: 55% !important;
}
.mood-img {
  max-width: 60%;
  margin: auto;
}
.happy-img {
  max-width: 54%;
}
.first-q-card {
  min-height: 320px;
}

#containerSide {
  margin: auto;
}
/*footer styling*/
footer {
  background-color: rgba(7, 4, 0, 0.075);
  color: white;
  font-weight: bold;
  height: 80px;
}
#landingContainer {
  margin-top: 200px;
  display: block;
}
/*styles of the main animated button*/
.animated-button1 {
  background: linear-gradient(-30deg, #3d0b0b 50%, #2b0808 50%);
  padding: 20px 40px;
  margin: 12px;
  display: inline-block;
  -webkit-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
  overflow: hidden;
  color: #f7d4d4;
  font-size: 20px;
  letter-spacing: 2.5px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.animated-button1::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #ad8585;
  opacity: 0;
  -webkit-transition: 0.2s opacity ease-in-out;
  transition: 0.2s opacity ease-in-out;
}

.animated-button1:hover::before {
  opacity: 0.2;
}

.animated-button1 span {
  position: absolute;
}

.animated-button1 span:nth-child(1) {
  top: 0px;
  left: 0px;
  width: 100%;
  height: 2px;
  background: -webkit-gradient(
    linear,
    right top,
    left top,
    from(rgba(43, 8, 8, 0)),
    to(#d92626)
  );
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #d92626);
  -webkit-animation: 2s animateTop linear infinite;
  animation: 2s animateTop linear infinite;
}

@keyframes animateTop {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.animated-button1 span:nth-child(2) {
  top: 0px;
  right: 0px;
  height: 100%;
  width: 2px;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(43, 8, 8, 0)),
    to(#d92626)
  );
  background: linear-gradient(to top, rgba(43, 8, 8, 0), #d92626);
  -webkit-animation: 2s animateRight linear -1s infinite;
  animation: 2s animateRight linear -1s infinite;
}

@keyframes animateRight {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  100% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

.animated-button1 span:nth-child(3) {
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 2px;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(43, 8, 8, 0)),
    to(#d92626)
  );
  background: linear-gradient(to right, rgba(43, 8, 8, 0), #d92626);
  -webkit-animation: 2s animateBottom linear infinite;
  animation: 2s animateBottom linear infinite;
}

@keyframes animateBottom {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}

.animated-button1 span:nth-child(4) {
  top: 0px;
  left: 0px;
  height: 100%;
  width: 2px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(43, 8, 8, 0)),
    to(#d92626)
  );
  background: linear-gradient(to bottom, rgba(43, 8, 8, 0), #d92626);
  -webkit-animation: 2s animateLeft linear -1s infinite;
  animation: 2s animateLeft linear -1s infinite;
}

@keyframes animateLeft {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  100% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
}

/* this css is for the flip card  */

.flip-container {
  perspective: 1500px;
  width: 1200px;
  height: 500px;
  position: relative;
  border-radius: 10px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  display: none;
}

.flip-container:hover .flipper,
.flip-container.flip .flipper {
  transform: rotateY(180deg);
}

.flipper {
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.front,
.back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: white;
}
.flip-card {
  background-color: white !important;
}
.flip-card:hover {
  border: none;
}
.front {
  background-color: var(--main-dark-red);
  color: var(--warm-text-color) !important;
  border-radius: 10px;
}
.back {
  background-color: var(--main-bg-color);
  border-radius: 10px;
  transform: rotateY(180deg);
}
/*container which appears only on small screens to show one recommendation*/
.media-container {
  display: none;
}
.media-row {
  max-width: 400px;
  background-color: var(--main-bg-color);
}
/*dark mode changes for it*/
.dark-mode .media-row {
  background-color: var(--main-dark-bg);
}
@media (max-width: 1000px) {
  .flipper {
    display: none;
  }
  .media-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }
  .poster1 {
    max-width: 200px;
  }
}
@media (max-width: 768px) {
  .jumbotron {
    min-width: 0 !important;
  }
  .occasion-cards {
    gap: 20px;
    min-width: 0;
  }
}
