/* ------------------------------------- Personal CSS --------------------------------------- */

:root {
  --blue: #0E74F6;
  --black: #090909;
  --white: #fff;
  --light-gray: rgba(255, 255, 255, 0.25);
  --dark-gray: rgba(0, 0, 0, 0.25);
  --smooth-corners: X[, Y]
}

body{
  background: var(--black);
  color: var(--white);
  margin: 0;
  font-size: 13px;
  display: block;
  padding: 0;
  font-family: 'Kodchasan', sans-serif;
}

.bg-white{background: var(--white) !important;}
.bg-white-10{background: rgb(255 255 255 / 10%) !important;}
.bg-black{background: var(--black) !important;}
.bg-blue{background: var(--blue) !important;}

.txt-white {color: var(--white) !important;}
.txt-black {color: var(--black) !important;}
.txt-blue {color: var(--blue) !important;}
.txt-blue-hover {transition: all 0.6s;}
.txt-blue-hover:hover {color: var(--blue) !important; transition: all 0.3s;}

.border-r30 {border-radius: 30px;}
.border-r40 {border-radius: 40px;}

.border-w20 {border: 1px solid var(--light-gray);}
.border-b20 {border: 1px solid var(--dark-gray);}
.border25 {border-bottom: 1px solid var(--light-gray);}

.width-100 {width: 100%;}
.height-48vh {height: 48vh;}
.height-23vh {height: 23vh;}
.height-9vh {height: 9vh;}
.height-5vh {height: 5vh;}
.height-fit {height: fit-content;}
.rotate45 {transform: rotate(45deg);}

span.skill-black{
  background: var(--black);
  padding: 0.9rem;
  color: var(--white);
  font-size: 0.8rem;
  border-radius: 30px;
  margin-right: 0.3rem;
  display: inline-flex;
  margin-bottom: 0.3rem;
  transition: 0.5s;
}

span.skill-black:hover {background : var(--blue); transition: 0.5s;}

.dribbble {background: var(--white); transition: 0.5s;}
.dribbble:hover {background: #ea4c89; transition: 0.8s;}

.behance {background: var(--blue); transition: 0.5s;}
.behance:hover {background: #0057ff; transition: 0.8s;}

.load{
  background: #fff;
  width: 100%;
  border: 1px solid var(--dark-gray);
  height: 2.5rem;
  border-radius: 40px;
  margin-top: 1rem;
}
.loading {
  background: var(--black);
  border-radius: 40px;
  margin-top: -2.5rem;
  overflow: auto;
  box-shadow: inset -40px 0px 30px -20px var(--blue);
  height: 2.5rem;
  padding: 0.7rem;
  position: relative;
  transition: 0.3s ;
}
.loading:hover{
  box-shadow: inset -80px 0px 40px -20px var(--blue);
  transition: 0.3s ;
}
.loading p{
  float: left;
  font-size: 1rem;
  margin: 0;
  padding: 0;
}
.loading span{
  float: right;
  font-size: 0.8rem;
  line-height: 1rem;
  margin: 0;
  padding: 0;
}

.persian {width: 95%;}
.french {width: 85%;}
.english {width: 60%;}
.figma {width: 95%;}
.photoshop {width: 90%;}
.illustrator {width: 70%;}
.xddesign {width: 70%;}
.indesign {width: 60%;}
.designstudio {width: 60%;}
.javascript {width: 60%;}
.bootstrap {width: 70%;}
 
.javascript-node {width: 40%;}
.php {width: 40%;}
.html {width: 90%;}
.css {width: 95%;}

.social-media {
  text-align: center;
}

.social-media a{
  color: var(--black);
  font-size: 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.5rem 0rem;
  display: block;
  line-height: 1.4rem;
  margin: 0;
  border-radius: 40px;
}

.instagram a, .linkedin a, .telegram a {background: var(--white); }
.instagram a:hover{ color :var(--white) ; transition: all 0.3s ; background:linear-gradient(75deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);}
.linkedin a:hover{ color :var(--white) ; transition: all 0.3s ; background: #0e76a8;}
.telegram a:hover{ color :var(--white) ; transition: all 0.3s ; background: #0088cc;}

.img-profil {
  background: url(../img/Saleh-KAFFASH.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.transparent {
  background: var(--black);
  padding: 1.5rem;
  border: 1px solid var(--light-gray);
  border-radius: 40px;
  display: block;
  font-size: 1.2rem;
  text-align: center;
  margin: 0;
}

.transparent-icon {
  font-size: 1.4rem;
  line-height: 1rem;
  color: rgb(255 255 255 / 75%);
}

.download-cv {
  background: var(--blue);
  padding: 1.5rem;
  border-radius: 40px;
  display: block;
  font-size: 1.2rem;
  text-align: center;
  margin: 0;
  box-shadow: 0px 0px 0px -5px var(--blue);
  transition: all 0.3s;
}
.download-cv i{
  font-size: 1.4rem;
  line-height: 1rem;
}

.download-cv:hover {
box-shadow: 0px 15px 30px -5px var(--blue);
margin-top: -5px;
margin-bottom: 5px;
transition: all 0.3s;
}

.flesh{
  margin-right: -3rem;
  font-size: 1.6rem;
  padding: 1.5rem;
  text-align: center;
  width: 70px;
  height: 70px;
  line-height: 1.5rem;
  position: absolute;
  margin-top: 12rem;
  display: flex;
  align-self: flex-end;
  z-index: 1;
  background: var(--blue);
  box-shadow: 2px 10px 20px -5px var(--blue);
  border-radius: 40px;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 , p , span, a{
  margin: 0;
  font-weight: 400;
  line-height: 1;
  font-family: 'Kodchasan', sans-serif;
  text-decoration: none;
}

h1, .h1 {font-size: calc(1.6rem + 3vw);}
h2, .h2 {font-size: calc(1rem + 2vw);}
h3, .h3 {font-size: calc(1.5rem + 1vw);}
h4, .h4 {font-size: calc(1rem + 0.4vw);}
h5, .h5 {font-size: calc(0.6rem + 1vw);}
h6, .h6 {font-size: calc(0.6rem + 0.6vw);}

.fw2 {font-weight: 200;}
.fw3 {font-weight: 300;}
.fw4 {font-weight: 400;}
.fw5 {font-weight: 500;}
.fw6 {font-weight: 600;}
.fw7 {font-weight: 700;}

.lh12 {line-height: 1.2;}
.lh16 {line-height: 1.6;}

.italy{font-style: italic;}
.bold {font-weight: bold;}
.text-underline {text-decoration: underline;}
.text-uppercase {text-transform: uppercase;}

p , .p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
}

b,
strong {
  font-weight: bolder;
}

a {
  color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
  text-decoration: none;
}
a:hover {
  --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
}

a:not([href]):not([class]), a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}

.radar-chart {
  width: 300px;
  height: 300px;
  position: relative;
  margin: 0;
}

.chart-container {
  position: absolute;
    margin: auto;
    width: 25%;
    height: auto;
    display: block;
}

.y25 {
  filter: invert(1);
  rotate: 10deg;
  position: absolute;
  align-self: flex-end;
  display: block;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
}
.chart-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}
.chart-legend {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  text-align: center;
}

/* ------------------------------------- responsive perso --------------------------------------- */


@media (max-width: 576px) {
  h1, .h1 {font-size: calc(2rem + 4vw);}
  h2, .h2 {font-size: calc(1.4rem + 2vw);}
  h3, .h3 {font-size: calc(1.4rem + 3vw)}
  h4, .h4 {font-size: calc(1rem + 1.6vw); line-height: 1.6rem;} 
  h5, .h5 {font-size: calc(1rem + 1vw);}
  h6, .h6 {font-size: calc(1rem + 0.6vw);}
  
  .flesh {
    margin: 1rem 0rem -4rem 0rem;
    align-self: center;
    rotate: 90deg;
    box-shadow: 10px 2px 20px -5px var(--blue);
    position: relative;
  }
  .y25{
    margin-top: -3rem;
    margin-right: -1rem;
  }
  .citation {
    top: 5rem;
    padding-left: 0.5rem;
    position: absolute;
  }
}


@media (max-width: 768px) {
  .height-23vh, .height-9vh, .height-5vh {
   height: auto !important;
 }
}

@media (max-width: 992px) {
  .chart-container {
    width: 80vw;
    margin-top: -1rem;
  }
  .chart-height {
    height: 80vw;
  }
}
@media (min-width: 1400px) {
  .chart-container {
    width: 400px;
    margin-top: -100px;
  }
}


@media (min-width: 1601px) {
  .container-fluid {
    max-width: 1601px;
  }
}