
/* globals*/
*, *:before, *:after {
    box-sizing: border-box;
}

body {
    font-family: m-1m, monospace;
    line-height: 1.2;
    font-weight: 200;
    padding: 0;
    margin: 0;
}

b{
    font-weight: 400;
}



/* nav */

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,.85);
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s ease;
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.nav-overlay--links {
    position: relative;
    width: 300px;
    padding: 30px;
    border-left: 5px solid #F4F4F4;
}
.nav-overlay--links .bg-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;

}
.nav-overlay--links_page {
    position: relative;
    display: block;
    color: white;
    text-decoration: none;
    padding: 2px 0;
    font-size: 14px;
    z-index: 2;
}
.main-home .nav-overlay--links_page:nth-child(4) {

    margin-bottom: 20px;

}
.nav-overlay--links_page:nth-child(6),
.nav-overlay--links_page:nth-child(7) {
    padding-bottom: 20px;
}
.nav-overlay--links_page:before {
    content:'\/';
    position: relative;
    left: 0;
    top: -1px;
    opacity: 0;
    transition: all .5s ease;
}
.nav-overlay--links_page:after {
    content:'\/';
    position: relative;
    right: 0;
    top: -1px;
    opacity: 0;
    transition: all .5s ease;
}
.nav-overlay--links_page:hover:before{
    left: -10px;
    opacity: 1;
}
.nav-overlay--links_page:hover:after{
    right: -10px;
    opacity: 1;
}
.nav-overlay--links_close{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    width: 46px;
    height: 46px;
    color: #F4F4F4;
    border-radius: 50%;
    border:1px solid #F4F4F4;
    margin-bottom: 40px;
    z-index: 2;
}
.nav-overlay--links_close:hover {
    background:#ccc;
    cursor: pointer;
}

.top-bar {
    position: fixed;
    width: 100%;
    padding: 1% 6% 1% 6%;
    display:flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
}

.rm-logo {
    position: relative;
    width: 45%;
    max-width: 226px;
    padding-right: 4%;
}
.rm-logo img{
    width: 100%;
}

main {
    position: relative;
    display: block;
    padding-top: 20%;
    z-index: 1;
}

main.main-home {
    position: relative;
    display: flex;
    align-items: center;
    background: #444 url('../images/HOME/Runway.jpg') center center;
    height: 100vh;
}


/* new homepage background */
main.main-home.new-home {


    padding: 0 0 0 24px;
}

.new-nav-bg,
.new-nav-bg-link {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #444 url('../images/homepage/hp-bg.jpg') center top;
    background-size: cover;
    z-index: 1;
    top: 0;
    left: 0;

}

.new-nav-bg-link {
    opacity: 0;
    transition: opacity .25s ease;
}

.new-nav-bg-link.active {
    opacity: 1;
}

.new-nav-bg-link.cover {
    background-color: rgba(0,0,0,0.44);
    background-image: none;
    z-index: 99;
    opacity: 1;
}

.new-nav-bg-link.one {
    background-image: url('../images/homepage/WORKS_LAYOUT-01.jpg');
}
.new-nav-bg-link.two {
    background-image: url('../images/homepage/WORKS_LAYOUT-02.jpg');
}
.new-nav-bg-link.three {
    background-image: url('../images/homepage/WORKS_LAYOUT-03.jpg');
}
.new-nav-bg-link.four {
    background-image: url('../images/homepage/WORKS_LAYOUT-04.jpg');
}
.new-nav-bg-link.five {
    background-image: url('../images/homepage/WORKS_LAYOUT-05.jpg');
}
.new-nav-bg-link.six {
    background-image: url('../images/homepage/WORKS_LAYOUT-06.jpg');
}

.new-nav {
    position: fixed;
    left: 0%;
    width: 100%;
    top: 0%;
    z-index: 3;
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 20px;
}
.new-nav--title {
    position: absolute;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    white-space: nowrap;
    text-transform: uppercase;
    color: #fff;
    left: 50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
    
}

.new-nav--title-rowan,
.new-nav--title-miguel {
    position: relative;
    display: inline-block;
    font-size: 7.5vw;
    line-height: 1;
}



.new-nav--title-rowan > span {
    font-size: 11px;
}

.new-nav--links {
    position: relative;
    margin: 12px 0 0 0;
    list-style-type: none;
    padding: 0 0 0 0;
    display: inline-block;
}

.new-nav--links > li {
    padding: 0;
}

.new-nav--links-subs {
    position: absolute;
    color: #fff;
    text-align: right;
    padding: 0;
    list-style-type: none;
    margin:0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 7vw;
    right: 0;
    top: 25vh;
    z-index: 3;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: padding,opacity,top .6s ease;
}

.new-nav--links-subs.active {
    padding: 62vh 24px 10vh 0;
    height: auto;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    top: 0;
}




.new-nav--links-subs li {
    position: relative;
}

.new-nav--links-subs a {

    text-decoration: none;
    color: #fff;
    transition: color .24s ease;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #fff;
}

.new-nav--links-subs a:hover {
    color: rgba(255,255,255,.25);
}
/*new nav*/







.main-home .leading {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.05);
    flex-direction: column-reverse;
    
}
.main-home .leading .intro {
    padding: 5% 20px;
   
    
}
.main-home .leading .intro-copy {
    width: 90%;
    max-width: 400px;
    color: white;
    padding: 2%;
   /* font-family: m-1m, monospace; */
    line-height: 1.25;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    border-right: 0px solid white;
    
}

main.about .leading .intro-copy a {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    vertical-align: middle;

}
main.about .leading .intro-copy a img {

    position: relative;
    width: 25px;
    height: auto;

}
.main-home .content-section.leading .intro img{ 
    position: relative;
    display: block;
    width: 200px;
    padding-left: 5px;
    margin-bottom: 30px;
}


main.about {
    position: relative;
    display: flex;
    align-items: inherit;
    background: #fff url('../images/ABOUT/IMG_7619 2_b.jpg') bottom center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    height: 100vh;
    padding-top: 5%;
}

main.about .leading .intro-copy {
    width: 90%;
    max-width: 600px;
    color: white;
    padding: 2%;
    /*font-family: m-1m, monospace;*/
    line-height: 1.25;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: black;
    border:none;
}
/* section */
.row {
    position: relative;
    display: block;
    width: 100%;
}

.content-section {
    position: relative;
    margin: 0 auto;
    max-width: 1440px;
    width: 100%;
    padding: 0 4%;
    margin-bottom: 4%;
}
.content-section.top-container h1{
    font-size: 16px;
    line-height: 1.18;
}
.content-section.top-container {
    position: relative;
    font-size: 14px;
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0;
    padding-left: 6%;
    margin-bottom: 10%;
    transition: all .5s ease;
    
}

.content-section img,
.content-section svg {
    position: relative;
    display: block;
    width: 100%;
}
.content-section svg .tech_spec_btn {
    cursor: pointer;
    border: none;
    position: relative;

}
/*
tech pack overlay
*/
.techPack_overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    background: rgba(0,0,0,0.65);
    opacity: 0;
    pointer-events: none;
    transition: all .8s ease;
}
.techPack_overlay .nav-overlay--links_close {
    position: absolute;
    top: 2%;
    right: 2%;
}
.techPack_overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.techPack_overlay iframe{
    position: relative;
    width: 100%;
    max-width: 960px;
    height: 80%;
    display: block;
}

/*
accordion
*/
.accordion {
    position: relative;
    display: block;
    height: auto;
    background: white;
    width: 100%;
    font-size: 0;
}
.accordion .accordion-single {
    position: relative;
    width: 100%;
    display: block;
    height: auto;
    transition: all 0.65s ease;
    overflow: hidden;
    padding: 2% 0;
    text-decoration: none;

}
.accordion .accordion-single .accordion-single_content {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 20%;
    background-size: cover;
    background-position: center top;
    transform: translate(-50% , 0%);
    left: 50%;
    top: 0%;
    transition: all 0.75s ease;
    z-index: 1;
}
.accordion .accordion-single .title-card {
    position: absolute;
    bottom: 20%;
    transform: translateX(0%);
    left: 6%;
    font-family: 'Raleway';
    color: #111;
    transition: all 1s ease;

    z-index: 3;

}
.accordion .accordion-single .title-card h1,
.accordion .accordion-single .title-card h2{
    font-size: 7.5vw;
    line-height: 1;
    margin: 0;
}
.accordion .accordion-single .title-card p{
    font-size: 14px;
    line-height: 1;
    margin: 0;
}
.accordion .accordion-single .gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.7), rgba(255,255,255,0) 95%);

}

.accordion .accordion-single:nth-child(1) .accordion-single_content {
    background-image:url('../images/work_titles/quantum_title.jpg');
}
.accordion .accordion-single:nth-child(2) .accordion-single_content {
    background-image:url('../images/work_titles/dkny_title.jpg');
}
.accordion .accordion-single:nth-child(3) .accordion-single_content {
    background-image:url('../images/work_titles/carlos_title.jpg');
}
.accordion .accordion-single:nth-child(4) .accordion-single_content {
    background-image:url('../images/work_titles/jv_title.jpg');
}
.accordion .accordion-single:nth-child(5) .accordion-single_content {
    background-image:url('../images/work_titles/calvin_title.jpg');
}


/*
scroll top
*/
.scroll-top {
    position: relative;
    margin: 20px auto;
    display: block;
    font-family: quasimoda-2, sans-serif;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    
}
.scroll-top img{
    position: absolute;
    transform: scaleY(-1) translate(-50%, 100%);
    width: 50px;
    top: -5%;
    left: 50%;
}



@media (min-width: 800px) {


    .new-nav {

      top: 0%;
    }

    .new-nav--links-subs.active {
        padding: 35vh 24px 25vh 0;
    }

    .new-nav--title-rowan > span {
        font-size: 44px;
    }
    
    
    

    .top-bar {
        padding: 1% 3.4% 1% 4.1%;
    }
    main {
        padding-top: 62px;
    }

    .main-home .leading {
        flex-direction: row;
    }
    .main-home .leading .intro-copy {
        border-right: 8px solid white;
        
    }


    main.about {
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: right top;
        height: 100vh;
    }
    .content-section.top-container {

        margin-bottom: 31px;
        padding-left: 17%;

    }
    .content-section {
        margin-bottom: 40px;
    }

    .accordion {
        height: 82.5vh;
    }
    .accordion .accordion-single {
        width: calc( 100% / 5);
        display: inline-block;
        height: 82.5vh;
        overflow: hidden;
        white-space: nowrap;
        padding:0;
    }
    .accordion .accordion-single.openSelect {
        width: 40%;
    }
    .accordion .accordion-single.openSide {
        width: 15%;
    }
    .accordion .accordion-single .accordion-single_content {
        position: absolute;
        width: 600px;
        height: 100%;
        padding-bottom: 0;
    }
    .accordion .accordion-single .gradient {
        background: linear-gradient(to top, rgba(255,255,255,0.5), rgba(255,255,255,0) 33%);
    }
    .accordion .accordion-single .title-card {
        bottom: 15px;
        transform: translateX(0%);
        left: 20px;

    }
    .accordion .accordion-single .title-card h1,
    .accordion .accordion-single .title-card h2{
        font-size: 40px;
    }
}