@font-face {
    font-family: OpenSans;
    src: url(fonts/OpenSans-VariableFont_wdth\,wght.ttf);
}

.text{
     position: absolute;
     top: 40%;
     left: 50%;
     transform: translate(-50%, -50%);
     text-transform: uppercase;
}

header{
    width: 100%;
    position: fixed;
    background-color: white;
    box-shadow: 9px 0px 50px -23px rgba(0,0,0,0.30);
    padding-top: 15px;
    padding-bottom: 5px;
    z-index: 9999;
}

nav{
    text-align: right;
    padding-right: 1%;
    padding-top: 1%;
    padding-bottom: 1%;
    border-bottom: .5px white solid;
}

nav >ul > li > a{
    text-decoration: none;
    text-transform: uppercase;
    color:black;
    display: block;
    padding-right: 10px;
}

ul{
    list-style-type: none;
    float: right;
    margin: 0;
    padding: 0;
}

li{
    list-style-type: none;
    float: left;
    margin-bottom: 30px;
}

nav > ul > li > a:hover{
    text-decoration: none;
    text-transform: uppercase;
    color:black;
    opacity: 70%;
}

.logo-container{
    font-weight:bold;
    position: absolute;
    text-decoration: none;
    text-transform: uppercase;
    color:white;
    padding-left: 0;

}

.logo-container img{
    text-decoration: none;
    text-transform: uppercase;
    color:black;
    margin-top: 0;
    padding-top: 0;
    padding-left: 15%;
    max-width: 30%;
    max-height: 30%;
}

body{
    margin: 0;
    padding: 0;
    font-family: OpenSans;
}

#home{
    background-image: url(images/photos/image-1.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: left;
    color: white;
}

#home > h2{
    margin: 0;
    padding: 40vh 0 0 0;
    text-align: center;
    font-size: 45pt;
    text-transform: uppercase;
}

#about{
    text-align: center;
    display: grid;
    grid-template-areas:
    'top-text top-text'
    'text image'
    'bottom-text bottom-text';
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 20% 1fr 35%;
    margin-left: 15%;
    margin-right: 15%;
}

main h1{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 30px;
    text-align: center;
    position: relative;
}

main h1::before{
    content: "";
    display: block;
    max-width: 30%;
    min-width: 15%;
    height: 2px;
    background-color: rgba(160, 160, 160, 0.7);
    left: 0;
    top: 50%;
    position: absolute;
}

main h1::after{
    content: "";
    display: block;
    max-width: 30%;
    min-width: 15%;
    height: 2px;
    background-color: rgba(160, 160, 160, 0.7);
    right: 0;
    top: 50%;
    position: absolute;
}

.about-top-text{
    grid-area: top-text;
}
.about-text{
	grid-area: text;
}
.about-bottom-text{
    grid-area: bottom-text;
}

.about-image{
    grid-area: image;
    margin: 30px;
    border-radius: 5px;
}

#gallery{
    text-align: center;
    margin-left: 15%;
    margin-right: 15%;
}

.gallery-grid{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

.staff-grid{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.staff-img{
    box-shadow:none;

}

.overlapping-image1{

    background-image: url(images/photos/image-11.jpg);
    background-position: right;
    min-width: 350px;
    max-height: 229px;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: -1px 7px 30px 0px rgba(0,0,0,0.63);

}

.overlapping-image2{
    background-image: url(images/photos/image-13.jpg);
    background-position: left;
    min-width: 344px;
    max-height: 229px;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: -1px 7px 30px 0px rgba(0,0,0,0.63); 

}

.main-image{
    background-image: url(images/photos/image-12.jpg);
    background-position: center;
    min-width: 398px;
    min-height: 264px;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: -1px 6px 30px 0px rgba(0,0,0,0.63); 

}

.button{
    border: 0px rgb(0, 0, 0) solid;
    border-radius: 10px;
	padding: 10px;
	font-size: 15px;
    color: white;
	background-color: #395c34;
    text-decoration: none;
    display: inline-block;
}

.button > a{
    text-decoration: none;
    color: white;
}

.button:hover{
    opacity: 80%;
    text-decoration: none;
}

.icon{
    display: block;
    position: absolute;
    padding-top: calc(2vh - 4px);
    margin-right: 1vw;
    padding-bottom: 1vw;
    text-align: right;
    width: 100%;
    border-bottom: .5px white solid;
}

.bars{
    text-decoration: none;
    text-transform: uppercase;
    color:white;
    padding-right: 17px;
}

hr{
    margin-top: 1%;
    margin-bottom: 1%;
    color: rgb(86, 86, 86);
    margin-left: 30%;
    margin-right: 30%;
}

#services{
    text-align: center;
    margin-bottom: 2vh;
    margin-left: 15%;
    margin-right: 15%;  
}

#nav-hr{
    display: none;
}

#contact > a{
    margin: 10px 10px 100px 10px;
    padding: 10px;
    border: 1px whitesmoke solid;
}

#contact > h2{
    font-weight: 200;
    font-size: 12pt;
    padding-bottom: 1vh;
}

#contact > a:hover{
    filter: invert();
    background-color: white;
    margin: 10px 10px 100px 10px;
    opacity: 80%;
    padding: 10px;
    border: 1px whitesmoke solid;
}

footer{
    padding: 10px;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: #2b2b2b;
}

.footer-box{
    grid-row: 1/3;
    margin-left: 2vw;
    margin-top: 1vh;
    color: white;
}

.footer-box > h2{
    font-family: OpenSans;
    font-weight: 100;
    font-size: 11pt;
}

.footer-box > h1{
    font-family: OpenSans;
    font-weight: bold;
    font-size: 13pt;
}

footer a img{
    width: 1.2%;
    filter: invert();
}

footer a img:hover{
    filter: invert();
    opacity: 80%;
}

.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.form{
    grid-row: auto;
    grid-column: auto;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
    margin: 10px 10% 10px 10%;
}

input[type=text], select, textarea{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;

}

input[type=submit]{
    border: 0px rgb(0, 0, 0) solid;
    border-radius: 10px;
	padding: 10px;
	font-size: 15px;
    color: white;
	background-color: #395c34;
    text-decoration: none;
    display: inline-block;
}

input[type=submit]:hover{
    opacity: 80%;
}

@media screen and (max-width: 1275px) {

    .footer-box > a > img{
        width: 8%;
    }

    .footer-box > h2{
        font-family: OpenSans;
        font-weight: 100;
        font-size: 10pt;
    }
    
    .footer-box > h1{
        font-family: OpenSans;
        font-weight: bold;
        font-size: 12pt;
    }

}

@media screen and (max-width: 965px) {
    #contact-map{
        width: min-content;
    }

    .logo-container{
        text-align: center;

        max-width: 30%;
        max-height: 90%;
    }
    .footer-box > a > img{
        width: 3%;
    }

    .contact-grid{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

}

@media screen and (max-width: 750px) {
    .logo-container{
        margin-left: 33vw;
        text-align: center;
        width: 90%;
    }

    #nav-hr{
        display: block;
    }

    nav{
        padding-top:60px;
        text-align: center;
        width: 100%;
        padding-top: 30px;
        padding-right: 0;
    }

    #about{
        text-align: center;
        display: grid;
        grid-template-areas:
            'top-text top-text'
            'image image'
            'text text'
            'bottom-text bottom-text';
        grid-template-columns: 1fr 1fr;
        grid-template-rows: min-content min-content 1fr;
        margin-left: 15%;
        margin-right: 15%;


    }

    .about-image{
        grid-area: image;
    }

    li{
        float: none;
        display: inline-block;
    }
    ul{
        float: none;
    }
    .footer-box > a > img{
        width: 5%;
    }

    iframe{
        padding: 15px;
        width: 90vw;
    }
    
}

@media screen and (max-width: 180px) {


    main h1::after{
        width: 50px;
    }

    main h1::before{
        width: 50px;
    }

    .logo-container{
        display: none;
    }

    #nav-hr{
        display: block;
    }

    nav{
        display: none;
    }

    .footer-box > a > img{
        width: 15%;
    }
    
}