    /*
* ----------------------------------------------------------------------------------------
Author        : Rama Hardian Sidik
Template Name : Freeman - Multipurpose Personal One Page Html Template
Version       : 1.0
Filename      : main.css
* ----------------------------------------------------------------------------------------
  TABLE OF CONTENT
* ----------------------------------------------------------------------------------------
* 01.BASE CSS. 
    - loadder 
* 02.HEADER SECTION.
    - navigation 
* 03.HERO SECTION. 
* 04.ABOUT SECTION.
* 05.SERVICES SECTION.
* 06.PORTFOLIO SECTION.
* 07.CONTACT SECTION.
* 08.FOOTER SECTION. 
* ----------------------------------------------------------------------------------------
*/

    @import url(./vendor/bootstrap/bootstrap.css);
    @import url(./vendor/fontawesome/all.min.css);
    @import url(./vendor/keen-slider.css);
    @import url(./vendor/glightbox.css);

    @font-face {
        font-family: "Poppins";
        font-style: normal;
        font-weight: 700;
        src: url("../font/Poppins-Bold.woff2") format("woff2");
        font-display: swap;
    }

    @font-face {
        font-family: "Poppins";
        font-style: normal;
        font-weight: 600;
        src: url("../font/Poppins-SemiBold.woff2") format("woff2");
        font-display: swap;
    }

    @font-face {
        font-family: "Poppins";
        font-style: normal;
        font-weight: 400;
        src: url("../font/Poppins-Regular.woff2") format("woff2");
        font-display: swap;
    }

    /*
* ----------------------------------------------------------------------------------------
* 01.BASE CSS. 
* ----------------------------------------------------------------------------------------
*/

    * {
        -webkit-font-smoothing: antialiased;
    }

    body {
        font-family: 'Poppins';
        font-size: 15px;
        font-weight: 400;
        color: #080808;
        text-rendering: optimizeLegibility;
    }

    main{
        background-image: url("../asset/portfolio/SVG/gridWhite.png");
        background-size: 4.5%;
    }

    h3 {
        white-space: normal;
    }

    ::selection {
        background: #bfbfbf;
        color: #ffffff;
    }

    a:hover {
        text-decoration: none;
    }

    .fixid {
        background: #f2f2f2;
        box-shadow: 0 0 10px 5px rgba(180, 180, 180, 0.3);
    }

    label {
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
    }

    input,
    textarea {
        padding: 10px;
        font-size: 13px;
        width: 100%;
        color: #080808;
        background: transparent;
        border: 2px solid rgba(25, 26, 30, .5);
        border-radius: 0px;
    }

    textarea {
        height: 150px;
    }

    .goverlay {
        background: #f2f2f2;
    }

    .linkbtn {
        background: #080808;
        color: #ffffff;
        padding: 10px 20px;
        border-radius: 0px;
    }

    .linkbtn:hover {
        color: #ffffff;
    }

    .navigation-wrapper {
        position: relative;
    }

    .dots {
        display: flex;
        padding: 5px 0;
        justify-content: center;
    }

    .dot {
        border: none;
        width: 20px;
        height: 2px;
        background: #bfbfbf;
        border-radius: 3px;
        margin: 10px 5px;
        padding: 3px;
        cursor: pointer;
    }

    .dot:focus {
        outline: none;
    }

    .dot--active {
        background: #080808;
    }

    /*
* ----------------------------------------------------------------------------------------
* 01.BASE CSS. 
- preloader
* ----------------------------------------------------------------------------------------
*/

    .preloader {
        position: fixed;
        width: 100%;
        height: 100%;
        z-index: 999999999 !important;
        background-color: #ffffff;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .preloader .preloader__img {
        display: inline-block;
        position: absolute;
        width: 350px;
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*
* ----------------------------------------------------------------------------------------
* 02.HEADER SECTION. 
* ----------------------------------------------------------------------------------------
*/

    #headermain {
        padding: 10px 0 10px;
        position: fixed;
        width: 100%;
        z-index: 3;
        top: 0;;
        background-color: #080808;
    }

    /*
* ----------------------------------------------------------------------------------------
* 02.HEADER SECTION. 
- navigation
* ----------------------------------------------------------------------------------------
*/

    .navpage__wrap {
        padding: 10px 0 0;
        margin: 0;
    }

    .navpage__wrap li {
        list-style: none;
        display: inline-block;
        margin: 0 3px;
    }

    .navpage__wrap li a {
        font-size: 15px;
        font-weight: 500;
        position: relative;
        color: #f2f2f2;
        z-index: 1;
        padding: 5px 15px;
        border-radius: 0px;
    }

    .navpage__wrap li a:hover {
        text-decoration: none;
        color: #080808;
        background: #f2f2f2;
    }

    .navpage__wrap li a.activelink {
        color: #080808;
        background: #f2f2f2;
        text-decoration: underline;
    }

    .navicon {
        position: absolute;
        right: 10px;
        top: 10px;
        width: 50px;
        height: 50px;
        cursor: pointer;
        z-index: 22;
        border-radius: 25px;
    }

    .navicon__bar {
        width: 18px;
        height: 1px;
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0);
        transition: all .3s;
    }

    .navicon__bar:before,
    .navicon__bar:after {
        content: '';
        position: absolute;
        width: 25px;
        height: 2px;
        background: #080808;
    }

    .navicon:hover .navicon__bar:before,
    .navicon:hover .navicon__bar:after {
        background: #080808;
    }

    .navicon__bar:before {
        transform: rotate(0deg) translate(0px, -4px);
    }

    .navicon__bar:after {
        transform: rotate(0deg) translate(0px, 4px);
    }

    .navicon.active .navicon__bar:before {
        transform: rotate(-45deg) translate(0px, 0px);
    }

    .navicon.active .navicon__bar:after {
        transform: rotate(45deg) translate(0px, 0px);
    }

    .navicon.active:hover .navicon__bar .navicon__bar:before {
        transform: rotate(0deg) translate(0px, 0px);
    }

    .navicon.active:hover .navicon__bar .navicon__bar:after {
        transform: rotate(0deg) translate(0px, 0px);
    }

    .overlay {
        position: fixed;
        width: 100%;
        height: auto;
        z-index: 2;
        top: -100%;
        display: none;
        background: #f2f2f2;
        padding: 80px 0 30px 0;
        border-bottom: 1px solid #bfbfbf;
    }

    .overlay__listnav {
        padding: 0 0 0 20px;
    }

    .overlay__listnav li {
        list-style: none;
        margin: 10px 0;
    }

    .overlay__listnav li a {
        font-size: 18px;
        font-weight: 500;
        position: relative;
        color: #080808;
        padding: 5px 10px;
        border-radius: 0px;
    }

    .overlay__listnav li a:hover {
        color: #ffffff;
        text-decoration: none;
        background: #080808;
    }

    .openmenu .overlay {
        display: block;
        top: -1px;
    }

    /*
* ----------------------------------------------------------------------------------------
* 03.HERO SECTION. 
* ----------------------------------------------------------------------------------------
*/

    #sectionhero {
        padding: 6vw 0 0;
    }

    .infohero__p {
        font-size: 20px;
        letter-spacing: 1px;
        padding: 5px 20px;
        color: #080808;
        display: inline-block;
        background: #f2f2f2;
        text-align: center;
        font-weight: 550;
    }

    .infohero__title {
        font-size: 50px;
        font-weight: 600;
        text-shadow: 5px 5px #080808;
        text-align: center;
    }

    .infohero__title span {
        display: block;
        font-size: 40px;
    }

    .heroimg {
        height: 350px;
        width: 350px;
        margin: 0 auto;
    }

    .heroimg .heroimg__poto {
        border-radius: 10%;
        height: 350px;
        width: 350px;
        object-fit: cover;
        box-shadow: 20px 20px 1px 1px #bfbfbf;
        border: 7px solid;
        image-rendering: smooth;
    }

    #typed-text {
        letter-spacing: 3px;
        font-size: 20px;
        font-weight: 600;
        text-transform: uppercase;
        text-align: center;
    }

    .herolink {
        display: inline-block;
    }

    /*
* ----------------------------------------------------------------------------------------
* 04.ABOUT SECTION. 
* ----------------------------------------------------------------------------------------
*/

    #aboutsection {
        height: auto;
        padding: 50px 0 0;
    }

    .abouthero h3 {
        font-size: 50px;
        font-weight: 600;
    }

    .infoabout__list {
        padding: 0;
    }

    .infoabout__list li {
        list-style: none;
    }

    .infoabout__wrap .infoabout__title {
        color: #080808;
        letter-spacing: 1px;
        font-weight: 700;
    }

    /*
* ----------------------------------------------------------------------------------------
* 05.SERVICE SECTION. 
* ----------------------------------------------------------------------------------------
*/

    #servicesection {
        height: auto;
        padding: 0 0 0;
    }

    .counterwrap {
        text-align: center;
    }

    .counterwrap__counternum {
        font-size: 30px;
        font-weight: 700;
    }

    .wrapservice {
        padding: 20px;
    }

    .wrapservice i {
        font-size: 30px;
        background: #bfbfbf;
        padding: 20px 20px;
        border-radius: 0%;
    }

    .wrapservice__title {
        font-size: 20px;
        font-weight: 600;
    }

    /*
* ----------------------------------------------------------------------------------------
* 06.PORTFOLIO SECTION. 
* ----------------------------------------------------------------------------------------
*/

    #Projectssection {
        height: auto;
    }

    #porfoliowarp {
        padding-top: 50px;
        position: relative;
        padding-left: 0;
        padding-right: 0;
        z-index: 1;
    }

    .grid-gutter-md {
        margin-left: -8px;
        margin-right: -8px;
    }

    .porfoliowarp__item {
        filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.487));
        cursor: pointer;
        margin: 0;
        position: relative;
        float: right;
        padding: 10px;
        width: 33.3333%;
        border-radius: 5px;
        overflow: hidden;
    }

    .porfoliowarp__content {
        border-radius: 5px;
        height: 500px;
        width: 100%;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
        -o-transition: all .3s ease;
        transition: all .3s ease;
    }

    .porfoliowarp__item:hover .porfoliowarp__content {
        background-color: #bfbfbf;
        opacity: .5;
    }

    .porfoliowarp__portolink i {
        position: absolute;
        z-index: 1;
        color: #080808;
        opacity: 0;
        font-size: 50px;
        position: absolute;
        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        transition: all .3s;
    }

    .porfoliowarp__item:hover i {
        opacity: 1;
    }

    #filterwrap {
        padding: 0;
        margin: 30px 0;
    }

    #filterwrap li {
        display: inline-block;
        list-style: none;
        margin: 0 5px;
        padding: 5px 20px;
        cursor: pointer;
        border: 1px solid #080808;
    }

    #filterwrap li.active {
        background: #080808;
        color: #ffffff;
    }

    /*
* ----------------------------------------------------------------------------------------
* 07.CONTACT SECTION. 
* ----------------------------------------------------------------------------------------
*/

    #contactsection {
        height: auto;
        background: #f2f2f2;
        padding: 0 0 50px;
    }

    .contactdetail__title {
        font-size: 30px;
        font-weight: 600;
    }

    .contactdetail__list {
        padding: 0;
    }

    .contactdetail__list li {
        list-style: none;
        position: relative;
        margin: 20px 0;
    }

    .contactdetail__span {
        font-weight: 600;
    }

    .contactdetail__sosmed {
        padding: 0;
    }

    .contactdetail__sosmed li:first-child {
        margin: 10px 10px 0 0;
    }

    .contactdetail__sosmed li {
        list-style: none;
        margin: 10px 10px 10px;
        display: inline-block;
    }

    .contactdetail__sosmed li a {
        color: #080808;
        font-size: 30px;
    }

    /*
* ----------------------------------------------------------------------------------------
* 08.FOOTER SECTION. 
* ----------------------------------------------------------------------------------------
*/

    .footwrap p {
        font-size: 13px;
        letter-spacing: 1px;
    }



    /*
* ----------------------------------------------------------------------------------------
* 09.PERSO. 
* ----------------------------------------------------------------------------------------
*/


    .logoHeader {
        height: 30px;
    }

    .image-icon {
        height: 50px;
    }

    .image-icon-little {
        height: 30px;
        margin-right: 5px;
    }

    .counterwrap__counternum-text {
        font-size: 20px;
        font-weight: 700;
    }

    .contactdetail {
        text-align: center;
    }

    /* Reset */
    *:before,
    *:after {
        content: '';
    }

    hr {
        border: 0;
        margin: 1.35em auto;
        max-width: 100%;
        background-position: 50%;
        box-sizing: border-box;
    }



    .bookends {
        position: relative;
        border-width: 5px;
        border-color: rgb(0, 0, 0) transparent;
        height: 11px;
        border-style: double;
        width: 80%;
    }

    .bookends:before,
    .bookends:after {
        position: absolute;
        bottom: -3.536px;
        width: 7.071px;
        height: 7.071px;
        display: block;
        border-width: 0 7.071px 7.071px 0;
        border-color: rgb(0, 0, 0);
        border-style: double;
        box-sizing: border-box;
    }

    .bookends:before {
        transform: translateZ(0) rotate(-45deg);
        left: -21px;
    }

    .bookends:after {
        transform: translateZ(0) rotate(135deg);
        right: -21px;
    }

    .aboutlinkLogo {
        margin-right: 10px;
        ;
    }

    .paragraph {
        margin-bottom: 30px;
        /* between paragraphs */
        margin-top: 30px;
        /* between paragraphs */
    }

    .wrapservice i {
        padding-left: 20px;
        padding-top: 20px;
        ;
    }

    .fa {
        max-width: 70px;
    }

    .imgGallery {
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
    }

    .imgGallery:hover {
        opacity: 0.7;
    }

    /* The Modal (background) */
    .modal {
        display: none;
        /* Hidden by default */
        position: fixed;
        /* Stay in place */
        z-index: 99;
        /* Sit on top */
        padding-top: 100px;
        /* Location of the box */
        left: 0;
        top: 0;
        width: 100%;
        /* Full width */
        height: 100%;
        /* Full height */
        overflow: auto;
        /* Enable scroll if needed */
        background-color: rgb(0, 0, 0);
        /* Fallback color */
        background-color: rgba(0, 0, 0, 0.9);
        /* Black w/ opacity */
    }

    /* Modal Content (image) */
    .modal-content {
        margin: auto;
        display: block;
        width: 75%;
        max-width: 75%;
    }

    /* Caption of Modal Image */
    #caption {
        margin: auto;
        display: block;
        width: 80%;
        max-width: 700px;
        text-align: center;
        color: #ccc;
        padding: 10px 0;
        height: 150px;
    }

    @-webkit-keyframes zoom {
        from {
            -webkit-transform: scale(1)
        }

        to {
            -webkit-transform: scale(2)
        }
    }

    @keyframes zoom {
        from {
            transform: scale(0.4)
        }

        to {
            transform: scale(1)
        }
    }

    @-webkit-keyframes zoom-out {
        from {
            transform: scale(1)
        }

        to {
            transform: scale(0)
        }
    }

    @keyframes zoom-out {
        from {
            transform: scale(1)
        }

        to {
            transform: scale(0)
        }
    }

    /* Add Animation */
    .modal-content,
    #caption {
        -webkit-animation-name: zoom;
        -webkit-animation-duration: 0.2s;
        animation-name: zoom;
        animation-duration: 0.2s;
    }

    .out {
        animation-name: zoom-out;
        animation-duration: 0.2s;
    }

    /* 100% Image Width on Smaller Screens */
    @media only screen and (max-width: 700px) {
        .modal-content {
            width: 100%;
        }
    }

    img,
    iframe {
        max-width: 100%;
    }

    .hearderImage {
        width: 100%;
    }

    .iconsLittlesContainer {
        display: inline;
    }

    svg {
        width: 50%;
        position: relative;
        left: 25%;
        transform: scaleX(2);
    }

    #projectText {
        font-size: 30px;
        margin-bottom: -30px;
    }
    #rowFirstSection{
        background-image: url('../asset/portfolio/background.png');
        background-size:cover;
        background-repeat: no-repeat;
        background-position: center;
        width: 689px;
        height: 425px;
        max-width: 689px;
        max-height: 425px;
        padding: 105px;
        color: #f2f2f2;
    }
    img.background{
      position: absolute;
      left: 0px;
      top: -142px;
      z-index: -1;
      width: 100%;
      height: auto;

    }
    
    html, body{
        width: 100%;
        height: 100%;
    }

    .backgroundOfSection{
        background-image: url("../asset/portfolio/SVG/grid.png");
        background-size: 6%;
        filter: invert(1);
        width: 100%;
        height: 100%;
        position: absolute;
        margin-top: -50px;;
        z-index: -2;
        opacity: 0.1;
    }


    /* HTML: <div class="loader"></div> */
.preloader__img {
    max-width: 120px;
    height: 10px;
    background: 
      linear-gradient(#000 50%,#0000 0),
      linear-gradient(#0000 50%,#000 0),
      linear-gradient(#000 50%,#0000 0),
      linear-gradient(#0000 50%,#000 0),
      linear-gradient(#000 50%,#0000 0),
      linear-gradient(#0000 50%,#000 0)
      #ddd;
    background-size: calc(100%/6 + 1px) 200%;
    background-repeat: no-repeat;
    animation: l12 1s infinite;
  }
  @keyframes l12 {
    0%     {background-position: calc(0*100%/5) 100%,calc(1*100%/5)   0%,calc(2*100%/5) 100%,calc(3*100%/5)   0%,calc(4*100%/5) 100%,calc(5*100%/5)   0%}
    16.67% {background-position: calc(0*100%/5)   0%,calc(1*100%/5)   0%,calc(2*100%/5) 100%,calc(3*100%/5)   0%,calc(4*100%/5) 100%,calc(5*100%/5)   0%}
    33.33% {background-position: calc(0*100%/5)   0%,calc(1*100%/5) 100%,calc(2*100%/5) 100%,calc(3*100%/5)   0%,calc(4*100%/5) 100%,calc(5*100%/5)   0%}
    50%    {background-position: calc(0*100%/5)   0%,calc(1*100%/5) 100%,calc(2*100%/5)   0%,calc(3*100%/5)   0%,calc(4*100%/5) 100%,calc(5*100%/5)   0%}
    66.67% {background-position: calc(0*100%/5)   0%,calc(1*100%/5) 100%,calc(2*100%/5)   0%,calc(3*100%/5) 100%,calc(4*100%/5) 100%,calc(5*100%/5)   0%}
    83.33% {background-position: calc(0*100%/5)   0%,calc(1*100%/5) 100%,calc(2*100%/5)   0%,calc(3*100%/5) 100%,calc(4*100%/5)   0%,calc(5*100%/5)   0%}
    100%   {background-position: calc(0*100%/5)   0%,calc(1*100%/5) 100%,calc(2*100%/5)   0%,calc(3*100%/5) 100%,calc(4*100%/5)   0%,calc(5*100%/5) 100%}
  }
  .preloader__img h1{
    margin: auto;
    display: block;
    margin-top: -60px;;
    margin-left: -30px;
  }
  .preloader__img{
    margin-top: 35px;;
  }

  .preloaderBackground{
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: -1;
    filter: invert(1);
    background-size: 4.5%;
    opacity: 0.1;
    background-image: url("../asset/portfolio/SVG/grid.png");
  }


.barHeader{
    transform: translateY(50%);
    filter: invert(1);
}


.video-container{
  width: 100vw;
  height:100%;
}

 iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translate(-50%, -60%);
  border: 0;
}

.video-container iframe {
  z-index: -1;
}

#text{
  position: absolute;
  color: #FFFFFF;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media (min-aspect-ratio: 16/9) {
  .video-container iframe {
    height: 56.25vw;
    overflow: hidden;
  }
}
@media (max-aspect-ratio: 16/9) {
  .video-container iframe {
    width: 177.78vh;
  }
}

.leftGamedesignService, .rightGamedesignService{
    width: 100vw;;
    text-align: center;
    padding-top: 200px;
    padding-bottom: 200px;
    background-position: center;
    background-position-y:bottom;
    background-size: cover;
    margin: -1px;
}

.leftGamedesignService p, .rightGamedesignService p{
    font-weight: 600;
    font-size: 20px;;
    width: auto;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 20px;
    color: #f2f2f2;
}

.backgroundCOntainText{
    background-image: url(../asset/portfolio/background2.png);
    width: 689px;
    height: 290px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 105px;
    margin: auto;
    
    position: absolute;
    margin-left:50%;
    margin-top: 50px;
    transform: translate(-50%);
    color: #f2f2f2;

    text-align: center;
    font-weight: 600;
}
.title{
    margin-top: -5px;
    font-size: 50px;;
    text-transform: uppercase;
    margin-bottom: -45px;
    padding-bottom: 30px;
}


.selectedGamedesignService{
    width: 110vw;;
    text-align: center;
    cursor: unset;
}

.leftGamedesignService{
    background-image: url("../asset/portfolio/BOSSAttack\ .gif");

}
.rightGamedesignService{
    background-image: url("../asset/portfolio/dodge2.gif");

}

.parralelogramme{
    position: absolute;
    margin-top: -10px;
    height: 420px;
    left: 50%;
    transform: translate(-50%);
    width: 500px;
    filter: invert(1);
}

#mainwrap{
    margin-top: 120px;
}

#servicesection{
    overflow: hidden;
}