@import url("https://fonts.googleapis.com/css2?family=Sono&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: #151515;
  font-family: "Sono", sans-serif;
}

/* Banners */

.left {
    pointer-events: auto;
    position: fixed;
    bottom: 625px;
    width: 28.5%;
    height: 50px;
    flex-wrap: wrap;
    display: grid;
    justify-content: center;
    align-items: center;
}

.right {
    pointer-events: auto;
    position: fixed;
    bottom: 625px;
    width: 171.5%;
    height: 50px;
    flex-wrap: wrap;
    display: grid;
    justify-content: center;
    align-items: center;
}

.banner img {
    width: 500px;
    height: 130px
}

.banner img:hover {
    transform: scale(1.1);
    transition: 0.5s;
}

.card {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 10px;
  box-shadow: 0 10px 25px 5px rgba(0, 0, 0, 0.2);
  background: #101010;
  overflow: hidden;
}
.card .ds-top {
  position: absolute;
  margin: auto;
  top: 0;
  right: 0;
  left: 0;
  width: 400px;
  height: 80px;
  background: #ffe135;
  animation: dsTop 1.5s;
}
.card .avatar-holder {
  position: absolute;
  margin: auto;
  top: 40px;
  right: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #101010, inset 0 0 0 5px #000000, inset 0 0 0 5px #000000, inset 0 0 0 5px #000000, inset 0 0 0 5px #000000;
  background: white;
  overflow: hidden;
  animation: mvTop 1.5s;
}
.card .avatar-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .name2 {
  position: absolute;
  margin: auto;
  top: -20px;
  right: 0;
  bottom: 0;
  left: 0;
  width: inherit;
  height: 40px;
  text-align: center;
  animation: fadeIn 2s ease-in;
}
.card .name2 a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
}
.card .name2 h6 {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  width: 40px;
}

.card .name {
  position: absolute;
  margin: auto;
  top: -60px;
  right: 0;
  bottom: 0;
  left: 0;
  width: inherit;
  height: 40px;
  text-align: center;
  animation: fadeIn 2s ease-in;
}
.card .name a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}
.card .name a:hover {
  text-decoration: underline;
  color: #ffe135;
}
.card .name h6 {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  width: 40px;
}
.card .button {
  position: absolute;
  margin: auto;
  padding: 8px;
  top: 20px;
  right: 0;
  bottom: 0;
  left: 0;
  width: inherit;
  height: 40px;
  text-align: center;
  animation: fadeIn 2s ease-in;
  outline: none;
}
.card .button a {
  padding: 5px 20px;
  border-radius: 10px;
  color: #ffe135;
  letter-spacing: 0.05em;
  text-decoration: none;
  font-size: 15px;
  transition: all 1s;
}
.card .button a:hover {
  color: white;
  background: #ffe135;
}
    .card .button2 {
        position: absolute;
        margin: auto;
        padding: 8px;
        top: 80px;
        right: 0;
        bottom: 0;
        left: 0;
        width: inherit;
        height: 40px;
        text-align: center;
        animation: fadeIn 2s ease-in;
        outline: none;
    }

        .card .button2 a {
            padding: 5px 20px;
            border-radius: 10px;
            color: #ffe135;
            letter-spacing: 0.05em;
            text-decoration: none;
            font-size: 15px;
            transition: all 1s;
        }

            .card .button2 a:hover {
                color: white;
                background: #ffe135;
            }

    .card .button3 {
        position: absolute;
        margin: auto;
        padding: 8px;
        top: 140px;
        right: 0;
        bottom: 0;
        left: 0;
        width: inherit;
        height: 40px;
        text-align: center;
        animation: fadeIn 2s ease-in;
        outline: none;
    }

        .card .button3 a {
            padding: 5px 20px;
            border-radius: 10px;
            color: #ffe135;
            letter-spacing: 0.05em;
            text-decoration: none;
            font-size: 15px;
            transition: all 1s;
        }

            .card .button3 a:hover {
                color: white;
                background: #ffe135;
            }


.card .ds-info {
  position: absolute;
  margin: auto;
  top: 120px;
  bottom: 0;
  right: 0;
  left: 0;
  width: inherit;
  height: 40px;
  display: flex;
}
.card .ds-info .pens, .card .ds-info .projects, .card .ds-info .posts {
  position: relative;
  left: -300px;
  width: calc(250px / 3);
  text-align: center;
  color: white;
  animation: fadeInMove 2s;
  animation-fill-mode: forwards;
}
.card .ds-info .pens h6, .card .ds-info .projects h6, .card .ds-info .posts h6 {
  text-transform: uppercase;
  color: #ffe135;
}
.card .ds-info .pens p, .card .ds-info .projects p, .card .ds-info .posts p {
  font-size: 12px;
}
.card .ds-info .ds:nth-of-type(2) {
  animation-delay: 0.5s;
}
.card .ds-info .ds:nth-of-type(1) {
  animation-delay: 1s;
}
.card .ds-skill {
  position: absolute;
  margin: auto;
  bottom: -5px;
  right: 0;
  left: 0;
  width: 300px;
  height: 100px;
  animation: mvBottom 1.5s;
}
.card .ds-skill h6 {
  margin-bottom: 5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffe135;
  font-size: 14px;
  text-align: center;
}
.card .ds-skill .skill h6 {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.05em;
  margin: 2px 0;
  color: white;
}
.card .ds-skill .skill .fab {
  color: #ffe135;
  font-size: 14px;
  text-align: center;
}
.card .ds-skill .skill .bar {
  height: -5px;
  background: #ffe135;
  position: center;
}
.card .ds-skill .skill .bar p {
  color: white;
  font-size: 10px;
  padding-top: 5px;
  animation: fadeIn 5s;
  text-align: center;
}
.card .ds-skill .skill .bar:hover {
  background: white;
}
.card .ds-skill .skill .bar-css {
  width: 23.5%;
  animation: cssSkill 1.5s;
  animation-delay: 0.4s;
}
@keyframes fadeInMove {
  0% {
    opacity: 0;
    left: -300px;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes cssSkill {
  0% {
    width: 0;
  }
  100% {
    width: 2.35%;
  }
}
@keyframes mvBottom {
  0% {
    bottom: -150px;
  }
  100% {
    bottom: -5px;
  }
}
@keyframes mvTop {
  0% {
    top: -150px;
  }
  100% {
    top: 40px;
  }
}
@keyframes dsTop {
  0% {
    top: -150px;
  }
  100% {
    top: 0;
  }
}

/*line under header*/
.underline {
    position: relative; 
}

    .underline::after {
        content: "";
        height: 2px;
        bottom: -1px;
        position: absolute;
        left: 0%;
        width: 100%;
        background: #ffe135;
    }

@media screen and (max-width:450px) {
    .underline::after {
        content: "";
        width: 110%
    }
  }