@font-face {
    font-family: OpenSans;
    src: url(fonts/OpenSans-VariableFont_wdth\,wght.ttf);
    font-weight: 300;
}

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-bottom: 1%;
    border-bottom: .5px white solid;
}

nav >ul > li > a{
    text-decoration: none;
    text-transform: uppercase;
    color:black;
    display: block;
    padding-right: 17px;
}

nav > ul{
    list-style-type: none;
    float: right;
    margin: 0;
    padding: 0;
}

nav > ul > li{
    list-style-type: none;
    float: left;
    margin-bottom: 10px;
}

nav > ul > li > a:hover{
    text-decoration: none;
    text-transform: uppercase;
    color:black;
    padding-right: 17px;
    opacity: 70%;
}

.logo-container{
    font-weight:bold;
    position: absolute;
    text-decoration: none;
    text-transform: uppercase;
    color:white;
    width: 30%;
    padding-left: 0;
}

.logo-container > a{
    text-decoration: none;
    text-transform: uppercase;
    color:black;
    padding-left: 10%;
}

body{
    margin: 0;
    padding: 0;
    font-family: OpenSans;
}

#home{
    background: url(images/steve-johnson-YS0YJLU_h2k-unsplash.jpg);
    box-shadow: inset 0 0 0 2000px rgba(0, 81, 255, 0.3);
    height: 85vh;
    text-align: center;
    color: white;
}

#home > h2{
    margin: 0;
    padding: 40vh 0 0 0;
    font-size: 45pt;
    text-transform: uppercase;
}

#about{
    text-align: center;
    display: grid;
    grid-template-areas:
    'top-text top-text'
    'image text';
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 20% 1fr 35%;
    margin-left: 15vw;
    margin-right: 15vw;
}

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: 5%;
    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: 5%;
    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;
}

#work{
    text-align: center;
    margin-left: 15vw;
    margin-right: 15vw;
}

.s3-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

}

.s3-box{
    background-color: white;
    border: 0.5px none solid;
    box-shadow: 9px 0px 50px -5px rgba(0,0,0,0.20);
    margin: 10px;
}

.s3-box > p{
    padding: 10px;
}

.s3-box > img{
    margin-top: 10px;
    max-width: 30%;
}

.s3-box:hover{
    box-shadow: 9px 0px 50px -5px rgba(0,0,0,0.23);
}

.button{
    border-radius: 5px;
	padding: 7px;
	font-size: 15px;
	background-color: rgba(0, 81, 255, 0.3);
    color: black;
    text-decoration: none;
    display: inline-block;
}

.button > a{
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.button:hover{
    filter: invert();
    background-color: white;
    opacity: 80%;
    padding: 7px;
    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%;
}

#contact{
    text-align: center;
    margin-bottom: 2vh;
    margin-left: 15%;
    margin-right: 15%;  
}

#nav-hr{
    display: none;
}

.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#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{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: #2b2b2b;
}

.footer-box{
    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-box > a > img{
    width: 4%;
    filter: invert();
}

.footer-box > a > img:hover{
    filter: invert();
    opacity: 80%;
}

#footer-nav{
    text-align: center;
    text-decoration: none;
    border: none;
    color: white;
    margin: 0;
    padding: 2vh;
}

#footer-nav > a{
    color: white;
    text-decoration: none;
}

#footer-nav > a:hover{
    text-decoration: none;
    color:white;
    opacity: 70%;
}

.list-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.desktop-map{
    display: block;
}

.mobile-map{
    display: none;
}

ul{
    text-align: left;
    list-style-type: square;
}

li::marker{
    color: rgba(0, 81, 255, 0.3);
    font-size: 30px;
}
#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;

}

.overlapping-image1{

    background-image: url(images/gallery/photo-1.jpg);
    background-position: right;
    min-width: 360px;
    max-height: 270px;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: -1px 7px 30px 0px rgba(0,0,0,0.63);
    margin: 10px;
    margin-top: 2vw;

}

.overlapping-image2{
    background-image: url(images/gallery/photo-3.jpg);
    background-position: left;
    min-width: 340px;
    max-height: 255px;
    margin: 10px;
    margin-top: 2vw;
    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/gallery/photo-2.jpg);
    background-position: center;
    min-width: 248px;
    min-height: 362px;
    margin: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: -1px 6px 30px 0px rgba(0,0,0,0.63); 

}

.text{
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
}

@media screen and (max-width: 1275px) {

    .s3-grid{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .s2-b1{
        grid-column: 1/3;
        grid-row: 1/2;
        border-radius: 5px;
    }

    .s2-b2{
        grid-column: 1/3;
        grid-row: 2/3;
        max-width: 100%;
    }
    
    .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;
    }

    #footer-nav > a{
    color: white;
    }

}

@media screen and (max-width: 965px) {
    .logo-container{
        text-align: center;
        width: 20%;
    }

    #work{
        margin-left: 0px;
        margin-right: 0px;
    }

    .contact-grid{
        grid-template-columns:none;
        grid-template-rows: 1fr 1fr;
    }

    .desktop-map{
        display: none;
    }

    .mobile-map{
        display: block;
        position: relative;
    }

    .s3-grid{
        display: grid;
        grid-template-columns: 33% 33% 33%;
        grid-template-rows: none;
        margin: 0;
        padding: 0;
        text-align: left;
        width: 100%;
    }

    .s3-box{
        padding: 1vw;
        font-size: 12px;
    }
    

    .s3-box > h2{
        font-size: small;
    }
    
    .footer-box > a > img{
        width: 12%;
    }

}

@media screen and (max-width: 750px) {
    .logo-container{
        text-align: center;
        width: 90%;
    }

    #nav-hr{
        display: block;
    }

    nav{
        padding-top:45px;
        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';
        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{

    }
    ul{
        float: none;
    }
    .footer-box > a > img{
        width: 15%;
    }
    
}

@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%;
    }
    
}