* {
  margin: 0px;
  padding: 0px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}
body {
  background-color: rgb(244, 244, 244);
  overflow-x: hidden;
}
a {
  color: black;
  text-decoration: none;
}
.more {
  align-self: center;
  -webkit-box-align: center;
  align-items: center;
  margin-bottom: 20px;
}
.more button {
  background-color: white;
  color: black;
  border: 2px solid rgb(231, 231, 231);
  padding: 5px;
  width: 30%;
}
.more button:hover {
  background-color: rgb(231, 231, 231);
  transition: all 0.4s ease 0s;
}
.card-body {
  border-radius: 25px;
}
.card-body .image img {
  border-radius: 25px 25px 0px 0px;
}
@media (max-width: 670px) {
  span {
    display: none;
  }
  header {
    position: fixed;
    z-index: 9999999;
    background-color: rgb(245, 245, 245);
    padding: 10px 10%;
    display: flex;
    width: 100%;
    top: 0px;
  }
  header .color {
    position: fixed;
    top: 0px;
    right: -100%;
    background-color: white;
    width: 100%;
    height: 100vh;
    z-index: -1;
    transition: all 0.2s ease 0s;
  }
  header ul {
    margin-left: 38%;
    -webkit-box-align: center;
    align-items: center;
    align-self: center;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
    z-index: 9999999;
    position: fixed;
    top: 15%;
    right: -100%;
    transition: all 0.5s ease 0s;
  }
  header ul li {
    list-style-type: none;
    padding: 30px 21px;
    font-size: 25px;
    color: black;
  }
  header ul a button {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid rgb(123, 141, 255);
    border-radius: 25px;
    background-color: transparent;
    font-size: 20px;
  }
  header ul a button:hover {
    border: 1px solid rgba(123, 141, 255, 0);
    color: rgb(123, 141, 255);
    transition: all 0.2s ease 0s;
  }
  header ul a:hover {
    color: rgb(123, 141, 255);
  }
  header .menu2 {
    display: none;
    position: fixed;
    right: 10%;
    top: 1%;
    width: 12%;
    z-index: 1;
  }
  header .menu {
    position: fixed;
    right: 10%;
    top: 1%;
    width: 12%;
  }
  .head-container {
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
    margin-top: 20%;
    padding: 0px 10%;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 1fr 1fr;
  }
  .head-container .head-text {
    grid-row: 2 / auto;
    margin-top: -100px;
    margin-left: 5px;
  }
  .head-container .head-text .name {
    font-size: 18px;
    color: rgb(123, 141, 255);
    font-weight: bold;
  }
  .head-container .head-text .job {
    font-size: 190%;
  }
  .head-container .head-text .doing {
    font-size: 18px;
    font-weight: bold;
    font-family: kalam;
    opacity: 0.7;
  }
  .head-container .head-image {
    grid-row: 1 / auto;
    text-align: center;
  }
  .head-container .head-image img {
    margin-top: 5%;
    width: 100%;
    transform: scaleX(-1);
  }
  .skills-container {
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
  }
  .skills-container .raiting .container {
    text-align: center;
  }
  .skills-container .raiting .container ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    -webkit-box-align: center;
    align-items: center;
    margin: -25% 1% 5%;
  }
  .skills-container .raiting .container ul .ng img {
    width: 65px;
  }
  .skills-container .raiting .container ul li {
    list-style-type: none;
  }
  .skills-container .raiting .container ul li img {
    width: 55px;
    margin: auto 10px;
    filter: grayscale(100%);
  }
  hr {
    width: 50%;
    -webkit-box-align: center;
    align-items: center;
    align-self: center;
    margin-left: 25.5%;
  }
  .whyme-container {
    margin-bottom: 5%;
    padding: 10px;
    align-self: center;
    text-align: center;
  }
  .whyme-container .center-text {
    font-size: 30px;
    color: rgb(123, 141, 255);
    padding-bottom: 10px;
  }
  .whyme-container .about-text {
    font-size: 18px;
    line-height: 1.7em;
    margin: 3% auto;
    opacity: 0.8;
    text-align: center;
  }
  .whyme-container .whyme-container-2 {
    margin-top: 10%;
  }
  .whyme-container .whyme-container-2 ul {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
  }
  .whyme-container .whyme-container-2 ul li {
    list-style-type: none;
    padding: 10% 5%;
  }
  .whyme-container .whyme-container-2 ul li h2 {
    color: rgb(123, 141, 255);
    font-weight: 600;
    font-size: 20px;
    margin: 3% auto;
  }
  .whyme-container .whyme-container-2 ul li p {
    font-size: 18px;
    line-height: 1.7em;
    margin: 3% auto;
    opacity: 0.8;
  }
  .portfolio-container {
    margin-left: 15px;
    margin-top: 8%;
  }
  .portfolio-container h1 {
    margin: 7% auto;
    text-align: left;
    font-weight: 400;
  }
  .portfolio-container .latest-work {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 1fr 1fr;
    text-align: left;
  }
  .portfolio-container .latest-work .description {
    margin-top: -5%;
    grid-row: 2 / auto;
  }
  .portfolio-container .latest-work .description h3 {
    font-size: 23px;
    margin: 2% auto;
    font-weight: 400;
  }
  .portfolio-container .latest-work .description p {
    font-size: 22px;
    line-height: 1.7em;
    margin: 2% auto;
    opacity: 0.8;
  }
  .portfolio-container .latest-work .more {
    align-self: center;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .portfolio-container .latest-work .more button {
    background-color: white;
    color: black;
    border: 2px solid rgb(231, 231, 231);
    padding: 5px;
    width: 30%;
  }
  .portfolio-container .latest-work .more button:hover {
    background-color: rgb(231, 231, 231);
    transition: all 0.4s ease 0s;
  }
  .portfolio-container .latest-work .project-image {
    grid-row: 1 / auto;
  }
  .portfolio-container .latest-work .project-image img {
    width: 100%;
  }
  .portfolio-container .cards-container {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
  }
  .portfolio-container .cards-container .card-body {
    background-color: white;
    width: 90%;
    margin: 5%;
  }
  .portfolio-container .cards-container .card-body .image img {
    width: 100%;
  }
  .portfolio-container .cards-container .card-body .card-det {
    text-align: center;
  }
  .portfolio-container .cards-container .card-body .card-det p {
    font-size: 22px;
    margin: 5% auto;
    opacity: 0.8;
  }
  .portfolio-container .cards-container .card-body .card-det .more {
    align-self: center;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .portfolio-container .cards-container .card-body .card-det .more button {
    background-color: white;
    color: black;
    border: 2px solid rgb(231, 231, 231);
    padding: 5px;
    width: 30%;
  }
  .portfolio-container
    .cards-container
    .card-body
    .card-det
    .more
    button:hover {
    background-color: rgb(231, 231, 231);
    transition: all 0.4s ease 0s;
  }
  .portfolio-container .cards-container .card-body .code {
    width: 55px;
    margin-top: -30px;
  }
}
@media (min-width: 670px) {
  header {
    position: fixed;
    z-index: 9999999;
    background-color: rgb(249, 249, 249);
    padding: 10px 10%;
    display: flex;
    width: 100%;
    top: 0px;
  }
  header .menu2,
  header .menu {
    display: none;
  }
  header ul {
    text-align: center;
    margin-left: 23%;
    -webkit-box-align: center;
    align-items: center;
    align-self: center;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-pack: justify;
    justify-content: space-between;
    z-index: 9999999;
  }
  header ul li {
    list-style-type: none;
    padding: 0px 21px;
    font-size: 18px;
  }
  header ul a button {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid rgb(123, 141, 255);
    border-radius: 25px;
    background-color: transparent;
  }
  header ul a button:hover {
    border: 1px solid rgba(123, 141, 255, 0);
    color: rgb(123, 141, 255);
    transition: all 0.2s ease 0s;
  }
  header ul a:hover {
    color: rgb(123, 141, 255);
  }
  .head-container {
    -webkit-box-align: center;
    align-items: center;
    margin-top: 5%;
    padding: 50px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .head-container .head-text {
    grid-column: 1 / auto;
    margin-top: -15%;
  }
  .head-container .head-text .name {
    font-size: 20px;
    color: rgb(123, 141, 255);
    font-weight: bold;
  }
  .head-container .head-text .job {
    font-size: 45px;
  }
  .head-container .head-text .doing {
    font-size: 25px;
    font-weight: bold;
    font-family: kalam;
    opacity: 0.7;
  }
  .head-container .head-image {
    grid-column: 2 / auto;
    text-align: center;
  }
  .head-container .head-image img {
    width: 90%;
    transform: scaleX(-1);
  }
  .skills-container {
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
  }
  .skills-container .raiting .container {
    text-align: center;
  }
  .skills-container .raiting .container ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    -webkit-box-align: center;
    align-items: center;
    margin: 0% 25% 5%;
  }
  .skills-container .raiting .container ul .ng img {
    width: 65px;
  }
  .skills-container .raiting .container ul li {
    list-style-type: none;
  }
  .skills-container .raiting .container ul li img {
    width: 55px;
    margin: auto 10px;
    filter: grayscale(100%);
  }
  hr {
    width: 20%;
    -webkit-box-align: center;
    align-items: center;
    align-self: center;
    margin-left: 39.5%;
  }
  .whyme-container {
    margin-bottom: 5%;
    padding: 2% 15%;
    text-align: center;
  }
  .whyme-container .center-text {
    font-size: 40px;
    color: rgb(123, 141, 255);
    padding-bottom: 10px;
  }
  .whyme-container .about-text {
    font-size: 22px;
    line-height: 1.7em;
    margin: 3% auto;
    opacity: 0.8;
  }
  .whyme-container .whyme-container-2 {
    margin-top: 10%;
  }
  .whyme-container .whyme-container-2 ul {
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-pack: justify;
    justify-content: space-between;
  }
  .whyme-container .whyme-container-2 ul li {
    list-style-type: none;
    padding: 0% 5%;
  }
  .whyme-container .whyme-container-2 ul li h2 {
    color: rgb(123, 141, 255);
    font-weight: 600;
    font-size: 20px;
    margin: 3% auto;
  }
  .whyme-container .whyme-container-2 ul li p {
    font-size: 15px;
    line-height: 1.7em;
    margin: 3% auto;
    opacity: 0.8;
  }
  .portfolio-container {
    margin-top: 8%;
  }
  .portfolio-container h1 {
    margin: 3% auto;
    text-align: left;
    font-weight: 500;
  }
  .portfolio-container .latest-work {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .portfolio-container .latest-work .description h3 {
    font-size: 23px;
    margin: 2% auto;
    font-weight: 400;
  }
  .portfolio-container .latest-work .description p {
    font-size: 20px;
    line-height: 1.7em;
    margin: 3% auto;
    opacity: 0.8;
  }
  .portfolio-container .latest-work .project-image img {
    width: 100%;
    margin-left: 20%;
  }
  .portfolio-container .cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    margin: auto -4%;
  }
  .portfolio-container .cards-container .card-body {
    background-color: white;
    width: 90%;
    margin: 4%;
    box-shadow: rgba(150, 170, 180, 0.5) 0px 7px 30px -10px;
  }
  .portfolio-container .cards-container .card-body .image img {
    width: 100%;
    object-fit: cover;
    height: 212px;
  }
  .portfolio-container .cards-container .card-body .card-det {
    text-align: center;
  }
  .portfolio-container .cards-container .card-body .card-det p {
    font-size: 20px;
    margin: 5% auto;
    opacity: 0.8;
  }
  .portfolio-container .cards-container .card-body .card-det .more {
    align-self: center;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .portfolio-container .cards-container .card-body .card-det .more button {
    background-color: white;
    color: black;
    border: 2px solid rgb(231, 231, 231);
    padding: 5px;
    width: 40%;
  }
  .portfolio-container
    .cards-container
    .card-body
    .card-det
    .more
    button:hover {
    background-color: rgb(231, 231, 231);
    transition: all 0.4s ease 0s;
  }
  .portfolio-container .cards-container .card-body .code {
    width: 55px;
    margin-top: -30px;
  }
}
@media (min-width: 1280px) {
  span {
    display: none;
  }
  header {
    position: fixed;
    z-index: 9999999;
    background-color: rgb(249, 249, 249);
    padding: 10px 10%;
    display: flex;
    width: 100%;
    top: 0px;
  }
  header .menu2,
  header .menu {
    display: none;
  }
  header ul {
    text-align: center;
    -webkit-box-align: center;
    align-items: center;
    align-self: center;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-pack: justify;
    justify-content: space-between;
    z-index: 9999999;
  }
  header ul li {
    list-style-type: none;
    padding: 0px 21px;
    font-size: 18px;
  }
  header ul a button {
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid rgb(123, 141, 255);
    border-radius: 25px;
    background-color: transparent;
  }
  header ul a button:hover {
    border: 1px solid rgba(123, 141, 255, 0);
    color: rgb(123, 141, 255);
    transition: all 0.2s ease 0s;
  }
  header ul a:hover {
    color: rgb(123, 141, 255);
  }
  .head-container {
    -webkit-box-align: center;
    align-items: center;
    margin-top: 5%;
    padding: 50px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .head-container .head-text {
    grid-column: 1 / auto;
    margin-top: -15%;
  }
  .head-container .head-text .name {
    font-size: 20px;
    color: rgb(123, 141, 255);
    font-weight: bold;
  }
  .head-container .head-text .job {
    font-size: 65px;
  }
  .head-container .head-text .doing {
    font-size: 25px;
    font-weight: bold;
    font-family: kalam;
    opacity: 0.7;
  }
  .head-container .head-image {
    grid-column: 2 / auto;
    text-align: center;
  }
  .head-container .head-image img {
    width: 90%;
    transform: scaleX(-1);
  }
  .skills-container {
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
  }
  .skills-container .raiting .container {
    text-align: center;
  }
  .skills-container .raiting .container ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    -webkit-box-align: center;
    align-items: center;
    margin: 5% 30%;
  }
  .skills-container .raiting .container ul .ng img {
    width: 85px;
  }
  .skills-container .raiting .container ul .css img {
    width: 75px;
  }
  .skills-container .raiting .container ul .html img {
    width: 70px;
  }
  .skills-container .raiting .container ul li {
    list-style-type: none;
  }
  .skills-container .raiting .container ul li span {
    display: none;
    opacity: 0.8;
  }
  .skills-container .raiting .container ul li img {
    width: 64px;
    margin: auto 5px;
    filter: grayscale(100%);
  }
  .skills-container .raiting .container ul li img:hover {
    filter: grayscale(0%);
  }
  .skills-container .raiting .container ul li:hover span {
    display: block;
  }
  hr {
    width: 20%;
    -webkit-box-align: center;
    align-items: center;
    align-self: center;
    margin-left: 39.5%;
  }
  .whyme-container {
    margin-bottom: 5%;
    padding: 2% 15%;
    text-align: center;
  }
  .whyme-container .center-text {
    font-size: 40px;
    color: rgb(123, 141, 255);
    padding-bottom: 10px;
  }
  .whyme-container .about-text {
    font-size: 22px;
    line-height: 1.7em;
    margin: 3% auto;
    opacity: 0.8;
  }
  .whyme-container .whyme-container-2 {
    margin-top: 10%;
  }
  .whyme-container .whyme-container-2 ul {
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-pack: justify;
    justify-content: space-between;
  }
  .whyme-container .whyme-container-2 ul li {
    list-style-type: none;
    padding: 0% 5%;
  }
  .whyme-container .whyme-container-2 ul li h2 {
    color: rgb(123, 141, 255);
    font-weight: 600;
    font-size: 22px;
    margin: 3% auto;
  }
  .whyme-container .whyme-container-2 ul li p {
    font-size: 17px;
    line-height: 1.7em;
    margin: 3% auto;
    opacity: 0.8;
  }
  .portfolio-container {
    margin-top: 8%;
  }
  .portfolio-container h1 {
    margin: 3% auto;
    text-align: left;
    font-weight: 500;
  }
  .portfolio-container .latest-work {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .portfolio-container .latest-work .description h3 {
    font-size: 23px;
    margin: 2% auto;
    font-weight: 400;
  }
  .portfolio-container .latest-work .description p {
    font-size: 22px;
    line-height: 1.7em;
    margin: 3% auto;
    opacity: 0.8;
  }
  .portfolio-container .latest-work .description .more {
    align-self: center;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .portfolio-container .latest-work .description .more button {
    background-color: white;
    color: black;
    border: 2px solid rgb(231, 231, 231);
    padding: 5px;
    width: 20%;
  }
  .portfolio-container .latest-work .description .more button:hover {
    background-color: rgb(231, 231, 231);
    transition: all 0.4s ease 0s;
  }
  .portfolio-container .latest-work .project-image img {
    width: 100%;
    margin-left: 20%;
    margin-top: -10%;
  }
  .portfolio-container .cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
  }
  .portfolio-container .cards-container .card-body {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    background-color: white;
    width: 90%;
    margin: 5%;
  }
  .portfolio-container .cards-container .card-body .image img {
    width: 100%;
  }
  .portfolio-container .cards-container .card-body .card-det {
    text-align: center;
  }
  .portfolio-container .cards-container .card-body .card-det p {
    font-size: 22px;
    margin: 5% auto;
    opacity: 0.8;
  }
  .portfolio-container .cards-container .card-body .card-det .more {
    align-self: center;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 20px;
  }
  .portfolio-container .cards-container .card-body .card-det .more button {
    background-color: white;
    color: black;
    border: 2px solid rgb(231, 231, 231);
    padding: 5px;
    width: 30%;
  }
  .portfolio-container
    .cards-container
    .card-body
    .card-det
    .more
    button:hover {
    background-color: rgb(231, 231, 231);
    transition: all 0.4s ease 0s;
  }
  .portfolio-container .cards-container .card-body .code {
    width: 55px;
    margin-top: -30px;
  }
  .portfolio-container .cards-container .card-body:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px,
      rgba(0, 0, 0, 0.22) 0px 10px 10px;
  }
}
