
/*--------------- basic styling --------------- */
html, body {
      margin: 0;
      padding: 0;
      width: 100%;
      height: 100%;
      font-family: "Roboto Mono" !important;
      background: #0f0f0f !important;
      color: #fff !important;
      /* overflow-x: hidden; */
}

b {
      font-weight: 700 !important;
}

.whitespace {
      width: 100%;
      height: 100px;
}

@media(max-width: 768px) {
      .whitespace {
            display: none;
      }
}

/*--------------- typewriter effect --------------- */
.line {
      width: 24em;
      max-width: 40ch;
      top: 50%;
      margin: auto;
      border-right: 2px solid rgba(255, 255, 255, 0.75);
      text-align: center;
      white-space: nowrap;
      overflow-wrap: break-word;
      overflow: hidden;
      transform: translateY(-50%);
}

.anim-typewriter {
      animation: typewriter 4s steps(39) 0.4s 1 normal both,
      blinkTextCussor 500ms steps(39) infinite normal;
      
}

@keyframes typewriter {
      from {
            width: 0;
      }
      to {
            width: 19em;
      }
}

@media(max-width: 768px) {
      @keyframes typewriter {
            from {
                  width: 0;
            }
            to {
                  width: 18em;
            }
      }
}

@keyframes blinkTextCussor {
      from {
            border-right-color: rgba(255, 255, 255, 0.75);
      }
      to {
            border-right-color: transparent;
      }
}

/*--------------- navigation --------------- */
nav {
      width: 100%;
      background: #0f0f0f;
      height: 80px;
      position: fixed;
      z-index: 1;
}

nav #brand {
      float: left;
      display: block;
      margin-left: 82px;
      line-height: 80px;
      font-weight: bold;
      width: 100%;
      height: 100%;
}

.logo {
      width: 120px;
      height: auto;
}

nav #brand a {
      color: #fff;
      transition: all 0.4s ease-out;
}

nav #brand a:hover {
      text-decoration: none;
}

nav #menu {
      float: left;
      right: 80px;
      position: fixed;
}

nav #menu li {
      padding-left: 40px;
      display: inline-block;
      cursor: pointer;
      font-weight: 300;
      line-height: 80px;
      position: relative;
      transition: all 0.4s ease-out;
}

nav #menu li span {
      font-weight: 700;
}

nav #menu li a {
      color: #fff;
      opacity: 1 !important;
}

nav #menu li a:hover {
      text-decoration: none;
}

nav #menu li.active {
      opacity: 1 !important;
      font-weight: bolder !important;
}

#toggle {
      position: absolute;
      right: 30px;
      top: 20px;
      font-weight: 300;
      z-index: 2;
      width: 30px;
      height: 30px;
      cursor: pointer;
      float: right;
      transition: all 0.4s ease-out;
      visibility: hidden;
      opacity: 0;
}

.close-btn {
      position: absolute;
      right: 16px;
      font-weight: 300;
      z-index: 2;
      cursor: pointer;
      top: -2px;
      line-height: 80px;
}

#resize {
      z-index: 1;
      top: 0px;
      position: fixed;
      background: #0f0f0f;
      width: 100%;
      height: 100%;
      visibility: hidden;
      opacity: 0;
      transition: all 0.4s ease-out;
}

#resize #menu {
      height: 90px;
      position: absolute;
      left: 45%;
      transform: translateX(-40%);
      text-align: center;
      display: table-cell;
      vertical-align: center;
}

#resize #menu li {
      display: block;
      text-align: center;
      padding: 10px 0;
      font-size: 50px;
      min-height: 50px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.4s ease-out;
}

#resize #menu li.active {
      opacity: 1 !important;
      font-weight: bolder !important;
}

#resize li:nth-child(1) {
      margin-top: 140px;
}

#resize #menu li a {
      color: #fff;
}

#resize #menu li a:hover {
      text-decoration: none;
}

#resize.active {
      visibility: visible;
      opacity: 1;
}

@media(max-width: 768px) {
      #toggle {
            visibility: visible;
            opacity: 1;
            margin-top: 6px;
            margin-right: 4px;
      }

      nav #brand {
            margin-left: 24px;
      }

      #menu a {
            font-size: 20px;
            font-weight: 300;
      }

      #resize li span {
            font-weight: bolder;
      }

      nav #menu {
            display: none;
      }
}

@media(min-width: 768px) {
      #resize {
            visibility: hidden !important;
      }
}

/*--------------- hero section --------------- */
.hero {
      height: 100vh;
      display: flex;
      align-items: center;
      background-image: url("../images/bg.jpg");
      background-size: cover;
      background-attachment: fixed;
      justify-content: center;
}

.hero h1 {
      font-weight: lighter;
      text-align: center;
      letter-spacing: -2px;
      line-height: 58px;
}

@media(max-width: 768px) {
      .header h1 {
            font-size: 26px;
      }
}


.title-head{
      color: #110f10 !important;
}

.cover {
      max-width: 60ch;
      margin: auto;
      padding: 120px 60px;
}

.spaced {
      margin-bottom: 20px;
}

@media(max-width: 768px) {
      .cover {
            max-width: 60ch;
            margin: auto;
            padding: 10px;
      }

      .spaced {
            margin-bottom: 120px !important;
      }
}

.cover h3 {
      color: #110f10;
}

.cover p {
      color: #2c2b2c;
}

.case-btn {
      border: none;
      background-color: transparent;
      font-weight: 700;
      cursor: pointer;
      margin: 0;
      margin-top: 20px;
      padding: 0;
      color: #110f10;
}

.case-btn:hover {
      text-decoration: underline;
}

.case-btn:focus {
      box-shadow: none !important;
      border: none !important;
}

.pb-30 {
      padding-bottom: 30px !important;
}

/*--------------- scroll down icon animation --------------- */
.scroll-down {
      position: absolute;
      left: 50%;
      bottom: 100px;
      display: block;
      text-align: center;
      font-size: 20px;
      z-index: 0;
      text-decoration: none;
      text-shadow: 0;
      width: 13px;
      height: 13px;
      border-bottom: 2px solid #fff;
      border-right: 2px solid #fff;
      -webkit-transform: translate(-50%, 0) rotate(45deg);
      animation: fade_move_down 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes fade_move_down {
      0% {
            transform: translate(0, -20px) rotate(45deg);
            opacity: 0;
      }
      50% {
            opacity: 1;
      }
      100% {
            transform: translate(0, 20px) rotate(45deg);
            opacity: 0;
      }
}

/*--------------- projects section --------------- */
h6 {
      text-align: center;
}

.vertical {
      margin-top: 40px;
      border-left: 1px solid #fff;
      height: 80px;
      position: absolute;
      left: 50%;
}

.project {
      height: 500px;
}

/* .sec-1 {

      -webkit-filter: grayscale(100%); 
      filter: grayscale(100%);
      transition: all 0.4s ease-out;
}

.sec-1:hover {
      filter: grayscale(0);
      -webkit-filter: grayscale(0);
} */

.project1 {
      background: url(../images/estate/estate.png) no-repeat 50% 50%;
      background-size: cover;
      cursor: pointer;
      
}

/* .project1::after {
      content: "MyEstate App.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 8%;
      left: -60%;
      right: 0;
      bottom: 0;
} */

/* .project1:hover {
      filter: grayscale(0);
      -webkit-filter: grayscale(0);
} */

.project2 {
      background: url(../images/trm/TRM-thumbnail.png) no-repeat 50% 50%;
      background-size: cover;
      cursor: pointer;
}

/* .project2::after {
      content: "foretime.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 80%;
      left: 90%;
      right: 0;
      bottom: 0;
} */

.project3 {
      background: url(../images/paeback/paeback-thumbnail.jpg) no-repeat 50% 50%;
      background-size: cover;
      cursor: pointer;
}

/* .project3::after {
      content: "never again.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 80%;
      left: -50%;
      right: 0;
      bottom: 0;
} */

.project4 {
      background: url(../images/orula/orula-thumb.png) no-repeat 50% 50%;
      background-size: cover;
      cursor: pointer;
}


.project5 {
      background: url(../images/zapp/phone.jpg) no-repeat 50% 50%;
      background-size: cover;
      cursor: pointer;
}
/* .project4::after {
      content: "departure.";
      font-family: "Roboto Mono";
      font-size: 36px;
      position: relative;
      color: #fff;
      display: block;
      top: 10%;
      left: 90%;
      right: 0;
      bottom: 0;
} */

@media(max-width: 768px) {
      .project {
            width: 100% !important;
            margin: 14px auto;
      }

      .imageProjectTrm.home {
            width: 100% !important;
            background-size: cover;
      }

      .vertical {
            display: none;
      }

      .project1::after, .project2::after, .project3::after, .project4::after {
            display: none;
      }
}

/*--------------- footer section --------------- */
.collab {
      text-align: right;
}

.collab p {
      font-weight: lighter !important;
      margin-bottom: 20px;
}

.hr {
      background: rgba(255, 255, 255, 0.2);
      height: 1px;
}

.info h4 {
      font-size: 18px;
      font-weight: lighter;
      padding-top: 8px !important;
}

.info p {
      color: grey;
      font-weight: lighter;
}

.info li {
      font-weight: lighter;
      color: #fff;
      font-size: 18px;
      padding-left: 20px;
}

#be::before {
      display: inline-block;
      content: '';
      border-radius: 100%;
      height: 4px;
      width: 4px;
      margin-right: 6px;
      background: #3b5998;
}


#dr::before {
      display: inline-block;
      content: '';
      border-radius: 100%;
      height: 4px;
      width: 4px;
      margin-right: 6px;
      background: #ff0cae;
}


#tw::before {
      display: inline-block;
      content: '';
      border-radius: 100%;
      height: 4px;
      width: 4px;
      margin-right: 6px;
      background: #55acee;
}


#li::before {
      display: inline-block;
      content: '';
      border-radius: 100%;
      height: 4px;
      width: 4px;
      margin-right: 6px;
      background: #2145e4;
}

#media, #address {
      text-align: right;
}

#media ul {
      list-style: none;
}

#media ul li {
      display: inline-block;
}

@media(max-width: 768px) {
      .collab, #personal, #media, #address {
            text-align: center;
      }

      .info ul {
            margin: 0 0 0 -22px;
            padding: 0;
      }
}

/*--------------- work page --------------- */

p {
      opacity: .7;
}

.hero-content {
      margin-left: 0%;
}

.hero-content p {
      font-weight: 300;
      line-height: 36px;
      /* color: grey; */
      opacity: .7;
}

.about-text {
      font-weight: 300;
      line-height: 36px;
      /* color: grey; */
      opacity: .7;
}

.project-img p.para {
      font-weight: 300;
      line-height: 36px;
      opacity: .7;
      margin-top: 30px;
}

.para-quote {
      font-size: 24px;
      line-height: 36px;
      max-width: 70ch;
}

.hero-content h6 {
      text-align: left;
}

@media(max-width: 768px) {
      .hero-content {
            padding-top: 50px;
            width: 96%;
            margin: 0 auto;
      }
}

/*---------------about page --------------- */

.about {
      margin-top: 120px;
}

.about-container {
      width: 100%;
      height: 100%;
      overflow: hidden;
}

.about-img {
      width: 90%;
      height: auto;
      background-size: cover;
}

.trm-img-container {
      width: 100%;
      height: 100%;
      overflow: hidden;
}

.trm-img {
      width: 100%;
      height: auto;
      background-size: cover;
}

.trm-img-container-proto {
      width: 100%;
      height: 100%;
      overflow: hidden;
      margin: 0 auto;
      position: relative;
}

.trm-img-proto {
      width: 300px;
      height: auto;
      position: relative;
      left: 36%;
}

@media(max-width: 768px) { 
      .trm-img-proto {
            width: 300px;
            height: auto;
            position: relative;
            left: 7%;
      }
}

@media(min-width: 1000px) { 
      .trm-img-proto {
            width: 300px;
            height: auto;
            position: relative;
            left: 30%;
      }
}
      

@media(max-width: 768px) {
      .hero-content {
            padding-top: 50px;
            width: 96%;
            margin: 0 auto;
      }

      .trm-img {
            width: 100%;
            height: auto;
            background-size: cover;
      }

      .about-img {
            width: 100%;
            height: auto;
            background-size: cover;
      }
}

.imageEstate.home{
      background: url(../images/estate/estate.png) no-repeat;
      background-size: cover;
}



/*--------------- contact form --------------- */

#contact-form {
      margin: 5% 1.4%;
}

#contact-form ul {
      list-style: none;
      border-radius: 5px;
      margin-bottom: 40px;
}

#contact-form li {
      padding: 10px;
}

#contact-form li:last-of-type {
      border-bottom: none;
}

#contact-form label {
      display: block;
      font-size: .8em;
      color: #999;
      padding-left: 5px;
}

#contact-form input, #contact-form textarea {
      width: 100%;
      padding: 5px;
      border: none;
      resize: vertical;
      background: transparent;
      color: #fff;
      font-weight: bolder;
}

input:focus {
      outline: none;
      border: none;
}

textarea:focus {
      outline: none;
      border: none;
}

.textarea {
      border-bottom: 1px solid #dfdfdf;
}

.send {
      margin-left: 50px;
      text-transform: uppercase;
      padding: 20px 30px;
      background: transparent;
      color: #dfdfdf;
      font-size: 14px;
      letter-spacing: 2px;
}

.send:hover {
      background: #dfdfdf;
      color: #101010;
}

@media(max-width: 768px) {
      #contact-form {
            margin: 5% -8%;
            width: 98%;
      }
      
}

/*--------------- project page --------------- */

.prev, .next p {
      color: grey;
      cursor: pointer;
}

.prev p {
      text-align: left;
}

.next p {
      text-align: right;
}


.mb-10 {
      margin-bottom: 10px !important;
}

.mb-20 {
      margin-bottom: 20px !important;
}

.mb-30 {
      margin-bottom: 30px !important;
}

.pb-5 {
      padding-bottom: 5px !important;
}

.pb-10 {
      padding-bottom: 10px !important;
}


.impo {
      color: #fff !important;
      opacity: 1 !important;
}

li {
      opacity: .8;
      line-height: 36px;
}

.f-16 {
      font-size: 16px !important;
      line-height: 32px !important;
}

.text-white {
      color: #fff !important;
      opacity: 1 !important;
}




.scroll-btn {
      display: inline-block;
      color: #fff;
      background-color: #FF9800;
      border-color: #FF9800;
      width: 50px;
      height: 50px;
      text-align: center;
      border-radius: 4px;
      position: fixed;
      bottom: 60px;
      right: 60px;
      transition: background-color .3s, 
        opacity .5s, visibility .5s;
      opacity: 0;
      visibility: hidden;
      z-index: 2000;
    }
    #button::after {
      font-weight: normal;
      font-style: normal;
      font-size: 2em;
      line-height: 50px;
      color: #fff;
    }

    .scroll-icon {
          width: 20px;
          height: auto;
    }
    .scroll-btn:hover {
      cursor: pointer;
      background-color: rgb(231, 139, 0);
      border-color: rgb(231, 139, 0);
    }
    .scroll-btn:active {
      background-color: #555;
    }
    .scroll-btn.show {
      opacity: 1;
      visibility: visible;
    }
    
    @media(max-width: 768px) {
      .scroll-btn {
            bottom: 30px;
            right: 30px;
          }
}

p.light {
      color: #fff !important;
      opacity: 1 !important;   
}

a.text-orange {
      color: rgb(255, 175, 55) !important;
      opacity: 1 !important;
      font-weight: 700;
}

span.text-orange {
      color: rgb(255, 175, 55) !important;
      opacity: 1 !important;
      font-weight: 700;
}

li.text-white a {
      color: #fff !important;
      text-decoration: none;
}

.divider {
      height: 1px;
      background: rgb(224, 224, 224);
      margin-bottom: 30px;
      visibility: hidden;
}

@media(max-width: 768px) {
      #contact-form {
            margin: 5% -8%;
            width: 98%;
      }
      .divider {
            visibility: visible;
      }
      
}



.loader-wrapper {
      width: 100%;
      height: 100vh !important;
      position: absolute;
      top: 0;
      left: 0;
      background: #0f0f0f;
      z-index: 50000;
}


.loader {
      width: 250px;
      height: 50px;
      line-height: 50px;
      text-align: center;
      position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
              transform: translate(-50%, -50%);
      font-family: helvetica, arial, sans-serif;
      text-transform: uppercase;
      font-weight: 900;
      color: #FF9800;
      letter-spacing: 0.2em;
    }
    .loader::before, .loader::after {
      content: "";
      display: block;
      width: 15px;
      height: 15px;
      background: #FF9800;
      position: absolute;
      -webkit-animation: load .7s infinite alternate ease-in-out;
              animation: load .7s infinite alternate ease-in-out;
    }
    .loader::before {
      top: 0;
    }
    .loader::after {
      bottom: 0;
    }
    
    @-webkit-keyframes load {
      0% {
        left: 0;
        height: 30px;
        width: 15px;
      }
      50% {
        height: 8px;
        width: 40px;
      }
      100% {
        left: 235px;
        height: 30px;
        width: 15px;
      }
    }
    
    @keyframes load {
      0% {
        left: 0;
        height: 30px;
        width: 15px;
      }
      50% {
        height: 8px;
        width: 40px;
      }
      100% {
        left: 235px;
        height: 30px;
        width: 15px;
      }
    }
    



    .img-container {
      width: 100%;
      height: 100%;
      overflow: hidden;
}

.art-img {
      width: 100%;
      height: auto;
      background-size: cover;
}