body {
  margin: 0;
  padding: 0;
}
input:focus {
  outline: none !important;
}
textarea:focus {
  outline: none !important;
}
section {
  padding: 0 !important;
}

#header {
  font-family: "Courier New", Courier, monospace;
}

.headerNav li {
  margin-top: 8px;
}

.headerNav a {
  position: relative;
  font-family: Summer Rise;
  font-size: 16px;
  background-image: linear-gradient(
    to right,
    rgb(15, 15, 15) 0%,
    rgb(15, 15, 15) 100%
  );
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition:
    background-size 0.4s,
    color 0.5s;
  padding: 4px 6px;
}
.headerNav a:active {
  background-color: transparent;
}

.headerNav a:hover {
  color: rgb(241, 241, 241);
  background-size: 100% 100%;
}

#canvas-basic {
  position: absolute;
  display: block;
  width: 100%;
  height: 150rem;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#mobileNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s;
}

#mobileNav li a {
  font-family: Summer Rise;
  color: white;
  font-size: 20px;
}

#mobileNav li .link {
  padding: 5px;
  display: inline-block;
  position: relative;
}

#mobileNav li .link::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0.5px;
  background-color: #fff;
  bottom: 8px;
  left: 0;
  transition: width 0.3s ease-out;
  display: inline-block;
}

#mobileNav li .link:hover::before {
  width: 100%;
}

#mobileNav.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

#menu-button {
  /* opacity: 0; */
  transition: opacity 0.3s ease;
}

section h2 {
  font-family:'Times New Roman', Times, serif;
  font-size: 24px;
}
#contactMe h2 {
  font-family: Summer Rise;
  font-weight: normal;
}

#desktopNav {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  font-size: 17px;
  transition: opacity 0.3s ease;
  top: -60px;
  transition: all 0.3s;
}
#desktopNav span{
  /* font-family: "Courier New", Courier, monospace !important;  */
  font-size:30px ;
  line-height:1px;
  /* font-weight: bold; */
  margin-right: 4rem;
  vertical-align: middle;
}
.moveNav {
  top: 0 !important;
}

#desktopNav li {
  padding: 1rem;
  font-family: Summer Rise;
  font-size: 19px;
}

#desktopNav .link {
  position: relative;
  padding: 4px;
}

#desktopNav .link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition:
    width 0.3s ease-in-out,
    transform 0.3s ease-in-out;
  transform: translateX(-50%);
}

#desktopNav .link:hover::after {
  width: 100%;
}
.peymanakhtari{
  color:  white;
  animation: peymanakhtari 10s infinite;
}
@keyframes peymanakhtari{
   0%{
    color:  rgb(244, 244, 244);
   }
   25%{

     color: rgb(138, 138, 138);
    }
    50%{
      color: black;
    }
    75%{
     color: rgb(244, 244, 244);

   }
   90%{
    color:white
   }
}
.skillBoxContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.skillBox {
  aspect-ratio: 4/3.5;
  width: 100%;
  padding-top: 2rem;
}

.skillBox > span {
  font-size: 19px;
  font-weight: bold;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  position: relative;
  top: 14%;
  left: 4%;
}
.skillCard {
  width: 100%;
  height: 100%;
  background-color: rgba(250, 250, 250, 0.884);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.skillCard p {
  border-bottom: 1px solid black;
  width: 70%;
  margin-top: 10px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-family: Summer Rise;
  overflow: hidden;
}
.skillCard span {
  top: 2.5rem;
  position: relative;
  margin: 2px 0.5rem;
  transition: top 0.6s ease 0.6s;
}
.skillCard span:nth-child(2) {
  color: white;
  padding: 3px 10px;
  border-radius: 5px;
}
.expert {
  background-color: rgb(148, 1, 1);
}
.skilled {
  background-color: rgb(182, 182, 1);
}
.Experienced {
  background-color: rgb(49, 49, 49);
}
.learning {
  background-color: rgb(1, 109, 1);
}
.showSkills {
  top: 0 !important;
}

#contactMe {
  width: 90%;
}
@media only screen and (min-width: 390px) {
  .skillCard p {
    margin-top: 12px;
    font-size: 18px;
  }
}
@media only screen and (min-width: 480px) {
  .skillCard p {
    margin-top: 14px;
    font-size: 16px;
  }
  #canvas-basic {
    height: 170rem;
  }
}

@media only screen and (min-width: 640px) {
  .skillCard p {
    margin-top: 20px;
  }
  .skillBox {
    max-width: 25rem;
  }
  #canvas-basic {
    height: 160rem;
  }
  #contactMe {
    width: calc(90% - 24vw);
  }
}

@media only screen and (min-width: 768px) {
  #canvas-basic {
    height: 105rem;
  }
  .skillCard p {
    font-size: 14px;
    margin-top: 12px;
  }
  .skillBox {
    width: 49%;
    padding: 12px;
    max-width: 100rem;
  }
  #contactMe {
    width: calc(90% - 4vw);
  }
}

@media only screen and (min-width: 1024px) {
  #contactMe {
    width: calc(90% - 6vw);
  }
  #canvas-basic {
    height: 112rem;
  }
  .skillCard p {
    font-size: 16px;
    margin-top: 16px;
  }
  .skillBox {
    padding: 2.5rem;
  }
  #aboutme p {
    right: 1rem;
    font-size: 1rem;
  }
}
