*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: TajawalBlack;
    src: url('../fonts/Tajawal-Black.ttf');
}

@font-face {
    font-family: UbuntuArabicRegular;
    src: url('../fonts/UbuntuArabicRegular.ttf');
}

body{
    background-color: #fcf9f2;
    min-height: 100%;
    overflow: auto;
}

a{
    text-decoration: none;
    color: #c59a5a;
}

#homepage{
    background-color: #fefdf9;
    width: 95%;
    margin: 25px auto;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    border: #c59a5a73 solid 0.2px;
    min-height: 100%;
    overflow: auto;
}

header{
    display: flex;
    justify-content: space-between;
    padding: 10px 25px;
}

#nav{
    display: flex;
    margin-right: 15px;
}

#nav > div {
    margin-left: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    height: fit-content;
    padding: 5px;
    font-size: large;
    font-family: TajawalBlack;
    cursor: pointer;
}

.log-btn{
    color: #0c413b;
    background-color: #e1d2bb;
}

#imagemap{
    margin-left: 30px;
}

.explor-map{
    font-size: 2rem;
    color: #0c413b;
    font-family: UbuntuArabicRegular;
    margin-right: 25px;
}

.explor-city,
.more-rated{
    width: 250px;
    background-color: #deefe9;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    margin-right: 25px;
    min-height: 50px;
    height: fit-content;
    text-align: center;
    padding: 10px 15px;
    color: #0c413b;
    font-weight: bold;
    font-family: TajawalBlack;
    margin-top: 20px;
}

.more-rated{
    background-color: white;
    width: 350px;
}

.logo > img{
    width: 120px;
}

.city-img, .imageavatar{
    background-color: #d1e5e3;
    width: 125px;
    height: 95px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.gold{
    color: gold;
}

.place-name,
.place-detail,
.share-btn{
    color: #0c413b;
}

.place-detail,
.share-btn{
    background-color: #e1d2bb;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    padding: 5px;
    font-size: 12px;
    border-width: 0;
}

.share-btn{
    font-size: 20px;
    width: 200px;
    padding: 10px 15px;
    font-family: UbuntuArabicRegular;
    cursor: pointer;
    text-align: center;
}



.near-by{
    background-color: #d1e5e3;
    width: 250px;
    padding: 15px;
    height: 60px;
    text-align: center;
    color: #0c413b;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    margin: 10px 0;
}

.social-icons > i{
    font-size: 18px;
    margin: 10px;
    cursor: pointer;
}

#loginpage{
    height: 100vh; /* Full viewport height */
    font-family: UbuntuArabicRegular;
}

#loginpage .btn-primary{
    background-color: #e1d2bb;
    color: #0c413b;
    border-width: 0;
}

#loginpage input{
    text-align: center;
}

.login-form {
    width: 500px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.logo-login {
    width: 160px; /* Adjust size as needed */
    height: 160px; /* Adjust size as needed */
    border-radius: 50%;
    background-position: cover;
    margin-bottom: 20px;
}

.pointer{
    cursor: pointer;
}

.modal-header .btn-close{
    margin: 0;
}

.location-tab{
    font-family: UbuntuArabicRegular;
    width: 50%;
    text-align: center;
    color: #0c413b;
    font-size: 1.6rem;
    padding-bottom: 5px ;
    cursor: pointer;
}

.tab-slected{
    border-bottom: #0c413b thick solid;
}

.location-name{
    text-align: right;
    font-size: 14px;
    font-family: TajawalBlack;
}

.modal-backdrop {
    display: none; /* Remove the backdrop */
}

.comment{
    min-height: 105px;
    border-bottom: #1a1a1a solid thin;
}

.image-avatar{
    width: 80px;
    height: 80px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    justify-items: center;
    padding: 0px;
}

.right-section{
    width: 40%;
}

.left-section{
    left: 60%;
    position: static;
}

.google-img{
    width: 64px;
    height: 67px;
}

.fix-height{
    /* min-height: 100vh; */
}

.search-results {
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
}
.search-result-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}
.search-result-item:hover {
    background-color: #f5f5f5;
}

.post-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
}
.post {
    flex: 1 1 calc(33.333% - 20px); /* Responsive width */
    max-width: calc(33.333% - 20px); /* Prevent overflow */
}
@media (max-width: 768px) {
    .post {
        flex: 1 1 calc(50% - 20px); /* 2 posts per row on medium screens */
        max-width: calc(50% - 20px);
    }
}
@media (max-width: 576px) {
    .post {
        flex: 1 1 100%; /* 1 post per row on small screens */
        max-width: 100%;
    }
}