/* Global Styles */
body {
    background-color: white;
    margin-top: 90px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
}

header {
    display: flex;
    align-items: center;
    background-color: #8fc6de;
    position: fixed;
    width: 100%;
    top: 0;
    height: 14vh;
}
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8fc6de;
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 7vh; 
}

footer p {
    margin: 0;
    color: white;
}

.logo {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.logo img {
    max-height: 80px;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
}
.property-address {
    text-align: center;
    flex-grow: 1;
    font-size: 20px;
    color: white;
}
.nav {
    display: flex;
    justify-content: center; 
    width: 30%;
}

.nav ul {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.nav ul li a:hover {
    text-decoration: underline;
}

/* Index Login Forms */
.index-login-signup,
.index-login-login {
    font-size: 30px;
    text-align: center;
    max-width: 50%;
    margin: 20px auto;
}

.index-login-signup form,
.index-login-login form {
    text-align: center;
}

.index-login-signup input,
.index-login-login input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
}

.index-login-signup button,
.index-login-login button {
    background-color: #8fc6de;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-size: 18px;
}

.index-login-signup input:hover,
.index-login-login input:hover {
    background-color: #f0f0f0;
}

/* Sidebar Styling */
.sidebar {
    display: flex;
    flex-direction: column;
    width: 150px;
    position: fixed;
    top: 14vh;
    left: 0;
    height: calc(100vh - 14vh - 7vh);
    overflow-y: auto;
}

.sidebar > div {
    border: 3px solid #ccc;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.sidebar a {
    color: black;
    text-decoration: none;
}

.sidebar a:hover {
    text-decoration: underline;
}

/* Adjust for the sidebar */
.main-content {
    margin-left: 160px; /* Assuming this is for the sidebar */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
    /* Ensure the content fills available space vertically */
    min-height: calc(100vh - 120px); /* Assuming header and footer together are 120px tall */
}

.main-content .window {
    border: 3px solid #ccc;
    /* Adjust width to ensure two fit in one row on larger screens */
    width: calc(50% - 10px);
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.8);
    padding: 10px;
    box-sizing: border-box;
}

.window {
    width: calc(50% - 10px);
    margin-bottom: 20px;
    background-color: rgba(255,255,255,0.8);
    padding: 10px;
    box-sizing: border-box;
}

/* Buttons */
button {
    background-color: darkblue;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #00008B;
}

/* Links */
h2 a {
    color: white;
    transition: color 0.3s ease;
}

h2 a:hover {
    color: black;
}

.index-intro-bg {
    width: 100%;
    height: 100%;
    background-color: #269FB7;
}

.index-intro-c2 {
    text-align: center;
    width: 100%;
    margin-bottom: 0;
}

.index-intro-c2 a {
    display: inline-block;
    padding: 10px 20px;
    background-color: darkblue;
    color: #fff;
    text-decoration: none;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 17vh;
}

.wrapper p {
    text-align: center;
}

/* Burger Menu */
.burger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.burger-menu span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: white;
    margin: 6px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        align-items: center;
    }

    .property-address {
        margin-top: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .index-login-signup,
    .index-login-login {
        width: 100%;
        max-width: none;
    }
    .window {
        width: calc(25% - 15px);
    }
}

@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        overflow-y: visible;
    }
    .main-content {
        margin-left: 0;
        flex-direction: column;
    }
    .window {
        width: 100%;
        padding: 5px;
    }
    header {
        height: auto;
    }
    .nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 14vh; /* Adjust based on your header's height */
        background-color: #8fc6de; /* Match header's background */
        z-index: 10;
    }
    .nav ul {
        flex-direction: column;
        padding: 10px;
    }
    .nav ul li {
        width: 100%;
        margin-bottom: 10px;
    }
    .property-address {
        display: none; /* Hide on small screens or adjust styling */
    }
    .burger-menu {
        display: block;
    }
    footer {
        height: auto;
    }
}