/* Global */
*{
    font-family: 'Lora', serif;
}
body {
    margin: 0;
}

#wrapper {
    display: grid;
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 250px)) minmax(0px, 1fr);
    grid-auto-rows: minmax(0px, auto);
    background-color: #eddfce;
}

h1 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 36pt;
}

h2 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 28pt;
}

h3 {
    font-size: 24pt;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    color: #61706A;
    margin: 0;
}

h4 {
    color: #A3917C;
    font-style: italic;
    font-size: 16pt;
    font-weight: 600;
}

h5 {
    border-left: solid 2px #A3917C;
    padding-left: 1rem;
    color: #A3917C;
    font-style: italic;
    font-size: 14pt;
    font-weight: 600;
}

/* Header */
header {
    grid-column: 2 / -2;
    grid-row: 1;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#headerbar {
    background-color: #61706A;
    grid-column: 1 / -1;
    grid-row: 1;
}

.logo {
    float: left;
    text-decoration: none;
    color: white;
    font-size: 15pt;
    padding-left: 2rem;
    font-family: 'Cinzel', serif;
    font-size: xx-large;
    font-weight: 537;
}

nav ul {
    display: flex;
    flex-flow: row nowrap;
    list-style-type: none;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 15pt;
    margin-right: 5rem;
}

nav a:hover {
    text-decoration:underline;
    color: #fff;
 }

/* Hero Images */
#homehero {
    grid-column: 1 / -1;
    background-image: url("images/homehero.png");
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; 
}

#amenitieshero {
    grid-column: 1 /  -1;
    background-image: url("images/amenitieshero.jpg");
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#amenitieshero2 {
    grid-column: 1 / -1;
    background-image: url("images/amenitieshero2-min.jpg");
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Banners */
#homebanner {
    background-color: #fffaf5;
    grid-column: 3 / -3;
    min-height: 200px;
    margin-top: -150px;
    text-align: center;
    padding: 1.5rem;
    align-items: center;
}

#amenitiesbanner {
    background-color: #fffaf5;
    grid-column: 3 / -3;
    min-height: 250px;
    margin-top: -150px;
    text-align: center;
    padding: 1.5rem;
    align-items: center;
}

.scheduletourbutton {
    background-color: #61706A;
    color: #fffaf5;
    border: none;
    width: 10rem;
    height: auto;
    padding: .75rem 3rem;
    font-size: 12pt;
    text-decoration: none;
}

/* Amenities Section */
#amenities {
    grid-column: 2 / -2;
    background-color: #fffaf5;
    display: flex;
    margin-top: 5rem;
    justify-content: space-between;
}

.textcontainerleft {
    margin: 0 5rem;
    max-width: 500px;
}

#amenities img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#amenitiesbutton {
    background-color: #61706A;
    color: #fff;
    border: none;
    font-size: 12pt;
    padding: .75rem 2rem;
    text-decoration: none;
    float: left;
    margin: 1rem 0 2rem 2rem;
}

/* Gallery Section */
#gallery {
    background-color: #fffaf5;
    grid-column: 2 / -2;
    margin-top: 5rem;
    text-align: center;
    padding-bottom: 2rem;
}

#gallery img {
    height: 250px;
    width: 409px;
    padding: 1rem;
}

#gallery h1 {
    text-align: center;
}
#gallerybutton {
    background-color: #61706A;
    color: #fffaf5;
    width: 10rem;
    font-size: 12pt;
    padding: .5rem 4rem;
    text-decoration: none;
    margin: 2rem 0;
}

/* About Us Section */

#aboutus {
    grid-column: 2 / -2;
    background-color: #fffaf5;
    display: flex;
    margin-top: 5rem;
    justify-content: space-between;
    text-align: right;
}

.textcontainerright {
    max-width: 500px;
    margin: 0 5rem;
}

#aboutus h5 {
    border-left: none;
    border-right: 2px solid #A3917C;
    padding-right: 1rem;
}
#aboutus img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#aboutusbutton {
    background-color: #61706A;
    color: #fff;
    border: none;
    font-size: 12pt;
    padding: .75rem 2rem;
    text-decoration: none;
    float: right;
    margin: 1rem 0 2rem 2rem;
}

/* Testimony Section */
#testimony {
    grid-column: 2 / -2;
    background-color: #fffaf5;
    display: flex;
    margin-top: 5rem;
    justify-content: space-between;
    height: 75%;
}

#testimony blockquote {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
}

#testimonyimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

address {
    text-align: right;
    font-size: 1.25rem;
}

#fivestars {
    display: block;
    margin: auto;
}

/* Schedule Tour */
.scheduletour {
    grid-column: 2 / -2;
    background-color: #61706A;
    display: flex;
    justify-content: space-between;
    max-height: 750px;
}

.scheduletour img {
    height: 100%;
    width: 90%;
    object-fit: cover;
}

.scheduletour h2 {
    font-family: 'Lora';
    font-weight: 300;
    font-size: 24pt;
    color: #fffaf5;
}
#formcontainer {
    margin: auto;
    text-align: center;
    width: 60%;
}

form {
    display: flex;
    flex-flow: column;
    background-color: #61706A;
    color: #fff;
    row-gap: 1rem;
    align-items: center;
}

input, textarea {
    font-size: 1rem;
    padding: 1rem;
    color: #000;
    background-color: #fafafa;
    border: none;
    text-align: left;
    margin: .8rem 0;
    width: 70%;
}

input, text area :focus {
    outline: none;
}

#submit {
    background-color: #A3917C;
    color: #fffaf5;
    height: 3rem;
    margin: 2rem auto;
    font-size: 1.15rem;
    padding: 0 5rem;
    width: auto;
    cursor: pointer;
}

/* Footer */
footer {
    grid-column: 2 / -2;
    grid-row: 10;
    color: white;
    background-color: #61706A;
    text-align: center;
    height: 85px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 1rem;
}

#footerbar {
    background-color: #61706A;
    grid-column: 1 / -1;
    grid-row: 10;
    margin-top: 1rem;
}

/* Amenities */
#amenitieslist {
    background-color: #fff;
    display: flex;
    flex-flow: row wrap;
    grid-column: 2 / -2;
    text-align: center;
    align-items: flex-end;
    justify-content: center;
    margin: 5rem 0;
    padding: 3rem;
}

.amenitiescontent img {
    width: 150px;
}

.amenitiescontent {
    width: 25rem;
    padding: 1rem;
}

.amenitiescontent p {
    border-top: solid 1px #61706A;
    padding-top: 2rem;
}

#container {
    grid-column: 2 / -2;
    background-color: #fff;
    display: flex;
    flex-flow: column;
    height: 250px;
    align-items: flex-start;
    justify-content: center;
    padding-left: 5rem;
    margin-top: -250px;
}

#containerbar{
    background-color: #fff;
    grid-column: 1 / -1;
    height: 250px;

}

/* Media Queries */
@media only screen and (max-width: 992px){
    #wrapper {
        grid-template-columns: minmax(0px, 1fr) 768px minmax(0px, 1fr);
    }

    * {
        text-align: center;
    }
    
    h5, #aboutus h5{
        border: none;
    }

    #homehero{
        width: 100%;
    }

    header {
        justify-content:space-around;
        flex-flow: column;
        height: 100px;
    }

    #homebanner{
        max-width: 768px;
        padding: 0 1rem 2rem 1rem;
    }

    .textcontainerleft, .textcontainerright {
        margin: auto;
        padding-bottom: 4rem;
    }

    #amenities, #testimony {
        flex-flow: column;
    }

    #aboutus {
        flex-flow: column-reverse;
    }

    #amenitiesbutton, #aboutusbutton {
        float: none;
        margin-left: 0;
    }

    #extimg {
        display: none;
    }

    #gallery img {
        width: 100%;
        height: auto;
        padding: 1rem 0;
    }

    footer {
        flex-flow: column;
        height: auto;
        padding: 2rem 0;
    }

    .scheduletour label {
        display: none;
    }

    #formcontainer {
        width: 100%;
    }

    #form {
        width: 100%;
    }

    #container {
        align-items: center;
        padding: 0;
    }

    #amenitieslist {
        padding: 0;
    }
}

@media only screen and (max-width: 768px){
    * {
        overflow-x: hidden;
    }
    
    #wrapper {
        grid-template-columns: 100%;
    }

    header {
        height: auto;
    }

    .logo{
        font-size: 30pt;
        margin: auto;
        padding: 1rem 0 0 0;
    }

    nav ul {
        display: flex;
        flex-flow: column;
        padding-bottom: 1rem;
        padding: 0 0 .5rem 0;
    }

    nav ul li{
        padding: .5rem 0;
    }

    nav a{
        margin: auto;
    }

    #homebanner {
        width: fit-content;
    }
    
    #submit {
        width: max-content;
    }

    #testimony blockquote, #testimony address {
        font-size: 1rem;
        margin: auto;
        width: 80%;
    }

    #testimony .textcontainerleft img {
        width: 50%;
        margin-bottom: 1rem;
    }

    #testimony h2 {
        padding: 0;
        margin: 1rem 0;
    }

    #formcontainer {
        width: 90%;
        margin: auto;
        text-align: center;
    }

    footer p{
        font-size: 0.8rem;
    }
}