*{
    margin: 0%;
    padding: 0%;
}

/* body */
body{
    background: whitesmoke;
    overflow-x: hidden;
    width: 100vw;
}

/* anchor tag */
a{
    text-decoration: none;
    color: black;
}

/* header */
header{
    display: block;
    width: 100vw;
    position: sticky;
    top: 0%;
    z-index: 12;
    background: white;
}

/* logo container */
header .logo-container{
    display: flex;
    justify-content: center;
    margin-block: 10px 5px;
    cursor: default;
    pointer-events: none;
}
header .logo-container .logo{
    display: flex;
    justify-content: center;
}
header .logo-container .logo img{
    width: 200px;
    height: 80px;
    
}

/* nav bar */
header .nav-bar{
    display: flex;
    justify-content: center;
    margin-block: 20px;
}
header .nav-bar ul{
    display: flex;
    gap: 30px;
    list-style: none;
}
header .nav-bar ul li a{
    font-size: 18px;
    font-family: sans-serif;
    font-weight: bold;
    transition: ease-in-out 0.1s;
}
header .nav-bar ul li a:hover{
    border-bottom: 2px solid black;
    padding-block-end: 3px;
}
/* active link */
header .nav-bar ul li .active{
    color: orangered;
    font-size: 20px;
    font-weight: bolder;

}
header .nav-bar ul li .active:hover{
    border-bottom: 2px solid orangered;
    padding-block-end: 3px;
}

/* search bar */
header .search-bar{
    display: flex;
    justify-content: center;
}
header .search-bar .form{
    display: flex;
    justify-content: flex-end;
}
header .search-bar .form form{
    display: block;
}

header .search-bar .form form input{
    padding: 2px;
    border: 0.1px solid grey;
    border-radius: 7px;
    width: 100%;
    font-family: sans-serif;

}
header .search-bar .form form input::placeholder{
    font-family: serif;
    font-style: italic;
}

/* search results */
header .search-results{
    display: none;
    position: absolute;
    z-index: 5;
    width: 40%;
    margin-block: 10px;
    background: white;
    padding: 3px;
}
header .search-results.active{
    display: flex;
}
header .search-results ul{
    list-style: none;
    width: 100%;
    display: block;

}
header .search-results ul li{
    display: block;
    margin-inline: 10px;
    background: white;
    padding: 3px;
    width: 100%;
}
header .search-results ul li:nth-child(even){
    background: whitesmoke;
}

/* body-container */
.body-container{
    width: 100vw;
    height: 70vh;
    display: flex;
    justify-content: center;
}
.body-container .body-content{
    width: 70%;
    background: white;
    background-attachment: fixed;
    height: 100%;
    background-position: fixed;
}
.body-container .body-content .heading{
    height: 90%;
    margin: 10px;
    background: url("images/Namayo\ Heritage\ \(12).jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}
.body-container .body-content .heading .heading-content{
    background: white;
    padding: 15px;
    border-radius: 10px;
    opacity: 0.8;
    max-width: 60%;
}
.body-container .body-content .heading .heading-content h1{
    color: orangered;
    text-align: left;
    font-family: sans-serif;
    font-weight: bold;
    padding-block: 10px;
    transition: ease-in-out 0.2s;
}
.body-container .body-content .heading .heading-content p{
    color: black;
    text-align: left;
    font-family: sans-serif;
    font-style: oblique;
    padding-block: 10px;
    transition: ease-in-out 0.2s;
}

/* properties-container */
.properties-container{
    margin-block: 0%;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}
.properties-container .properties{
    width: 80%;
    background: white;
    background-attachment: fixed;
    border-radius: 10px;
    display: block;
    transition: ease 0.2s;
}

.properties-container .properties .properties-heading{
    margin: 10px;
    display: flex;
    justify-content: center;
    cursor: default;
}
.properties-container .properties .properties-heading h1{
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    background: whitesmoke;
    padding: 3px;
}

.properties-container .properties .properties-list{
    display: flex;
    justify-content: center;

}
.properties-container .properties .properties-list .property-details{
    display: block;
    background: white;
    box-shadow: -1px 2px 2px 3px whitesmoke;
    padding: 10px;
    border-radius: 5px;
    margin-block-end: 20px;
}
.properties-container .properties .properties-list .property-details:hover{
    padding: 7px;
}
.properties-container .properties .properties-list .property-details .image{
    width: 400px;
    height: 250px;
}
.properties-container .properties .properties-list .property-details .image img{
    width: 400px;
    height: 200px;
    background: linear-gradient(180deg, white, whitesmoke, grey);
    border: none;
    border-radius: 10px;
    filter: brightness(80%);
}
.properties-container .properties .properties-list .property-details .image .name{
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 180px;
}
.properties-container .properties .properties-list .property-details .image .name p{
    color: white;
    font-family: sans-serif;
    font-weight: bold;
}

.properties-container .properties .properties-list .property-details .enquiry{
    display: flex;
    justify-content: center;
}

.properties-container .properties .properties-list .property-details .enquiry button{
    cursor: pointer;
    padding: 2px;
    border: 0.1px solid grey;
    border-radius: 5px;
}

/* blog-header */
.blog-header{
    display: flex;
    justify-content: center;
    cursor: default;
}
.blog-header h1{
    font-family: sans-serif;
    text-align: center;
    background: white;
    width: fit-content;
    padding: 3px;
}

/* blog container */
.blog-container{
    width: 100vw;
    display: flex;
    justify-content: center;
}
.blog-container .blog-content{
    cursor: default;
    display: flex;
    gap: 10px;
    width: 100vw;
    position: relative;
    animation: 10s anim infinite;
    animation-delay: 5s;
    
}
.blog-container .blog-content:hover{
    animation-play-state: paused;
    cursor: pointer;
}
.blog-container .blog-content .blog{
    display: block;
}
.blog-container .blog-content .blog .message{
    position: absolute;
    z-index: 12;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 50vw;

}
.blog-container .blog-content .blog .message p{
    color: white;
    font-family: sans-serif;
    font-weight: bold;
}

.blog-container .blog-content .blog .background{
    display: flex;
    justify-content: center;
}
.blog-container .blog-content .blog .background img{
    width: 50vw;
    height: 400px;
    filter: brightness(80%);
    border-radius: 10px;
}

/* animation */
@keyframes anim{
    0%{
        margin-left: 0%;
    }
    100%{
        margin-left: -100%;
    }
}

/* footer */

footer{
    margin-block-start: 10px;
    width: 100vw;
    background: white;
}
footer .footer-container{
    display: flex;
    justify-content: center;   
}
footer .footer-container .footer-content{
    display: block;
    cursor: default;
    width: 70%;
}
footer .footer-container .footer-content .logo{
    display: flex;
    justify-content: center;
}

footer .footer-container .footer-content .logo{
    display: flex;
    justify-content: center;
}
footer .footer-container .footer-content .logo img{
    width: 150px;
    height: 70px;
    
}
footer .footer-container .footer-content .logo h1{
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 22px;
    color: orangered;
}

/* links */
footer .footer-container .footer-content .links{
    display: flex;
    justify-content: space-between;
}
footer .footer-container .footer-content .links ul{
    list-style: none;
}
footer .footer-container .footer-content .links ul li{
    margin-block: 10px;
}
footer .footer-container .footer-content .links ul li a{
    transition: ease 0.2s;
}
footer .footer-container .footer-content .links ul li a:hover{
    border-bottom: 2px solid black;
}

footer .footer-container .footer-content .links .social{
    display: flex;
    gap: 20px;
}
footer .footer-container .footer-content .links .social li{
    font-size: larger;
    margin-inline-end: 15px;
}

/* copy right */
footer .footer-container .footer-content .copy-right{
    display: flex;
    justify-content: center;
    background: whitesmoke;
    border-radius: 10px;
    padding: 3px;
}
footer .footer-container .footer-content .copy-right p{
    text-align: center;
}

/* developer */
footer .footer-container .footer-content .developer{
    display: flex;
    justify-content: flex-end;
    padding: 3px;
}
footer .footer-container .footer-content .developer p{
    text-align: center;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
}


/* 768px screen resolutions */

@media(max-width: 768px){
 
    /* header */
    header{
        display: block;
        width: 100vw;
        position: sticky;
        top: 0%;
        z-index: 12;
        background: white;
    }

    /* logo container */
    header .logo-container{
        display: flex;
        justify-content: center;
        margin-block: 15px;
        cursor: default;
        pointer-events: none;
    }
    header .logo-container .logo{
        display: flex;
        justify-content: center;
    }
    header .logo-container .logo img{
        width: 150px;
        height: 50px;
        
    }
    

    /* nav bar */
    header .nav-bar{
        display: flex;
        justify-content: center;
        margin-block: 20px;
    }
    header .nav-bar ul{
        display: flex;
        gap: 15px;
        list-style: none;
    }
    header .nav-bar ul li a{
        font-size: 16px;
        font-family: sans-serif;
        font-weight: bold;
        transition: ease-in-out 0.1s;
    }
    header .nav-bar ul li a:hover{
        border-bottom: 2px solid black;
        padding-block-end: 3px;
    }
    /* active link */
    header .nav-bar ul li .active{
        color: orangered;
        font-size: 18px;
        font-weight: bolder;

    }
    header .nav-bar ul li .active:hover{
        border-bottom: 2px solid orangered;
        padding-block-end: 3px;
    }

    /* search bar */
    header .search-bar{
        display: flex;
        justify-content: center;
    }
    header .search-bar .form{
        display: flex;
        justify-content: flex-end;
    }
    header .search-bar .form form{
        display: block;
    }

    header .search-bar .form form input{
        padding: 2px;
        border: 0.1px solid grey;
        border-radius: 7px;
        width: 100%;
        font-family: sans-serif;

    }
    header .search-bar .form form input::placeholder{
        font-family: serif;
        font-style: italic;
    }

    /* search results */
    header .search-results{
        
        position: absolute;
        z-index: 50;
        opacity: 0.9;
        width: 100%;
        height: 80vh;
        margin-block: 10px;
        background: white;
        padding: 3px;
    }
    header .search-results.active{
        display: flex;
    }
    header .search-results ul{
        list-style: none;
        width: 100%;
    }
    header .search-results ul li{
        margin-inline: 10px;
        background: white;
        padding: 3px;
        width: 100%;
    }
    header .search-results ul li:nth-child(even){
        background: whitesmoke;
    }

    /* body-container */
    .body-container{
        width: 100vw;
        height: 60vh;
        display: flex;
        justify-content: center;
    }
    .body-container .body-content{
        width: 90%;
        background: white;
        height: 100%;
        background-position: fixed;
    }
    .body-container .body-content .heading{
        height: 80%;
        margin: 10px;
        background: url("images/Namayo\ Heritage\ \(12\).jpg");
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: default;
    }
    .body-container .body-content .heading .heading-content{
        background: white;
        padding: 5px;
        border-radius: 10px;
        opacity: 0.8;
        max-width: 90%;
    }
    .body-container .body-content .heading .heading-content h1{
        color: orangered;
        text-align: left;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 22px;
        padding-block: 10px;
        transition: ease-in-out 0.2s;
    }
    .body-container .body-content .heading .heading-content p{
        color: black;
        text-align: left;
        font-family: sans-serif;
        font-style: oblique;
        font-size: 16px;
        padding-block: 10px;
        transition: ease-in-out 0.2s;
    }

    /* properties-container */
    .properties-container{
        margin-block: 0%;
        width: 100%;
        display: flex;
        justify-content: center;
        overflow-x: hidden;
    }
    .properties-container .properties{
        width: 90%;
        background: white;
        border-radius: 10px;
        display: block;
        transition: ease 0.2s;
    }

    .properties-container .properties .properties-heading{
        margin: 10px;
        display: flex;
        justify-content: center;
        cursor: default;
    }
    .properties-container .properties .properties-heading h1{
        text-align: center;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 22px;
        background: whitesmoke;
        padding: 3px;
    }

    .properties-container .properties .properties-list{
        display: flex;
        justify-content: center;

    }
    .properties-container .properties .properties-list .property-details{
        display: block;
        background: white;
        box-shadow: -1px 2px 2px 3px whitesmoke;
        padding: 10px;
        border-radius: 5px;
        margin-block-end: 20px;
    }
    .properties-container .properties .properties-list .property-details:hover{
        padding: 7px;
    }
    .properties-container .properties .properties-list .property-details .image{
        width: 300px;
        height: 200px;
    }
    .properties-container .properties .properties-list .property-details .image img{
        width: 300px;
        height: 180px;
        background: linear-gradient(180deg, white, whitesmoke, grey);
        border: none;
        border-radius: 10px;
        filter: brightness(80%);
    }
    .properties-container .properties .properties-list .property-details .image .name{
        position: absolute;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 300px;
        height: 180px;
    }
    .properties-container .properties .properties-list .property-details .image .name p{
        color: white;
        font-family: sans-serif;
        font-weight: bold;
    }

    .properties-container .properties .properties-list .property-details .enquiry{
        display: flex;
        justify-content: center;
    }

    .properties-container .properties .properties-list .property-details .enquiry button{
        cursor: pointer;
        padding: 2px;
        border: 0.1px solid grey;
        border-radius: 5px;
    }

    /* blog-header */
    .blog-header{
        display: flex;
        justify-content: center;
        cursor: default;
    }
    .blog-header h1{
        font-family: sans-serif;
        text-align: center;
        background: white;
        width: fit-content;
        padding: 3px;
    }

    /* blog container */
    .blog-container{
        overflow-x: hidden;
        width: 100vw;
        display: flex;
        justify-content: center;
    }
    .blog-container .blog-content{
        cursor: default;
        display: flex;
        gap: 5px;
        width: 100vw;
        position: relative;
        animation: 10s anim infinite;
        animation-delay: 5s;
        
    }
    .blog-container .blog-content:hover{
        animation-play-state: paused;
        cursor: pointer;
    }
    .blog-container .blog-content .blog{
        display: block;
    }
    .blog-container .blog-content .blog .message{
        position: absolute;
        z-index: 12;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 200px;
        width: 100vw;

    }
    .blog-container .blog-content .blog .message p{
        color: white;
        font-family: sans-serif;
        font-weight: bold;
    }

    .blog-container .blog-content .blog .background{
        display: flex;
        justify-content: center;
    }
    .blog-container .blog-content .blog .background img{
        width: 100vw;
        height: 200px;
        filter: brightness(80%);
        border-radius: 10px;
    }

    /* animation */
    @keyframes anim{
        0%{
            margin-left: 0%;
        }
        100%{
            margin-left: -100%;
        }
    }
    /* footer */

    footer{
        margin-block-start: 5px;
        width: 100vw;
        background: white;
    }
    footer .footer-container{
        display: flex;
        justify-content: center;   
    }
    footer .footer-container .footer-content{
        display: block;
        cursor: default;
        width: 90%;
    }
    footer .footer-container .footer-content .logo{
        display: flex;
        justify-content: center;
    }

    footer .footer-container .footer-content .logo{
        display: flex;
        justify-content: center;
    }
    footer .footer-container .footer-content .logo img{
        width: 70px;
        height: 40px;
        
    }
    footer .footer-container .footer-content .logo h1{
        text-align: center;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 22px;
        color: orangered;
    }

    /* links */
    footer .footer-container .footer-content .links{
        display: flex;
        justify-content: space-between;
    }
    footer .footer-container .footer-content .links ul{
        list-style: none;
    }
    footer .footer-container .footer-content .links ul li{
        margin-block: 10px;
    }
    footer .footer-container .footer-content .links ul li a{
        transition: ease 0.2s;
    }
    footer .footer-container .footer-content .links ul li a:hover{
        border-bottom: 2px solid black;
    }

    footer .footer-container .footer-content .links .social{
        display: flex;
        gap: 20px;
    }
    footer .footer-container .footer-content .links .social li{
        font-size: larger;
        margin-inline-end: 15px;
    }

    /* copy right */
    footer .footer-container .footer-content .copy-right{
        display: flex;
        justify-content: center;
        background: whitesmoke;
        border-radius: 10px;
        padding: 3px;
    }
    footer .footer-container .footer-content .copy-right p{
        text-align: center;
        font-size: 13px;
    }

    /* developer */
    footer .footer-container .footer-content .developer{
        display: flex;
        justify-content: flex-end;
        padding: 3px;
    }
    footer .footer-container .footer-content .developer p{
        text-align: center;
        cursor: pointer;
        font-size: 18px;
        font-weight: bold;
    }

}