:root {
    --lighter-color: #9e8d77;
    --darker-color: #461b0d;
    --bg-color: #faead8;
    --shadow-color: #58534d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;

    /* border: 1px solid black; */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--darker-color);
    /* min-height: 100vh; */
    width: 100%;
    flex-direction: column;
    overflow-x: hidden;
    gap: 70px;
}

header,
main {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

header {
    background-image: url(Public/heroImg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 1000px;
    max-width: 100%;
}

nav {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    top: 0;
    gap: 14px;
    padding: 14px;
    font-size: 1.1rem;
    width: 100%;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 10;
    /* box-shadow: 0 0 5px 1px black; */

}

nav>a {
    color: var(--darker-color);
    text-decoration: none;
    font-weight: 420;
    text-shadow: 1px 1px rgb(100, 100, 100);
    transition-delay: 100ms;
    position: relative;
}

nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: transparent;
    opacity: .1;
    box-shadow: 0 0 5px 2px black;
}

nav>a:visited {
    color: var(--darker-color);
    text-decoration: none;
    transition-delay: 100ms;
}

nav>a:hover {
    color: var(--darker-color);
    text-decoration: underline;
    transition-delay: 100ms;
}

.heroText {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 14px;
    gap: 14px;
    margin-top: 45px;
    text-shadow: 1px 1px 2px var(--darker-color);
    width: 90%;
    max-width: 900px;
    border: 2px solid var(--bg-color);
    box-shadow: 0 0 4px 1px black;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 3;
    color: #a0785a;

}

.heroText h1 {
    font-size: 1.5rem;
}

.heroText::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #2c7083;
    opacity: 0.1;
    z-index: -1;
}

.btnContainer {
    margin-top: 40px;
    margin-bottom: 10px;
    width: 150px;
    align-self: center;
}

.btnContainer a {
    /* display: flex; */
    background-color: transparent;
    border-radius: 11px;
    color: #a0785a;
    text-align: left;
    padding: 6px;
    text-shadow: 1px 1px 2px var(--darker-color);
    text-decoration: none;
    transition-delay: 50ms;
}

.btnContainer a span {
    transition-duration: 200ms;
}

.btnContainer a:hover span {
    padding-left: .35rem;
}

.overview {
    display: flex;
    flex-direction: column;
    padding: .75rem;
}

.title {
    font-size: 1.1rem;
    text-transform: uppercase;
    padding-top: 48px;
    padding-bottom: 12px;
}

.title h1 {
    padding-bottom: 3rem;
}

.title h2 {
    font-size: 1.2rem;
    text-transform: none;
    color: var(--lighter-color);
    padding-bottom: 1rem;
}


.first-article {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    gap: 14px;
    padding-bottom: 14px;
}

.guest-suite>h2,
.neighborhood>h2 {
    padding-bottom: 1rem;
}

.guest-suite>p {
    text-align: justify;
    line-height: 1.3rem;
    padding-left: 0.5rem;
    color: var(--lighter-color);
}

.article-img {
    aspect-ratio: 14/9;
    overflow: hidden;
    box-shadow: 3px 3px 6px 2px var(--shadow-color);
    margin-bottom: 3rem;
}

.article-img img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.neighborhood>p {
    text-align: justify;
    line-height: 1.3rem;
    color: var(--lighter-color);
}

.secondp {
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.long {
    display: none;
}

.gallery {
    padding: 0.75rem;
}

.mainframe {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mainframe div {
    aspect-ratio: 14/9;
    overflow: hidden;
    box-shadow: 3px 3px 6px 2px var(--shadow-color);
    border-radius: 5px;
}

.mainframe div>img {
    object-fit: cover;
    width: 100%;
}

.map {
    padding: 2rem 0.75rem;
}

.map-container {
    overflow: hidden;
    box-shadow: 3px 3px 6px 2px var(--shadow-color);
    border-radius: 5px;
}

footer {
    display: flex;
    flex-direction: column;
    padding: 1rem 0.75rem;
    gap: 1rem;
    font-size: .9rem;
    text-align: center;
    background-color:#c9b499;
    box-shadow: 0 -1px 5px 1px rgb(70, 70, 70);
}

.footer-bold {
    font-weight: 500;
    text-transform: uppercase;
}

.footer-link {
    color: var(--darker-color);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--lighter-color);
}


@media (min-width: 786px) {
    .heroText {
        top: 50%;
    }

    .heroText h1,
    .heroText h2 {
        font-size: 2rem;
    }

    .first-article {
        flex-direction: row;
        max-height: 500px;
    }

    .article-img {
        flex-basis: 50%;
        max-width: 50%;
    }

    .second-article {
        display: flex;
        min-height: 350px;
        gap: 10px;
    }

    .guest-suite,
    .neighborhood {
        display: flex;
        flex-direction: column;
        flex-basis: 50%;
        padding: 0;
    }

    .neighborhood>p {
        line-height: 1.8rem;
        font-size: 1.3rem;
    }

    .guest-suite>p {
        line-height: 1.8rem;
        font-size: 1.3rem;
    }

    .secondp {
        margin-top: 0.7rem;
        margin-bottom: 1rem;
    }

    .short {
        display: none;
    }

    .long {
        display: inline-block;
    }

    #one {
        order: 1;
    }

    #two {
        order: 2;
    }

    .mainframe {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .mainframe div>img {
        max-width: 550px;
        object-fit: cover;
    }

    .mainframe div {
        aspect-ratio: 14/9;
        overflow: hidden;
        box-shadow: 2px 2px 3px 1px var(--shadow-color);
        border-radius: 5px;
        min-width: 450px;
    }

}