:root{
    --lightBlue: #B7D8D6;
    --midBlue: #789E9E;
    --darkBlue: #4D6466;
    --beige: #EEF3DB;
    --red: #FE615A;
    --darkishBlue: #002557;
    --brightBlue: #53D3D1;
    --orange: #feb249;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
}
nav{
    margin-top: 1rem;
    width: 100%;
    height: 5rem;
    margin-bottom: 2rem;
}
ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 30%;
    height: 100%;
    margin: 0 auto;
}
li{
    color: var(--darkishBlue);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1rem;
    margin-left: 1rem;
}
.bodyWrapper{
    margin: 0 auto;
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 4rem;
    height: 100vh;
}
.container{
    top: 0;
    margin: 0 auto;
    position: relative;
    width: 100%;
    display: flex;
    height: auto;
}
.introImg{

    width: 40vw;
    margin-left: 50%;
    box-shadow:
    0px 0.3px 1.7px rgba(0, 0, 0, 0.034),
    0px 0.8px 4px rgba(0, 0, 0, 0.048),
    0px 1.5px 7.5px rgba(0, 0, 0, 0.06),
    0px 2.7px 13.4px rgba(0, 0, 0, 0.072),
    0px 5px 25.1px rgba(0, 0, 0, 0.086),
    0px 12px 60px rgba(0, 0, 0, 0.12);
}
.introText{
    font-size: 6vw;
    position: absolute;
    right: -.25vw;
    top: 10vw;
    margin-bottom: 1rem;
}
.landing{
    height: 55rem;
}
.introP{
    font-size: 1.15vw;
    position: absolute;
    width: 18vw;
    top: 18vw;
    left: 2%;
    font-weight: 500;
}
.introB{
    position: absolute;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    background-color: var(--midBlue);
    height: 4rem;
    width: 10rem;
    bottom: 0;
    right: 80%;
    border: none;
}
.introB:hover{
    background-color: red;
}
.aboutWrapper{
    margin: 0 auto 12rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 80vh;
}
.aTextHead{
    margin-top: 1rem;
    width: 80%;
    height: 10rem;
    text-align: center;
    margin-bottom: 3rem;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid black;
}
.aHead{
    font-size: 3rem;
}
.textImage{
    margin: 0 auto;
    width: 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.imgText{
    margin-bottom: 2rem;
    font-size: 1.5rem;
}
.svg{
    box-shadow:
    0px 0.3px 1.7px rgba(0, 0, 0, 0.034),
    0px 0.8px 4px rgba(0, 0, 0, 0.048),
    0px 1.5px 7.5px rgba(0, 0, 0, 0.06),
    0px 2.7px 13.4px rgba(0, 0, 0, 0.072),
    0px 5px 25.1px rgba(0, 0, 0, 0.086),
    0px 12px 60px rgba(0, 0, 0, 0.12);
    width: 12rem;
    margin-bottom: 2rem;
}
.gallery{
    margin: 0 auto;
    display: flex;
    width: 50%;
    justify-content: space-around;
}
.aCrossOverImg{
    max-width: 35rem;
    margin-right: 50%;
    width: 40vw;
    box-shadow:
    0px 0.3px 1.7px rgba(0, 0, 0, 0.034),
    0px 0.8px 4px rgba(0, 0, 0, 0.048),
    0px 1.5px 7.5px rgba(0, 0, 0, 0.06),
    0px 2.7px 13.4px rgba(0, 0, 0, 0.072),
    0px 5px 25.1px rgba(0, 0, 0, 0.086),
    0px 12px 60px rgba(0, 0, 0, 0.12);
}
.aCrossOverDesc{
    width: 40vw;
    font-size: 5vw;
    position: absolute;
    top: 4rem;
    left: 8vw;
    text-align: right;
}
.acontainer{
    top: 0;
    margin: 0 auto;
    position: relative;
    width: 60%;
    display: flex;
    justify-content: flex-end;
}
.whyGallery{
    height: 20rem;
    width: 45%;
    position: absolute;
    right: 0;
    top: 20vw;
    display: flex;
    flex-direction: row;
}
.why h4{
    font-weight: 500;
    font-size: 1.25rem;
}
i{
    font-size: 2rem;
}
.aboutB{
    position: absolute;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    background-color: var(--midBlue);
    height: 4rem;
    width: 10rem;
    bottom: -90vw;
    right: 2rem;
    border: none;
}
.services{
    width: 70%;
    display: flex;
    margin: 4rem auto 0;
    justify-content: center;
    flex-direction: column;
}
.serviceHeader{
    height: 20vh;
    justify-self: center;
    align-self: center;
    display: flex;
    position: relative;
    overflow: hidden;
}
.services h1{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    font-size: 6rem;
    color: white;
}
.services img{
    width: 100vw;
    object-fit: cover;
    box-shadow:
    0px 0.3px 1.7px rgba(0, 0, 0, 0.034),
    0px 0.8px 4px rgba(0, 0, 0, 0.048),
    0px 1.5px 7.5px rgba(0, 0, 0, 0.06),
    0px 2.7px 13.4px rgba(0, 0, 0, 0.072),
    0px 5px 25.1px rgba(0, 0, 0, 0.086),
    0px 12px 60px rgba(0, 0, 0, 0.12);
}
.serviceGallery{
    display: flex;
    width: 100%;
    height: 30rem;
    flex-direction: row;
    justify-content: space-around;
}
.serviceGallery div{
    margin-top: 1rem;
    width: 50%;
}
.serviceGallery div h2{
    font-size: 2rem;
}
.serviceGallery div h3{
    margin-top: .5rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.services button{
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    background-color: var(--midBlue);
    height: 4rem;
    width: 12rem;
    border: none;
    margin: 0 auto;
}
.serviceTitle{
    color: black;
}
.projectWrapper{
    height: 50rem;
}
.test{
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    height: 2rem;
    background-color: purple;
    transition: height 1s;
}
.test:hover{
    height: 6rem;
    transition: height 1s ;
}
.projectGallery{
    width: 80%;
    margin: 0 auto;
    height: auto;
    display: flex;
    flex-direction: row;
}
.project{
    height: 40rem;
    background-color: pink;
    width: 20%;
    overflow: hidden;
    transition: width 1s;
    position: relative;
}
.project:hover{
    width: 50%;
    transform: width 1s;
}
.project div{
    width: 15rem;
    position: absolute;
    top: 20%;
    left: 16vw;

}
.project div h1{
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    background-color: rgba(120,158,158,.5);
    padding: 1rem;
}
.prjTitle{
    position: absolute;
    top: 0;
    left: 33%;
    writing-mode: vertical-lr;
    text-orientation: upright;
    font-size: 4rem;
    letter-spacing: -2rem;
    height: 100%;
    white-space: nowrap;
}
.project img{
    width: 40vw;
    height: 90vh;
    object-fit: cover;
    object-position: -10rem;
}
.projectTitle{
    margin-top: 3rem;
    font-size: 6vw;
    text-align: center;
    margin-bottom: 4rem;
}
.contactWrapper{
    height: 15rem;
    background-color: var(--beige);
    width: 100%;
    margin-top: 15rem;
    display: flex;
    flex-direction: column;
}
.contactWrapper div{
    text-align: center;
    margin: 3vh auto 0;
}
.contactWrapper div h4{
    margin-top: 1vh;
    font-weight: 500;
}
@media (max-width: 1150px){
    .services{
        height: auto;
    }
    .serviceGallery{
        flex-direction: column;
        height: 100%;
    }
    .serviceGallery div{
        width: 80%;
        text-align: center;
        margin: 4vw auto 0;
    }
    .serviceHeader {
        margin-bottom: 8rem;
    }
    .services button{
        margin-top: 2rem;
    }
}

@media (max-width: 780px){
    li{
        font-size: 4vw;
    }
    .introText{
        color: var(--beige);
        top: 40vw;
        text-align: center;
        position: absolute; 
        left: 0; 
        right: 0; 
        margin-left: auto; 
        margin-right: auto;
        font-size: 13vw; 
    }
    .introP{
        top: 60vw;
        text-align: center;
        position: absolute; 
        left: 0; 
        right: 0; 
        margin-left: auto; 
        margin-right: auto;
        color: white;
        font-size: 1rem;
        width: 80%;
        font-weight: 700;
    }
    .nav{
        position: absolute;
    }
    .introImg{
        object-fit: cover;
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 20px;
    }
    .acontainer{
        width: 70vw;
        margin-right: 0;
        object-fit: cover;
    }
    .aCrossOverImg{
        width: 100vw;
        height: 70vh;
        margin-right: 0;
        border-radius: 20px;
        object-fit: cover;
    }
    .whyGallery{
        position: static;
        float: left;
        margin-left: 5vw;
        margin-right: 10vw;
        margin-top: 30vw;
        flex-direction: column;
    }
    .why h4{
        width: 40vw;
    }
    .aCrossOverDesc{
        color: black;
        left: -1rem;
        margin: 0;
        top: 0;
        font-size: 11vw;
        width: 100%;
    }
    .introB{
        font-size: 4vw;
        margin: 0;
        top: 65vh;
        width: 40vw;
        height: 8vh;
        left: 0; 
        right: 0; 
        margin-left: auto; 
        margin-right: auto; 
    }
    .aboutB{
        position: static;
        margin-top: 25vw;
        width: 40vw;
        height: 8vh;
        font-size: 4vw;
    }
    .projectGallery{
        flex-direction: column;
        width: 100%;
        height: 100%;
    }
    .project{
        margin: 0 auto;
        width: 80%;
        height: 20%;
        transition: height 1s;
    }
    .project:hover{
        width: 80%;
        height: 50%;
        transition: height 1s;
    }
    .prjTitle{
        text-orientation: upright;
        writing-mode: horizontal-tb;
        letter-spacing: .25rem;
        left: 0;
        font-size: 8vw;
    }
    .project img{
        width: 100vw;
        height: 90vh;
        object-fit: cover;
        object-position:  0 -15rem;
    }
    .project div{
        margin: 0;
    }
    .project div h1{
        font-size: 3vw;
        width: 100vw;
        left: 0;
        color: white;
        background-color: rgba(120,158,158,.5);
    }

}