.homePageDom {
    overflow-x: hidden;
    background-color: #F4FBFA;
}

#heroBackground {
    position: absolute;
    top: 10px;
    width: 100%;
    height: 100%;
    background-image: url('https://static.igem.wiki/teams/5915/home/p1bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: -1;
}

.p1textImg {
    width: 935px;
    height: 160px;
}

.leadText {
    line-height: 49px;
    font-family: Futura;
    font-weight: 500;
    color: #479129;
    font-size: 38px;
}

.descText {
    font-family: Gilroy;
    font-weight: 600;
    color: #265c35;
    font-size: 28px;
    line-height: 35px;
}

.firstImgDom {
    z-index: 1;
    opacity: 0;
    transform: translateX(300px);
}



.sectionSecondDom {
    padding: 100px 0 0 0;
    height: 890px;
    position: relative;

    .secondDomBg {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-image: url('https://static.igem.wiki/teams/5915/home/p2bg.webp');
        background-size: auto 100%;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.circleTextContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #37696e;
    font-weight: bold;
    font-size: 16px;
    text-align: center;


}

.circleText1 {
    position: absolute;
    top: 90px;
    left: 50%;
    margin-left: -197px;
    width: 290px;
    opacity: 0;
}

.circleText2 {
    position: absolute;
    top: 300px;
    left: 50%;
    margin-left: 170px;
    width: 280px;
    opacity: 0;
}

.circleText3 {
    position: absolute;
    top: 630px;
    left: 50%;
    width: 300px;
    margin-left: -136px;
    opacity: 0;
}

.blockGreenSection {
    background-color: rgba(26,110,81,1);
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-family: Futura;
    font-weight: 500;
    color: #f4fbfa;
    font-size: 38px;
    text-align: center;
    margin-top: 48px;
}

.p3ImgLeft {
    position: relative;
}
.p3ImgRight {
    position: relative;
}

.imgTypeDesc {
    position: absolute;
    right: 70px;
    top: 104px;
    line-height: 49px;
    font-family: Gilroy;
    font-weight: 700;
    color: #ffffff;
    font-size: 40px;
    text-align: right;
    z-index: 2;
}



.sectionWhyDom {
    padding-top: 240px;
    position: relative;
}

.whyDescTitle,
.howDescTitle {
    line-height: 40px;
    display: inline-block;
    font-family: Gilroy;
    font-weight: 700;
    color: #265c35;
    font-size: 44px;
    display: inline-block;
    transform: translateX(20px);
    display: flex;
    flex: 1;
    justify-content: space-between;
}

.bigTitleText {
    width: 100%;
    height: 203px;
    line-height: 203px;
    font-family: Gilroy;
    font-weight: 700;
    color: #37696e;
    font-size: 168px;
    position: absolute;
    top: -140px;
    left: -25px;
    opacity: 0;
    transform: scale(0.8);
}

.whyDescLeftText {
    text-align: left;
}

.whyTitleRightImgDom {
    text-align: right;
    transform: translateX(150%);
    opacity: 0;
}

.whyTitleRightImgDom img {
    width: 150px;
}

.why-content {
    opacity: 0;
    transform: translateY(-20px);
}

.bigTitleBack {
    width: 315px;
    height: 80px;
    background-color: #f5e388;
}

.sectionHowDom {
    padding-top: 240px;
    position: relative;
}

.howLittleDescText {
    line-height: 38px;
    font-family: Gilroy;
    font-weight: 700;
    color: #8eb33c;
    font-size: 24px;
    opacity: 0;
    transform: translateY(20px);
}

.sectionDesignDom {
    background: linear-gradient(0deg, #ffffff 0%, #e4f4f5 100%);
    padding-top: 40px;
}

.designTitleText {
    text-align: center;
    height: 73px;
    line-height: 73px;
    font-family: Futura;
    font-weight: 700;
    color: #37696e;
    font-size: 56px;
    margin: 36px 0;
}

.designImgDom {
    position: relative;
    width: 350px;
    height: 220px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 32px;
    box-shadow: 0px 4px 32px rgba(55, 105, 110, 0.12);
    opacity: 0;
    transform: scale(0.8);
}

.designImgContent {
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}


.designImgContent .hoverVideo {
    display: none;
    width: 100%;
    height: 100%;
}
.designImgContent:hover .hoverVideo{
    display: block;
}
.designImgContent:hover .unHoverImage{
    display: none;
}
.designImgContent img,
.designImgContent video,
.designImgContent iframe {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}