:root {
  --primary: #1E1E2F;
  --accent: #E04A4A;
  --text: #FFFFFF;
  --secondary: #373A4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family:'Segoe UI', sans-serif;
  background-color: var(--primary);
  color: var(--text);

  height: 100vh;
}

.question-section .slide img {
  max-width: 250px;
  width: 100%;
  height: auto;
  margin: 2rem;
}

.question-section .slide {
  text-align: center;
}

.question-section .slide img + img {
  margin-left: 1rem;
}

.question-section .slide.active img {
  animation: slideFadeIn 0.7s ease forwards;
}

@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.slides-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  animation: fadeUp 0.6s ease-out both;
}

.slide {
  display: none;
  transition: opacity 0.4s ease;
}

.slide.active {
  display: block;
}


.question-section h2, .course-section h2, .question-section h1 {
    margin-top: 12vh;
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    line-height: 120%;
    color: #fff;
}


.question-section h3 {
  text-align: center;
  margin: 0 auto;
  font-size: 1.5rem;
  max-width: 800px;
  padding-bottom: 5rem;
  
}

.question-section button {
  display: block;
  font-size: 1rem; 
  width: 100%;  
  max-width: 300px;
  margin: 0 auto;
  margin-top: 10rem;
  padding: 0.90rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#slide1 button {
  background-color: var(--accent);
  color: var(--text);
  border: 1px solid var(--accent);
}

#slide1 button:hover {
  border-color: var(--text);
}



.question-section button, .course-section button {
  padding: 1rem 1.5rem;
  background-color: #2C2C3E;
  color: var(--text);
  border-radius: 8px;
  font-weight: 600;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
}

.question-section button {
  text-align: center;
}






.course-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 3rem 1rem;
  min-height: 100vh;
  text-align: center;
}

.course-section h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 120%;
  color: var(--text);
  margin-bottom: 1rem;
}

.course-section button {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  font-size: 1.1rem;
}

.question-section button:hover, .course-section button:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}




@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



















.background-squares {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.background-squares .square {
  position: absolute;
  border-radius: 6px;
  box-shadow: 0 0 15px 5px;
  opacity: 0.15;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}


.background-squares .square1 {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  box-shadow: 0 0 20px 8px var(--accent);
  top: 10%;
  left: 15%;
  animation-name: pulseMove1;
  animation-duration: 6s;
}



.background-squares .square2 {
  width: 25px;
  height: 25px;
  background-color: var(--text);
  box-shadow: 0 0 18px 6px var(--text);
  top: 60%;
  left: 15%;
  animation-name: pulseMove2;
  animation-duration: 8s;
}

.background-squares .square3 {
  width: 30px;
  height: 30px;
  background-color: var(--accent);
  box-shadow: 0 0 22px 7px var(--accent);
  top: 80%;
  left: 70%;
  animation-name: pulseMove3;
  animation-duration: 7s;
}

.background-squares .square4 {
  width: 35px;
  height: 35px;
  background-color: var(--text);
  box-shadow: 0 0 20px 6px var(--text);
  top: 20%;
  left: 75%;
  animation-name: pulseMove4;
  animation-duration: 5s;
}


@keyframes pulseMove1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(15px, -10px) scale(1.1);
    opacity: 0.25;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
}

@keyframes pulseMove2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(-10px, 10px) scale(1.15);
    opacity: 0.3;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
}

@keyframes pulseMove3 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(20px, 5px) scale(1.1);
    opacity: 0.28;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
}

@keyframes pulseMove4 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
  50% {
    transform: translate(-15px, -15px) scale(1.12);
    opacity: 0.27;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.15;
  }
}


