

/*======   Google Font   ======*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;400;600;700;800&display=swap');

/*======   BASE   ======*/

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

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

h1, h2 {
    font-weight: var(--font-extra-bold);
}

h1,h2,h3 {
    font-family: var(--title-font);
    margin-top: var(--mt-1);
    margin-bottom: var(--mb-1-25);
}

hr {
    border: none;
    background-color: var(--border-color);
    display: block;
    height: 1px;
}

ol , ul {
    list-style: none;
}





/*======   Menu   ======*/

#navbar {
    position: fixed;
    box-sizing: border-box;
    display: block;
    transition: 0.7s;
    z-index: 2;

}

.menu {
    background-color: var(--dark-color);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.main_menu {
    margin-left: auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 4.5rem;
    position: relative;
    margin: 0 auto;
    top: 0;
    width: 100%;
    max-width: var(--container-desktop);
}

.menu img, .nav_container img {
    width: 150px;
}

.navigation ul li {
    float: left;
    color: var(--second-color);
    font-size: var(--small-font-size);
    padding: 1rem 1.25rem;
}

.navigation ul li a {
    color: var(--second-color);
    font-weight: var(--font-medium);
    margin: 0 .25rem;
    position: relative;
    display: block;
}



.navigation ul li a:before, .navigation ul li a:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    top: 50%;
    background-color: var(--second-color);
    left: -1px;
}

.navigation ul li a:after {
    right: 2px;
    background-color: var(--second-color);
    transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.navigation ul li a:hover:before {
    background-color: var(--second-color);
    width: 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.navigation ul li a:hover:after {
    background: transparent;
    width: 100%;
    transition: 0s;
}





/*======  Stack Menu  ======*/

.hamburger_btn {
    position: fixed;
    margin: 16px auto;
    width: 100%;
    z-index: 15;
}

.stack_menu {
    position: relative;
    width: 46px;
    height: auto;
    display: block;
    height: 46px;
    margin-left: auto;
    margin-right: 14%;
}

.menu_btn {
    width: 46px;
    height: 46px;
    background: #151515;
    cursor: pointer;
    float: right;
    position: relative;
}

.menu_btn #line-01 {
    top: 17px;
}

.menu_btn #line-02 {
    top: 25px;
}

#line-01, #line-02 {
    position: relative;
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
    transition: 0.3s;
}

.is_active .menu_btn #line-01:nth-child(1){
    transform: rotate(45deg);
    top: 21px;
}

.is_active .menu_btn #line-02:nth-child(2){
    transform: rotate(-45deg);
    top: 19px;
}






/*======   navigation container   ======*/

.nav_container {
    background-color: var(--second-color);
    display: block;
    right: 0;
    top: 0;
    left: 100%;
    width: 100%;
    z-index: 3;
    overflow-x: hidden;
    position: fixed;
    will-change: transform;
    transition: 0.6s ease-in-out;
    -webkit-transition: 0.6s ease-in-out;
    transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(1, 0, 0.7, 1);
    -webkit-transition-timing-function: cubic-bezier(1, 0, 0.7, 1);
}

.is_active {
    display: block;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    visibility: visible;
    z-index: 10;
}

/*
.nav_container ::-webkit-scrollbar {
    display: none;
}
*/

.toggle_menu {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    top: 0;
}

.side_menu {
    display: flex;
    align-items: flex-start;
    float: left;
    width: 45vw;
    padding: 1.5rem;
    height: inherit;
    border-right: 1px solid var(--border-color);
}

.services_list li {
    font-size: var(--h1-font-size);
    color: var(--dark-color);
    font-weight: var(--font-extra-bold);
    margin: 0.6em;
    position: relative;
}

.services_list span {
    color: var(--counter-color);
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    position: relative;
    display: block;
    float: left;
    top: 8px;
    margin-right: 1rem;
}


.side_content .menu_list {
    margin: 3.3rem 0 3rem;
    height: auto;
    line-height: 5rem;
    font-weight: var(--font-extra-bold);
}

.side_content .menu_list li {
    font-size: var(--h3-font-size);
}


.side_content a {
    color: var(--dark-color);
}

.side_menu .services_list {
    padding: 2em;
    margin: 3em 2em;
}

.side_contact {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 1rem;
    margin: 4rem 1rem;
    width: 46vw;
}

.side_contact h2 {
    font-size: var(--h1-font-size);
    font-weight: var(--font-normal);
}

.side_contact ul li {
    margin: 2em 0;
}






/*======   Main Container   ======*/

.main_container {
    position: relative;
    top: 0px;
    z-index: 1;
}





/*======   Hero Section    ======*/

.blck_hero {
    background: var(--dark-color);
    padding: 8rem 0 5rem;
}

.blck_hero h1 {
    color: var(--second-color);
    font-size: var(--h1-font-size);
}

.blck_hero p {
    color: var(--second-color);
    font-size: var(--normal-font-size);
    margin: var(--mar-p);
    display: inline-block;
}

.btn_dark .s-link {
    color: var(--link-color);
}

.blck_hero .s-link::after {
    background: url('../img/rrw_orange.svg') no-repeat;
}



/*======  Word Slider  ======*/

.ms-header_work {
    -webkit-box-flex: 1;
          -ms-flex: 1 1 100%;
              flex: 1 1 100%;
    width: 100px;
    color: #fff;
}

.ms-slider {
  display: inline-block;
  height: 1.5em;
  overflow: hidden;
  vertical-align: middle;
}

.ms-slider__words {
    color: var(--second-color);
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
    -webkit-animation-name: wordSlider;
            animation-name: wordSlider;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-duration: 10s;
            animation-duration: 10s;
}

.ms-slider__word {
    display: block;
    line-height: 1.3em;
    text-align: left;
}

@-webkit-keyframes wordSlider {
    0%,
    12% {
      -webkit-transform: translateY(0%);
              transform: translateY(0%);
    }
    25%,
    36% {
      -webkit-transform: translateY(-20%);
              transform: translateY(-20%);
    }
    50%,
    60% {
      -webkit-transform: translateY(-40%);
              transform: translateY(-40%);
    }
    75%,
    84% {
      -webkit-transform: translateY(-60%);
              transform: translateY(-60%);
    }
    100% {
      -webkit-transform: translateY(-80%);
              transform: translateY(-80%);
    }
  }

@keyframes wordSlider {
  0%,
  12% {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
  25%,
  36% {
    -webkit-transform: translateY(-20%);
            transform: translateY(-20%);
  }
  50%,
  60% {
    -webkit-transform: translateY(-40%);
            transform: translateY(-40%);
  }
  75%,
  84% {
    -webkit-transform: translateY(-60%);
            transform: translateY(-60%);
  }
  100% {
    -webkit-transform: translateY(-80%);
            transform: translateY(-80%);
  }
}




/*======   Our Work    ======*/

.showcase .row {
    display: flex;
    padding: var(--pg-col);
    justify-content: space-evenly;
}

.showcase .grid {
    margin: var(--mar-desktop);
}

.showcase figure {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: var(--mb-0-5);
}

.showcase .clm_right {
    top: -60px;
}

.showcase a {
    font-weight: var(--font-normal);
}

.showcase span {
    font-weight: var(--font-bold);
}

.showcase img {
    width: 100%;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    transform: scale(1.02);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -o-transition: scale(1.02);
    transition: 1s ease-in-out;
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition-timing-function: cubic-bezier(0.75, 0.25, .25, 0.75);
}

.showcase .col_02:hover img {
    transform: scale(1.15);
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -o-transform: scale(1.15);
}

.showcase a:hover .project_text p {
    color: var(--hover-blue);
    transition: 0.5s;
}




/*======   Our Services    ======*/

.blck_services {
    background-color: var(--light-color);
}

.blck_services .services_list {
    margin: 2em 0;
}

.col_01 .services_list li {
    padding: 0;
    height: 140px;
}

.col_01 .services_list li:not(:last-child) {
    border-bottom: 10px solid #ececec;
}

.col_01 .services_list li:hover {
    color: var(--hover-blue);
}

.services_item, .services_img {
    display: block;
    float: left;
    width: 100%;
}

.services_item {
    max-width: 60%;
}

.services_img {
    max-width: 40%;
    height: auto;
}

.services_img img {
    position: absolute;
    top: 18px;
    transition: 0.8s ease-in-out;
    opacity: 0;
    border-radius: var(--border-radius);
}






/*======   About   ======*/

.blck_about p {
    color: var(--font-color);
    font-size: var(--large-font-size);
    line-height: 1.8em;
    text-indent: 1.5em;
}

.blck_about .row {
    position: relative;
    display: block;
    padding: 2em;
    margin: 0 auto;
    width: 72%;
}

.blck_cta .col_01 p {
    text-align: center;
}

.blck_cta .button a {
    margin: 0 auto;
}





/*======   Contact   ======*/


.blck_contact {
    padding: 8rem 0 5rem;
}

.blck_contact h1 {
    color: var(--dark-color);
    font-size: var(--h1-font-size);
}

.blck_contact_info .row {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.blck_contact_info .col_04 {
    width: 100%;
}

.blck_contact_info p {
    color: var(--font-color);
    font-size: var(--large-font-size);
    line-height: 1.8em;
}





/*======   Footer   ======*/

.footer {
    background-color: var(--dark-color);
    color: #fff;
}

.footer img {
    width: 78px;
    margin-left: var(--mb-0-5);
    display: inline-block;
}

.footer .col_01 h3 {
    font-size: var(--h1-font-size);
}

.footer .col_01 h3:nth-child(2) {
    font-weight: var(--font-normal);
}

.footer .col_01 {
    display: flex;
    margin-bottom: var(--mb-2-25);
    align-items: baseline;
}

.footer .col_01 div {
    flex-grow: 1;
    padding: 20px;
}

.footer .col_01 a, .footer li a {
    color: var(--second-color);
    transition: 0.5s;
    border-bottom: 1px solid var(--dark-color);
}

.footer .col_01 div a:hover {
    color: var(--link-color);
    border-bottom: 1px solid;
}




/* sub footer */

.sub_footer ul li {
    font-size: var(--smaller-font-size);
    font-weight: var(--font-normal);
    float: left;
    color: var(--second-color);
    margin-right: var(--mb-1-25);
}

.sub_footer {
    padding: var(--pg-sub-ftr);
    display: flex;
    position: relative;
    margin-top: var(--mt-3);
    justify-content: space-between;
}

.sub_footer span {
    float: right;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-normal);
    color: var(--second-color);
}

.sub_footer ul li a {
    display: block;
    position: relative;
    padding: 0 2px;
}

.sub_footer ul li a:before, .sub_footer ul li a:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    top: 50%;
    background-color: var(--second-color);
    left: -1px;
}

.sub_footer ul li a:after {
    right: 2.5px;
    background-color: var(--second-color);
    transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sub_footer ul li a:hover:before {
    background-color: var(--second-color);
    width: 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sub_footer ul li a:hover:after {
    background: transparent;
    width: 100%;
    transition: 0s;
}




/*======   Reusables   ======*/

section, footer {
    padding: var(--pg-desktop);
    clear: both;
}

section p, footer p {
    margin: var(--mar-p);
    display: block;
    position: relative;
    font-weight: var(--font-normal);
}

.container {
    max-width: var(--container-desktop);
    margin: 0 auto;
    padding: var(--pg-desktop);
    display: block;

}

.container h3 {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
}

.col_01 {
    padding: var(--pg-col);
}

.col_02 {
    width: var(--col-wdth-42);
}

.clm_right {
    position: relative;
    margin-top: -30px;
}

.col_01 a, .col_02 a {
    color: var(--dark-color);
}

.col_03 {
    width: var(--col-wdth-72);
}

.col_01, .col_02, .col_03, .col_04 {
    display: block;
    position: relative;
}




/*== button ==*/

/* view more projects */
.blck_work .button {
    margin: 0 auto;
    width: 100%;
    display: inline-flex;
}

.blck_work .button a {
    font-weight: var(--font-bold);
    margin: 0 auto;
}

.btn_light .s-link:hover {
    color: var(--grey-color);
}

.btn_light .s-link::after {
    content: '';
    background: url(../img/rrw_black.svg) no-repeat;
    position: absolute;
    background-position: center;
    width: 8px;
    height: 13px;
    right: -18px;
    top: 55%;
    transform: translateY(-50%);
    transition: 250ms ease;
}




/* button connect */
.button {
    height: auto;
    margin: 20px 0;
    position: relative;
    padding: 5px 0;
    display: inline-flex;
    width: 100%;
}

.s-link {
    line-height: 14px;
    text-decoration: none;
    position: relative;
    transition: 250ms ease;
}

.s-link:hover {
    color: var(--hover-orange);
}

.s-link:hover::after {
    right: -26px;
    color: #000;
}

.s-link::after {
    content: '';
    position: absolute;
    background-position: center;
    width: 8px;
    height: 13px;
    right: -18px;
    top: 55%;
    transform: translateY(-50%);
    transition: 250ms ease;
}

.blck_about .connect a {
    font-weight: var(--font-bold);
    color: var(--dark-color);
}

.blck_about .connect a:hover {
    color: var(--grey-color);
}

.blck_about .s-link::after {
    background: url(../img/rrw_black.svg) no-repeat;
}

.blck_about .connect {
    margin: var(--mar-btn);
}

/*   about page  */

.blck_intro {
    padding: 8rem 0 2rem;
}

.blck_intro p {
    color: var(--font-color);
    font-size: var(--large-font-size);
    line-height: 1.8em;
    width: 75%;
}

.blck_profile .row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20%;
}

.blck_profile img {
    border-radius: var(--border-radius);
    width: 640px;
    height: auto;
}

.blck_profile .row .col_04:nth-child(1) p {
    padding: 1rem 0 5rem;
}


/*====== Root variables ======*/
:root {
    /*======   Colors   ======*/
    --first-color: #2D2D2D;
    --second-color: #ffffff;
    --dark-color: #151515;
    --grey-color: #4e4e4e;
    --light-color: #F9F9F9;
    --link-color: #FDB933;
    --hover-orange: #e3a325;
    --border-color: #C8C8C8;
    --counter-color: #b1b1b1;
    --font-color: #343434;
    --hover-blue: #123C87;

    /*======  Font and Typography   ======*/
    --body-font: 'Manrope', sans-serif;
    --title-font: 'Manrope', sans-serif;
    --h1-font-size: 3.813rem;
    --h1-smll-size: 2.86rem;
    --h1-mobile: 1.43rem;
    --h2-font-size: 1.62rem;
    --h3-font-size: 2.25rem;
    --h3-mobile: 1.25rem;
    --large-font-size: 1.75rem;
    --normal-font-size: 1.25rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;

    /*======   Font weight   ======*/
    --font-normal: 200;
    --font-medium: 400;
    --font-bold: 600;
    --font-extra-bold: 800;

    /*======   containers   ======*/
    --container-desktop: 1600px;

    /*======   Margins   ======*/
    --mar-desktop: 60px 0 40px;
    --mar-mobile: 20px 0 10px;
    --mar-btn: 30px 0 20px;
    --mar-p: 8px 0 5px;
    --mar-p-mob: 16px 0 14px;
    --mb-0-25: 0.25rem;
    --mb-0-5: 0.5rem;
    --mb-1: 1rem;
    --mb-1-25: 1.25rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mt-3: 6em;
    --mb-2-25: 2.25rem;
    --mt-0-25: 0.25rem;
    --mt-0-5: 0.5rem;
    --mt-1: 1rem;
    --mt-1-5: 1.5rem;

    /*======   Padding devices   ======*/
    --pg-mobile: 1.15rem 0 0.5rem;
    --pg-tablet: 1.15rem 0.65em;
    --pg-desktop: 3.15rem 0 2.15rem;
    --pg-col: 0 4.5rem;
    --pg-sub-ftr: 0 6rem;

    /*======   Corners   ======*/
    --border-radius: 6px;

    /*======   Cols Widths ======*/
    --col-wdth_100: 100%;
    --col-wdth-42: 42%; 
    --col-wdth-72: 72%;

    /*======   z index   ======*/
    --z-tooltip: 10;
    --z-fixed: 100;
}




/*======   Media queries   ======*/
/*
@media screen and (min-width: 968px) {
    :root{
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.75rem
        --h3-font-size: 1.25rem;
    }
}
*/


/*  Larger breakpoint */
@media only screen and (max-width: 1920px) {
}

/*  Large breakpoint */
@media only screen and (max-width: 1440px) {
    .services_item {
        max-width: 50%;
    }

    .services_img img {
        max-width: 60%;
    }

    .blck_profile .row {
        gap: 10%;
    }
}



/* Tablet devices */
@media only screen and (max-width: 1080px) {

    .nav {
        padding: 22px 1.5rem;
    }

    section, footer {
        padding: var(--pg-mobile);
    }

    .container {
        padding: var(--pg-tablet);
    }

    .col_01 {
        padding: var(--pg-tablet);
    }

    .blck_about .row {
        width: 84%;
    }

    .sub_footer {
        padding: 0 3rem;
    }

    .showcase .row {
        padding: var(--pg-tablet);
    }

    .services_img img {
        max-width: 50%;
    }

    .col_01 .services_list li {
        font-size: var(--h1-smll-size);
        height: 100px;
    }

    .blck_profile .row {
        gap: 5%;
    }

    .blck_profile img {
        width: 512px;
    }

}




/* Mobile */
@media only screen and (max-width: 769px) {

    .blck_hero, .blck_intro, .blck_contact {
        padding: 4rem 0 1rem;
    }

    .blck_hero h1, .blck_contact h1 {
        font-size: var(--h1-smll-size);
    }

    .blck_about .row {
        width: 96%;
    }

    .footer .col_01 {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu .main_menu {
        display: none;
    }

    .hamburger_btn {
        display: inline-block;
    }

    .stack_menu {
        position: relative;
        margin-right: 5%;
        margin-left: auto;
    }

    section, footer {
        padding: var(--pg-mobile);
    }

    /* Block work */

    .showcase .row {
        /*flex-direction: column;*/
        padding: 0px;
    }

    .showcase .clm_right {
        top: 0;
    }

    .showcase .col_02 {
        /*width: 100%;*/
    }

    /* Block services */

    .services_item {
        max-width: 100%;
    }

    .services_img {
        max-width: 100%;
    }

    .services_img img {
        top: 80px;
        display: block;
    }

    .blck_profile .row {
        flex-direction: column;
    }

    .blck_contact_info .row {
        flex-direction: column;
    }
    
}




@media only screen and (min-width: 769px) {
    .hamburger_btn {
        display: none;
    }

    .services_list li:hover .services_img img {
        display: block;
        top: -50%;
        opacity: 1;
    }

}




/* Mobile portrait */
@media only screen and (max-width: 576px) {
    h1, h2, h3 {
        margin-top: var(--mt-0-5);
        margin-bottom: var(--mt-0-25);
    }

    body {
        font-size: var(--small-font-size);
    }

    .blck_hero h1, .blck_contact h1 {
        font-size: var(--h1-mobile);
    }

    .blck_hero p {
        font-size: var(--small-font-size);
    }

    .ms-header_work {
        width: 70px;
    }

    .container h3 {
        font-size: var(--h3-mobile);
    }

    .showcase .col_02 {
        margin: var(--mar-mobile);
    }

    .col_01 .services_list li {
        padding: 0;
        height: 50px;
    }

    .blck_services .services_list {
        margin: 0.5em 0;
    }

    .blck_services .services_list li {
        margin: 0.3em;
        font-size: var(--h1-mobile);
    }

    .services_list span {
        font-size: var(--h3-mobile);
        top: 1px;
        margin-right: 0.3rem;
    }

    .blck_about .row {
        width: 100%;
        padding: 0.5em;
    }

    .blck_about p, .blck_intro .row p, .blck_contact_info p{
        font-size: var(--normal-font-size);
    }

    .blck_profile img {
        width: 384px;
    }

    .blck_intro .row p {
        width: 100%;
    }

    .s-link::after {
        height: 10px;
        top: 56%;
    }

    .toggle_menu {
        flex-direction: column;
    }

    .side_menu {
        border-right: 0;
        width: 100vw;
        height: 57vh;
    }

    .side_content .menu_list {
        margin: 2rem 0 0rem;
        line-height: 4rem;
    }

    .side_contact {
        width: 100vw;
        padding: 1rem;
        margin: 0rem 0.5rem;
    }

    .side_contact ul li {
        margin: 1em 0;
    }

    .sub_footer {
        flex-direction: column;
        padding: 0 1.8rem;
        margin-top: var(--mt-1);
    }

    .footer p {
        margin: var(--mar-p-mob);
    }

    .sub_footer ul {
        margin-bottom: var(--mb-2);
    }

    .sub_footer ul li {
        line-height: 2.5rem;
        float: none;
    }

}


@media only screen and (max-width: 378px) {
    .blck_profile img {
        width: 256px;
    }
}


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

    .menu img, .nav_container img {
        width: 120px;
    }

    .blck_hero h1 {
        font-size: var(--h1-mobile);
    }

    .blck_about .row {
        padding: 0em;
    }

    .blck_about p {
        font-size: var(--normal-font-size);
    }
}

