body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

body,
ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Menu section */
header {
    margin: 0 auto;
    background-color: #192a56;
    color: #fff;
}

nav ul {
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 5px;
}

nav li {
    margin: 0 10px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

nav a:hover {
    color: #fff;
    text-decoration: none;
}

/* Body section */
.main-section {
    width: 90%;
    margin: 0 auto;
    background-color: #fff;
    text-align: center;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
}

.main-section img {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

h1 {
    font-size: 7rem;
    margin: 50px 20px 50px 20px;

}

p {
    padding: 20px 50px 20px 50px;
    font-size: 2rem;
}

.property-carousel {
    width: 100%;
    margin: 0 auto;
    padding: 50px 0px 20px 0px;
    overflow: hidden;
}

.item {
    margin: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    height: 400px;
    overflow: auto;
}

.item:hover {
    transform: scale(1.02);
}

.item a:hover {
    text-decoration: none;
    color: #333;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

.item p {
    padding: 20px 0px 30px 0px;
}

.item a {
    text-decoration: none;
    color: black;
}

.modal-body p {
    text-align: center;
    padding-top: 20px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    font-size: 2rem;
    z-index: 2;
}

@media (max-width: 900px) {
    h1 {
        font-size: 5rem;
        }

    p {
        font-size: 0.7rem;
        }

    .property-carousel {
        padding: 0;
    }
    .item {
        height: fit-content;
    }
    .item p {
        padding: 20px 0px 10px 0px;
        }
}