/* Google font import */
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital@1&1PT+Serif:ital,wght@1,700&family=Oswald:wght@600&family=Work+Sans:wght@400;500&display=swap');

/* root */
:root {
    --color-main-bg: #dbfae0cc;
    --color-body-bg: #ffffff;
    --color-logo: #1FB25A;
    --color-highlight: #178744;
    --color-contrast: #7B4775;
    --color-text: #333;
    --color-inverted: #ffffff;
}

/* Browser default styles override */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* General styles */
body {
    background-color: var(--color-body-bg);
    font-family: 'Work Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--color-text);
}

#home-body {
    --color-main-bg: #dbfae0cc;
}

h1 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-contrast);
    margin: 0.5em 1em 0.2em 0;
    font-size: 200%;
}

h2 {
    font-family: 'PT Sans', sans-serif;
    margin: 0.5em 1em 0.2em 0.3em;
    font-size: 180%;
}

h3 {
    font-family: 'PT Sans', sans-serif;
    margin: 0.5em 1em 0.2em 0.6em;
    font-size: 130%;
}

p {
    font-family: 'Work Sans', sans-serif;
}

/* Logo */
#logo {
    width: 120px;
    min-width: 120px;
    height: 120px;
}

#logo_txt {
    color: var(--color-logo);
    font-size: 160%;
    line-height: 30px;
    margin: 0.6rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#logo_img {
    display: none;
}

/* Header */
header {
    padding: 5px 40px 0 5px;
    position: fixed;
    z-index: 98;
    width: 100%;
    height: 130px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

/* Header & Footer */
header,
footer {
    background-color: var(--color-main-bg);
    box-shadow: 0 0 10px #0000001a;
    color: var(--color-text);
}

header a,
footer a {
    text-decoration: none;
    color: inherit;
}

/* Main */
main {
    /* Make main element take up any surplus space to push footer down */
    flex: 1 0 auto;
    margin-top: 130px;
}

/* Standardx main and section - text */
.standard-main {
    display: flex;
    justify-content: flex-start;
    padding: 30px;
}

.standard-section {
    width: 100%;
    min-width: 220px;
}

main img,
video {
    min-width: 90%;
    height: auto;
    padding: 5px;
}

#landing-page {
    margin-top: 0px;
}

/* Navbar styles with dropdown toggle */
nav {
    position: absolute;
    background-color: var(--color-main-bg);
    width: 100%;
    left: 0;
    padding: 0 1rem;
    box-shadow: 0 2px 2px #3a3a3a;
    display: none;
    top: 100%;
    text-align: right;
}

#menu>li {
    font-family: 'Work Sans', sans-serif;
    font-size: 100%;
    font-weight: 500;
    letter-spacing: 0.5px;
    list-style-type: none;
    margin-bottom: 1em;
    padding: 0 16px;
}

.active {
    border-bottom: 2px solid #3a3a3a;
}

/* Nav toggle */
#nav-toggle:checked~nav {
    display: block;
}

#nav-toggle {
    display: none;
}

/* Menu burger icon style */
.nav-toggle-label {
    color: var(--color-logo);
    font-size: 1.5rem;
}


/* Lake & slogan section - home page */
#lake {
    height: 100vh;
    background: url(../images/lake.jpg) no-repeat center center/cover;
    background-size: cover;
}

#slogan {
    background-color: #719a7999;
    font-size: 140%;
    line-height: 1.5em;
    position: absolute;
    right: 0px;
    bottom: 40px;
    padding: 15px;
    width: 80%;
    color: #ffffff;
    max-width: 750px;
}

/* Gallery page */
#photos {
    line-height: 30px;
    column-gap: 10px;
    padding: 10px;
}

#photos img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 0;
}

#photos img:hover {
    transform: scale(1.1);
}


/*Gallery - modal */
.modal {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000cc;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.modal img {
    max-width: 95%;
    max-height: 95%;
    min-width: 240px;
}
.modal figcaption {
    color: #fff;
    background-color: #111;
    padding: 5px 30px;
    /*display: block;*/
    width: 100%; 
    text-align: center;
}

.modal:target {
    display: flex;
    flex-direction: column;
align-items: center;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
}

/* Contact &  Form */
#contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
}

#contact>form,
#contact>iframe {
    width: 40%;
    min-width: 240px;
    height: 450px;
    min-height: 450px;
    padding: 20px;
    margin: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px #0000001a;
}

label {
    font-family: 'Hind+Guntur', sans-serif;
    display: inline;
    padding: 0;
    margin: 0;
}

/* Red asterisk */
#contact span {
    color: #ff0000;
}

textarea,
.text-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.submit-button {
    flex: 1;
    background-color: var(--color-highlight);
    color: var(--color-inverted);
    font-weight: bold;
    border: 0;
    border-radius: 7px;
    padding: 1em 2em;
    cursor: pointer;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer ul {
    text-align: center;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    flex-grow: 1;
    flex-wrap: wrap;
}

#footer-items li {
    font-family: 'Work Sans', sans-serif;
    font-size: 100%;
    font-weight: 400;
    letter-spacing: 1px;
    list-style-type: none;
    line-height: 1.5em;
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-basis: 25%;
}


footer h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 100%;
    font-weight: 400;
    line-height: 2em;
}

#follow li {
    font-size: 160%;
    padding: 0;
    flex-basis: 0;
}

/* Break email - to fix issued on small screen sizes */
.email-address-break::after {
    content: "\A";
    white-space: pre;
}

/* Overwrites */
.hidden {
    display: none;
}

/* Media query: small devices (365px and up) */
@media screen and (min-width: 365px) {

    /* Logo (365px and up) */
    #logo {
        width: 300px;
        min-width: 300px;
        height: 120px;
    }

    #logo_img {
        display: initial;
        float: left;
        height: 90px;
        margin: 0.5rem;
    }
}

/* Media query: tablets and larger (579px and up) */
@media screen and (min-width: 579px) {

    /* Gallery (579px and up) */
    #photos {
        column-count: 2;
    }

    /* Remove email break - to fix issued on small screen sizes */
    .email-address-break::after {
        content: "";
    }
}

/* Media query: tablets and larger (768px and up) */
@media screen and (min-width: 768px) {

    /* Logo (768px and up) */
    #logo {
        width: 170px;
        min-width: 170px;
    }

    #logo_img {
        width: 0px;
        height: 90px;
    }

    /* Navbar (768px and up) */
    nav {
        display: block;
        position: relative;
        box-shadow: none;
        width: fit-content;
        padding-right: 1rem;
        background: none;
        top: 0;

    }

    #menu {
        display: flex;
    }

    #menu>li {
        padding-left: 1rem;
    }

    .nav-toggle-label {
        display: none;
    }

    /* Footer (768px and up) */
    footer li {
        font-size: 110%;
    }

    footer h3 {
        font-size: 100%;
    }

    /* Standard main and section - text (768px and up) */

    .standard-main {
        justify-content: space-evenly;
    }

    .standard-section {
        width: 70%;
        padding-right: 0;
    }

    /* Gallery (768px and up) */
    #photos {
        column-count: 3;
    }

    /* Contact (768px and up) */
    #contact {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    #contact>form,
    #contact>iframe {
        min-width: 0px;
    }
}

/* Media query: large devices - laptops and desktops (992px and up) */
@media screen and (min-width: 992px) {

    /* Logo( 992px and up) */
    #logo {
        width: 280px;
        min-width: 280px;
    }

    #logo_img {
        height: 90px;
        width: auto;
        display: initial;
    }

    /* Navbar (992px and up) */
    #menu a:hover {
        border-bottom: 2px solid #3a3a3a;
    }

    /* Standard section - text (992px and up) */
    .standard-section {
        width: 50%;
    }

    /* Gallery (992px and up) */
    #photos {
        column-count: 4;
    }
}