@import url("https://fonts.googleapis.com/css?family=Quicksand:400,500,700");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Lato:300:400");
@import url("https://fonts.googleapis.com/css2?family=Maven+Pro:wght@100;200;300;400;500;600;700&display=swap");

html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
.format-container {
  width: 1160px;
  margin: 0 auto;

  position: relative;
}

.tline-block {
  padding: 20px 0;
  padding-bottom: 10vw;
  background-color: #0736b8;
  background-color: #ffffff;
}
.tline_title-box {
  padding: 0 0 30px;

  text-align: center;
}
.tline_tagline {
  font-size: 40px;
  color: rgb(84, 89, 95);
}
.tline_title {
  background-image: url(https://raw.githubusercontent.com/SochavaAG/example-mycode/master/pens/timeline/images/bg.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;

  background-size: cover;
  -webkit-background-clip: text;
  background-clip: text;
  text-fill-color: transparent;
  color: transparent;

  font-size: 80px;
}

.tline_item {
  margin: 0 0 50px;

  position: relative;
}
.tline_item:nth-child(2n) {
  text-align: right;
}

.tline_item:nth-child(2n) .tline-card_info {
  text-align: left;
}

.tline {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;

  position: relative;
}
.tline_line {
  width: 2px;
  background-color: #a8a8a8;

  position: absolute;
  top: 2px;
  left: 50%;
  bottom: 0;

  overflow: hidden;

  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}

.tline_line-progress {
  width: 100%;
  height: 20%;
  background-color: rgb(30, 85, 187);
}

.tline-card_box {
  padding: 0 0 20px 50%;
}
.tline_item:nth-child(2n) .tline-card_box {
  padding: 0 50% 20px 0;
}
.tline-card_point-box {
  display: inline-block;
  margin: 0 0 0 -7px;
  vertical-align: middle;
  transform: translate(-16%, -90%);
}
.tline_item:nth-child(2n) .tline-card_point-box {
  margin: 0 -1.55rem 0 0;
}
.tline-card_point {
  height: 15px;
  line-height: 15px;
  width: 15px;
  border: 3px solid rgb(255, 255, 255);
  background-color: #d4d4d4;

  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  color: #fff;

  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.js-active .tline-card_point {
  color: #ffffff;
  background-color: rgb(63, 84, 117);
}
.tline-card_meta-box {
  display: inline-block;
}
.tline-card_meta {
  display: none;
  margin: 0 0 0;

  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: 28px;
  color: #006eff;
}
.tline-card_item {
  display: inline-block;
  width: 45%;
  margin: -77px 0 0;
  /* Remove the background-color property */
  /* background-color: #e9e9e9; */

  background-size: cover; /* Ensure the background image covers the entire element */
  background-repeat: no-repeat; /* Prevent the background image from repeating */
  background-position: center; /* Center the background image */
  opacity: 0;

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;

  -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  -o-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);

  -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
  -moz-transition: -moz-transform 0.5s, opacity 0.5s;
  -o-transition: -o-transform 0.5s, opacity 0.5s;
  transition: transform 0.5s, opacity 0.5s;

  position: relative;

  filter: brightness(120%);
  height: 240px;
}
.tline-card_item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0; /* Adjust the z-index to be below text elements */
  background: linear-gradient(42deg, #15426d 50%, #59117a);
  opacity: 0.4;
  transition: transform 0.3s;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}
.image-container {
  position: relative;
  width: 100%;
  height: 240px; /* Set the height of the container */
  border-radius: 10px;
  overflow: hidden; /* Hide overflowing content */
}

.background-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease-in-out; /* Add smooth transition for scaling */
  transform-origin: center center; /* Set the transform origin to the center */
}

/* Apply scaling on hover */
.image-container:hover .background-image {
  transform: scale(
    1.1
  ); /* Adjust the scale factor as needed for the desired zoom level */
}

/* Optional: Add an overlay on hover */
.image-container:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.4
  ); /* Adjust the overlay color and opacity as needed */
  border-radius: 10px;
}

/* Adjust the position of the text and year */
.tline-card_inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px 8px;
  z-index: 1;
}
/* Apply scaling on hover */
.tline-card_item:hover {
  transform: scale(
    1.1
  ) !important; /* Adjust the scale factor as needed for the desired zoom level */
}
/* Apply scaling on hover */
.tline-card_item:hover .background-image {
  transform: scale(
    1.4
  ); /* Adjust the scale factor as needed for the desired zoom level */
}

/* Adjust the z-index of text elements to be above the after effect */
.tline-card_info,
.tline-card_title,
.tline-card_desc,
.tline-card_year {
  position: relative;
  z-index: 1;
}
.tline_item:nth-child(2n + 1) .tline-card_item {
  -webkit-transform: translateX(-200%);
  -moz-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  -o-transform: translateX(-200%);
  transform: translateX(-200%);
}
.tline_item:nth-child(2n) .tline-card_item {
  -webkit-transform: translateX(200%);
  -moz-transform: translateX(200%);
  -ms-transform: translateX(200%);
  -o-transform: translateX(200%);
  transform: translateX(200%);
}
.js-active.tline_item:nth-child(2n + 1) .tline-card_item,
.js-active.tline_item:nth-child(2n) .tline-card_item {
  opacity: 1;

  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.tline-card_arrow {
  height: 18px;
  width: 18px;
  margin-top: 20px;
  background-color: #292727;

  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;

  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.tline_item:nth-child(2n + 1) .tline-card_arrow {
  margin-left: calc(-18px / 2);
  margin-right: calc(-18px / 2);
}
.tline_item:nth-child(2n) .tline-card_arrow {
  margin-left: -10px;

  right: auto;
  left: 0;
}
.tline-card_img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  overflow-y: hidden;
  border-radius: 10px 10px 0 0;
}

.tline-card-year {
  position: relative;
  top: 0px;
  justify-content: center;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: #3c53b8;
}
/*
@media screen and (max-width: 1280px) {
  .tline-card_img {
    width: 100%;
    height: 100px;
  }
}*/

.tline-card_info {
  padding: 20px 30px;
}
.tline-card_title {
  display: block;
  margin: 10px 0 0;
  text-transform: uppercase;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
}
.tline-card_desc {
  line-height: 1.45;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.781);
}

@media only screen and (max-width: 979px) {
  .tline_line {
    left: 30px;
  }

  .tline_item:nth-child(2n) {
    align-items: left;
    /*text-align: left;*/
  }

  .tline-card_box,
  .tline_item:nth-child(2n) .tline-card_box {
    padding: 0 0 20px;
  }
  .tline-card_meta-box {
    display: none;
  }
  .tline-card_point-box,
  .tline_item:nth-child(2n) .tline-card_point-box {
    margin: 0 0 0 8px;
  }
  /*
  .tline-card_point {
    height: 40px;
    line-height: 40px;
    width: 40px;
  }*/
  .tline-card_item {
    width: 70vw;
    max-width: 90vw;
    margin: -65px 0 0 75px;
  }

  .tline_item:nth-child(2n + 1) .tline-card_item,
  .tline_item:nth-child(2n) .tline-card_item {
    -webkit-transform: translateX(200%);
    -moz-transform: translateX(200%);
    -ms-transform: translateX(200%);
    -o-transform: translateX(200%);
    transform: translateX(200%);
  }
  .tline_item:nth-child(2n + 1) .tline-card_arrow {
    right: auto;
    left: 0;
  }
  .tline-card_title {
    display: block;
  }
  .tline-card_arrow {
    margin-top: 12px;
  }
  .tline-card_desc {
    font-size: 0.2rem;
  }
}

@media only screen and (max-width: 767px) {
  .format-container {
    width: 96%;
  }
  /*
  .tline-card_img {
    height: auto;
    width: auto;
    
  }*/
}

@media only screen and (max-width: 639px) {
  .tline_title {
    font-size: 60px;
  }
  .tline-card_title {
    font-size: 1.8rem;
  }

  .tline-card_info {
    padding: 10px 15px;
    text-align: left; /* Adjust text alignment as needed */
  }
  .tline-card_desc {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 479px) {
}

@media (min-width: 768px) and (max-width: 979px) {
  .format-container {
    width: 750px;
  }
}

@media (min-width: 980px) and (max-width: 1161px) {
  .format-container {
    width: 960px;
  }
}

.tech {
  padding-top: 100px;
}

.color-square.techimage {
  background-image: url(assets/red-cells.png);
  background-position: 0 -120px;
  background-repeat: no-repeat;
  background-size: cover;
  height: 30vw;
  justify-content: center;
  align-items: center;
}

.color-square.techimage .writing-section h2 {
  font-size: 10vw;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-family: "Maven Pro", sans-serif;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: #006eff;
  filter: drop-shadow(4px 4px 3px rgba(61, 61, 61, 0.3));
  margin: 0;
  padding: 0;
  margin-top: 5vw;
}

.parallax-world-of-ugg .parallax-two h2 {
  font-size: 10vw;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-family: "Maven Pro", sans-serif;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: #006eff;
  filter: drop-shadow(4px 4px 3px rgba(61, 61, 61, 0.3));
  margin: 0;
  padding: 0;
  margin-top: 5vw;
}

.triangles-container {
  position: absolute;
  left: 12%;
}
.triangles {
  width: 6vw;
}
@media screen and (max-width: 979px) {
  .triangles-container {
    position: absolute;
    left: 1%;
  }
}

@media screen and (max-width: 1280px) {
  .triangles-container {
    position: absolute;
    left: 1%;
  }
}
