.catagory h1 {
    font-weight: 600;
    font-size: 88px;
    text-align: center;
    color: #000000;
    line-height: 100px;
}

.catagory {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 14% 0px;
}
.catagory a{
    display: flex;
    justify-content: center;
}
.catagory p {
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    color: #000000;
    opacity: 0.5;
    line-height: 50px;
}

.maincatagory {
    position: relative;
}

.Polygon1 {
    position: absolute;
    top: 23%;
}

.Polygon2 {
    position: absolute;
    top: 10%;
    left: 83%;
}

.Polygon3 {
    position: absolute;
    top: 79%;
    left: 28%;
}

.Polygon4 {
    position: absolute;
    top: 13%;
    left: 43%;
}

.backgroundhomes {
    padding: 0% 0px 3% 0px;
    position: relative;
}


.homecard {
    margin: 21% 0px;
}

.homecard h1 {
    font-size: 48px;
    color: #000000;
    font-weight: 600;
}

.homecard p {
    font-weight: 400;
    font-size: 24px;
    color: #000000;
}

.mainbutton {
    display: flex;
    gap: 4%;
}

.CardImage {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 999999;
}

.shape3 {
    position: absolute;
    top: 80%;
}

.Main-Ellipsis {
    position: relative;
    margin-bottom: 8%;
}

.Ellipse2 {
    position: absolute;
    left: 4%;
}

.Ellipse3 {
    position: absolute;
    left: 8%;
}

.Ellipse4 {
    position: absolute;
    left: 13%;
}

.Ellipse5 {
    position: absolute;
    left: 18%;
}

.backgroundhome {
    padding: 4% 0px;
    position: relative;
}

.shape4 {
    position: absolute;
    top: 86%;
    left: 35%;
}

@media screen and (max-width: 376px) {
    .navbar-nav .dropdown-menu {
        width: 100%;
    }

    .mainCatagory .catagory h1 {
        font-size: 31px;
        line-height: 39px
    }

    .mainCatagory .catagory p {
        font-size: 23px;
        line-height: 35px;
    }

    .catagory a img {
        width: 60%;
    }

    .Polygon1 {
        display: none;
    }

    .Polygon2 {
        display: none;
    }

    .Polygon3 {
        display: none;
    }

    .Polygon4 {
        display: none;
    }

    .backgroundhomes .shape3 {
        display: none;
    }

    .backgroundhomes .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhomes .homecard h1 {
        font-size: 35px;
    }

    .CardImage img {
        width: 100%;
    }

    .Ellipse2 {
        left: 8%;
    }

    .Ellipse3 {
        left: 16%;
    }

    .Ellipse4 {
        left: 25%;
    }

    .Ellipse5 {
        left: 35%;
    }

    .backgroundhome .row {
        flex-direction: column-reverse;
    }

    .backgroundhome .shape3 {
        display: none;
    }

    .backgroundhome .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhome .homecard h1 {
        font-size: 35px;
    }

    .shape4 {
        display: none;
    }

    .mainbutton .button {
        padding: 15px 15px;
    }

    .homecard {
        margin: 1% 0px 15% 0px;
    }
}

@media screen and (max-width: 480px) {
    .navbar-nav .dropdown-menu {
        width: 100%;
    }

    .mainCatagory .catagory h1 {
        font-size: 34px !important;
        line-height: 39px !important;
    }

    .mainCatagory .catagory p {
        font-size: 23px !important;
        line-height: 35px !important;
    }

    .catagory a img {
        width: 60%;
    }

    .Polygon1 {
        display: none;
    }

    .Polygon2 {
        display: none;
    }

    .Polygon3 {
        display: none;
    }

    .Polygon4 {
        display: none;
    }

    .backgroundhomes .shape3 {
        display: none;
    }

    .backgroundhomes .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhomes .homecard h1 {
        font-size: 35px;
    }

    .CardImage img {
        width: 100%;
    }

    .Ellipse2 {
        left: 8%;
    }

    .Ellipse3 {
        left: 16%;
    }

    .Ellipse4 {
        left: 25%;
    }

    .Ellipse5 {
        left: 35%;
    }

    .backgroundhome .row {
        flex-direction: column-reverse;
    }

    .backgroundhome .shape3 {
        display: none;
    }

    .backgroundhome .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhome .homecard h1 {
        font-size: 35px;
    }

    .shape4 {
        display: none;
    }

    .mainbutton .button {
        padding: 15px 15px;
    }

    .homecard {
        margin: 1% 0px 15% 0px;
    }
}

@media screen and (max-width: 800px) {
    .mainCatagory .catagory h1 {
        font-size: 60px;
        line-height: 80px;
    }

    .mainCatagory .catagory p {
        font-size: 28px;
        line-height: 50px;
    }

    .catagory a img {
        width: 45%;
    }

    .Polygon3 {
        display: none;
    }

    .catagory {
        margin: 14% 0px 0px 0px;
    }

    .backgroundhomes .CardImage img {
        width: 100%;
    }

    .backgroundhomes .homecard h1 {
        font-size: 34px;
    }

    .backgroundhomes .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .Ellipse2 {
        left: 8%;
    }

    .Ellipse3 {
        left: 16%;
    }

    .Ellipse4 {
        left: 25%;
    }

    .Ellipse5 {
        left: 35%;
    }

    .mainbutton .button {
        padding: 15px 15px;
    }

    .backgroundhome .CardImage img {
        width: 100%;
    }

    .backgroundhome .homecard h1 {
        font-size: 34px;
    }

    .backgroundhome .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhome .shape4 {
        width: 89%;
        top: 69%;
        left: 6%;
    }

    .backgroundhomes .shape3 {
        width: 100%;
        top: 77%;
    }

    .backgroundhomes {
        padding: 9% 0px 3% 0px;
    }

    .backgroundhome {
        padding: 8% 0px;
        position: relative;
    }
}

@media screen and (max-width: 900px) {
    .mainCatagory .catagory h1 {
        font-size: 60px;
        line-height: 80px;
    }

    .mainCatagory .catagory p {
        font-size: 28px;
        line-height: 50px;
    }

    .catagory a img {
        width: 45%;
    }

    .Polygon3 {
        display: none;
    }

    .catagory {
        margin: 14% 0px 0px 0px;
    }

    .backgroundhomes .CardImage img {
        width: 100%;
    }

    .backgroundhomes .homecard h1 {
        font-size: 34px;
    }

    .backgroundhomes .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .Ellipse2 {
        left: 8%;
    }

    .Ellipse3 {
        left: 16%;
    }

    .Ellipse4 {
        left: 25%;
    }

    .Ellipse5 {
        left: 35%;
    }

    .mainbutton .button {
        padding: 15px 15px;
    }

    .backgroundhome .CardImage img {
        width: 100%;
    }

    .backgroundhome .homecard h1 {
        font-size: 34px;
    }

    .backgroundhome .homecard p {
        font-size: 16px;
        margin: 6% 0px;
    }

    .backgroundhome .shape4 {
        width: 85%;
        top: 69%;
        left: 9%;
    }

    .backgroundhomes .shape3 {
        width: 85%;
        top: 77%;
    }

    .backgroundhomes {
        padding: 9% 0px 3% 0px;
    }

    .backgroundhome {
        padding: 8% 0px;
        position: relative;
    }
}