:root {
  --back-color: #ffffff;
  --main-color: #9933ff;
}
* {
  padding: 0;
  margin: 0;
  font-family: arial;
  outline: none;
  border: none;
  box-sizing: border-box;
}
*::selection {
  background: var(--main-color);
  color: #222;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: #333;
}
::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 15%;
}
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  transition: opacity 0.75s, visibility 0.75s;
  z-index: 10000;
}
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader::after {
  content: "";
  width: 75px;
  height: 75px;
  border: solid 20px #dddddd;
  border-radius: 50%;
  border-top-color: var(--main-color);
  animation: loading 0.75s ease infinite;
}
@keyframes loading {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}
html {
  scroll-behavior: smooth;
}
body {
  color: white;
  background: #050a14;
  overflow-x: hidden;
}
.hin {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.hinSpan {
  color: var(--main-color);
}
/* start navbar */

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  position: fixed;
  top: 0;
  background: #111;
  z-index: 10000;
}
ul li {
  display: inline;
}
ul li a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  padding: 0.3125rem;
  text-align: center;
}
ul li a:hover {
  text-decoration: underline;
  color: var(--main-color);
}
nav .btn {
  background: var(--main-color);
  color: white;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
}
.none {
  display: none;
}
/* end navbar */
/* start home */
.home {
  margin-top: 7rem;
  margin-bottom: 7.5rem;
}
.home h1 {
  text-align: center;
  font-size: 7rem;
}
.home h4 {
  color: var(--main-color);
  text-align: center;
  font-size: 18px;
}
.home p {
  text-align: center;
}
/* end home */
/* start about */
.about {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.about img {
  width: 19rem;
  margin-bottom: 1rem;
}
.about h2 {
}
.about span {
  color: var(--main-color);
  font-size: 12px;
}
.about2 {
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
  padding-top: 10px;
}
.about2 h2 {
  color: var(--main-color);
}
.about2 p {
  font-size: 1rem;
  font-weight: 500;
}
.about2 .test {
  margin-left: 1rem;
}
.about2 img {
  width: 400px;
  position: relative;
  left: 15%;
}
.about2 .btn {
  background: var(--main-color);
  color: white;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
}

/* end about */
/* start services */
/*start services*/
.services h1,
.skills h1,
.projects h1 {
  margin-bottom: 1em;
}
.services,
.projects {
  background-image: var(--grad);
  padding: 2em 0 5em;
}
.services h1,
.projects h1 {
  padding-top: 1em;
  color: var(--light);
}
.services .container,
.skills .container,
.projects .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: wrap;
  gap: 1rem;
}
.services .box-ser,
.projects .box {
  width: 250px;
  min-height: 200px;
  text-align: center;
  border-radius: var(--radius);
  transition: var(--trans);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(4.6px);
  -webkit-backdrop-filter: blur(4.6px);
  box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%);
}
.services .box-ser {
  padding: 2em 1em;
}
.services .box-ser i {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: var(--main-color);
}
.services .box-ser h2 {
  padding-bottom: 0.7em;
  font-weight: normal;
  color: var(--main-color);
}
.services .box-ser p {
  line-height: 1.6;
  font-size: 1em;
  color: var(--light);
}
/*end services*/
/* end services */
/* start por */

.projexts {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 1rem;
  transition: translateX(10deg);
  background-color: #222;
  padding-bottom: 10px;
  padding-top: 10px;
}
.projexts .text3 {
  width: 50%;
}
.projexts .text3 h2 {
  color: var(--main-color);
  margin-bottom: 8px;
}
.projexts .text3 p {
  color: white;
  font-weight: 50;
  margin-bottom: 8px;
}
.projexts .text3 .btn {
  background: #9933ff;
  color: #ffffff;
  border-radius: 16px;
  padding: 0.3125rem;
  text-decoration: solid;
  transition: 0.3s;
}
.projexts .text3 .btn:hover {
  background: none;
  border: solid 0.125rem var(--main-color);
  color: var(--main-color);
}
.projexts img {
  width: 25rem;
}
/* end por */
/* start skill */
.akillss {

}
.skills .skill-box{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  margin-bottom: 5px;
}
.skills .skill-box .skill-name{
  font-weight: bold;
  width: 100px;
  text-align: center;
}
.skills .skill-box .skill-progress{
  height: 20px;
  width: 50%;
  background-color: #333;
  border-radius: 5px;
  position: relative;
}
.skills .skill-box .skill-progress span{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 5px;
  background-color: var(--main-color);
  transition: 0.5s;
}
.html{
  width: 0%;
}
.html::after{
  content: "100%";
  color: white;
  float: right;
  padding-right: 10px;
}
.css{
  width: 0%;
}
.css::after{
  content: "95%";
  color: white;
  float: right;
  padding-right: 10px;
}
.javaS{
  width: 0%;
}
.javaS::after{
  content: "85%";
  color: white;
  float: right;
  padding-right: 10px;
}
.python{
  width: 0%;
}
.python::after{
  content: "90%";
  color: white;
  float: right;
  padding-right: 10px;
}
.Jquery{
  width: 0%;
}
.Jquery::after{
  content: "100%";
  color: white;
  float: right;
  padding-right: 10px;
}
.char{
  width: 0%;
}
.char::after{
  content: "75%";
  color: white;
  float: right;
  padding-right: 10px;
}
.ch2{
  color: black;
  background: var(--main-color);
  clip-path: circle();
  padding: 6px;
}
/* end skill */
/* start contact */
.contact {
  margin-bottom: 3.125rem;
  text-align: center;
}
.contact form input {
  background: none;
  border: solid 2px var(--main-color);
  padding: 0.625rem;
  border-radius: 0.0313rem;
  margin: 0.3125rem;
  color: white;
}
#inpMessage {
  width: 39.5%;
  height: 25vh;
  margin-bottom: 1rem;
}
.contact .btn {
  background: #9933ff;
  color: #ffffff;
  border-radius: 15px;
  width: 10%;
  padding: 6px;
  text-decoration: solid;
  transition: 0.3s;
}
.contact .btn:hover {
  background: none;
  border: solid 0.125rem var(--main-color);
  color: var(--main-color);
}
.contact form input::placeholder {
  color: white;
  opacity: inherit;
}
/* end contact */
/* footer */
.footer {
  background: #333;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer .foH2 {
  padding-top: 5px;
}
.footer p {
  padding-top: 5px;
}
.footer .icon {
  color: white;
}
/* end footer */
