:root {
  --primary-color: #111827;
  --accent-color: #F59E0B;
  --off-white: #FAFAF9;
  --main-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
  --small-shadow: 3px 3px 5px rgba(0, 0, 0, 0.25);
}

html{
  background-color: var(--primary-color);
}

body{
  min-width: 400px;
}

.animated {
  animation-duration: 2.5s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-30px);}
  60% {transform: translateY(-15px);}
}
.bounce {
  animation-name: bounce;
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
}

p {
  margin-bottom: 1rem;
}

p,
a {
  font-family: 'Roboto', sans-serif;
  color: var(--primary-color);
}

h1,
h2 {
  font-weight: 600;
  text-align: center;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.btn {
  background-color: var(--primary-color);
  color: var(--off-white);
  text-decoration: none;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: 5px;
  text-transform: uppercase;
  display: inline-block;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  text-align: center;
}

.btn:hover {
  background-color: var(--accent-color);
  color: var(--off-white);
}

.wrapper {
  max-width: 1200px;
  margin: auto;
}

.section {
  margin: 4rem 0;
}

.top {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax__behind {
  background-color: var(--primary-color);
  background-image: url("../assets/passdefend/bg.svg");
  background-attachment: fixed;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.parallax__foreground {
  box-shadow: var(--main-shadow);
  z-index: 9;
  padding: 1rem 2rem;
  background-color: var(--off-white);
}

.header {
  text-align: center;
  max-width: 720px;
  padding: 4rem 6rem;
  margin: 3rem 1rem;
  background-color: white;
  border-radius: 5px;
  box-shadow: var(--main-shadow);
}

.header__subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 2rem;
  font-weight: 300;
}

.header__btn {
  margin-bottom: 2rem;
}

.header__btn:visited {
  background-color: var(--primary-color);
  color: var(--off-white);
}

.header__paragraph {
  font-weight: 300;
  line-height: 1.5rem;
  margin-bottom: 0;
}

.features__item {
  padding: 1rem;
}

.features__item-header {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.features__item-content {
  margin-bottom: 0;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.screenshot{
  padding: 0 1rem;
}

.future {
  text-align: center;
}

.future__button {
  margin-top: 1rem;
}

.floating-btn {
  position: fixed;
  left: 0;
  top: 0;
  background-color: white;
  margin: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 5px;
  z-index: 999;
  box-shadow: var(--small-shadow);
  text-decoration: none;
  width: fit-content;
}

.shadow {
  box-shadow: var(--small-shadow);
}

.scrollinfo_bottom {
  color:white; 
  position:absolute; 
  bottom:0; 
  text-align:center; 
  width:100%;
}

@media (max-width: 768px) {
  h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

  .features__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 3.5rem;
  }

  .header{
    padding: 4rem 2rem;
  }

  .header__subtitle{
    font-size: 1.25rem;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }
}