:root {
    --blue: rgb(51, 102, 153);
    --darkGray: rgb(102, 102, 102);
    --lightGray: rgb(204, 204, 204);
    --black: hsla(200, 10%, 10%, .99);
    --titleFont: 'Black Ops One', cursive;
    --subHeadingFont: 'Open Sans', sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    overflow-x: hidden;
}

.body {
    position: relative;
    background-color: var(--lightGray);
    width: 100vw;
    height: 200vh;
    overflow: hidden;
    color: var(--black);
} 

#main {
    position: relative;
    width: 100vw;
    height: 47vh;
    background-color: white;
    background-image: url(./images/Exceeded\ Expectations\ LLC.jpg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#opaqueOverlay {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100%;
    background-image: linear-gradient(60deg, hsla(200, 10%, 10%, .40), hsla(200, 10%, 10%, .01),  hsla(200, 10%, 10%, .40));
}

.hidden {
    display: none;
}

.titleOverlay {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100%;
    background-color: hsla(200, 10%, 50%, 0);
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
    font-family: var(--titleFont);
    color: var(--lightGray);
    font-size: xx-large;
    text-shadow: -100px -100px 100px hsla(200, 10%, 10%, .99);
    transition: all 2.5s;
}

.verticalBanner {
    position: absolute;
    top: 5vh;
    left: 0vh;
    transform-origin: bottom left;
    font-family: var(--titleFont);
    color: var(--blue);
    font-size: 10vh;
    text-shadow: 1px 1px 3px hsla(200, 10%, 10%, .99);
}

.mobileMenuLink {
    display: none;
    align-items: center;
    position: fixed;
    width: 17vw;
    height: 17vw;
    background-color: var(--darkGray);
    background-image: url(/images/pngwing.com.png);
    background-size: 40px, 40px;
    background-position: center;
    background-repeat: no-repeat;
    top: 1vw;
    left: 1vw;
    border-radius: 10px;
    box-shadow: 2px 2px 5px var(--black), 0 0 5px var(--black);
    opacity: .8;
    z-index: 3;
    transition: transform .8s;
}

.close {
    background-image: url(/images/closeX.png);
    background-size: 20px, 20px;
    background-position: center;
    background-repeat: no-repeat;
}

.mobileNavOverlay {
    position: absolute;
    top: 0;
    left: -100vw;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--blue);
    transition: all .5s;
    z-index: 2;
    display: grid;
}

.mobileNavOverlay a {
    display: grid;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: large;
    font-family: var(--subHeadingFont);
}

.nav {
    width: 100vw;
    height: 5vh;
    background-color: var(--blue);
    box-shadow: 1px 1px 3px var(--black);
    display: flex;
    justify-content: center;
    gap: 5vw;
}

.underNav {
    width: 100vw;
    height: 5vh;
    margin-bottom: 10vh;
    background-color: var(--darkGray);
    box-shadow: 1px 1px 3px var(--black);
}

.nav span {
    width: 7vw;
    height: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    font-family: var(--subHeadingFont);
    font-size: 1.1rem;
    color: var(--lightGray);
    text-shadow: 1px 1px 3px hsla(200, 10%, 10%, .99);
    transition: all .3s;
}

.nav span:hover {
    color: black;
    text-shadow: none;
    font-size: 1.15rem;
}

.heading {
    font-size: larger;
    font-family: var(--titleFont);
    color: var(--blue);
}

.headingFocused {
    border-left: 1px solid hsla(200, 10%, 10%, .25);
    border-right: 1px solid hsla(200, 10%, 10%, .25);
    border-radius: 10px;
}

.heading:focus {
    border-left: 1px solid hsla(200, 10%, 10%, .25);
    border-right: 1px solid hsla(200, 10%, 10%, .25);
    border-radius: 10px;
}

.heading:hover {
    border-left: 1px solid hsla(200, 10%, 10%, .25);
    border-right: 1px solid hsla(200, 10%, 10%, .25);
    border-radius: 10px;
}

.statement {
    overflow: hidden;
    position: relative;
    width: 100vw;
    height: fit-content;padding: 5px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items:flex-end;
    justify-content: center;
    font-size: large;
    font-family: var(--subHeadingFont);
    margin-bottom: 10px;
}

.statement p {
    text-align: center;
    padding: 4px;
}

.statement button {
    width: 100px;
    height: 50px;
    border-style: none;
    background-color: var(--blue);
    color: var(--lightGray);
    font-family: var(--subHeadingFont);
    transition: all .25s;
}

.statement button:hover {
    opacity: .9;
    color: var(--black);
    box-shadow: 0 0 3px var(--black);
}

.statement button:focus {
    box-shadow: 1px 1px 3px var(--black);
}

.dropDown {
    height: 0;
    overflow: hidden;
    transition: all .5s;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100vw;
    color: var(--lightGray);
}

footer p {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 20vh;
    font-family: var(--subHeadingFont);
}

.f1 {
    background-color: var(--blue);
}

.f2 {
    background-color: var(--darkGray);
}

/* inView corelates to the title overlay */
.inView {
    left: 0%;
    text-shadow: 1px 1px 3px hsla(200, 10%, 10%, .99);
}

.saw {
    position: absolute;
    overflow: hidden;
    background-image: url(/images/sawImage.png);
    background-size: contain;
    top: 80vh;
    left: -30%;
    width: 50vw;
    height: 50vw;
    z-index: 1;
    filter: drop-shadow(5px 5px 15px var(--black));
    transition: all 2s;
}

.moveSaw {
    left: 90%;
    transform: rotate(570deg);
}

.picturesSectionOverlay {
    overflow: hidden;
    position: absolute;
    top: 100vh;
    width: 100vw;
    height: 60vh;
    z-index: 1;
    background-color: var(--lightGray);
    transform-origin: top right;
    transition: all .5s;
}

.picturesSection {
    overflow: hidden;
    position: absolute;
    top: 100vh;
    width: 100vw;
    height: 60vh;
    background-color: var(--darkGray);
}

.picturesSection div {
    position: absolute;
    overflow: hidden;
    display: flex;
    height: 100%;
    background-color: var(--lightGray);
}

.imageSlider {
    transition: all 1.5s;
    left: 0vw;
}

.imageSlider img {
    width: 100vw;
    max-width: 500px;
    height: 100%;
}

.crooked {
    transform: rotate(-31deg);
    box-shadow: 5px 5px 10px var(--black);
}

.fall {
    top: 200vh;
}

/* contact page */
.formContainer {
    width: 100vw;
    height: 100vh;
    display: grid;
    align-items: center;
    justify-content: center;
}

.contactForm {
    width: 90vw;
    max-width: 500px;
    height: 90vh;
    max-height: fit-content;
    background-color: var(--lightGray);
    border-radius: 5%;
    padding: 5%;
}

fieldset {
    border: none;
    padding: 5%;
}

legend {
    font-family: var(--titleFont);
}

label {
    font-family: var(--subHeadingFont);
}

input,
textarea {
    margin-bottom: 5px;
    border: 1px solid hsla(200, 10%, 10%, .11);
    padding: 1%;
    width: 100%;
    resize: vertical;
    background-color: var(--lightGray);
    font-family: var(--subHeadingFont);
}

.contactForm button {
    width: 100%;
    border: none;
    font-family: var(--titleFont);
    background-color: hsla(200, 10%, 10%, .11);
    padding: 5px;
    transition: all .5s;
}

.contactForm button:hover {
    
    background-color: hsla(200, 10%, 10%, .25);
}
/* contact page end*/

/* Picture gallery */
.outterPilesContainer {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    top: 0;
    display: grid;
    grid-template-columns: 0fr 1fr 0fr;
}

.outterPilesContainer div {
    width: 100%;
    height: 100%;
}

.innerPilesContainer {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pictureFrame {
    position:relative;
}

.pictureFrame img {
    width: 15vw;
    max-width: 100px;
    transform: rotate3d(5, 5, 5, 20deg);
    box-shadow: 2px 2px 3px var(--black);
    transition: all .5s;
}

.pictureFrame img.selected {
    width: 80%;
    max-width: 500px;
    transform: rotate3d(0, 0, 0, 0deg);
    position: fixed;
    top: 25vh;
    right: 10vw;
    z-index: 1;
}

.pictureFrame img:hover {
    transform: rotate3d(0, 0, 0, 0deg);
    box-shadow: 5px 5px 9px var(--black);
}

/* picture gallery end */



@media only screen and (max-width: 600px) {
    .outterPilesContainer {
        grid-template-columns: 2fr 4fr 1fr;
    }
    .nav {
        display: none;
    }
    .mobileMenuLink {
        display: grid;
    }
    .titleOverlay {
        font-size:medium;
        grid-template-columns: 1fr 4fr;
    }
    #main {
        height: 20vh;
    }
    .verticalBanner {
        position: absolute;
        top: -5vh;
        left: -3vh;
        transform-origin: bottom left;
        transform: rotate(90deg);
        font-family: var(--titleFont);
        color: var(--blue);
        font-size: 15vh;
        text-shadow: 1px 1px 3px hsla(200, 10%, 10%, .99);
    }
    .statement {
        min-height: fit-content;
        font-size: small;
        text-align: center;
        grid-template-columns: 1fr 4fr 1fr;
    }
    .saw {
        top: 90vh;
        width: 75vw;
        height: 75vw;
    }
    footer {
        text-align: center;
        font-size: small;
    }
    label {
        font-size: small;
    }
}