* {
    padding: 0;
    margin: 0;
    letter-spacing: 0.8px;
    line-height: 150%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 1.4rem;
    color: #fff;
}

html {
    font-size: 10px;
}

body {
    overflow-x: hidden;
    font-family: 'Quicksand', sans-serif;
}

ul {
    list-style: none;
}

a {
    color: #fff;
    text-decoration: none;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Oswald', sans-serif;
    font-family: 'Poppins', sans-serif;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 5rem 0;
}

/*LOADER*/

.load{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #262431;
    z-index: 2000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.gear-container {
    position: relative;
    margin: 50px auto;
    width: 100px;
    height: 80px;
    -ms-flex-item-align: center;
        align-self: center;
  }
  
  .gear {
    position: absolute;
    z-index: -10;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 5s infinite;
            animation: spin 5s infinite;
  }
  
  .two {
    left: 40px;
    width: 80px;
    height: 80px;
    -webkit-animation: spin-reverse 5s infinite;
            animation: spin-reverse 5s infinite;
  }
  
  .three {
    top: 45px;
    left: -10px;
    width: 60px;
    height: 60px;
  }
  
  @-webkit-keyframes spin {
    50% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }
  
  @keyframes spin {
    50% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }
  @-webkit-keyframes spin-reverse {
    50% {
      -webkit-transform: rotate(-360deg);
              transform: rotate(-360deg);
    }
  }
  @keyframes spin-reverse {
    50% {
      -webkit-transform: rotate(-360deg);
              transform: rotate(-360deg);
    }
  }

  .complete{
      display: none;
  }

/*NAV*/

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 20;
    padding: 2rem 0;
}

.nav-logo {
    display: block;
    width: 60%;
    height: auto;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    max-width: 250px;
}

.nav-links {
    display: none;
}

.nav-link-item a{
    font-weight: bold;
}

.nav-links .nav-link-item {
    padding: 0 1.5rem;
    border-bottom: 2px solid transparent;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

.nav-links .nav-link-item:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.6);
}

.nav-links .nav-link-item:hover a{
    color: #0A3B61;
}

.menu-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon span {
    border-radius: 0.4rem;
    border-top: 0.4rem solid #fff;
    margin-top: 0.3rem;
    width: 34px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

.nav-scroll-effect {
    height: 70px;
    background-color: rgba(70, 51, 175, 0.8);
    padding: 0;
}

.nav-scroll-logo {
    width: 100px;
    height: auto;
}

.nav-expand {
    opacity: 0;
    height: 0;
    background: inherit;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    position: absolute;
    top: -100px;
    width: 100%;
    padding: 1rem 0;
}

.nav-expand ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.nav-expand .nav-link-item {
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    width: 100%;
    padding: 1rem 0;
}

.nav-expand .nav-link-item:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.nav-expand .nav-link-item:hover a{
    color: #0A3B61;
}

.nav-expand-open {
    opacity: 1;
    height: 200px;
    top: 99%;
}

/*CAROUSEL*/

#carousel {
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    position: relative;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0 , 0.3)),to(rgba(0, 0, 0, 0)));
    background: linear-gradient(to bottom, rgba(0, 0, 0 , 0.3),rgba(0, 0, 0, 0));
}

#carousel .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

#carousel .carousel-item .carousel-text {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.5rem;
}

#carousel .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    opacity: 0;
    -webkit-transform: scale(5);
    transform: scale(5);
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
}

.first-text,
.second-text {
    position: relative;
    -webkit-transition: opacity 2s, top 0.8s, bottom 0.8s;
    transition: opacity 2s, top 0.8s, bottom 0.8s;
    opacity: 0;
}

.first-text {
    top: -200px;
    margin-bottom: 2rem;
}

.second-text {
    bottom: -200px;
}

.next-img-btn,
.prev-img-btn {
    position: absolute;
    z-index: 2;
    cursor: pointer;
}

.next-img-btn {
    top: 50%;
    right: 3%;
}

.prev-img-btn {
    top: 50%;
    left: 3%;
}

.prev-img-btn::before,
.next-img-btn::before {
    content: "";
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

.next-img-btn::before {
    border-top: 3px solid rgba(251, 0, 0, 0.5);
    border-right: 3px solid rgba(251, 0, 0, 0.5);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.prev-img-btn::before {
    border-top: 3px solid rgba(251, 0, 0, 0.5);
    border-left: 3px solid rgba(251, 0, 0, 0.5);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.next-img-btn:hover::before,
.prev-img-btn:hover::before {
    border-color: rgba(251, 0, 0, 1);
    padding: 0.2rem;
}

.active {
    display: block !important;
}

.next-img {
    opacity: 1 !important;
    -webkit-transform: scale(1) !important;
    transform: scale(1) !important;
}

.first-text-anim {
    opacity: 1;
    top: 0;
}

.second-text-anim {
    opacity: 1;
    bottom: 0;
}

/*MAIN*/

/*ABOUT*/

#about {
    background-color: #262431;
}

.about-content p {
    margin: 3rem 0;
}

.about-img,
.about-logo {
    padding-top: 4rem;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.about-img img,
.about-logo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    max-width: 300px;
    min-width: 220px;
}

/*SCORE*/

.score{
    width: 100%;
    padding: 5rem 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(54, 162, 235, 0.9)), to(rgba(54, 162, 235, 0.9))), url("../img/earth.jpg");
    background: linear-gradient(rgba(54, 162, 235, 0.9), rgba(54, 162, 235, 0.9)), url("../img/earth.jpg");
    background-size: cover;
    text-align: center;
    background-position: center;
}

.score-number {
    font-size: 3rem;
}

.score .score-section:not(:first-child) {
    margin-top: 4rem;
}


/*SERVICES*/

#services {
    background: #2C1A7E;
}

.services-list {
    padding: 4rem 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.services-list li {
    padding: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    -ms-flex-preferred-size: 45%;
    flex-basis: 45%;
    border: 1px solid #fff;
    border-radius: 6px;
}

.services-list li:nth-child(4) {
    display: none;
    border: none;
    -ms-flex-preferred-size: 33%;
    flex-basis: 33%;
}

.services-list-logo {
    width: 60%;
    height: auto;
}

.services-list i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/*GALLERY*/

#gallery{
    padding: 5rem 0;
    /*background-color: #2C1A7E;*/
    background:-webkit-gradient(linear,left top, left bottom,from(rgba(0,0,0,0.7)),to(rgba(0,0,0,0.7))), url("../img/mekanik/mekanik10.jpeg");
    background:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url("../img/mekanik/mekanik10.jpeg");
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-blend-mode: darken;
}

.flexslider .slides img{
    display: block;
    width: 60%;
}

/*PROJECTS*/

#projects {
    background-color: #262431;
}

#projects .card {
    position: relative;
    border-radius: 6px;
    width: 300px;
    margin: 0 auto;
    height: 400px;
    margin-bottom: 4rem;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    overflow: hidden;
}

#projects .card:hover .card-bg {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
}

.color-filter{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(242, 145, 48, 0.7);
}

.card-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    opacity: 0.7;
}

#projects .card-footer {
    text-align: center;
    margin-bottom: 2rem;
    position: absolute;
    left: 50%;
    bottom: 4px;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#projects .card-footer p {
    text-transform: uppercase;
    font-size: 2.2rem;
}

#projects .card-footer .project-details {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    border: 2px solid #fff;
    background: transparent;
    padding: 0.6rem 3rem;
    margin-top: 1rem;
    max-width: 144px;
}

.project-details {
    position: relative;
    cursor: pointer;
}

.project-details::before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #fff;
    width: 0;
    height: 100%;
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.project-details:hover {
    color: #0A3B61;
}

.project-details:hover::before {
    width: 100%;
}

/*PROJECTS - Slider*/


/*PROJECTS - Modal*/

.modal {
    padding: 0 !important;
    margin: 0 !important;
    bottom: none !important;
    max-width: 600px!important;
}

.modal .btn-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 100px;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}

.modal .expand{
    border-top: 2px;
    border-color: #fff;
    position: absolute;
    top: 60px;
    right: 12px;
    background: transparent;
    z-index: 2;
}

.modal hr {
    display: block;
    width: 70%;
    margin: 1rem auto !important;
}

.modal img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    -o-object-fit: cover;
}

.modal-content-body,
.modal-content-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.modal-content-item,
.modal-content-header p {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    padding: 1rem 2rem;
}

.modal-content-item div {
    padding-top: 0.6rem;
}

.modal-content-item div,
.modal-content-item,
.modal-content-header p {
    color: #0A3B61;
    font-size: 1.2rem;
}

.modal-content-item i{
    font-size: 1.6rem;
    color: #F29130;
    padding-right: 0.6rem;
}

/*REFERENCES*/

#references{
    padding: 5rem 0;
    background-color: #fff;
}

#references h2{
    color: #000;
}

.main-content {
    position: relative;
}

.item {
    margin: 0 1rem;
    width: 250px;
    height: 150px;
}

.owl-carousel .item img{
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

#references .item img{
    -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
}

#references .item img:hover{
    -webkit-filter: grayscale(0);
            filter: grayscale(0);
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
}

.main-content .owl-theme .custom-nav {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
}

.main-content .owl-theme .custom-nav .owl-prev,
.main-content .owl-theme .custom-nav .owl-next {
    position: absolute;
    height: 100px;
    color: inherit;
    background: none;
    border: none;
    z-index: 100;
}

.main-content .owl-theme .custom-nav .owl-prev:hover,
.main-content .owl-theme .custom-nav .owl-next:hover {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
}

.main-content .owl-theme .custom-nav .owl-prev i,
.main-content .owl-theme .custom-nav .owl-next i, .custom-nav2 i {
    font-size: 3rem;
    color: rgb(196, 37, 37);
}

.main-content .owl-theme .custom-nav .owl-prev, .custom-nav2 .owl-prev {
    left: 0;
}

.main-content .owl-theme .custom-nav .owl-next, .custom-nav2 .owl-next {
    right: 0;
}

.owl-dots {
    display: none;
}

/*FOOTER*/

footer {
    background-color: #262431;
}

footer i {
    font-size: 2rem;
    margin-right: 1rem;
}

.address, .contact-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.contact-info p,
.address span p, .social .fa-envelope {
    margin-bottom: 1rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input,
.contact-form button,
.contact-form textarea {
    padding: 0.9rem 2rem;
    margin-top: 2rem;
    border: 1px solid #0A3B61;
    display: block;
    width: 100%;
    background: #fff;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    font-family: 'Poppins', sans-serif;
    color: #0A3B61;
    border-radius: 10px;
}

.g-recaptcha div:first-child{
    margin: 0 auto;
}

.contact-form input:hover,
.contact-form button:hover,
.contact-form textarea:hover {
    background: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form button:focus,
.contact-form textarea:focus {
    outline: none;
}

button[type="submit"]:hover {
    cursor: pointer;
    color: #fff;
    background: green;
}

textarea {
    width: 400px;
    height: 10rem;
}

.copyright {
    background-color: #000;
    color: gray;
    font-size: 1rem;
    padding: 15px;
    text-align: center;
}

.contact-wrap{
    margin-top: 4rem;
}

.address, .contact-info, .social{
    margin-top: 3rem;
}

.social {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.icons{
    margin-bottom: 1rem;
}

.social .fa-instagram:hover{
    color: blueviolet;
}

.social .fa-facebook-square:hover{
    color: blue;
}

.social .fa-linkedin:hover{
    color: blue;
}

.hideOverflowOnMobile{
    overflow: hidden;
}

/* MEDIA QUERY */

@media (min-width:576px) {}

@media (min-width:768px) {

    .container {
        width: 80%;
    }

    .hideOverflowOnMobile{
        overflow: visible;
    }

    .about-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .about-content .about-text{
        -ms-flex-preferred-size: 60%;
            flex-basis: 60%;
    }

    .about-logo {
        -ms-flex-preferred-size: 30%;
            flex-basis: 30%;
    }

    .projects-content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .projects-content .card {
        margin-right: 2rem;
        -ms-flex-preferred-size: 40%;
        flex-basis: 40%;
    }

    .score {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
    }

    .score .score-section {
        margin-top: 0 !important;
    }

    .contact-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
    }

}

@media (min-width:992px) {

    html {
        font-size: 11px;
    }

    .menu-icon {
        display: none;
    }

    .nav-expand {
        display: none;
    }

    .nav-links {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 100%;
    }

    .nav-link-item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        overflow: hidden;
    }

    .nav-link-item a {
        padding: 2rem 0;
    }

    #carousel{
        height: 90vh;
    }

    .services-list li {
        border: none;
    }

    .services-list li:nth-child(3),
    .services-list li:nth-child(5) {
        -ms-flex-preferred-size: 33%;
        flex-basis: 33%;
    }

    .services-list li:nth-child(4) {
        display: block;
    }

}

@media (min-width:1200px) {

    html {
        font-size: 12px;
    }

}
