.project .infoboxin {
    position: relative;
    /* background-size: cover; */
    padding-top: 6vh;
    padding-bottom: 6vh;
    background-image: url(https://storage-asset.msi.com/event/2025/NB/dragonforged-dominance/images/slm-bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.project .infoboxin::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#000));
    background: linear-gradient(transparent, #000);
}

.project .infoboxin::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: -webkit-gradient(linear, left bottom, left top, from(transparent), to(#000));
    background: linear-gradient(to top, transparent, #000);
}
@media (max-width: 1300px) {
    .project .infoboxin {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 1050px) {
    .project .infoboxin {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (max-width: 800px) {
    .project .infoboxin {
        padding-top: 0px;
        padding-bottom: 50px;
    }
}

.infoboxin__title {
    position: relative;
    color: #fff;
    font-size: 35px;
    text-align: center;
    font-family: "adobe-garamond-pro", serif;   
    font-weight: 700;
    font-style: normal;
    z-index: 20;
}

@media (max-width: 996px) {
    .infoboxin__title {
        font-size: 25px;
    }
}

.infoboxin p {
    position: relative;
    font-size: 16px;
    text-align: center;
    color: #fff;
    margin-top: 10px;
    z-index: 20;
}

@media (max-width: 996px) {
    .infoboxin p {
        font-size: 14px;
    }
}

.project .infoboxin__box {
    position: relative;
    padding-bottom: 55%;
    width: 100%;
    margin-top: 70px;
    z-index: 20;
}

@media screen and (max-width: 1250px) {
    .project .infoboxin__box {
        padding: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

@media screen and (max-width: 767px) {
    .project .infoboxin__box {
        margin-top: 20px;
    }
}

.project .infoboxin__box-textbox {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 3;
    opacity: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.project .infoboxin__box-textbox h5 {
    font-size: 20px;
    color: #fff;
    line-height: 1.1;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .project .infoboxin__box-textbox h5 {
        font-size: 16px;
    }
}

.project .infoboxin__box-textbox p {
    font-size: 14px;
    color: #fff;
    line-height: 1.1;
    text-align: center;
    margin-top: 10px;
}

@media screen and (max-width: 767px) {
    .project .infoboxin__box-textbox p {
        font-size: 12px;
    }
}

.project .infoboxin__box-item {
    position: absolute;
}

@media screen and (max-width: 1250px) {
    .project .infoboxin__box-item {
        position: relative;
        top: 0 !important;
        left: 0 !important;
        width: 50% !important;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 767px) {
    .project .infoboxin__box-item {
        width: 100% !important;
    }
}

.project .infoboxin__box-item:hover .mainmaa {
    opacity: 1;
}

.project .infoboxin__box-item:hover .infoboxin__box-textbox {
    opacity: 1;
}

.project .infoboxin__box-item .mainmaa {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 3;
    opacity: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.project .infoboxin__box-item--0 {
    width: 27%;
    left: 0;
    top: 0;
    z-index: 1;
}

.project .infoboxin__box-item--0 .mainma {
    z-index: 1;
    position: relative;
}

.project .infoboxin__box-item--1 {
    width: 27%;
    left: 19.8%;
    top: 33%;
    z-index: 2;
}

.project .infoboxin__box-item--2 {
    width: 30%;
    left: 41.3%;
    top: 0%;
    z-index: 2;
}

.project .infoboxin__box-item--3 {
    width: 35%;
    left: 65%;
    top: 30%;
}

.project .infoboxin__box-item--3 .mainma {
    z-index: 1;
    position: relative;
}

.wave {
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 0;

    background: transparent;

}

@media screen and (max-width: 1250px) {
    .wave {
        display: none;
    }
}

.wave:before,
.wave:after {
    position: absolute;
    content: "";
    /* border: 4px solid #fff; */
    opacity: 1;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: wave 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    animation: wave 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    /* background: -webkit-gradient(linear,
            left top,
            left bottom,
            from(#ffffff),
            to(rgba(255, 255, 255, 0))) padding-box,
        -webkit-gradient(linear,
            left top,
            right top,
            from(#eb0079),
            color-stop(#c219f2),
            to(#0599df)) border-box;
    background: linear-gradient(#ffffff, rgba(255, 255, 255, 0)) padding-box,
        linear-gradient(to right, #eb0079, #c219f2, #0599df) border-box; */

    z-index: 0;

}


.wave:after {
    -webkit-animation-delay: -1s;
    animation-delay: -1s;
    
}

@-webkit-keyframes wave {
    0% {
        border: 2px solid #060f88;
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    50% {
        border: 2px solid #10398d;
        width: 120%;
        height: 120%;
        opacity: 0.6;
    }

    80% {
        border: 2px solid #10398d;
        width: 140%;
        height: 140%;
        opacity: 0.4;
    }

    100% {
        border: 2px solid #0d3c55;
        width: 160%;
        height: 160%;
        opacity: 0;
    }
}

/* @keyframes wave {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 110%;
        height: 110%;
        opacity: 0;
    }
} */