body {
    background-color: #2a3439;
}
a {
    text-decoration: none;
    color: black;
}

.nav-main {
    margin-top: 0;
    display: flex;
    justify-content: space-around;
    background-image: url(assets/bg.jpg);
    background-color: transparent;
    color: rgb(255, 202, 103);
}
.nav-main ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    padding: 0 10px;
}
.nav-main li {
    padding: inherit;
    margin-top: 2px;
    font-size: larger;
    font-weight: 900;
}
.nav-main li:hover {
    border: 0.5px solid white;
}
.nav-main .cities-registor {
    margin-top: 0.3rem;
    padding: 5px 20px;
}
.nav-main .cities-registor #register-button {
    background-color: orange;
    color: white;
    border: solid 2px orange;
    border-radius: 6%;
    margin-left: 5rem;
    padding: 0.4rem;
}
.container1 {
    position: relative;
    width: 100%;
    height: 100rem;
    background-repeat: no-repeat;
}
#carouselExampleIndicators {
    border-radius: 5px solid white;
}
.nav-main .cities-registor #register-button:hover {
    background-color: rgb(255, 136, 1);
    color: black;
}
.nav-main .cities-registor #city {
    width: 13.5rem;
    border: 2px solid white;
    border-radius: 5%;
    text-align: center;
}
.sideimage {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 5.5rem;
}
.slogan {
    width: 100%;
    padding: 5rem;
    text-align: center;
    background-color: whitesmoke;
    font-size: large;
}
.slogan p {
    font-size: large;
}
.services {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.service-container-row1 {
    display: flex;
    justify-content: center;
    align-items: center;
}
.servicecards {
    width: 300px;
    height: 300px;
    justify-content: center;
    align-items: center;
}
.icons_services {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
}
.servicecards img {
    object-fit: initial;
    object-position: right;
    margin: 0 0.5rem 0 0.5rem;
}
.servicecards:hover {
    background-color: rgb(201, 200, 200);
}
.icons_services {
    place-self: center;
}
.servicecards #Servicedescri {
    text-align: center;
    font-size: xx-large;
    text-decoration: solid;
    color: grey;
    font-weight: bold;
    align-content: center;
}
.SliderBg {
    width: 100%;
    height: 500px;
    margin: 0;
    background-color: red;
    background-image: url(assets/bg.jpg);
}
.SliderBg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shopSearch {
    background-color: darkgrey;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 5rem;
    width: 100%;
}
#searchbar {
    width: 20rem;
    height: 2.5rem;
}
#search-flex:hover {
    border: 0.5px solid white;
    border-radius: 10%;
}
.foot-panel1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: medium;
    font-weight: 700;
    background-color: dimgray;
    padding: 0.4rem;
    width: 100%;
}
.foot-panel2 {
    background-color: rgb(165, 165, 165);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.foot-panel4 {
    width: 100%;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .nav-main {
        flex-direction: column;
    }
    .servicecards {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-main ul {
        flex-direction: column;
    }
    .sideimage {
        flex-direction: column;
    }
    .shopSearch {
        padding: 2rem;
    }
    #searchbar {
        width: 15rem;
        height: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-main {
        text-align: center;
    }
    .nav-main .cities-registor #register-button {
        margin-left: 0;
        padding: 0.3rem;
    }
    .container1 {
        height: auto;
    }
    .slogan {
        padding: 2rem;
    }
    .servicecards {
        width: 200px;
        height: 200px;
    }
    .icons_services {
        margin-top: 2rem;
    }
    .shopSearch {
        padding: 1rem;
    }
    .foot-panel1, .foot-panel2, .foot-panel4 {
        flex-direction: column;
        padding: 1rem;
    }
}
