.container{
    background-image: url(../images/main-bg.png);
    background-position: top left;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 100px;
}

.text {
    width: 400px;
}

@media (max-width: 750px) {
    .text h1:nth-child(1){
        color: var(--sub);
        border-top: 3px solid var(--main);
        margin: 10px 0;
        width: 258px;
        text-align: center;
    }
}

@media (min-width: 750px) {
    .text h1:nth-child(1){
        color: var(--main);
        border-top: 3px solid var(--main);
        margin: 10px 0;
        width: 258px;
        text-align: center;
    }
}

.text h1:nth-child(2){
    color: var(--w);
    border-bottom: 3px solid var(--main);
    margin: 10px 0;
    width: 258px;
    text-align: center;
}

.text p{
    margin: 20px 0;
    letter-spacing: 0.8px;
    line-height: 36px;
    font-size: 18px;
    color: var(--w);
    text-align: justify;
}

.img-home{
    width: 500px;
    background-color: var(--main);
}

.img-home img{
    width: 100%;
    display: block;
}

.categories{
    background-color: var(--sub);
    position: relative;
    padding-bottom: 80px;
}

.categories .more{
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translate(50%, 50%);
}

.categ-box{
    position: relative;
    width: 370px;
    height: 260px;
}

.categ-box .grdnt45{
    width: 220px;
    height: 160px;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
}

.categ-box img{
    width: 90%;
    border-radius: 20px;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 4;
    aspect-ratio: 4 / 2.7;
    display: block;
}

.categ-box:hover img{
    cursor: pointer;
    top: 15px;
    left: 15px;
}

.categ-box:hover .grdnt45{
    width: 100%;
    height: 100%;
}

.categ-box .btn{
    position: absolute;
    right: 15px;
    bottom: 15px;
    z-index: 6;
    border-radius: 20px !important;
}

.explan{
    width: 400px;
    text-align: justify;
}

.explan p {
    line-height: 40px;
    font-size: 19px;
}

.counts{
    background-color: var(--sub);
}

.contain{
    width: 260px;
    height: 260px;
    padding: 10px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pros{
    background-color: var(--main);
    width: 400px;
    height: 50px;
    position: absolute;
    animation: rotate 4s linear infinite normal;
    rotate: 45deg;
}

@keyframes rotate {
    from{
        transform: rotate(0deg);
    } 
    to{
        transform: rotate(360deg);
    }
}

.count{
    position: relative;
    z-index: 5;
    background-color: var(--sub);
    text-align: center;
    border: 2px solid var(--main);
    width: 240px;
    height: 240px;
    align-content: center;
    justify-content: center;
    border-radius: 50%;
}

.count img{
    width: 150px;
}

.count i.fa-solid{
    font-size: 6em;
    margin-bottom: 15px;
    color: var(--main);
}

.count h2{
    color: var(--w);
}

.svg{
    width: 100%;
    height: 100px;
    margin-top: -5px;
    margin-bottom: -5px;
}

.img-box{
    width: 400px;
    height: 280px;
    position: relative;
}

.img-box:hover img{
    top: 40px;
    left: 40px;
}

.img-box:hover .sub{
    top: 0px;
    left: 0px;
}

.img-box:hover img{
    top: 40px;
    left: 40px;
}

.img-box img{
    position: absolute;
    width: 360px;
    height: 240px;
    top: 0;
    left: 0;
    z-index: 6;
    border-radius: 10px;
    box-shadow: -5px -5px 10px var(--shd);
}

.img-box .main{
    position: absolute;
    border-radius: 10px;
    width: 360px;
    height: 240px;
    top: 20px;
    left: 20px;
    z-index: 5;
    background-color: var(--main);
}

.img-box .sub{
    background-color: var(--sub);
    border-radius: 10px;
    position: absolute;
    width: 360px;
    height: 240px;
    top: 40px;
    left: 40px;
    z-index: 4;
}

.text2 h2{
    color: var(--main);
    font-size: 1.8em;
}

.text2 ul li{
    line-height: 38px;
    font-size: 18px;
    list-style-position: outside;
    list-style-type: none;
}

.text2 ul li i{
    color: green;
    font-weight: 900;
    font-size: 28px;
}

.text2{
    width: 500px;
}