@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

section {
    padding: 100px;
}

/* BANNER */


.banner {
    position: relative;
    min-height: 100vh;
    background: url(img/banner.jpg) #000;
    background-size: cover;
    background-position: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.textBx {
    max-width: 623px;
    align-self: end;
}

.banner .textBx h1{
    font-size: 1em;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 10px;
    margin-bottom: 5px;
}

.banner h2 { 
    font-size: 4em;
    color: #fff;
    font-weight: 600;
    line-height: 1.2em;
}

.banner h2 span {
    font-size: 1.5em;
    font-weight: 500;
}

.banner h3 {
    font-size: 1.5em;
    color: #fff;
    font-weight: 500;
}

.bannerText { 
    margin: 20px 0 10px;
}

.banner .bannerText p {
    font-size: 1.2em;
    color: #fff;
    font-weight: 400;
}

.banner .textBx a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
}

.banner .textBx a:hover {
    border-bottom: #2196f3 2px solid;
}


.banner .textBx span.links {
    color: #b8b8b8;
    font-size: 1.2em;
    margin: 0 10px;
}

.btn {
    position: relative;
    background: #2196f3;
    display: inline-block;
    color: #fff;
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
}

 /* --SCI */

.sci {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 100px;
  }

  .sci li {
    list-style: none;
  }

  .sci li a {
    position: relative;
    display: grid;
    place-items: center;
    width: 50px;
    height:50px;
    text-decoration: none;
    border: 1px solid #fff;
    margin: 10px 0 0;
  }

  .sci li a:hover {
    background:#fff;
  }

  .sci li a img {
    max-width: 20px;
    filter: invert(1);
    mix-blend-mode: difference;
  }

/* HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

header.sticky {
    background: #fff;
    padding: 20px 100px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

header .logo {
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
}

header.sticky .logo {
    position: center;
    color: #111;
}

header .logo svg {
    vertical-align: middle;
    fill: #fff;
}

header.sticky .logo svg {
    fill: #111;
}

.logo svg:hover {
    fill: #2196f3;
    transition: fill 0.1s;
}

header.sticky .logo svg:hover {
    fill: #2196f3;
    transition: fill 0.1s;
}


header ul {
    position: relative;
    display: flex;
}

header ul li {
    position: relative;
    list-style: none;

}

header ul li a {
    position: relative;
    display: inline-block;
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
}

header ul li a:hover{
    color: #2196f3;
    transition: color 0.1s;

}

header.sticky ul li a {
    color: #111;

}

header.sticky ul li a:hover {
    color: #2196f3;    
}

/* CONTENT */

.heading {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    color:#111;
}

.heading h2 {
    font-weight: 600;
    font-size: 30px;
}

/* ABOUT */

.content {
    display: flex;
    justify-content: space-between;
}

.contentBx {
    padding-right: 30px;
}

.contentBx h3 {
    font-style: 24px;
    margin-bottom: 10px;
}

.w50 {
    min-width: 50%;
}

img {
    max-width: 100%;
}

/* SKILLS  */

.skills {
    background: #111;

}

.heading.white {
    color: #fff;
}

.skills .content {
    display: flex; 
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}

.skills .content .skillsBx {
    padding: 40px 20px;
    background-color: #222;
    color: #fff;
    max-width: 340px;
    margin: 20px;
    text-align: center;
    transition: 0.5s;
}

/* .skills .content .skillsBx:hover {
    background: #2196f3;
} */

.skills .content .skillsBx img {
    max-width: 80px;
    filter: invert(1);
}

.skills .content .skillsBx h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3px;

}

.skillsBx p {
    height:150px;
}

/* --TOOLS */

.toolTit {
    border-bottom: 2px solid rgb(29, 29, 29);
    padding-bottom: 10px;
    width: 95%;
    margin: 0 auto;
}

/* toolsBx */

.skills .content .toolsBx {
    padding: 40px 20px;
    background-color: #222;
    color: #fff;
    max-width: 340px;
    min-width: 340px;
    margin: 20px;
    text-align: center;
}

.skills .content .toolsBx h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3px;

}

/* .skills .content .toolsBx:hover {
    background: #2196f3;
} */

/* progress-bars etc */

.progress-bars {
    list-style-type: none;
    color: #fff;
    width: 95%;
    margin: 2em auto 0;
}

.progress-bars h3 {
    color: #a6a6a6;
    font-weight: 400;
    margin-bottom: 0;
}

.progress-bars li {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bar {
    width: 100%;
    height: 0.5em;
    background: #111;
    box-shadow: inset -1px -1px #5c5c5c,
                inset 1px 4px 8px #050505;
    border-radius: 10px;
    margin: 10px 0 20px 0;
}

.progress { 
    background: linear-gradient(90deg, #2196f3, #70adff);
    width: 0; /* VALUE */
    height: 100%;
    border-radius: inherit;
    position: relative;
    box-shadow: 0 0 3px #70adff;
}

.progress::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 100%;
    background: #fff;
    border-radius: inherit;
    box-shadow: 0 0 20px #fff;
    filter: blur(2px);
}

.porcentage {
    font-weight: 700;
    color: #f1f1f1;
    text-shadow: 0 0 5px #305e9c;
}

span.percentage {
    font-size: 1.1em;
    padding-bottom: 18px;
    display: none;
}

/* WORK */

.work .content { 
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.work .content .workBx {
    width: 50%;
    padding: 20px;
}

.work .content .workBx img {
    max-width: 100%;
}


/* TESTIMONIAL  */

.testimonial { 
    background: #f7f7f7;
}

.testimonial .content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.testimonial .content .testimonialBx {
    max-width: calc(50% - 40px);
    padding: 60px 40px;
    margin: 20px;
    background: #2196f3;
}

.testimonial .content .testimonialBx p {
    color: #fff;
    font-style: italic;
    font-size: 16px;
    font-weight: 300;
}

.testimonial .content .testimonialBx h3 {
    margin-top: 40px;   
    text-align: end;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    line-height: 1em;
}

.testimonial .content .testimonialBx h3 span {
    font-size: 14px;
    font-weight: 400;

}

/* CONTACT */

.contact { 
    background: #111;
}

 /* --FORM */

.formBx {
    min-width: 60%;
}

.formBx form {
    display: flex;
    flex-direction: column;
}

.formBx form h3, 
.contactInfo h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.formBx form input,
.formBx form textarea {
    margin-bottom: 20px;
    padding: 15px;
    font-size: 16px;
    background: transparent;
    border: none;
    outline: none;
    background: #222;
    color: #fff;
    resize: none;
}

.formBx form textarea {
    min-height: 200px;
}

.formBx form input::placeholder,
.formBx form textarea::placeholder {
    color:#999;
}

.formBx form input[type="submit"] {
    max-width: 100px;
    background: #2196f3;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --CONTACT INFO */

.contactInfo {
    min-width: 40%;
}

.contactInfoBx {
    position: relative;
}

.contactInfoBx .box {
    position: relative;
    padding: 20px 0;
    display: flex;
}

.contactInfoBx .box .icon {
    min-width: 40px;
    padding-top: 4px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 24px;
}

.contactInfoBx .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
    flex-direction: column;
    font-weight: 300;
}


.contactInfoBx .box .text h3 { 
    font-weight: 500;
    color: #2196f3;
    margin-bottom: 0;
}

.copyright {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
}


/* --------------------- GALLERY PAGES -------------------------------  */

/* GALERIA */

.gall h2 {
    font-size: .875rem;
    line-height: 1.25rem;
    text-transform: uppercase;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: 400;
    letter-spacing: .4em;
    color: #878a8f;

}

.gall h1 {
    font-size: 2.75rem;
    line-height: 3.125rem;
    padding-top: 4px;
    padding-bottom: 1px;
}


.gall h1+h2, 
.gall h3+h2 {
    margin-top: 30px;
}

.gall h3 {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.5625rem;
    padding-top: 1px;
    padding-bottom: 4px;
    font-weight: 500;
    letter-spacing: normal;
}

.gall-text {
    padding-right: 10%;
    font-weight: 400;
    color: #878a8f;
    letter-spacing: normal;
    font-size: 1.375rem;
    line-height: 2rem;
    padding-top: 2px;
    padding-bottom: 3px;
    margin-top: 35px;
}

.gall-text p a {

    color: #878a8f;
    font-weight: 600;
    text-decoration: none;

}

.gall-pic {
    flex-direction: column;
    text-align: center;
}

.gall-pic img {
    margin: 50px auto 0;
}

.gall-pic video{
    width:100%
}

@media (max-width: 1160px) {
    .gall-text {
        padding-right: 0;
    }

}



/* RESPONSIVE */

@media (max-width: 991px) {
    header, 
    header.sticky {
        padding: 20px 50px;
        z-index: 1000;
    }

    .menu { 
        position: fixed;
        top: 75px;
        left: -100%;
        display: block;
        padding: 100px 50px;
        text-align: center;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: 0.5s;
        z-index: 999;
        border-top: 1px solid rgba(0,0,0,0.2)
    }

    .menu.active {
        left: 0;
    }
    header ul li a {
        color: #111;
        font-size: 24px;
        margin:10px;
    }
    .toggle {
        width: 40px;
        height: 40px;
        background: url(img/menu.png);
        background-position: center; 
        background-repeat: no-repeat;
        background-size: 30px;
        cursor: pointer;
    }

    .toggle.active {
        background: url(img/close.png);
        background-position: center; 
        background-repeat: no-repeat;
        background-size: 25px;
        cursor: pointer;

    }

    header.sticky .toggle {
        filter:invert(1);
    }

    section {
        padding: 100px 50px;
    }

    /* --RESPONSIVE BANNER  */

    .banner {
        padding: 150px 50px 100px;

        background: url(img/banner1.jpg) #000;
        background-size: cover;
        background-position: right;
    }

    .banner h2 {
        font-size: 2.5em;
    }

    .banner h3 {
        font-size: 1em;
    }

    .banner .bannerText p {
        font-size: 1.3em;
    }

    .banner .textBx a {
        font-size: 1.3em;
    }

    .banner .textBx span.links {
        font-size: 1.3em;
    }

    .btn {
        margin-top: 10px;
        padding: 10px 20px;
        font-size: 16px;
    }

    /* --RESPONSIVE CONTENT*/
    
    .heading h2 {
        font-size: 24px;
    }

    /* -- ABOUT */

    .contentBx h3 {
        font-size: 20px;
    }

    .content {
        flex-direction: column;
    }

    .w50 {
        margin-bottom: 20px;
    }

    .img {
        width: 100%;
        /* display: none; */
    }

    /* -- SKILLS */

    .skills .content .skillsBx {
        margin: 10px;
    }

    .skills .content .toolsBx {
        margin: 10px;
    }

    /* -- PROJECTS */

    .work .content .workBx {
        width:100%;
        padding:10px;
    }

    .testimonial .content .testimonialBx {
        max-width: calc(100% - 20px);
        padding: 40px 20px;
        margin: 10px;
        background: #2196f3;    
    }

    .testimonial .content .testimonialBx h3 {
        margin-top: 20px;
    }

    /* -- CONTACT */

    .contactInfo {
        margin: 20px 0;
    }

    /* GALERIA */

    .gall-text {
    padding-right: 0;
    font-size: 1.2rem;
    margin-top:0;
    }

    .gall-pic img:nth-child(1) {
        margin: 0;
    }

}

@media (max-width: 860px) {
    .sci {
        margin-top: 20px;
        position: absolute;
        bottom: 50px;
        right: initial;
        flex-direction: row;
      }
  
    .sci li a {
        margin: initial;
        margin-right: 10px;
      }
}

@media (max-width: 627px) {
    header, 
    header.sticky {
        padding: 20px 20px;
    }
    
    .banner {
        padding: 150px 20px 110px;
        background: url(img/banner-mob.jpg);
        background-size: cover;
        background-position: right;
    }

    .section {
        padding:100px 20px;
    }

    .banner h2 {
        font-size: 1.5em;
    }

    .banner .bannerText p,
    .banner .textBx a,
    .banner .textBx span.links {
        font-size: 1em;
    }

    /* -- SCI */

    .sci {
        position: absolute;
        bottom: 40px;
        right: initial;
        flex-direction: row;
      }
  
    .sci li a {
        margin: initial;
        margin-right: 10px;
      }

}


.workBx:hover a img {
    border: #2196f3 2px solid;
}







