/* MAIN WRAP
------------------------------------*/
.main-wrap {
  padding: 100px 0 100px;
  text-align: center;
}

.main-wrap h1 {
  text-transform: none;
}

.main-wrap .container {
  max-width: 1090px;
}

.main-b {
  margin-top: 35px;
}

/* ABOUT SECTION
--------------------------*/
.about-section {
  padding: 100px 0 150px;
  background: #133647;
  color: #fff;
}

.about-section .container {
  max-width: 980px;
}

.about-section .row {
  align-items: center;
}

.about-section h2 {
}

.me {
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
}

.me img {
  border-radius: 100%;
  border: 5px solid #fff;
}

.details {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
}

.about-line {
  width: 100%;
  max-width: 280px;
  height: 1px;
  margin: 10px auto 50px;
  background: #fff;
}

/* SKILLS SECTION
--------------------------*/
.skills-section {
  position: relative;
  text-align: center;
  padding: 0 0 50px;
  color: #fff;
}

.skills-section .container {
  max-width: 1100px;
}

.skills-box {
  width: 100%;
  padding: 100px 25px;
  background: #348096;
  border-radius: 25px;
  box-shadow:
    0px 8px 12px rgba(60, 64, 67, 0.15),
    0px 4px 4px rgba(60, 64, 67, 0.3);
  margin-top: -50px;
}

.skill-box h3 {
  margin-bottom: 0;
}

.skill-box ul {
  margin: 0;
  list-style: none;
}
.mid-line {
  width: 1px;
  height: 100%;
  background: #fff;
  margin: 0 auto;
}

.sb-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.skb2 {
  margin-top: 20px;
}

.skill-line {
  width: 80px;
  height: 1px;
  background: #fff;
  margin: 5px auto 10px;
}

/* PROJECTS SECTION
----------------------------------*/
.project-section {
  padding: 100px 0;
  background: #efefef;
}

.project-section .container {
  max-width: 1320px;
}

.proj-line {
  width: 280px;
  height: 1px;
  background: #212529;
  margin: 5px auto 30px;
}

.proj-box {
  width: 100%;
  max-width: 400px;
  min-height: 180px;
  margin: 7px auto;
  position: relative;
  overflow: hidden;
}

.pb-wrap:hover .proj-con {
  bottom: 0;
}

.pb-wrap {
  margin: 25px 0;
}

.proj-con {
  position: absolute;
  bottom: -180px;
  left: 0;
  right: 0;
  height: 180px;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.proj-con p {
  color: #fff !important;
  margin-bottom: 0;
}

.pb-wrap a {
  text-decoration: none;
}

.pb-wrap h4 {
  color: #212529;
  font-size: 18px;
  line-height: 28px;
}

.no-webp .pr1 {
  background-image: url(../img/johnny-social.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr1 {
  background-image: url(../img/johnny-social.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr2 {
  background-image: url(../img/.sdk1jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr2 {
  background-image: url(../img/sdk1.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr3 {
  background-image: url(../img/pwb1.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr3 {
  background-image: url(../img/pwb1.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr4 {
  background-image: url(../img/st1.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr4 {
  background-image: url(../img/st1.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr5 {
  background-image: url(../img/st2.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr5 {
  background-image: url(../img/st2.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
.no-webp .pr6 {
  background-image: url(../img/st3.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr6 {
  background-image: url(../img/st3.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
.no-webp .pr7 {
  background-image: url(../img/st4.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr7 {
  background-image: url(../img/st4.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr8 {
  background-image: url(../img/st5.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr8 {
  background-image: url(../img/st5.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr9 {
  background-image: url(../img/st6.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr9 {
  background-image: url(../img/st6.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr10 {
  background-image: url(../img/st7.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr10 {
  background-image: url(../img/st7.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr11 {
  background-image: url(../img/st8.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr11 {
  background-image: url(../img/st8.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr12 {
  background-image: url(../img/st9.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr12 {
  background-image: url(../img/st9.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .pr13 {
  background-image: url(../img/groovy-screen2.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .pr13 {
  background-image: url(../img/groovy-screen2.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.main-b {
  margin-top: 30px;
}

.project-section .main-b {
  margin-top: 65px;
}

.sub-proj {
  margin-bottom: 35px;
}

.sub-proj p {
  font-size: 28px;
  line-height: 38px;
}

/* PORTFOLIO SECTION
----------------------------------------*/

.portfolio-section {
  background: #e7e7e7;
  padding: 100px 0;
}

.portfolio-section a {
  text-decoration: none;
  color: #fff;
}

.portfolio-section a:hover {
  color: #008b94;
}

.p-box-lg .p-box-img {
  width: 150px;
  margin-bottom: 30px;
  opacity: 0;
}

.p-box-sm .p-box-img {
  width: 70px;
  margin: 0 auto 20px;
  opacity: 0;
}

.p-box-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 4px;
}

.p-box-lg {
  position: relative;
  width: 100%;
  max-width: 550px;
  height: 550px;
  border-radius: 4px;
}

.no-webp .p1 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show1-guy.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .p1 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show1-guy.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.p-box-img {
  height: 0;
}

.p-box:hover .p-box-inner {
  background: rgba(243, 203, 153, 0.8);
}

.p-box.p-box-lg:hover .p-box-img {
  height: 150px;
  opacity: 1;
}

.p-box.p-box-sm:hover .p-box-img {
  height: 70px;
  opacity: 1;
}

.p-box-wrap {
  max-width: 500px;
}

.p-box-sm,
.box-row a {
  position: relative;
  width: 100%;
  max-width: 270px;
  height: 265px;
  border-radius: 4px;
}

.no-webp .p2 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show2-media.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .p2 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show2-media.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .p3 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show3-girl.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .p3 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show3-girl.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .p4 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show4-girl.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .p4 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show4-girl.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.no-webp .p5 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show5-brand.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.webp .p5 {
  background-image:
    linear-gradient(rgba(16, 37, 61, 0.7), rgba(16, 37, 61, 0.7)),
    url(../img/show5-brand.webp);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.p-box-content h4 {
  margin-bottom: 0;
}

.box-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.box-wrap {
  height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box-wrap a {
  margin: 0 5px;
}

.main-boxes-row {
  margin-top: 30px;
}

.other-things {
  padding: 100px 0;
}

.main-wrap img {
  float: right;
}

@media only screen and (max-width: 1300px) {
  .project-section .container {
    max-width: 900px;
  }
}

@media only screen and (max-width: 991px) {
  .p-box-lg {
    max-width: 550px;
    margin: 20px auto;
  }

  .box-wrap {
    max-width: 530px;
    margin: 0 auto;
  }

  .about-section {
    padding: 50px 0 100px;
  }
  .about-line {
    margin-bottom: 30px;
  }

  .details {
    text-align: center;
  }
  .project-section,
  .main-wrap {
    padding: 50px 0;
  }
  .skb3 {
    margin-top: 25px;
  }
  .mid-line {
    display: none;
  }
  .skills-box {
    padding: 50px 20px;
  }
}

@media only screen and (max-width: 767px) {
}

@media only screen and (max-width: 500px) {
  .box-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .box-wrap {
    height: inherit;
  }

  .box-wrap a {
    margin-bottom: 10px;
  }

  .p-box-lg {
    width: 270px;
    height: 265px;
  }

  .p-box-lg .p-box-img {
    width: 70px;
    margin: 0 auto 20px;
    opacity: 0;
  }

  .p-box.p-box-lg:hover .p-box-img {
    height: 70px;
  }

  .main-wrap img {
    float: none;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }

  .proj-box {
    max-width: 300px;
    min-height: 142px;
  }
  .proj-con {
    height: 142px;
    bottom: -142px;
  }

  .slick-dots li {
    margin: 0;
  }
}
