.home-container .section{
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
}

.section .content{
  width: 60%;
  height: 100%;
  overflow: hidden;
}

.home-container .section:nth-child(1){
  /* background-image: url("https://static.igem.wiki/teams/4973/wiki/static/home-imgs/xxw1ais.jpg");
  background-size: cover;
  background-attachment: fixed; */

  background-color: #090909;
  position: sticky;
  top: 0;


  /* color: #fffceec5; */
  color: #fffceeb0;
  justify-content:start;
  align-items: start;
  z-index: 100;
  /* padding: 10%; */
  display: flex;
  row-gap: 5rem;
}

.img-container-1{
  height: 100vh;
  position: sticky;
  top: 0;
}

.home-1{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-container .section:nth-child(2){
  background-image: url("https://static.igem.wiki/teams/4973/wiki/static/home-imgs/pxfuel-1920.jpg"); 
  background-size: cover;
  background-attachment: fixed;	
  background-position-x: -50%;
  /* color: #fffcee93; */
  color: #fffceeb0;
  justify-content: end;
  align-items: center;
  z-index: 100;
  padding: 10%;
}

.home-container .section:nth-child(3){
  /* background-image: url("https://static.igem.wiki/teams/4973/wiki/static/home-imgs/xxw1ais.jpg");
  background-position: right; */

  background-image: url("https://static.igem.wiki/teams/4973/wiki/static/home-imgs/colloseum.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  
  justify-content: center;
  align-items: center;
  z-index: 100;
  /* padding-bottom: 200px; */
  color: #FFEFCA;
  height: 50vh;
    
}

.home-container .section:nth-child(4){
  /* color: #090909; */
  /* background-color: #cecec4; */
  /* background-color: #e3e0cd; */
  /* background-image: linear-gradient(to bottom, #4c4637, #504b3e, #554f46, #58544d, #5c5955); */
  background-image: url("https://static.igem.wiki/teams/4973/wiki/static/home-imgs/colloseum.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  
  justify-content: center;
  align-items: center;
  z-index: 100;
  color: #FFEFCA;
  height: 50vh;
    
}


.home-container .section:nth-child(5){
  /* color: #090909; */
  /* background-color: #cecec4; */
  /* background-color: #e3e0cd; */
  background-image: linear-gradient(to bottom, #5c5955, #837c71, #aba08d, #d5c7ab, #ffefca);
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding-bottom: 200px;
  color: #FFEFCA;
  height: 100vh;
    
}

.home-container .section:nth-child(6){
  /* color: #090909; */
  /* background-color: #cecec4; */
  /* background-color: #e3e0cd; */
  background-image: linear-gradient(to bottom, #fbf1ca, #f9efcf, #f6eed4, #f3ecd9, #f0ebde);
  justify-content: center;
  align-items: center;
  z-index: 100;
  padding-bottom: 200px;
  color: #68816c;
  height: 100vh;
}

.par{
    font-weight: 500;
    padding-bottom: 1rem;
    text-align: justify;
    /* max-width: 1200px; Adjust the maximum width as per your needs. */
    /* margin: 0 auto; Center-align the text within its container. */
}

.container-v1{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text-center{
  text-align: center;
  padding-bottom: 10%;
  padding-top: 10%
}

.container-v2{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 20%;
  padding-left: 10%;
}

.side-img{
  height: 50%;
  width: 50%;
  object-position: center;
  object-fit: contain;
}

/* Multicolor text */
/* .multicolor{
    background-image: linear-gradient(to left top, #f6f3ed, #f5f1e9, #f3efe6, #f2ede2, #f0ebdf, #f0ebdf, #f0ebde, #f0ebde, #f1ede1, #f3efe4, #f4f1e8, #f6f3eb);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
} */

/* Css for smooth Scrolling Effect */
/* 
.s-one {
    color: #fff;
    background-color: rgb(121, 49, 49);
}
.s-two {
    color: #fff;
    background-color: rgb(52, 116, 84);
}
.s-three {
    color: #fff;
    background-color: rgb(79, 64, 116);
}
.scroll-control {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateX(-50%);
    z-index: 999;
}
.scroll-control span {
    cursor: pointer;
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 10px 0;
    background-color: white;
    opacity: 0.7;
}
.scroll-control span:hover {
    opacity: 1;
}
@media all and (max-width: 1023px) {
    .scroll-control span {
        display: none;
    }
} */

.section-container-1{
  height: 50vh;
  width: 100%;
  /* color: white; */
  background-color: #1F1C24;

  /* background-color: #FFEFCA; */
    
}

.section-container-2{
  height: 100%;
  width: 100%;
  border-left: 500px solid #1F1C24;
  /* border-left: 500px solid #FFEFCA; */
  border-bottom: 50vh solid transparent;
  color: #000000;

}

.section-container-2v2{
  height: 50vh;
  width: 100%;
  /* Not bad */
  /* border-left: 500px solid transparent;
  border-bottom: 100vh solid #1F1C24; */

  /* Triangle */
  border-left: 500px solid #1F1C24;
  border-top: 50vh solid transparent; 

  /* Not bad */
  /* border-right: 500px solid #1F1C24;
  border-top: 100vh solid transparent;  */
    
}

.colloseum-par{
  text-align: center;
  margin-top: 12rem;
  font-size: 60px;
  opacity: 0;
  /* transition: all 5s; */
}

.breathing{
  animation: breathe 6s infinite forwards; 
}

@keyframes breathe {
  50%{
    transform: scaleX(1.2) scaleY(1.2);
    opacity: 1;
  }
  100%{
    transform: scaleX(1) scaleY(1);
    opacity: 0;
  }
}

.hm-cn-1{
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("https://static.igem.wiki/teams/4973/wiki/static/home-imgs/home-1.png");
  background-repeat: no-repeat;
  background-position-x: right;
  background-attachment: fixed;
  background-color: #090909;
}

.hm-cn-1::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 5rem;
  top: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0), #090909);
}

.hm-cn-2{
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("https://static.igem.wiki/teams/4973/wiki/static/home-imgs/home-2.png");
  background-repeat: no-repeat;
  background-position-x: right;
  background-attachment: fixed;
  background-color: #090909;
}

.hm-cn-2 h1{
  position: absolute;
  top: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

/* sticky text */
/* .hm-cn-2{
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background-image: url("https://static.igem.wiki/teams/4973/wiki/static/home-imgs/home-2.png");
  background-repeat: no-repeat;
  background-position-x: right;
  background-attachment: fixed;
  background-color: black;
} */

.left{
  
  width: 60%;
  height: 100%;

  padding-left: 10rem;
}

.bioGifContainer{
  display: flex;
  justify-content: center;
  align-items: center;
  
  width: 60%;
  height: 100%;
  padding-left: 10rem;
}

.bioGif{
  width: max(40rem, 100%);
}

.right{
  width: 40%;
  height: 100%;
  position: sticky;
  top: 0;
}

.creamConstruction{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 1500px;
  padding: 4rem;
  gap: 5rem;
}

.constructionContainer{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.constructionStage{
  display: flex;
  width: 100%;
  align-items: center;
}

.textContainer{
  height: 100%;
  max-width: 50%;
  padding-right: 2rem;
  padding-left: 12rem;
  padding-bottom: 3rem;
  display: flex;
  align-items: center;
  text-align: justify;
  border-right: 5px solid #fffceeb0;
}

.iconContainer{
  height: 100%;
  max-width: 50%;
  padding-left: 2rem;
  padding-bottom: 3rem;
  display: flex;
  align-items: center;
  border-left: 5px solid #fffceeb0;
}

.bioIcon{
  width: 257px;
  text-align: center;
}

.arrow{
  height: 9rem;
  transform: translateY(60%);
}

.creamContainer{
  width: 100%;
  text-align: center;
}

/* Smaller screens components start*/
.creamConstructionSmall{
  width: 100%;
  align-items: center;
  flex-direction: column;
  gap: 4rem;
  padding-inline: 5rem;
  padding-top: 5rem;
  display: none;
}

.creamImage{
  text-align: center;
}

.creamImage img{
  width: 100%;
}

.textList{
  list-style: none;
  display: flex;
  flex-direction: column;
  text-align: justify;
  font-size: 1.1rem;
  gap: 3rem;
}
/* Smaller screens components end*/


@media(max-width: 105rem){
  .textContainer{
    padding-left: 8rem;
  }
}

@media(max-width: 95rem){
  .textContainer{
    padding-left: 4rem;
  }
}

@media(max-width: 87rem){
  .textContainer{
    padding-left: 0rem;
  }

  .bioGifContainer{
    width: 100%;
    padding-left: 0;
  }

  .bioGif{
    width: max(40rem, 60%);
  }
}

@media(max-width: 79rem){
  .textContainer{
    font-size: 1.1rem;
    border-right: 2px solid #fffceeb0;
  }

  .iconContainer{
    border-left: 2px solid #fffceeb0;
  }
}

@media(max-width: 71rem){
  .textContainer{
    font-size: 1rem;
  }

  .bioIcon{
    max-width: 217px;
  }

  .bioIcon img{
    max-width: 217px
  }

  .arrow{
    height: 7rem;
  }
}

@media(max-width: 1100px){
  .hm-cn-2 h1{
    width: 100%;
    text-align: center;
    font-size: 2rem;
  }
}

@media(max-width: 929px){
  .creamConstruction{
    display: none;
  }

  .creamConstructionSmall{
    display: flex;
  }
}

@media(max-width: 769px){
  .creamConstructionSmall{
    padding-inline: 3rem;
  }

  .textList{
    font-size: 1rem;
  }
}

@media(max-width: 769px){
  .hm-cn-2{
    height: 600px;
  }

  .bioGifContainer{
    align-items: end;
    background-color: #1F1C24;
  }

  .bioGif{
    width: 35rem;
    margin-bottom: 5rem;
  }
}

@media(max-width: 623px){
  .hm-cn-2{
    height: 540px;
  }
  
  .creamConstructionSmall{
    padding-top: 0;
  }

  .bioGifContainer{
    align-items: center;
  }

  .bioGif{
    width: 30rem;
    margin-bottom: 5rem;
  }
}

@media(max-width: 575px){
  .hm-cn-2 h1{
    font-size: 1.4rem;
  }

  .bioGif{
    width: 25rem;
    margin-bottom: 5rem;
  }
}

@media(max-width: 520px){
  .creamConstructionSmall{
    padding-inline: 2rem;
  }
}