* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    opacity: 0;
    scroll-behavior: smooth;
}

body {
    /* background: #1A1A1A; */
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 16px;
}

/* **********************************************************
    Navbar
*********************************************************** */

header#desktop-menu {
    width: 80px;
    height: 100vh;
    background: #fff;
    color: #1A1A1A;
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

header#mobile-menu {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    background: #fff;
    color: #1A1A1A;
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
    padding: 0 1rem;
    position: fixed;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 101;
    display: none;
}

.mobile-menu-offset {
    height: 50px;
    width: 100%;
    background: transparent;
    display: none;
}

aside {
    /* width: 530px; */
    width: 600px;
    height: 100vh;
    background: #eee;
    color: #1A1A1A;
    position: fixed;
    left: -600px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

aside#mobile {
    width: 100%;
    height: calc(100vh - 50px);
    background: #eee;
    color: #1A1A1A;
    position: fixed;
    top: -100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    display: none;
}

.nav-area {
    width: 80px;
    height: 100%;
}

.content-area {
    position: relative;
    width: 100%;
    height: 100%;
}

.row {
    width: 100%;
    position: relative;
    display: flex;
    /* height: 400px; */
}

.menu-body {
    position: relative;
    height: calc(100% - 100px);
    padding: 50px;
    /* overflow: scroll; */

    overflow: auto;
}

.menu-logo {
    margin-bottom: 100px;
}

.menu-logo-mobile {
    margin-bottom: 25px;
}


.menu-logo img,
.menu-logo-mobile img {
    height: 52px;
    margin-left: -10px;
}

.menu-nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 60px;
}

.menu-nav li {
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 0;
    margin-right: 36px;
}

.menu-footer {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eee;
    border-top: 1px solid #ddd;
}

.menu-footer a,
.menu-footer a:hover,
.menu-footer a:visited,
.menu-footer a:active {
    color: black;
}

.social {
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.social:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    /* margin-top: -25px; */
    margin-top: -50px;
    left: 0;
    background: #1A1A1A;
    transition: width .2s ease;
    -webkit-transition: width .2s ease;
}

.social:hover:after,
.social:active:after {
    width: 100%;
    left: 0;
    background: #1A1A1A;
}

.link {
    position: relative;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    list-style-type: none;
}

.link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    left: 0;
    background: #1A1A1A;
    transition: width .2s ease;
    -webkit-transition: width .2s ease;
}

.link:hover:after,
.link:active:after {
    width: 100%;
    left: 0;
    background: #1A1A1A;
}

.active-link {
    position: relative;
}

.active-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    display: block;
    margin-top: 5px;
    left: 0;
    background: #1A1A1A;
    transition: width .2s ease;
    -webkit-transition: width .2s ease;
}

.menu-info {
    position: relative;
}

.menu-info-services,
.menu-info-contact {
    position: absolute;
    top: 0;
}

.menu-info-services P > a {
    text-decoration: none;
    color: #1A1A1A;
    cursor: pointer;
    transition: 0.3s;
}

.menu-info-services p > a:hover {
    color: grey;
}

.menu-info-etc {
    position: absolute;
    top: 0;
}

.menu-info-about h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 2rem;
}

.menu-info-about h3 {
    font-size: 1rem;
    line-height: 1.4rem;
    margin-bottom: 2rem;
}

.menu-info-about p {
    font-size: 0.9rem;
    line-height: 1.5rem;
    margin-bottom: 2rem;
}

.menu-info-about p.resume {
    font-family: 'Roboto', sans-serif;
}

.menu-info-about a,
.menu-info-about a:visited {
    color: #1A1A1A;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-info-about a:hover,
.menu-info-about a:active {
    color: grey;
    cursor: pointer;
}

.about- img {
    width: 100%;
    border-radius: 0.3em;
    padding-bottom: 20px;
}

.flex {
    display: flex;
}

.row {
    flex-direction: row;
}

.between {
    justify-content: space-between;
}

.menu-info-services,
.menu-info-contact {
    opacity: 0;
}

.menu-info-etc {
    opacity: 0;
}

.menu-info-etc {
    line-height: 1.5rem;
    font-size: 0.87rem;
}

.testimonial-name {
    /* opacity: 0.7; */
    font-size: 0.8rem;
    font-weight: bold;
    padding-top: 10px;
}

.menu-info-services h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 1.4rem;
}

.menu-info-services p {
    font-size: 0.8rem;
    line-height: 1.4rem;
    margin-bottom: 2.4rem;
}

.menu-info-services .flex.row div {
    margin-right: 3rem;
}

.menu-info-services .flex.row div:last-child {
    margin-right: 0;
}

.menu-info-contact h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 2rem;
}

.menu-info-contact h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 1.4rem;
}

.menu-info-contact p {
    font-size: 0.8rem;
    line-height: 1.4rem;
    margin-bottom: 2.4rem;
}

.menu-info-contact a {
    text-decoration: none;
    color: #1a1a1a;
    transition: 0.3s;
}

.menu-info-contact a:hover {
    color: grey;
}

/* Icon 3 */

.nav-icon {
    width: 25px;
    height: 20px;
    position: relative;
    /* margin: 50px auto; */
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.nav-icon span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #1A1A1A;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all .25s ease-in-out;
}

/* hover color for hamburger icon */
.nav-icon:hover span,
.nav-icon:active span {
    background: #FC5457;
    background: grey;
}

.nav-icon span:nth-child(1) {
    top: 0px;
}

.nav-icon span:nth-child(2),
.nav-icon span:nth-child(3) {
    top: 8px;
}

.nav-icon span:nth-child(4) {
    top: 16px;
}

.nav-icon.open span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.nav-icon.open span:nth-child(2) {
    transform: rotate(45deg);
}

.nav-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
}

.nav-icon.open span:nth-child(4) {
    top: 16px;
    width: 0%;
    left: 50%;
}


/* **********************************************************
    Header/Info Container Style
*********************************************************** */


.info-container {
    display: flex;
    justify-content: space-between;
    padding: 40px 80px 0 80px;
    
}

.info-container P {
    color: #8a8a8a;
    line-height: 1.2em;
    font-size: 1.2em;
    width: 30vw;
}

.info-container img {
    height: 90px;
}

/* **********************************************************
    Landing Container Style
*********************************************************** */


.landing-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    grid-gap: 50px 30px;
    padding: 70px 80px 100px 80px ;
}

.landing-item {
    display: flex;
    flex-direction: column;
}

.img-container {
    overflow: hidden;
}

.img-container img {
    object-fit: cover;    
    object-position: 50% 50%;
    height: 40vh;
    min-height: 200px;
    width: 100%;
    display: block;
    transition: 0.4s;
}

.img-container img:hover {
    transform: scale(1.1);
}

.landing-item-text {
    margin: 15px 0;
    font-size: calc(12px + (20 - 13) * ((100vw - 900px) / (3800 - 900)));
}


/* **********************************************************
    Project Page Styles
*********************************************************** */

.project-page-header img {
    width: 100%;
    padding-left: 80px;
}

.project-page-info {
    width: 700px;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-column-gap: 50px;
    margin: 0 auto;
    padding: 80px 0;
    line-height: 1.3em;
}

.project-page-info h2 {
    font-family: 'Oswald', sans-serif;
    opacity: 0.6;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1em;
    padding-bottom: 10px;
}

.project-page-info-left {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-row-gap: 20px;
}

.project-page-info-left p {
    font-weight: 500;
}

.project-page-main img {
    width: 100%;
    padding-left: 80px;
}

.project-page-main .padding-80 { 
    padding-left: 0px;
}

.page-navigation {
    display: flex;
    justify-content: space-between;
    padding: 80px;
}

.page-navigation i {
    padding: 0 5px;
}

.page-navigation a {
    text-decoration: none;
    color: grey;
    transition: 0.3s;
    font-weight: 500;
}
.page-navigation a:hover {
    color: #000;
}

/* **********************************************************
    Footer Styles
*********************************************************** */


.footer-container {
    padding: 50px 80px;
    color: #555;
}

.footer-container h1 {
    font-weight: 500;
}

.footer-container h2 a {
    color: #555;
    opacity: 0.8;
    font-weight: 400;
    transition: 0.1s;
}

.footer-container h2 a:hover {
    color: #000;
}

.links-container {
    padding: 130px 0 0 0;
    align-items: center;
}

.links-container p {
    font-size: 0.8em;
}

.social-links {
    color: #AEAEAE;
    padding: 0 5px;
    transition: 0.3s;
}

.social-links:hover {
    color: #000;
}

.animation-logo img {
    width: 90px;
}

/* **********************************************************
    Media Queries
*********************************************************** */


@media only screen and (max-width: 1200px) {
    
    .landing-container {
        grid-row-gap: 20px;
    }
    
    .img-container img {
        height: 30vh;
    }

    .info-container P {
        font-size: 1.1em;
        width: 40vw;
    }

}


@media only screen and (max-width: 900px) {
    
    .landing-container {
        grip-row-gap: 10px;
        padding-right: 25px;
    }

    .img-container img {
        height: 20vh;
    }

    .landing-item-text {
        margin: 10px 0;
    }

    .footer-container {
        padding: 50px 25px 50px 80px;
    }

    .links-container {
        padding: 70px 0 0 0;
    }

    .info-container {
        flex-direction: column;
    }
    
    .info-container P {
        padding: 30px 0 0 0;
        width: 100%;
        font-size: 1.2em;
    }

    .project-page-info {
        grid-template-columns: 1fr;
        width: 500px;
        grid-row-gap: 30px;
    }

    .project-page-info-left {
        grid-template-rows: 1fr;
        grid-template-columns: repeat(2, 1fr);
    }
}


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

    header#desktop-menu {
        width: 0px;
        display: none;
    }

    header#mobile-menu {
        display: flex;
    }

    .mobile-menu-offset {
        display: block;
    }

    .nav-area {
        width: 0px;
    }

    #project .content-area {
        margin-left: 0;
        width: 100%;
    }

    aside {
        width: 100%;
        height: calc(100vh - 50px);
        position: fixed;
        left: 0;
        top: -1000px;
    }

    aside#mobile {
        display: flex;
    }

    .info-container {
        padding: 60px 25px 30px 25px;
        align-items: center;
    }
    
    .info-container P {
        display: none;
    }
    
    .info-container img {
        height: 110px;
    }

    .landing-container {
        padding: 0 25px;
        grid-template-columns: 1fr;
        /* grip-row-gap: 30px; */
    }

    .footer-container {
        padding: 50px 25px 30px 25px;
    }

    .footer-container h1 {
        line-height: 1em;
        font-size: 1.4em;
    }

    .footer-container h2 {
        font-size: 1.3em;
    }

    .links-container p {
        font-size: 0.7em;
    }

    .social-links {
        font-size: 0.8em;
        padding: 0 2px;
    }

    .project-page-header img {
        padding-left: 0;
    }

    .project-page-main img {
        padding-left: 0;
    }

    .project-page-info {
        width: 300px;
    }

    .project-page-info-left {
        grid-column-gap: 20px;
    }

    .page-navigation {
        padding: 30px 30px 10px 30px;
        font-size: 0.7em;
    }
}


