@import url("https://fonts.googleapis.com/css2?family=Boldonse&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Boldonse", system-ui;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--background-color);
  color: var(--color);
  display: flex;
  flex-direction: column;
}

:root {
  --background-color: #fef8ec;
  --orange-color: #f79645;
  --light-blue: #2d52a0;
  --red: #e62828;
  --pink: #ffe8c2c6;
  --yellow: #efc21e;
  --neon-pink: #ff007f;
  --electric-blue: #00e5ff;
  --black: #0d0d0d;
  --soft-purple: #9b59b6;
  --light-cyan: #81d4fa;
  --cream: #ffccbc;
  --slate: #2c3e50;
  --light-emerald: #2ecc71;
  --cloudy-white: #ecf0f1;
}

header {
  margin-top: -28px;
  height: 100vh;
  background-image: url("/portfolio-imgs/creative-sticker/welcome-sticker3.png");
  background-repeat: no-repeat;
  background-size: contain;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}


h1 {
  font-size: 50px;
  line-height: 1.5;
  color: var(--red);
  text-transform: uppercase;
}

.header-div {
  display: flex;
  flex-direction: column;
  margin-left: 40%;
  animation: fadeInUp 1s ease-out forwards;

  background-color: var(--pink);
  padding: 50px 120px;
  border-radius: 20px;
  border: 10px solid var(--red);
  background: linear-gradient(to bottom, #efc21ead, #f79545);

  animation: subtleMove 3s infinite ease-in-out;
}

header button {
  cursor: pointer;
  border: 2px solid var(--red);
  background-color: transparent;
  padding: 20px;
  font-weight: 300;
  font-style: bold;
  width: 70%;
  height: auto;
  align-self: center;
  font-size: 15px;
  margin-top: 2rem;
  transition: 0.3s;
  background-color: var(--red);
  color: #f8f8ec;
}

header button:hover {
  transition: 0.3s;
  background-color: transparent;
  color: var(--red);
}

@media (max-width: 920px) {
  .header-div {
    margin-left: 50%;

    padding: 0 20px;
    text-align: center;
  }

  h1 {
    font-size: 2rem;
  }

  header button {
    padding: 10px;
    width: 60%;
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .header-div {
    margin-left: 20rem;
    padding: 0 20px;
    text-align: center;
  }

  h1 {
    font-size: 2rem;
  }

  header button {
    padding: 10px;
    width: 60%;
    font-size: 10px;
  }
}

@media (max-width: 486px) {
  header {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header-div {
    width: fit-content;   
    text-align: center;   
    justify-content: center;
    transform: translateX(-25%);
  }
  

  .header-div a {
    display: flex;
    justify-content: center;
  }

  h1 {
    font-size: 1.2rem;
  }

  header button {
    padding: 10px;
    width: 60%;
    font-size: 8px;
  }@import url("https://fonts.googleapis.com/css2?family=Boldonse&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Boldonse", system-ui;
  font-weight: 400;
}

body {
  background-color: var(--background-color);
  color: var(--color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

:root {
  --background-color: #fef8ec;
  --red: #e62828;
  --pink: #ffe8c2c6;
  --slate: #2c3e50;
  --black: #0d0d0d;
}

/* Header */
header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  text-align: center;
  background-image: url("/portfolio-imgs/creative-sticker/welcome-sticker3.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  animation: fadeInUp 1s ease-in-out;
  position: relative;
}

.header-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px 120px;
  border-radius: 20px;
  border: 10px solid var(--red);
  background-color: var(--pink);
  animation: subtleMove 3s infinite ease-in-out;
}

h1 {
  font-size: 3rem;
  line-height: 1.5;
  color: var(--red);
  text-transform: uppercase;
}
header button {
  cursor: pointer;
  border: 2px solid var(--red);
  background-color: var(--red);
  color: #f8f8ec;
  padding: 20px;
  width: 70%;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 2rem;
  transition: 0.3s;
}

header button:hover {
  background-color: transparent;
  color: var(--red);
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtleMove {
  0% { transform: translate(0,0); opacity: 1; }
  25% { transform: translate(5px,-5px); opacity: 0.9; }
  50% { transform: translate(0,5px); opacity: 1; }
  75% { transform: translate(-5px,-2px); opacity: 0.95; }
  100% { transform: translate(0,0); opacity: 1; }
}


.ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 20px;
}

.item {
  display: inline-block;
  padding: 5px 10px;
  margin: 5px;
  font-weight: bold;
  border: 3px solid var(--red);
  border-radius: 10px;
  color: var(--red);
  animation: moveLeft 10s linear infinite;
}

@keyframes moveLeft {
  0% { transform: translateX(100%); opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 1; }
  100% { transform: translateX(-120%); opacity: 0; }
}

footer {
  padding: 30px 10%;
  text-align: center;
  color: white;
  background-color: var(--black);
  font-size: 12px;
}

@media (max-width: 920px) {
  .header-div {
    padding: 40px 40px;
  }
  h1 { font-size: 2.5rem; }
  header button { width: 80%; padding: 15px; font-size: 0.9rem; }
}

@media (max-width: 768px) {
  .header-div {
    padding: 30px 20px;
  }
  h1 { font-size: 2rem; }
  header button { width: 90%; padding: 12px; font-size: 0.8rem; }
}

@media (max-width: 486px) {
  header {
    background-size: cover;
  }
  .header-div {
    padding: 20px 15px;
    width: 90%;
  }
  h1 { font-size: 1.5rem; }
  header button { width: 100%; font-size: 0.75rem; padding: 10px; }
}
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-120px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRignt {
  from {
    opacity: 0;
    transform: translateX(120px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes subtleMove {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  25% {
    transform: translate(5px, -5px);
    opacity: 0.9;
  }
  50% {
    transform: translate(0, 5px);
    opacity: 1;
  }
  75% {
    transform: translate(-5px, -2px);
    opacity: 0.95;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

.ticker {
  z-index: -2;
  bottom: 20px;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
  text-transform: uppercase;
}
.item {
  position: absolute;
  white-space: nowrap;
  font-weight: bold;
  color: #e53935;
  left: 90%;
  transform: translateX(0);
  background-color: transparent;
  padding: 10px;
  border: 5px solid var(--red);
  border-radius: 10px;
  opacity: 0;
  animation: moveLeft 10s linear infinite;
}

.item:nth-child(1) {
  animation-delay: 0s;
}
.item:nth-child(2) {
  animation-delay: 2s;
}
.item:nth-child(3) {
  animation-delay: 4s;
}
.item:nth-child(4) {
  animation-delay: 6s;
}
.item:nth-child(5) {
  animation-delay: 8s;
}

@keyframes moveLeft {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  1% {
    opacity: 1;
  }
  99% {
    opacity: 1;
  }
  100% {
    transform: translateX(-120vw);
    opacity: 0;
  }
}

@keyframes moveRight {
  0% {
    transform: translateX(-120vw);
  }
  100% {
    transform: translateX(0);
  }
}

.ticker2 {
  margin-top: 0px;
}

.ticker3 {
  margin-top: -700px;
}

.ticker4 {
  margin-top: -600px;
}

.ticker5 {
  margin-top: -500px;
}

.ticker6 {
  margin-top: -400px;
}

.ticker7 {
  margin-top: -300px;
}

.ticker8 {
  margin-top: -200px;
}
.ticker9 {
  margin-top: -100px;
}

.ticker10 {
  margin-top: 100px;
}

.ticker11 {
  margin-top: 200px;
}

.ticker12 {
  margin-top: 300px;
}

.ticker13 {
  margin-top: 400px;
}

.ticker14 {
  margin-top: 500px;
}

.ticker15 {
  margin-top: 600px;
}



.item2 {
  color: var(--red);
  border: 5px solid var(--red);
  background-color: #ffc80063;

}

.color3 {
  color: var(--light-blue);
  margin-left: -100px;
  border: 5px solid var(--light-blue);
  background-color: rgba(232, 228, 255, 0.627);
}

.color4 {
  color: #f4845f;
  margin-left: -50px;
  border: 5px solid #f4845f;
  background-color: white;
}

.color5 {
  color: var(--slate);
  margin-left: -150px;
  border: 5px solid var(--slate);
  background-color: var(--pink);
}

.color6 {
  color: var(--cream);
  margin-left: -200px;
  background-color: crimson;
  border: 5px solid var(--cream);
}

footer{
      padding:30px 10%;
      text-align:center;
      color: white;
      background-color: var(--black);
    z-index: 1;
    font-size: 10px;
    margin-top: -40px;
}