body {
    font-family: Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    background-image: url(img/Background_main.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

nav {
    background: rgba(39, 39, 39, 0.7);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

button {
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid black;
}

nav button {
    margin-right: 10px;
    padding: 15px 20px;
    font-size: 30px;
}

main button {
    font-size: 18px;
}

main {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

p {
    margin-left: 10px;
    font-size: 20px;
}

li {
    font-size: 20px;
}

h1 {
    text-align: center;
    margin-top: 0px;
    font-size: 45px;
}

h2 {
    margin-left: 10px;
    font-size: 30px;
}

input {
    display: block;
    margin: 10px 0;
    padding: 10px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: left;
    padding: 10px;
    font-size: 14px;
    color: #eee;
    background-color: rgba(39, 39, 39, 0.7);
}

.property-table {
    display: grid;
    grid-template-columns: 200px 1fr;
    width: 100%;
    align-items: start;
}

.property-label {
    padding: 2px 15px 2px 0;
}

.property-value {
    padding: 2px 0 2px 15px;
}

.property-label, .property-value {
    line-height: 1.2;
}

.content-header {
    width: 100%;
    min-height: 60px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
}

.property-images {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.property-images img {
    width: 200px;
    max-width: 100%;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.image-overlay img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.close-image {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.image {
    max-width: 200px;

}

.image-toggle {
    cursor: pointer;
    user-select: none;
}

.property-images.hidden {
    display: none;
}

.property-single-image {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    cursor: pointer;
}

.pdf-viewer {
    width: 100%;
    height: 80vh;
    border: none;
    display: block;
    }

#propertyButtons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;

}

#brButtons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

#jsonButtons{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

#jsonButtons button:first-child {
    flex-basis: 100%;
    margin-bottom: 15px;
}

#soon {
    font-weight: bold;
    font-size: 25px;
}

@media (max-width: 800px) {

    nav button {
        margin-right: 1px;
        padding: 5px 5px;
        font-size: 12px;
    }

    button {
        border-radius: 5px;
        border: 1px solid black;
    }

    p, div {
        font-size: 12px;
    }

    h1, h2, h3 {
        font-size: 20px;
    }

    main {
        padding: 15px;
        margin: 20px auto;
    }

}
