:root {
  --bs-secondary: #332d2d;
  --bs-dark: #212529;
  --bs-info: #0dcaf0;
  --primary: #1e8094;
}
/* reset */

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-size: 18px;
  overflow-x: hidden;
  margin: 0;
  background-color: beige;
}
section {
  height: auto;
}
.container {
  background-color: var(--bs-dark);
}
/* utilities */
.no-snap {
  scroll-snap-align: initial !important;
}
.snap {
  scroll-snap-align: start;
}
.rounded-4 {
  border-radius: 16px;
}
.rounded-5 {
  border-radius: 21px;
}
/* nav styles */
.nav-link {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
}

/* hero section */
.seperation-line {
  border-bottom: white;
  border-style: solid;
  border-width: 1px;
  width: 70%;
}
.img-map {
  height: 250px;
}
.img-map:hover {
  scale: 1.05;
  transition: 0.4s;
}
.img-map:active {
  filter: brightness(0.6);
}

/* carousel */
.carousel-item img {
  height: 300px;
}
#carousel-card {
  width: auto;
}
/* PC Section */
/* #pc-section .col-lg-7 {
  border-left-color: black;
  border-left-width: 2px;
  border-left-style: solid;
}
.bottom-row {
  border-top-width: 2px;
  border-top-color: black;
  border-top-style: solid;
}
.top-row {
  border-width: 2px;
  border-color: black;
  border-style: solid;
}
.title-col {
  border-bottom-width: 2px;
  border-bottom-color: black;
  border-bottom-style: solid;
} */

/* card styles */
.card {
  width: 22rem;
  border-width: 0px;
  border-radius: 200px; /**just makes the border like not exist */
}
.card-body {
  border-radius: 20px;
  background-color: var(--bs-dark);
}
.card-title {
  font-size: 70px;
}
.card-1,
.card-4 {
  position: relative; /* Ensure the pseudo-element is positioned correctly */
  z-index: 0;
}
.card-1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/Computer\ \(3\).jpg");
  background-color: beige;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.5);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  z-index: -1; /* Place the pseudo-element behind the content */
  pointer-events: none; /* Ensure the pseudo-element does not interfere with interactions */
}

.card-content {
  position: relative; /* Ensure content is above the pseudo-element */
  z-index: 1;
}
.card-2,
.card-3 {
  background-color: var(--primary);
}

.card-4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/ML\ Review\ \ \(1\).jpg");
  background-color: beige;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.5);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  z-index: -1; /* Place the pseudo-element behind the content */
  pointer-events: none; /* Ensure the pseudo-element does not interfere with interactions */
}
/* modal styles */
.modal-dialog {
  max-width: 50vw;
}

.x-button {
  position: absolute;
  top: 2%;
  right: 3%;
}

/* pseudo */
.btn,
.down-arrow-svg {
  transition: 0.6s;
}
.btn:hover {
  scale: 1.05;
  filter: brightness(0.7);
  color: var(--bs-secondary);
}

.down-arrow-svg:hover {
  scale: 1.2;
}
/* Aniamtions */
#pc-section {
  display: none;

  opacity: 0; /* Start hidden */
  transform: translateX(-100px); /* Start off-screen */
  transition: opacity 1s linear, transform 1s linear; /* Smooth transition */
}
#ml-section {
  display: none;
  opacity: 0; /* Start hidden */
  transform: translateX(100px); /* Start off-screen */
  transition: opacity 1s linear, transform 1s linear; /* Smooth transition */
}
#ml-section.animate,
#pc-section.animate {
  display: block;
  opacity: 1; /* End visible */
  transform: translateX(0); /* End in place */
}

/* media property */
@media (max-width: 768px) {
  .modal-dialog {
    max-width: 70vw;
  }
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 0 auto;
    max-width: 80vw;
  }
  .card-title {
    font-size: 40px;
  }
  .card-content * {
    width: 100% !important;
  }
  .carousel-item {
    width: 100%;
  }
  .seperation-line {
    width: 70% !important;
  }
}
