@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
@import url('https://fonts.cdnfonts.com/css/the-aesthetic-essential');


:root {
  --primary-color: #1b2631;
  --secondary_color: #283747;
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.container h1{
  font-family: 'The Aesthetic Essential', sans-serif;

}
/* body {
  background: rgb(63,94,251);
  background: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(70,252,227,0) 100%);  color: #000;
  overflow-x: hidden;
  padding-bottom: 50px;
} */

body {
	background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 800% 800%;
	animation: gradient 15s ease infinite;
	height: 100vh;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


#main_header {
  /* background: var(--secondary_color); */
  padding: 4rem 0;
  text-align: center;
}

#main_header h1 {
  font-size: 2.5rem;
}

#main_header i {
  padding: 0 1rem;
}

#timeline ul {
  /* background: var(--primary-color); */

  padding: 50px 0;
}

/* create a line */
#timeline ul li {
  list-style: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: #e74c3c;
}

/* boxes */
#timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 1rem;
  /* background: var(--secondary_color); */
  background: #fff;
  transition: all 0.5s ease-in-out;
  border-radius: 5px;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.5);
}

/* rightside */
#timeline ul li:nth-child(odd) div {
  left: 40px;
}

/* leftside */
#timeline ul li:nth-child(even) div {
  left: -434px;
}

/* dots */
#timeline ul li:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 25px;
  height: 25px;
  /* background: var(--secondary_color); */
  background: #cb4335;
  transform: translateX(-50%);
  border-radius: 50%;
}

/* Arrow Base */
#timeline div:before {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 0;
  right: 0;
  border-style: solid;
}

/* rightside arrow */
#timeline ul li:nth-child(odd) div:before {
  left: -15px;
  border-width: 8px 16px 8px 0px;
  border-color: transparent #fff;
}

/* left side arraow */
#timeline ul li:nth-child(even) div:before {
  right: -15px;
  border-width: 8px 0px 8px 16px;
  border-color: transparent #fff;
}

@media (max-width: 900px) {
  #timeline ul li div {
    width: 350px;
  }

  /* rightside */
  #timeline ul li:nth-child(odd) div {
    left: 40px;
  }

  /* leftside */
  #timeline ul li:nth-child(even) div {
    left: -380px;
  }
}

@media (max-width: 768px) {
  #timeline ul li {
    margin-left: 30px;
  }

  #timeline ul li div {
    width: calc(100vw - 90px);
  }

  /* leftside */
  #timeline ul li:nth-child(even) div {
    left: 40px;
  }

  /* rightside arrow */
  #timeline ul li:nth-child(even) div:before {
    left: -15px;
    border-width: 8px 16px 8px 0px;
    border-color: transparent #fff;
  }
}