.hp-header{
    background-color: var(--header-color);
    height:100vh;
    color: var(--header-color);
    font-size: 100px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-shadow: -2px 2px 0 white,
				  2px 2px 0 white,
				 2px -2px 0 white,
				-2px -2px 0 white;
}
.deslayers{
    position: absolute;
    right: 0;
    top: 0px;
}
.star{
    position: absolute;
    width: 50%;
    height: 75%;
    bottom: -250px;
    right: 850px;
}
.tlbgcontain{
    height: 16650px;
    width: 100%;
    background-size: 100%;
    padding-top: 550px;
    position: relative;
    background-color: var(--background-color);
}

.tlbgcontain::before,
.tlbgcontain::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tlbgcontain::before {
    background-image: url("https://static.igem.wiki/teams/4852/wiki/hp/tm-layer-backslide.png"); /* Set the path to your first image */
    height: 16490px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover; /* Adjust as needed */
    z-index: 1;
}

.tlbgcontain::after {
    background-image: url("https://static.igem.wiki/teams/4852/wiki/hp/tm-layer-frontslide.png"); /* Set the path to your second image */
    height: 16490px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover; /* Adjust as needed */
    z-index: 3;
}
.anim{
    position: relative;
    z-index: 1;
    width: 100px;
    height: 16300px;
    bottom: 500px;
}
.srgif{
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    width: 300%;
}
.blanks{
    height: 1000px;
}
.hp-title{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    -webkit-text-stroke: 1px var(--tab-label-color);
    -webkit-text-fill-color: var(--tab-label-color);
    font-size: 50px;
    padding-left: 100px;
    padding-top: 50px;
    background-color: var(--background-color);
}
.timeline-paragraph{
    position: absolute;
    bottom: 5100px;
    width: 80%;
    z-index: 4;
}
.timeline-box{
    position: relative;
    text-align:center;
    font-size: 20px;
    color: transparent;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: light;
    left: 530px;
    width: 70%;
    height: 200px;
    border-radius: 10px;
    box-shadow: -10px 20px 25px rgba(0, 0, 0, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    transition: 0.5s;
}
.timeline-text{
    font-family: 'Raleway', sans-serif;
    padding-top: 20px;
}
.timeline-text a{
    color: var(--text-color);
}
.timeline-text a:hover{
    color: var(--link-hover-color);
}
.timeline-box{
    height: 125%;
    color: var(--text-color);
}
.timeline-box .timeline-title{
    color: var(--title-color);
    font-size: 2.5rem;
}
.timeline-box .timeline-img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 20px;
    align-self: center;
}
.timeline-img-row{
    display: flex;
    flex-direction: row;
    width: 600px;
}
.timeline-img-row .timeline-img{
    margin-right: 20px;
}
.timeline-date{
    color: rgba(255, 255, 255, 0.5);
    font-size: 5rem;
}
.back-to-top-button{
    position: absolute;
    bottom: 90px;
    right: 650px;
    width: 140px;
    height: 60px;
    border-radius: 30px;
    background-color: var(--header-color);
    text-align: center;
    justify-content: center;
}
.back-to-top-button a{
    color:aliceblue;
    text-decoration: none;
    font-family: 'Raleway';
    font-size: 20px;
    position: relative;
    top:15px;
}
@media screen and (max-width: 120rem) {
    .hp-header{
        font-size: calc(2rem + 3vw);
    }
    .timeline-box{
        left: calc(10px + 35vw);
        padding: calc(5vw);
        width: 50vw;
    }
    .timeline-text{
        font-size: calc(4px + 1vw);
        padding-top: calc(2vw);
    }
    .timeline-box .timeline-title{
        font-size: calc(5px + 3vw);
    }
    .timeline-box .timeline-img{
        border-radius: calc(vw);
        margin-top: calc(2vw);
    }
    .timeline-img-row{
        width: calc(39vw);
    }
    .timeline-img-row .timeline-img{
        margin-right: calc(2vw);
    }
    .timeline-date{
        font-size: calc(20px + 3vw);
    }
    .anim{
        left: calc(10px + 3vw);
    }
    .srgif{
        top: 100px;
        width: calc(50px + 15vw);
    }
  }
  .ihp-subtitle{
    -webkit-text-stroke: var(--subtitle-color);
    -webkit-text-fill-color: var(--subtitle-color);
    font-size: 35px;
    padding-left: 10.5vh;
    padding-top: 4vh;
  }
  .hp-image-container{
    background-color: var(--image-bg-color);
    margin-top: 6.5vh;
    margin-bottom: 6.5vh;
    margin-right: 26vh;
    margin-left: 10.5vh;
    width: 800px;
    height: 600px;
    border-radius: 20px;
  }
  .hp-over-image-container{
    background-color: var(--image-bg-color);
    margin-top: 6.5vh;
    margin-bottom: 6.5vh;
    margin-right: 26vh;
    margin-left: 10.5vh;
    width: 150vh;
    height: 600px;
    border-radius: 20px;
  }
  .ihp-over-text{
    text-align: justify;
    color:var(--text-color);
    font-size: 20px;
    padding-left: 10.5vh;
    padding-top: 10px;
    padding-bottom: 1.3vh;
    font-family: 'Raleway', sans-serif;
    font-weight: light;
    max-width: 170vh;
    line-height: 1.8;
    text-indent: 50px;
}
.hp-ref{
    color:var(--text-color);
    font-size: 20px;
    padding-left: 10.5vh;
    padding-right: 16vh;
    padding-top: 10px;
    padding-bottom: 1.3vh;
    font-family: 'Raleway', sans-serif;
    font-weight: light;
    max-width: 185vh;
    line-height: 1.8;
  }
.hp-main-content{
    background-color: var(--background-color);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    position:relative;
    justify-content: center;
    flex-direction: row;
    padding: 5vh;
}