* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
}

@font-face {
  font-family: "fontPrincipal";
  src: url(/OpenSans-Regular.ttf);
}

@font-face {
  font-family: "ChineseRock";
  src: url("/rg.otf") format("opentype");
}

html,
body {
  scroll-behavior: smooth;
}

body {
  background-color: #231f20;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
  backdrop-filter: blur(5px);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #9090909b;
  border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #fdfdfd;
}

html {
  width: 100vw;
  overflow-x: hidden;
}

header {
  display: flex;
  position: fixed;
  width: 100%;
  padding: 25px;
  padding-bottom: 5px;
  justify-content: space-between;
  background-color: #1a181943;
  border-bottom: #231f20 6px solid;
  backdrop-filter: blur(10px);
  z-index: 2000;
}
header h4 {
  color: white;
  font-family: fontPrincipal;
}

.contactnav img {
  width: 30px;
  filter: invert(100%);
  transition: ease-in-out all 0.55s;
}

.contactnav img:hover {
  filter: invert(40%);
}

header ul {
  list-style: none;
  display: flex;
}
header li {
  margin-left: 40px;
}

header a {
  color: white;
  font-family: fontPrincipal;
  transition: ease-in-out all 0.55s;
}

header a:hover {
  color: gray;
}

.home {
  display: flex;
  justify-content: space-between;
  font-family: REM;
  width: 100vw;
  height: 100vh;
  padding-top: 30vh;
  padding-left: 100px;
  background-image: url(/bg1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
}
.home h1 {
  font-size: 6em;
  width: 950px;
  font-family: "ChineseRock";
  color: rgb(255, 255, 255);
  -webkit-text-stroke: #333030 3px;
}
.righthome img {
  filter: invert(100%);
}

.righthome {
  display: flex;
  padding-right: 5%;
  padding-top: 23%;
  display: flex;
  flex-direction: column;
}
.righthome img {
  width: 50px;
  padding: 5px;
}
.home span {
  font-family: REM;
  -webkit-text-stroke: 0px;
  font-size: 80px;
}

.links {
  width: 500px;
  margin-top: 50px;
  display: flex;
}
.links a {
  font-size: 15px;
  color: white;
  margin-right: 20px;

  border: 3px solid white;
}

.mail {
  background-color: transparent;
  transition: ease-in-out all 0.55s;
  padding: 10px 22px;
}
.mail i {
  color: rgba(255, 255, 255, 0.598);
}
.mail:hover {
  transform: translate(12px);
  background-color: rgba(95, 158, 160, 0.71);
}
.wpp {
  background-color: transparent;
  transition: ease-in-out all 0.55s;
  padding: 20px 42px;
}
.wpp:hover {
  transform: translate(12px);
  background-color: rgba(0, 171, 0, 0.785);
}
.projects {
  display: flex;
  width: 100vw;
  flex-direction: column;
  background: rgb(35, 31, 32);

}

.pr1 {
  display: flex;
  width: 100vw;
  height: 300px;
  background-image: url(/img/bgreddead.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  transition: ease-in-out all 0.55s;
  filter: grayscale(100%);
  margin-bottom: 30px;
  box-shadow: 10px 5px 5px rgba(0, 0, 0, 0.82);
}
.pr2{
  background-image: url(/img/pr2.png);
}

.pr3 {
  background-image: url(/img/remedy.png);
}

.blur {
  display: flex;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.584);
  backdrop-filter: blur(3px);
  justify-content: space-between;
  height: 300px;
  align-items: center;
  padding-left: 20%;
}

.pr1:hover {
  filter: grayscale(0%);
}
.dr:hover>.txtpr{
  opacity: 0;
}

h2 {
  color: white;
  text-transform: uppercase;
  font-family: REM;
  font-size: 40px;
  text-align: center;
  width: 350px;
}

.dr {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.dr a {
  margin-bottom: 20px;
  font-size: 20px;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  font-family: fontPrincipal;
  border: 2px solid black;
  border-radius: 4px;
  background-color: #ffffff96;
  padding: 5px 30px;
  transition: ease all 0.55s;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.82);
}
.dr a:hover {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.475);
  border: rgba(255, 255, 255, 0.678) 2px solid;
}
.tec {
  color: rgba(255, 255, 255, 0.107);
  font-family: REM;
  font-size: 30px;
  text-align: center;
  transition: ease all 0.55s;
}
.tec:hover {
  color: rgba(189, 189, 189, 0.84);
}
.txtpr {
  width: 250px;
  height: 200px;
  margin-right: 450px;
  margin-top: 70px;
}

.txtpr ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.txtpr li {
  list-style: none;
  height: 50px;
  width: 50px;
}
.txtpr i {
  font-size: 50px;
}

.bx {
  font-size: 40px;
  color: rgba(255, 255, 255, 0.288);
  transition: all ease-in-out 0.1s;
}
.bx:hover {
  color: white;
}
.projects h1 {
  font-family: "ChineseRock";
  text-transform: uppercase;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.874);
  width: 500px;
}
.use {
  padding-top: 40px;
  width: 500px;
  display: flex;
  justify-content: center;
}
.use a {
  color: white;
  font-family: ;
  text-transform: uppercase;
  background-color: #000000;
  border-radius: 3px;
  padding: 10px;
  margin-right: 20px;
}
.prname {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 300px;
  margin-bottom: 50px;
}
.prname a {
  color: rgba(255, 255, 255, 0.167);
  font-family: fontPrincipal;
  font-size: 30px;
  text-transform: uppercase;
  border-top: solid 1px;
  border-bottom: solid 1px;
  width: 900px;
  text-align: center;
  transition: all ease-in-out 0.55s;
}
.prname a:hover {
  color: rgba(255, 255, 255, 0.734);
}

.skills {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 100px;
  background: rgb(35, 31, 32);
  background: linear-gradient(
    180deg,
    rgba(35, 31, 32, 1) 20%,
    rgba(14, 13, 13, 1) 77%
  );
}
.skills h3 {
  font-family: REM;
  color: rgb(255, 255, 255);
  font-size: 35px;
  text-align: center;
  text-transform: uppercase;
}
.skills i {
  font-size: 70px;
}

.skltree ul {
  width: 500px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;

  justify-content: center;
}
.skltree li {
  list-style: none;
}
.skltree {
  margin-bottom: 100px;
}
.ftimg {
  width: 100px;
  height: 25px;
  padding-right: 20px;
  justify-content: center;
  align-items: center;
  transition: ease-in-out all 0.55s;
}
.ftimg:hover {
  filter: grayscale(100%);
}

.bgtxt {
  position: absolute;
  margin-left: 60px;
  margin-top: -45px;
  font-size: 100px;
  font-family: REM;
  color: #231f202c;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.183);
}

.bxl-html5 {
  color: orangered;
  transition: ease all .55s;
}

.bxl-css3 {
  color: rgb(113, 113, 243);
  transition: ease all .55s;
}
.bxl-javascript {
  color: yellow;
  transition: ease all .55s;
}
.bxl-react {
  color: rgb(162, 255, 249);
  transition: ease all .55s;
}
.bxl-bootstrap {
  color: blueviolet;
  transition: ease all .55s;
}
.bxl-angular {
  color: red;
  transition: ease all .55s;
}
.bxl-php {
  color: rgb(81, 109, 200);
  transition: ease all .55s;
}
.bxl-python {
  color: rgb(241, 241, 93);
  transition: ease all .55s;
}
.bxl-blender {
  color: rgb(227, 102, 56);
  transition: ease all .55s;
}
.bxl-github {
  color: orangered;
  transition: ease all .55s;
}
.bxl-visual-studio {
  color: rgb(28, 202, 214);
  transition: ease all .55s;
}

footer div {
  margin-left: auto;
  margin-right: 30px;
}

footer {
  display: flex;
  justify-content: space-between;
  background-color: #0e0d0d;
}

footer p {
  color: rgba(255, 255, 255, 0.282);
  flex: 1;
  text-align: center;
  margin-left: 300px;
}

@media (max-width: 1450px) {

  .blur{
    flex-direction: column;
    margin-left: 0;
    padding-left: 0;
    height: 100%;
  }
  .blur h2{
    width: 900px;
    margin-top: 30px;
    margin-bottom: 10px;
    margin-left: 0;
    padding-left: 0;
  }
  .pr1{
    flex-direction: column;
    height: 22em;
  }
  .txtpr{
    margin: 0;
    padding: 0;
  }
  .lefthome{
    margin-top: 200px;
  }
  .home{
    flex-direction: column;
    justify-content:center;
  }
  .righthome{
    padding-top: 100px;
    flex-direction: row;
    justify-content: end;
    margin-top: auto;
    margin-bottom: 100px;
  }
  .dr{
    margin: 0;
    padding: 0;
  }



}

@media (max-width:880px){
  .home h1{
    display: flex;
    flex-direction: column;
  }
  .home span{
    font-size: 70px;
  }
  .blur h2{
    font-size: 30px;
  }
}
@media (max-width:660px){
  .home span{
    font-size: 50px;
  }
  .blur h2{
    font-size: 25px;
  }
  .home{
    margin-left: 0;
    padding-left: 40px;
  }
}

@media (max-width:550px){
  header h4{
    display: none;
  }
  .pr1{
    height: 21em;
  }
  footer div{
    display: flex;
    flex-direction: row;
  }
  footer{
    display: flex;
    justify-content: end;
    align-items: center;
  }
  .skltree ul{
    width: 300px;
  }
  .bgtxt{
    margin-left: -30px;
  }
  .blur h2{
    width: 300px;
  }
  .txtpr ul{
    width: 300px;
    margin-left: -25px;
  }
  .lefthome span{
    width: 290px;
  }

}