@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --darkBlue: #19313e;
  --cream: #ffe4c4;
  --emerald: #40755e;
  --gold: #956d3c;
  --bronze: #634625;
  --seaFoam: rgb(33,230,191);
  --goldenRod: rgb(255,181,46);
  --bubbleGum: rgb(255,181,246);


}
* {  
  margin: 0;
  padding:0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  background: var(--darkBlue);
  overflow: hidden;
}
.sec2 {
  background-color: var(--seaFoam);
}
.sec3 {
  background-color: var(--goldenRod);
}
.sec4 {
  background-color: var(--bubbleGum);
}
.sec5 {
  background-color: var(--emerald);
}
h1 {
  font-size: 90px;
  color: #fff;
}
p {
  font-size: 35px;
  color: #0ef;
  font-weight: 600;
}
.sec2 p {
  color: rgb(51, 115, 114);
}
.sec3 p {
  color: #ff0
}
.sec4 p {
  color: #6a2d64;
}
.sec5 .images {
  display: flex;
  gap: 40px;
}
.sec5 .images img {
  max-width: 280px;
}

/* scrolling styles */

section .animate {
  opacity: 0;
  filter: blure(5px);
  transition: .3s;
}
section.show-animate .animate {
  opacity: 1;
}
.sec2 .animate {
  transform: translateX(100%);
}
.sec2.show-animate .animate {
  transform: translateX(0);
}
.sec3 .animate {
  transform: scale(.7);
}
.sec3.show-animate .animate {
  transform: scale(1);
}
.sec4 .animate {
  transform: rotate(30deg);
}
.sec4.show-animate .animate {
  transform: rotate(0);
}
.sec5 .animate {
  transform: translateX(100%);
}
.sec5.show-animate .animate {
  transform: translateX(0);
}
p.animate {
  transition-delay: .2s;
}
.sec5 img:nth-child(2) {
  transition-delay: .2s;
}
.sec5 img:nth-child(3) {
  transition-delay: .4s;
}


