:root {
  --viewport-height: calc(var(--vh, 1vh) * 100);

  --white: #fff;
  --light-grey: #d3d3d3;
  --medium-grey: #a9a9a9;
  --dark-grey: #696969;
  --dim-grey: #585858;
  --charcoal-grey: #404040;
  --graphite: #2e2e2e;
  --almost-black: #1c1c1c;

  --vh: 12.71px;
}



/* Modern CSS Reset */

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

/* Remove default list styles */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Remove default margin on headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Remove input styling */
input,
button,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

/* Reset button styles */
button {
  background: transparent;
  cursor: pointer;
}

/* Use a more natural line height */
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
  font-family: sans-serif;
}

/* Prevent text overflows */
body {
  margin: 0;
  text-rendering: optimizeSpeed;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
}

/* Remove built-in form element styles */
textarea {
  resize: vertical;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove default table styles */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Set a basic focus style for accessibility */

/* Ensure links inherit color */
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

/* Block elements take full width */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

.hide {
  display: none !important;
  transition: all 0.3s;
}
.show {
  display: flex;
}

/* Fade-in animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Fade-out animation */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Apply animation to steps when shown or hidden */
.fade-in {
  animation: fadeIn 1s forwards; /* Fade in over 1 second */
}

.fade-out {
  animation: fadeOut 1s forwards; /* Fade out over 1 second */
}

/* Add useful height constraints */
html,
body {
  height: var(--viewport-height);
  display: flex;
  flex-direction: column;
  background-color: var(--graphite);
  color: var(--white);
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.video-container {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  width: 600px;
  height: var(--viewport-height);
}

#video {
  object-fit: cover;
  min-height: 100%;
  width: 100%;
  filter: blur(10px) opacity(50%) saturate(10%);
  z-index: 0;
  transform: scale(1.1);
}

#content {
  z-index: 10;
  display: flex;
  width: 600px;
  flex-direction: column;
  min-height: 100%;
}

header {
  padding: 10px;
}

.logo-heading {
  font-family: "Lexend", sans-serif;
  font-weight: 500;
  font-size: 3rem;
  letter-spacing: -0.2rem;
  opacity: 0.7;
  line-height: 3rem;
}

.logo-heading span {
  font-weight: 200;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 2;

  padding: 0 3rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}

.steps p {
  font-family: "Lexend", sans-serif;
  font-size: 2.5rem;
  line-height: 2.8rem;
  letter-spacing: -0.1rem;
  filter: drop-shadow(0px 0px 5px #00000070);
}

.play-btn {
  filter: brightness(0) saturate(100%) invert(94%) sepia(0%) saturate(26%)
    hue-rotate(77deg) brightness(106%) contrast(108%)
    drop-shadow(0px 0px 5px #00000070);

  cursor: pointer;
}

.btn {
  background: rgb(105, 235, 170);
  background: linear-gradient(
    90deg,
    rgba(105, 235, 170, 1) 0%,
    rgba(94, 221, 182, 1) 50%,
    rgba(79, 203, 199, 1) 100%
  );
  text-align: center;
  padding: 1rem;
  color: #fff;
  font-family: "Lexend", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  border-radius: 0.5rem;
  filter: drop-shadow(0px 0px 5px #00000020);
  min-width: 15rem;
}

.step-one {
  /* margin-bottom: 7rem; */
}

.step-three,
.step-four {
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-question {
  background: rgb(105, 235, 170);
  background: linear-gradient(
    90deg,
    rgba(105, 235, 170, 1) 0%,
    rgba(94, 221, 182, 1) 50%,
    rgba(79, 203, 199, 1) 100%
  );
  color: #fff;
  border-radius: 0.5rem;

  padding: 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  min-width: 15rem;
}

.btn-question h5 {
  padding: 1rem;
}

.btn-question img {
  width: 5rem;
}

@media screen and (max-width: 600px) {
  .video-container {
    width: 100vw;
  }

  #content {
    width: 100vw;
  }

  .logo-heading {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }

  .main {
    padding: 0 1rem;
  }

  .steps p {
    font-size: 2rem;
    line-height: 2.3rem;
  }

  .btn-question img {
    width: 4rem;
  }

  .steps {
    margin-bottom: 2rem;
  }

  .step-one {
    margin-bottom: 7rem;
  }
}
