* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-position: center;
  background: linear-gradient(295deg, rgb(0, 0, 0) 54.4%, rgb(0, 0, 0) 98.8%);
}

body::-webkit-scrollbar {
  width: 1px;
}

::-webkit-scrollbar-track {
  background: #070707;
}

::-webkit-scrollbar-thumb {
  background: rgb(137, 30, 47);
}

.navlist {
  display: flex;
  position: fixed;
  padding: 5px 10px;
  /* background: gray; */
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: space-between;
}

.navlist .logo img {
  height: 30px;
  filter: brightness(0.5);
}

.navlist ul {
  display: flex;
  /* height: 100vh; */
  /* flex-direction: column; */
  justify-content: center;
  list-style: none;
  padding-right: 50px;
  /* background: rgba(0, 0, 0, 0.356); */
}

.navlist li {
  width: 100%;
  text-align: center;
  padding: 10px 25px;
}

.navlist a {
  text-decoration: none;
  color: antiquewhite;
  cursor: url("../img/cursor.png"), auto;
}

.navlist li.selected {
  /* background: rgba(0, 0, 0, 0.568); */
  color: rgb(185, 41, 65);
  position: relative;
  /* width: 100%; */
  transition: 1s;
}

.list.selected a {
  color: rgb(185, 41, 65);
  transition: 1s;
}

.secret {
  position: absolute;
  height: 100%;
  background: #070707;
  /* width: 1rem; */
  text-align: center;
  display: none;
}

#menu {
  color: wheat;
  font-size: 1.5rem;
  display: none;
}

input:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: wheat;
  transition: background-color 9999s ease-in-out 0s;
  color: wheat;
}



.navlist li.selected::before {
  content: "";
  height: 15px;
  width: 25px;
  border-top: 1px solid red;
  border-left: 1px solid red;
  position: absolute;
  top: 0;
  left: 0;
  animation: blicktop 0.5s infinite alternate-reverse;
}

.navlist li.selected::after {
  content: "";
  height: 15px;
  width: 25px;
  border-right: 1px solid red;
  border-bottom: 1px solid red;
  position: absolute;
  bottom: 0;
  right: 0;
  animation: blick 0.5s infinite alternate-reverse;
}

.background-img {
  height: 100%;
  /* width: 100vh; */
  position: fixed;
  transform: translateX(-200px);
  display: grid;
  place-items: center;
  z-index: -15;
  background-color: #696969;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 50%,
      rgba(0, 0, 0, 1) 100%),
    url(../img/Blackback.webp) no-repeat;
  filter: blur(2px);
}

.background-img video {
  height: 100%;
  transform: translateX(350px);
  object-fit: contain;
  filter: brightness(0.9);
  transition: 1s;
}

.hero {
  height: 100vh;
  display: grid;
  place-items: center;
  color: wheat;
}

.hero .heading {
  font-size: 2rem;
  margin-top: 100px;
  transform: translateX(-150px);
}

.heading span {
  color: rgb(185, 41, 65);
}

.progressBar {
  height: 5px;
  /* background: red; */
  position: fixed;
  bottom: 50%;
}

.bbutns {
  padding: 5px 10px;
  background: transparent;
  border: none;
  position: relative;
  color: aliceblue;
  padding: 10px 15px;
  transition: 1s;
  cursor: url("../img/cursor.png"), auto;
}

.bbutns:hover {
  /* background: rgba(202, 1, 1, 0.39); */
  color: rgb(185, 41, 65);
}

.bbutns::before {
  content: "";
  height: 15px;
  width: 25px;
  border-right: 1px solid red;
  border-bottom: 1px solid red;
  position: absolute;
  bottom: 0;
  right: 0;
  transition: 1s;
}

.bbutns::after {
  content: "";
  height: 15px;
  width: 25px;
  border-top: 1px solid red;
  border-left: 1px solid red;
  position: absolute;
  top: 0;
  left: 0;
  transition: 1s;
}

.bbutns:hover::after {
  top: -3px;
  left: -3px;
}

.bbutns:hover::before {
  bottom: -3px;
  right: -3px;
}

.links {
  padding: 20px 0;
  margin-top: 30px;
}

.links i {
  border: 1px solid wheat;
  border-radius: 50%;
  font-size: 1.2rem;
  padding: 5px;
  transition: 0.51s;
  margin: 0 2px;
}

.links i:hover {
  transform: scale(1.3);
  background: wheat;
  color: black;
}

.cursor {
  display: inline-block;
  font-weight: bold;
  color: rgb(185, 41, 65);
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typewriter-text {
  display: inline-block;
  color: wheat;
  font-family: 'Courier New', monospace;
  position: relative;
}
.about {
  height: 100vh;
  display: grid;
  place-items: center;
  align-content: space-evenly;
}

.about .container {
  backdrop-filter: blur(5px);
  align-items: center;
  display: flex;
  gap: 50px;
  padding: 20px 50px;
  font-size: 2rem;
  border-radius: 20px;
  color: wheat;
}

.about .container p {
  font-size: 1.1rem;
}

.about img {
  filter: brightness(0.5);
  height: 5rem;
}

.education {
  padding: 10% 7%;
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: space-evenly;
}

.education h1 {
  color: wheat;
}

.skewed-container {
  display: flex;
  flex-direction: column;
  transform: skew(-25deg);
  padding: 20px;
  /* background: green; */
}

.skewed-container .normal-container {
  border: 1px solid rgb(137, 30, 47);
  padding: 30px 25px;
  margin: 20px 0;
  backdrop-filter: blur(5px);
}

.divider {
  padding: 10px;
  border: 1px solid rgb(185, 41, 65);
  border-top: none;
  border-bottom: none;
}

.normal-container .skew-content {
  transform: skew(25deg);
  background: transparent;
  color: wheat;
  padding: 5px 10px;
  border: none;
  cursor: url("../img/cursor.png"), auto;
}

.skew-content h4,
p {
  color: #d2cfcf;
  ;
}

#form-status {
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  color: wheat;
}

.skills {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: wheat;
  background: #00000060;
}

.skills h1 {
  font-size: 2rem;
  margin: 0 50px;
}

.skills-container {
  display: flex;
}

.container-skills {
  transform: rotate(25deg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.container-skills .skills-card {
  transform: rotate(-25deg);
  height: 200px;
  width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 25px;
  margin: 10px;
  background: rgba(137, 30, 48, 0.027);
  transition: 0.5s;
  backdrop-filter: blur(5px);
}


.skills-card i {
  font-size: 5rem;
}

.skills-card:hover {
  border: 1px solid rgba(255, 0, 0, 0.349);
  transform: rotate(-25deg) scale(1.1);
}

.bordershine {
  position: relative;
  content: "";
}

.bordershine::before {
  content: "";
  height: 10%;
  width: 20%;
  border-top: 1px solid red;
  border-left: 1px solid red;
  position: absolute;
  top: 0;
  left: 0;
}

.bordershine::after {
  content: "";
  height: 10%;
  width: 20%;
  border-right: 1px solid red;
  border-bottom: 1px solid red;
  position: absolute;
  bottom: 0;
  right: 0;
}

.contact {
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
}

.contact-s {
  display: flex;
  width: 100%;
}

.contact-info {
  color: wheat;
  background: rgb(81 51 51 / 16%);
  border-radius: 10px;
}

.contact-info .info {
  padding: 10px 10px;
  margin: 10px 0;
}

.contact-info .info a {
  color: wheat;
}

.scroll-animate {
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: transform, opacity;
}

.from-left {
  transform: translateX(-50px);
}

.from-right {
  transform: translateX(50px);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateX(0);
}

.hidden-on-load {
  visibility: hidden;
}

.contact .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 70%;
}

.contact h1 {
  color: wheat;
  font-size: 2rem;
}

.heading-text {
  font-size: 2.3rem;
  color: wheat;
  text-decoration: underline;
}

.contact .row {
  width: 60%;
  display: flex;
  align-content: space-between;
  justify-content: center;
}

.contact .row input {
  padding: 18px 20px;
  border-radius: 5px;
  border: none;
  width: 49%;
  margin: 4px 5px;
  background: rgb(81 51 51 / 16%);
  color: wheat;
  backdrop-filter: blur(5px);
}

.contact textarea {
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  width: 100%;
  margin: 2px 5px;
  color: wheat;
  background: rgb(81 51 51 / 16%);
}

@keyframes blick {
  0% {
    bottom: -1px;
    right: -1px;
    opacity: 0.9;
  }

  100% {
    opacity: 0.5;
    bottom: 1px;
    right: 1px;
  }
}

@keyframes blicktop {
  0% {
    top: -1px;
    left: -1px;
    opacity: 0.9;
  }

  100% {
    opacity: 0.5;
    top: 1px;
    left: 1px;
  }
}

@keyframes chnagebg {
  0% {
    background: linear-gradient(295deg,
        rgb(10, 4, 4) 54.4%,
        rgb(57 13 20) 98.8%);
  }

  100% {
    background: linear-gradient(295deg,
        rgb(10, 4, 4) 54.4%,
        rgb(121, 28, 44) 98.8%);
  }
}

@media (max-width: 698px) {

  /* section {
    padding: 10px 7%;
  } */
  .navlist ul {
    padding-right: 10px;
    font-size: .8rem;
  }

  .navlist li {
    padding: 10px 15px;
  }

  .hero .heading {
    transform: translateX(-50px);
  }

  .background-img video {
    transform: translateX(50px);
  }

  .container-skills .skills-card {
    height: 150px;
    width: 150px;
    font-size: .9rem;
  }

  .contact {
    gap: 0;
    width: 100%;
  }

  .contact-s {
    padding: 40px 7%;
    flex-direction: column;
  }

  .contact-s Button {
    margin: 20px 0;
  }

  .skills-card i {
    font-size: 3rem;
  }

  .contact .container {
    width: 100%;
  }

  .contact .row {
    width: 100%;
  }
}

@media (max-width: 500px) {

  .background-img video {
    transform: translateX(-150px) scale(.8);
  }

  #menu {
    display: block;
    z-index: 5000;
    padding: 10px;
  }

  .hero .heading {
    transform: translateX(-20px);
    font-size: 1.5rem;
  }

  .about .container {
    font-size: 1rem;
  }

  .about .container p {
    font-size: .9rem;
  }

  .about img {
    height: 3rem;
  }

  .education {
    padding: 10px 15%;
    font-size: .8rem;
  }

  .navlist {
    width: 100%;
  }

  .navlist ul {
    flex-direction: column;
    position: absolute;
    top: -500px;
    right: 50%;
    transform: translate(50%);
    background: rgba(0, 0, 0, 0.651);
    width: 100%;
    padding-right: 0;
    z-index: 1000;
    align-items: center;
    padding: 50px 0;
    transition: .5s;
  }

  .navlist li {
    width: 100px;
    padding: 15px 0;
  }

  .navlist ul.open {
    top: 0;
  }

  .skills {
    flex-direction: column;
  }

  .education {
    flex-direction: column-reverse;
  }

  .container-skills {
    transform: rotate(0deg);
    margin-top: 50px;
  }

  .container-skills .skills-card {
    transform: rotate(0deg);
    height: 120px;
    width: 100px;
    font-size: .7rem;
    margin: 5px;
  }

  .skewed-container .normal-container {
    padding: 10px 15px;
  }

  .skills-card:hover {
    transform: scale(1.1);
  }

  .skills-card i {
    font-size: 2rem;
  }

  .about {
    padding: 10px 1%;
  }

  .about .container {
    gap: 10px;
  }

  .contact textarea,
  .contact input {
    padding: 14px 15px;
    font-size: 1rem;
  }
}

