@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
}
.shadow {
    /* box-shadow: 0 0 5px 0 rgba(0, 0, 0, .3); */
}
.hero {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.562);
    display: flex;
    height: 100vh;
    /* align-items: center; */
    justify-content: center;
    padding: 0 3rem;
    flex-direction: column;
    color: #fff;
    position: relative;
}

#skills {
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#skills::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 25rem;
    top: 0;
    z-index: -3;
    left: 0;
    background: url("../assets/manstand.png") no-repeat center center/cover;
}

@media screen and (max-width: 400px) {
    #skills::before {
        width: 15rem;
        background: url("../assets/manstand.png") no-repeat center
            center/contain;
    }
}
#services {
    position: relative;
}
#services::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: -3;
    left: 0;
    background: url("../assets/manonbench.png") no-repeat center center/contain;
}
footer {
    position: relative;
    height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
footer::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: -3;
    left: 0;
    background: url("../assets/manslept.png") no-repeat center center/contain;
}

.percent {
    width: 100px;
    height: 100px;
    position: relative;
}
.percent svg {
    width: 50px;
    height: 50px;
    position: relative;
}
.percent svg circle {
    width: 100px;
    height: 100px;
    fill: none;
    stroke-width: 10px;
    stroke: #fff;
    transform: translate(5px, 5px);
    stroke-dasharray: -800;
    stroke-dashoffset: 150;
}
.percent  .number{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c2e0ff;
}
/* .percent svg circle:nth-child(1) {
    stroke-dashoffset: 0;
    stroke: #f3f3f3;
}
.percent svg circle:nth-child(2) {
    stroke-dashoffset: 0;
    stroke-dashoffset: calc(400 - (400 * 10) / 100);
    stroke: #c2e0ff;
} */

.hero::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: -3;
    left: 0;
    background: url("../assets/main.jpg") no-repeat center center/cover;
}
.hero::after {
    content: "";
    position: absolute;
    height: 110%;
    width: 45%;
    top: 0;
    z-index: 30;
    right: 0;
    background: url("../assets/hero.png") no-repeat left center/contain;
    bottom: 0;
}

@media screen and (max-width: 400) {
    .hero,
    main {
        padding: 3rem 3rem;
    }
}
@media screen and (max-width: 720) {
    .hero,
    main {
        padding: 3rem 6rem;
    }
    .hero::after {
        content: "";
        position: absolute;
        height: 110%;
        width: 20%;
        top: 0;
        z-index: 30;
        right: 0;
        background: url("../assets/hero.png") no-repeat left center/contain;
        bottom: 0;
    }
}
@media screen and (max-width: 1080) {
    .hero,
    main {
        padding: 3rem 12rem;
    }
}
@media screen and (max-width: 1280) {
    .hero,
    main {
        padding: 3rem 14rem;
    }
}
html{
    scroll-behavior: smooth;
}
.project:hover .layer {
    height: 100%;
    transition: all 0.2s ease-out;
}
.scale-in-center {
	-webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
/* ----------------------------------------------
 * Generated by Animista on 2023-6-22 23:46:37
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation scale-in-center
 * ----------------------------------------
 */
 @-webkit-keyframes scale-in-center {
    0% {
      -webkit-transform: scale(0);
              transform: scale(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
      opacity: 1;
    }
  }
  @keyframes scale-in-center {
    0% {
      -webkit-transform: scale(0);
              transform: scale(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
      opacity: 1;
    }
  }
  