/* ------------ Crédit ------------ *//*

 Project:   Portfolio Grafmi
 Version:   6.0
 Author:    Grafmi
 Website:   https://grafmi.com/

/* ------------ Fonts ------------ */
@font-face {
    font-family: 'MOREKS-Demo';
    font-style: normal;
    font-weight: normal;
    src: 
        url('./font/MOREKS-Demo.otf') format('opentype'),
        url('./font/MOREKS-Demo.otf') format("opentype") tech(color-COLRv1),
}

@font-face {
    font-family: 'Moon 2.0 Regular';
    font-style: normal;
    font-weight: normal;
    src: 
        url('./font/Moon2.0-Regular.otf') format('opentype'),
        url('./font/Moon2.0-Regular.otf') format("opentype") tech(color-COLRv1),
}
    
@font-face {
    font-family: 'Moon 2.0 Bold';
    font-style: normal;
    font-weight: normal;
    src:
        url('./font/Moon2.0-Bold.otf') format('opentype'),
        url('./font/Moon2.0-Bold.otf') format("opentype") tech(color-COLRv1);
}
@font-face {
    font-family: 'Moon 2.0 Light';
    font-style: normal;
    font-weight: normal;
    src: 
        url('./font/Moon2.0-Light.otf') format('opentype'),
        url('./font/Moon2.0-Light.otf') format("opentype") tech(color-COLRv1);
}

/* ------------ Website Theme ------------ */
:root {
  --glitched-duration: 0.9s;
  --glitched-long-duration: 3s;
  --primary: #966BFF;
  --primary-opacity: #f9f00242;
  --orange-color: #ff9800;
  --jaune-color: #f4ff54;
  --border-color: #8ae66e;
  --red-color: #FF5F4F;
  --blue-color: #0c5f74;
  --green-color: #298d29;
  --purple-color: purple;
  --neon-color: #19CC32;
  --black-color: #141314;
}

/* ------------ Generale Styles ------------ */

html {
    scroll-behavior: smooth;
    touch-action: manipulation;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: 'Moon 2.0 Regular';
    transition: 0.5s background-color;
    background-color: var(--primary);
    padding: 0px;
    margin: 0px;
    font-size: 20px;
}

body.stopScrolling {
    height: 100%;
    overflow: hidden;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    background-color: black;
}


/* ------------ Titles ------------ */


h1.cyberpunk,
h2.cyberpunk,
h3.cyberpunk,
h4.cyberpunk,
.cyberpunk h1,
.cyberpunk h2,
.cyberpunk h3,
.cyberpunk h4 {
  font-size: 2rem;
  line-height: 2.2rem;
  font-weight: 200;
  position: relative;
  padding-bottom: 15px;
}

h2.cyberpunk,
.cyberpunk h2 {
  font-size: 1.7rem;
  line-height: 1.9rem;
  font-weight: 300;
}

h3.cyberpunk,
.cyberpunk h3 {
  font-size: 1.4rem;
  line-height: 1.6rem;
  font-weight: 500;
}

h4.cyberpunk,
.cyberpunk h4 {
  font-size: 1rem;
  line-height: 1.2rem;
  font-weight: 700;
}

h1.cyberpunk:before,
h2.cyberpunk:before,
h3.cyberpunk:before,
h4.cyberpunk:before,
.cyberpunk h1:before,
.cyberpunk h2:before,
.cyberpunk h3:before,
.cyberpunk h4:before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0px;
  left: 2px;
  width: 100%;
  height: 10px;
  background-color: var(--black-color);
  clip-path: polygon(
    0px 0px,
    85px 0px,
    90px 5px,
    100% 5px,
    100% 6px,
    85px 6px,
    80px 10px,
    0px 10px
  );
}

h1.cyberpunk.glitched,
.cyberpunk h1.glitched {
  animation-name: h1glitched;
  animation-duration: calc(var(--glitched-duration) * 1.4);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

h2.cyberpunk.glitched,
.cyberpunk h2.glitched {
  animation-name: h1glitched;
  animation-duration: calc(var(--glitched-duration) * 1.7);
  animation-iteration-count: infinite;
  animation-direction: reverse;
  animation-timing-function: linear;
}

h3.cyberpunk.glitched,
.cyberpunk h3.glitched {
  animation-name: h1glitched;
  animation-duration: calc(var(--glitched-duration) * 1.1);
  animation-iteration-count: infinite;
  animation-direction: reverse;
  animation-timing-function: ease-out;
}

h4.cyberpunk.glitched,
.cyberpunk h4.glitched {
  animation-name: h1glitched;
  animation-duration: calc(var(--glitched-duration) * 2.1);
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

@keyframes h1glitched {
  0% {
    transform: skew(-20deg);
    left: -4px;
  }
  10% {
    transform: skew(-20deg);
    left: -4px;
  }
  11% {
    transform: skew(0deg);
    left: 2px;
  }
  50% {
    transform: skew(0deg);
  }
  51% {
    transform: skew(10deg);
  }
  59% {
    transform: skew(10deg);
  }
  60% {
    transform: skew(0deg);
  }
  100% {
    transform: skew(0deg);
  }
}

h1.cyberpunk.glitched:before,
.cyberpunk h1.glitched:before {
  animation-name: h1beforeglitched;
  animation-duration: calc(var(--glitched-duration) * 2);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes h1beforeglitched {
  0% {
    transform: skew(-20deg);
    left: -4px;
    clip-path: polygon(
      0px 0px,
      85px 0px,
      90px 5px,
      100% 5px,
      100% 6px,
      85px 6px,
      80px 10px,
      0px 10px
    );
  }
  10% {
    transform: skew(-20deg);
    left: -4px;
    clip-path: polygon(
      0px 0px,
      85px 0px,
      90px 5px,
      100% 5px,
      100% 6px,
      85px 6px,
      80px 10px,
      0px 10px
    );
  }
  11% {
    transform: skew(0deg);
    left: 2px;
    clip-path: polygon(
      0px 0px,
      85px 0px,
      90px 5px,
      100% 5px,
      100% 6px,
      85px 6px,
      80px 10px,
      0px 10px
    );
  }
  50% {
    transform: skew(0deg);
    clip-path: polygon(
      0px 0px,
      85px 0px,
      90px 5px,
      100% 5px,
      100% 6px,
      85px 6px,
      80px 10px,
      0px 10px
    );
  }
  51% {
    transform: skew(0deg);
    clip-path: polygon(
      0px 0px,
      85px 0px,
      90px 5px,
      100% 5px,
      40% 5px,
      calc(40% - 30px) 0px,
      calc(40% + 30px) 0px,
      calc(45% - 15px) 5px,
      100% 5px,
      100% 6px,
      calc(45% - 14px) 6px,
      calc(40% + 29px) 1px,
      calc(40% - 29px) 1px,
      calc(40% + 1px) 6px,
      85px 6px,
      80px 10px,
      0px 10px
    );
  }
  59% {
    transform: skew(0deg);
    clip-path: polygon(
      0px 0px,
      85px 0px,
      90px 5px,
      100% 5px,
      40% 5px,
      calc(40% - 30px) 0px,
      calc(40% + 30px) 0px,
      calc(45% - 15px) 5px,
      100% 5px,
      100% 6px,
      calc(45% - 14px) 6px,
      calc(40% + 29px) 1px,
      calc(40% - 29px) 1px,
      calc(40% + 1px) 6px,
      85px 6px,
      80px 10px,
      0px 10px
    );
  }
  60% {
    transform: skew(0deg);
    clip-path: polygon(
      0px 0px,
      85px 0px,
      90px 5px,
      100% 5px,
      100% 6px,
      85px 6px,
      80px 10px,
      0px 10px
    );
  }
  100% {
    transform: skew(0deg);
    clip-path: polygon(
      0px 0px,
      85px 0px,
      90px 5px,
      100% 5px,
      100% 6px,
      85px 6px,
      80px 10px,
      0px 10px
    );
  }
}

h2.cyberpunk:before,
.cyberpunk h2:before {
  clip-path: polygon(
    0px 5px,
    35px 5px,
    40px 0px,
    85px 0px,
    90px 5px,
    100% 5px,
    100% 6px,
    85px 6px,
    80px 10px,
    20px 10px,
    15px 6px,
    0px 6px
  );
}

h2.cyberpunk.glitched:before,
.cyberpunk h2.glitched:before {
  animation-name: h2beforeglitched;
  animation-duration: calc(var(--glitched-duration) * 2);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes h2beforeglitched {
  0% {
    transform: scaleY(1);
  }
  10% {
    transform: scaleY(1);
  }
  11% {
    transform: scaleY(-1);
  }
  50% {
    transform: scaleY(-1);
  }
  51% {
    transform: scaleY(1);
  }
  59% {
    transform: scaleY(1);
  }
  60% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
  }
}

h3.cyberpunk:before,
.cyberpunk h3:before {
  clip-path: polygon(
    0px 5px,
    10px 5px,
    15px 0px,
    40px 0px,
    45px 5px,
    100% 5px,
    100% 6px,
    31px 6px,
    27px 2px,
    15px 2px,
    8px 10px,
    0px 10px
  );
}

h4.cyberpunk:before,
.cyberpunk h4:before {
  clip-path: polygon(
    0px 3px,
    15px 3px,
    20px 0px,
    80px 0px,
    85px 3px,
    100% 3px,
    100% 4px,
    85px 4px,
    80px 7px,
    20px 7px,
    15px 4px,
    0px 4px
  );
}

h1.cyberpunk:after,
h2.cyberpunk:after,
h3.cyberpunk:after,
h4.cyberpunk:after,
p.cyberpunk:after,
.cyberpunk h1:after,
.cyberpunk h2:after,
.cyberpunk h3:after,
.cyberpunk h4:after,
.cyberpunk p:after {
  content: "_";
  animation-name: hxafter;
  animation-duration: var(--glitched-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

h3.cyberpunk:after,
h4.cyberpunk:after,
.cyberpunk h3:after,
.cyberpunk h4:after {
  animation-direction: reverse;
  animation-duration: calc(var(--glitched-duration) / 2);
}

/* Buttons and links */


.sub-heading span {
    padding: 0.5rem 0.5rem;
    border: solid 2px var(--main-color-1);
    background-color: rgba(150, 107, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 1rem;
    color: var(--heading-color);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1.5px;
}


.theme {
    border: none;
    font-size: 1.5rem;
    padding: 0.3rem 0.5rem;
    position: relative;
    color: #fff;
    border-right: 3px solid var(--border-color);
    clip-path: polygon(0 0, 90% 0, 100% 35%, 100% 100%, 10% 100%, 0 70%);
    cursor: pointer;
    background-color: var(--red-color);
    outline: none;
    display: inline-block;
}


.filter-btn {
    font-size: 1.2rem;
    line-height: 1.5rem;
    text-transform: uppercase;
    padding: 1rem 1rem;
    position: relative;
    color: #fff;
    border-right: 6px solid #553F8A;
    clip-path: polygon(0 0, 90% 0, 100% 33%, 100% 100%, 8% 100%, 0 74%);
    cursor: pointer;
    background-color: var(--primary);
}

button.cyberpunk, input.cyberpunk, a.cyberpunk {
    --background-color: var(--red-color);
    display: block;
    border: none;
    border-radius: 0%;
    font-size: 1.5rem;
    line-height: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 2rem 2rem;
    margin: 10px 20px 10px 0px;
    position: relative;
    color: #fff;
    border-right: 3px solid var(--border-color);
    clip-path: polygon(0 0, 90% 0, 100% 33%, 100% 100%, 8% 100%, 0 74%);
    cursor: pointer;
    background-color: var(--background-color);
    outline: none;
    display: inline-block;
}

button.cyberpunk:hover,
a.cyberpunk:hover,
button.filter-btn,
input[type="submit"].cyberpunk:hover {
  animation-name: buttonhover;
  animation-duration: var(--glitched-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

button.cyberpunk.green {
  --background-color: var(--green-color);
}

button.cyberpunk.purple {
  --background-color: var(--purple-color);
}

button.cyberpunk:after,
input[type="submit"].cyberpunk:after,
a.cyberpunk:after {
  content: var(--text);
  display: block;
  position: absolute;
  bottom: 0px;
  right: 25px;
  padding: 2px 2px 0px 2px;
  font-size: 0.6rem;
  line-height: 0.6rem;
  color: var(--black-color);
  background-color: var(--primary);
  border-left: 2px solid var(--border-color);
}

button.cyberpunk:hover:after,
a.cyberpunk:hover:after,
input[type="submit"].cyberpunk:after,
button.cyberpunk:focus:after,
a.cyberpunk:focus:after,
input[type="submit"].cyberpunk:after {
  animation-name: buttonhoverafter;
  animation-duration: var(--glitched-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

button.cyberpunk:before,
a.cyberpunk:before,
input[type="submit"].cyberpunk:before {
  --outside: 4px;
  content: "";
  position: absolute;
  display: none;
  background-color: var(--background-color);
  width: calc(100% + (var(--outside) * 2));
  height: 12px;
  top: 0px;
  left: calc(0px - 1px - var(--outside));
  border-left: 2px solid var(--border-color);
  border-right: 2px solid var(--border-color);
}

button.cyberpunk:hover:before,
a.cyberpunk:hover:before,
input[type="submit"].cyberpunk:hover:before,
button.cyberpunk:focus:before,
a.cyberpunk:focus:before,
input[type="submit"].cyberpunk:focus:before {
  display: block;
  animation-name: buttonhoverbefore;
  animation-duration: var(--glitched-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes buttonhover {
  0% {
    transform: skew(0deg);
  }
  60% {
    transform: skew(0deg);
  }
  61% {
    transform: skew(10deg);
  }
  70% {
    transform: skew(10deg);
  }
  71% {
    transform: skew(0deg);
  }
  100% {
    transform: skew(0deg);
  }
}

@keyframes buttonhoverbefore {
  0% {
    display: none;
    top: 0px;
  }
  10% {
    display: none;
    top: 0px;
  }
  11% {
    display: block;
    top: 10px;
    left: calc(0px - 0px - var(--outside));
  }
  29% {
    top: 10px;
  }
  30% {
    display: none;
    top: 0px;
  }
  50% {
    display: none;
    top: 0px;
  }
  51% {
    display: block;
    top: 55px;
    filter: blur(1px);
    height: 22px;
  }
  90% {
    display: block;
    top: 55px;
    height: 22px;
  }
  91% {
    filter: blur(0px);
    display: none;
    top: 0px;
    height: 12px;
  }
  100% {
    display: none;
    top: 0px;
  }
}

@keyframes buttonhoverafter {
  0% {
    right: 45px;
  }

  10% {
    right: 45px;
  }
  11% {
    right: 35px;
  }
  20% {
    transform: skew(0deg);
  }
  21% {
    transform: skew(-10deg);
  }
  40% {
    transform: skew(-10deg);
  }
  41% {
    transform: skew(0deg);
  }
  49% {
    right: 35px;
  }
  50% {
    right: 55px;
  }

  60% {
    right: 55px;
  }
  61% {
    right: 35px;
  }
  70% {
    transform: skew(0deg);
  }
  71% {
    transform: skew(10deg);
  }
  80% {
    transform: skew(10deg);
  }
  81% {
    transform: skew(0deg);
  }
  100% {
    right: 35px;
  }
}

/* ------------ Separator ------------ */


hr.cyberpunk {
  height: 14px;
  background-color: var(--black-color);
  width: 100%;
  border: none;
  clip-path: polygon(0px 7px, 100% 7px, 100% 8px, 0px 8px);
}

hr.cyberpunk.glitched {
  animation-name: hr;
  animation-duration: var(--glitched-long-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes hr {
  0% {
    transform: skew(0deg);
    clip-path: polygon(0px 7px, 100% 7px, 100% 8px, 0px 8px);
    margin-left: 0px;
  }
  15% {
    transform: skew(0deg);
    clip-path: polygon(0px 7px, 100% 7px, 100% 8px, 0px 8px);
    margin-left: 0px;
  }
  16% {
    transform: skew(20deg);
    clip-path: polygon(
      1px 0px,
      0px 0px,
      0px 0px,
      8px 14px,
      13px 14px,
      22px 7px,
      42px 6px,
      49px 2px,
      100% 2px,
      100% 0px,
      42px 0px,
      35px 5px,
      22px 6px,
      13px 13px,
      9px 13px
    );
    margin-left: -20px;
  }
  20% {
    transform: skew(-20deg);
    clip-path: polygon(
      1px 0px,
      0px 0px,
      0px 0px,
      8px 14px,
      13px 14px,
      22px 7px,
      42px 6px,
      49px 2px,
      100% 2px,
      100% 0px,
      42px 0px,
      35px 5px,
      22px 6px,
      13px 13px,
      9px 13px
    );
    margin-left: 20px;
  }
  21% {
    transform: skew(0deg);
    clip-path: polygon(0px 7px, 100% 7px, 100% 8px, 0px 8px);
    margin-left: 0px;
  }
  65% {
    transform: skew(0deg);
    clip-path: polygon(0px 7px, 100% 7px, 100% 8px, 0px 8px);
    margin-left: 0px;
    transform: scaleX(1);
  }
  66% {
    transform: skew(20deg);
    clip-path: polygon(
      1px 0px,
      0px 0px,
      0px 0px,
      8px 14px,
      13px 14px,
      22px 7px,
      42px 6px,
      49px 2px,
      100% 2px,
      100% 0px,
      42px 0px,
      35px 5px,
      22px 6px,
      13px 13px,
      9px 13px
    );
    margin-left: -5px;
    transform: scaleX(-1);
  }
  70% {
    transform: skew(40deg);
    clip-path: polygon(
      1px 0px,
      0px 0px,
      0px 0px,
      8px 14px,
      13px 14px,
      22px 7px,
      42px 6px,
      49px 2px,
      100% 2px,
      100% 0px,
      42px 0px,
      35px 5px,
      22px 6px,
      13px 13px,
      9px 13px
    );
    margin-left: 20px;
    transform: scaleX(-1);
  }
  71% {
    transform: skew(0deg);
    clip-path: polygon(0px 7px, 100% 7px, 100% 8px, 0px 8px);
    margin-left: 0px;
    transform: scaleX(0);
  }
  100% {
    transform: skew(0deg);
    clip-path: polygon(0px 7px, 100% 7px, 100% 8px, 0px 8px);
    margin-left: 0px;
  }
}

/* ------------ Form fields CSS Code ------------ */

input[type="text"].cyberpunk,
input[type="date"].cyberpunk,
input[type="time"].cyberpunk,
input[type="file"].cyberpunk,
input[type="number"].cyberpunk,
input[type="phone"].cyberpunk,
input[type="password"].cyberpunk,
textarea.cyberpunk,
select.cyberpunk,
.cyberpunk input[type="text"],
.cyberpunk input[type="date"],
.cyberpunk input[type="time"],
.cyberpunk input[type="file"],
.cyberpunk input[type="number"],
.cyberpunk input[type="phone"],
.cyberpunk input[type="password"],
.cyberpunk textarea,
.cyberpunk select {
  width: calc(100% - 30px);
  border: 30px solid var(--black-color);
  border-left: 5px solid var(--black-color);
  border-right: 5px solid var(--black-color);
  border-bottom: 15px solid var(--black-color);
  clip-path: polygon(
    0px 25px,
    26px 0px,
    calc(60% - 25px) 0px,
    60% 25px,
    100% 25px,
    100% calc(100% - 10px),
    calc(100% - 15px) calc(100% - 10px),
    calc(80% - 10px) calc(100% - 10px),
    calc(80% - 15px) calc(100% - 0px),
    10px calc(100% - 0px),
    0% calc(100% - 10px)
  );
  margin-bottom: 10px;
  padding: 12px;
  font-size: 1.7rem;
  font-weight: 700;
  /*caret-shape: underscore;*/
}

input[type="password"].cyberpunk,
.cyberpunk input[type="password"] {
  font-family: "Hacked";
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 2px;
}

textarea.cyberpunk,
.cyberpunk textarea {
  min-height: 120px;
  clip-path: polygon(
    0px 0px,
    50px 0px,
    75px 26px,
    105px 26px,
    130px 0px,
    calc(60% - 25px) 0px,
    60% 25px,
    100% 25px,
    100% calc(100% - 10px),
    calc(100% - 15px) calc(100% - 10px),
    calc(80% - 10px) calc(100% - 10px),
    calc(80% - 15px) calc(100% - 0px),
    10px calc(100% - 0px),
    0% calc(100% - 10px)
  );
}

select.cyberpunk,
.cyberpunk select {
  width: 100%;
  appearance: none;
  position: relative;
  clip-path: polygon(
    0px 25px,
    60px 25px,
    85px 0px,
    calc(60% - 25px) 0px,
    60% 25px,
    calc(100% - 80px) 25px,
    calc(100% - 55px) 0px,
    100% 0px,
    100% calc(100% - 10px),
    calc(100% - 15px) calc(100% - 10px),
    calc(80% - 10px) calc(100% - 10px),
    calc(80% - 15px) calc(100% - 0px),
    10px calc(100% - 0px),
    0% calc(100% - 10px)
  );
}

select.cyberpunk option,
.cyberpunk select option {
  color: var(--primary);
  background-color: var(--black-color);
}

input[type="radio"].cyberpunk,
.cyberpunk input[type="radio"] {
  border-radius: 15%;
  z-index: 100;
  height: 14px;
  width: 20px;
  appearance: none;
  outline: none;
  background-color: var(--black-color);
  cursor: pointer;
  position: relative;
  margin: 0px;
  display: inline-block;
}

input[type="radio"].cyberpunk:after,
.cyberpunk input[type="radio"]:after {
  content: "";
  display: block;
  width: 8px;
  height: 6px;
  background-color: var(--primary);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: background 0.3s, left 0.3s;
}

input[type="radio"].cyberpunk:checked:after,
.cyberpunk input[type="radio"]:checked:after {
  background-color: var(--border-color);
  left: 10px;
}

input[type="checkbox"].cyberpunk,
.cyberpunk input[type="checkbox"] {
  border-radius: 15%;
  z-index: 100;
  height: 20px;
  width: 20px;
  appearance: none;
  outline: none;
  background-color: var(--black-color);
  cursor: pointer;
  position: relative;
  margin: 0px;
  margin-bottom: -3px;
  display: inline-block;
}

input[type="checkbox"].cyberpunk:before,
.cyberpunk input[type="checkbox"]:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border: 2px solid var(--primary);
  border-top: 2px solid transparent;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 4px;
}

input[type="checkbox"].cyberpunk:after,
.cyberpunk input[type="checkbox"]:after {
  content: "";
  display: block;
  width: 2px;
  height: 7px;
  background-color: var(--primary);
  position: absolute;
  top: 3px;
  left: 9px;
}

input[type="checkbox"].cyberpunk:checked:before,
.cyberpunk input[type="checkbox"]:checked:before {
  border-color: var(--border-color);
  border-top-color: transparent;
}

input[type="checkbox"].cyberpunk:checked:after,
.cyberpunk input[type="checkbox"]:checked:after {
  background-color: var(--border-color);
}

.cyberpunk fieldset,
fieldset.cyberpunk {
  border: 3px dotted var(--purple-color);
  margin: 10px 0px;
}

/* ------------ Images frame CSS Code ------------ */

.cyberpunk-skills {
  padding: 30px 30px 2rem;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 15px;
  clip-path: polygon(
    0px 25px,
    26px 0px,
    calc(60% - 25px) 0px,
    60% 25px,
    100% 25px,
    100% calc(100% - 10px),
    calc(100% - 15px) calc(100% - 10px),
    calc(80% - 10px) calc(100% - 10px),
    calc(80% - 15px) calc(100% - 0px),
    10px calc(100% - 0px),
    0% calc(100% - 10px)
  );
  background-color: var(--black-color);
  max-width: calc(100% - 10px);
  display: flex;
  flex-direction: row;
  color: white;
  justify-content: space-evenly;

}

/* ------------ Paragraphe Styling ------------ */


p.cyberpunk,
.cyberpunk p {
  border: 30px solid var(--black-color);
  border-right: 5px solid var(--black-color);
  border-left: 5px solid var(--black-color);
  border-bottom: 24px solid var(--black-color);
  padding: 5px;
  clip-path: polygon(
    0px 25px,
    26px 0px,
    calc(60% - 25px) 0px,
    60% 25px,
    100% 25px,
    100% calc(100% - 10px),
    calc(100% - 15px) calc(100% - 10px),
    calc(80% - 10px) calc(100% - 10px),
    calc(80% - 15px) 100%,
    80px calc(100% - 0px),
    65px calc(100% - 15px),
    0% calc(100% - 15px)
  );
  background-color: var(--primary);
  font-size: 1.2rem;
  position: relative;
}

p.cyberpunk.inverse,
.cyberpunk p.inverse {
  border: none;
  padding: 40px 15px 30px;
  clip-path: polygon(
    0px 25px,
    26px 0px,
    calc(60% - 25px) 0px,
    60% 25px,
    100% 25px,
    100% calc(100% - 10px),
    calc(100% - 15px) calc(100% - 10px),
    calc(80% - 10px) calc(100% - 10px),
    calc(80% - 15px) 100%,
    80px calc(100% - 0px),
    65px calc(100% - 15px),
    0% calc(100% - 15px)
  );
  background-color: var(--black-color);
  color: var(--primary);
  border-right: 3px solid var(--border-color);
}

p.cyberpunk:before,
.cyberpunk p:before {
  content: "Grafmi";
  display: block;
  position: absolute;
  bottom: -12px;
  right: 25px;
  padding: 2px 2px 0px 2px;
  font-size: 0.6rem;
  line-height: 0.6rem;
  color: var(--black-color);
  background-color: var(--primary);
  border-left: 2px solid var(--border-color);
}

p.cyberpunk.inverse:before,
.cyberpunk p.inverse:before {
  content: "T-71";
  right: 90px;
  bottom: 9px;
}

*.black p.cyberpunk.inverse:before,
section.cyberpunk.black p.cyberpunk:before,
section.cyberpunk.black p.inverse:before,
section.cyberpunk.black p:before {
  background-color: var(--black-color);
  color: var(--primary);
}

p.cyberpunk:hover:before,
.cyberpunk p:hover:before {
  animation-name: buttonhoverafter;
  animation-duration: var(--glitched-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

p.cyberpunk.scannedh,
p.cyberpunk.scannedv,
.cyberpunk p.scannedh,
.cyberpunk p.scannedv {
  position: relative;
}

p.cyberpunk.scannedh:after,
.cyberpunk p.scannedh:after {
  content: "";
  position: absolute;
  top: -30px;
  left: 0px;
  width: 100%;
  height: 3px;
  background-color: var(--border-color) !important;
  box-shadow: 0px 0px 10px 4px var(--border-color);
  animation-name: scannedh;
  animation-duration: var(--glitched-long-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-direction: alternate;
}

@keyframes scannedh {
  0% {
    top: -27px;
  }
  50% {
  }
  51% {
  }
  100% {
    top: calc(100% + 12px);
  }
}

p.cyberpunk.scannedv:after,
.cyberpunk p.scannedv:after {
  content: "";
  position: absolute;
  top: -30px;
  left: 0px;
  height: calc(100% + 55px);
  width: 3px;
  background-color: var(--border-color) !important;
  box-shadow: 0px 0px 10px 4px var(--border-color);
  animation-name: scannedv;
  animation-duration: calc(var(--glitched-long-duration) * 3);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-direction: alternate;
}

@keyframes scannedv {
  0% {
    left: 0px;
  }
  50% {
  }
  51% {
  }
  100% {
    left: 100%;
  }
}

@keyframes hxafter {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  51% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

ul.cyberpunk > li,
.cyberpunk ul > li {
  list-style: none;
  position: relative;
  font-size: 1.2rem;
}

ul.cyberpunk > li:before:not(ul.steps li:before),
.cyberpunk ul > li:before:not(ul.steps li:before) {
  content: " ";
  top: 0px;
  left: calc(-1.2rem - 10px);
  width: 1.2rem;
  height: 1.2rem;
  background-color: var(--black-color);
  position: absolute;
  display: block;
  clip-path: polygon(0% 10%, 100% 70%, 40% 100%, 50% 70%);
}

ol.cyberpunk,
.cyberpunk ol {
  list-style-type: hiragana-iroha;
  counter-reset: li;
}

ol.cyberpunk > li,
.cyberpunk ol > li {
  list-style: none;
  position: relative;
  font-size: 1.2rem;
  counter-increment: li;
}

ol.cyberpunk li:before,
.cyberpunk ol > li:before {
  content: counter(li);
  top: 0px;
  left: calc(-1.2rem - 10px);
  width: 1.2rem;
  height: 1.2rem;
  color: var(--primary);
  background-color: var(--black-color);
  font-weight: 700;
  position: absolute;
  display: block;
  clip-path: polygon(0% 0%, 60% 0%, 100% 40%, 100% 100%, 0% 100%);
}

ol.cyberpunk li.glitched,
ul.cyberpunk li.glitched,
.cyberpunk ol > li.glitched,
.cyberpunk ul > li.glitched {
  animation-name: liglitched;
  animation-duration: var(--glitched-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

ol.cyberpunk li.glitched:nth-child(3n + 3),
ul.cyberpunk li.glitched:nth-child(1),
.cyberpunk ol > li.glitched:nth-child(3n + 3),
.cyberpunk ul > li.glitched:nth-child(1) {
  animation-duration: calc(var(--glitched-duration) * 0.5);
}

ol.cyberpunk li.glitched:nth-child(5n + 5),
ul.cyberpunk li.glitched:nth-child(5n + 5),
.cyberpunk ol > li.glitched:nth-child(5n + 5),
.cyberpunk ul > li.glitched:nth-child(5n + 5) {
  animation-duration: calc(var(--glitched-duration) * 0.7);
  animation-timing-function: ease-out;
}

ol.cyberpunk li.glitched:nth-child(2n + 2),
ul.cyberpunk li.glitched:nth-child(2n + 2),
.cyberpunk ol > li.glitched:nth-child(2n + 2),
.cyberpunk ul > li.glitched:nth-child(2n + 2) {
  animation-duration: calc(var(--glitched-duration) * 1.5);
  animation-timing-function: ease-in-out;
}

ol.cyberpunk li.glitched:nth-child(4n + 4),
ul.cyberpunk li.glitched:nth-child(4n + 4),
.cyberpunk ol > li.glitched:nth-child(4n + 4),
.cyberpunk ul > li.glitched:nth-child(4n + 4) {
  animation-duration: calc(var(--glitched-duration) * 1.2);
  animation-timing-function: ease-in;
}

@keyframes liglitched {
  0% {
    transform: skew(-3deg);
    margin-left: -2px;
  }
  10% {
    transform: skew(3deg);
    margin-left: inherit;
  }
  11% {
    transform: skew(0deg);
    margin-left: 2px;
  }
  50% {
    transform: skew(0deg);
    margin-left: inherit;
  }
  51% {
    transform: skew(3deg);
    margin-left: 5px;
  }
  59% {
    transform: skew(-3deg);
    margin-left: 5px;
  }
  60% {
    transform: skew(0deg);
    margin-left: inherit;
  }
  100% {
    transform: skew(0deg);
  }
}

.cyberpunk a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.cyberpunk a:after {
  content: " ";
  position: absolute;
  bottom: -1px;
  left: 0px;
  width: 100%;
  height: 1.5px;
  background-color: var(--main-color-1);
  box-shadow: 0px 0px 8px 3px var(--main-color-1);
}

.cyberpunk a:hover:after {
  animation-name: scanneda;
  animation-duration: var(--glitched-duration);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-direction: alternate;
}

@keyframes scanneda {
  0% {
    bottom: -1px;
  }
  100% {
    bottom: calc(100% + 1px);
  }
}

/* ------------ Section Styling ------------ */
.showcase-area {
    overflow: hidden;
    position: relative;
    display: grid;
}

.showcase-area .container {
    display: grid;
    grid-template-columns: 1fr 550px;
    height: calc(100vh - 120px);
    height: 600px;
    align-items: center;
}


.showcase-area .sub-heading {
    margin-bottom: 2rem;
}

.showcase-area .heading {
    font-size: 3.5rem;
}

.showcase-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.showcase-image .person {
    position: absolute;
    width: 70%;
    border-radius: 1.3rem;
}

section.cyberpunk {
  background-color: var(--black-color);
  color: var(--black-color);
  padding: 60px 60px;
  position: relative;
  margin-top: -1px;
  margin-bottom: -1px;
}

section.cyberpunk:after,
section.cyberpunk.black:after {
  content: "";
  display: block;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 30px;
  background-color: var(--black-color);
  position: absolute;
  clip-path: polygon(
    0% 0%,
    22% 0%,
    calc(22% + 30px) 30px,
    52% 30px,
    calc(52% + 15px) 15px,
    70% 15px,
    calc(70% + 15px) 30px,
    90% 30px,
    calc(90% + 30px) 0px,
    100% 0px,
    100% 30px,
    0px 30px
  );
}

section.cyberpunk.both:after,
section.cyberpunk.both.black:after {
  height: 100%;
  clip-path: polygon(
    0px 30%,
    30px calc(30% + 30px),
    30px calc(100% - 30px),
    22% calc(100% - 30px),
    calc(22% + 30px) 100%,
    52% 100%,
    calc(52% + 15px) calc(100% - 15px),
    70% calc(100% - 15px),
    calc(70% + 15px) 100%,
    90% 100%,
    calc(90% + 30px) calc(100% - 30px),
    100% calc(100% - 30px),
    100% 100%,
    0px 100%
  );
  /*background-color: red;*/
}

section.cyberpunk.black:after {
  background-color: var(--primary);
}

section.cyberpunk.black {
  background-color: var(--black-color);
  color: var(--primary);
}

.dotted,
.dotted:before,
.dotted:after {
  background: var(--black-color);
  background-image: radial-gradient(
    var(--primary-opacity) 1px,
    transparent 0
  );
  background-size: 5px 5px;
  background-position: -13px -3px;
}

section.cyberpunk.black .dotted,
section.cyberpunk.black .dotted:before,
section.cyberpunk.black .dotted:after {
  background: var(--primary);
  background-image: radial-gradient(#00000021 1px, transparent 0);
  background-size: 5px 5px;
  background-position: -13px -3px;
}

section.cyberpunk:before,
section.cyberpunk.black:before {
  content: "";
  display: block;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 30px;
  background-color: var(--primary);
  position: absolute;
  clip-path: polygon(
    calc(22% + 28px) -1px,
    calc(22% + 45px) 15px,
    34% 15px,
    calc(34% + 15px) -1px,
    70% 0px
  );
}

section.cyberpunk.both:before,
section.cyberpunk.both.black:before {
  height: 100%;
  clip-path: polygon(
    calc(22% + 28px) -1px,
    calc(22% + 45px) 15px,
    34% 15px,
    calc(34% + 15px) -1px,
    0% 0%,
    0% 10%,
    30px calc(10% + 30px),
    30px 100%,
    0% 100%,
    0% 0%
  );
}

/*30px 0px,
    30px 50%,
    0px calc(50% + 30px),
    0px 80%,
    30px calc(80% + 30px),
    30px 100%,
    0% 100%, 0px 30px, 
    31px 0%*/

section.cyberpunk:before {
  background-color: var(--black-color);
}

section.cyberpunk:nth-child(even):after,
section.cyberpunk:nth-child(odd):before {
  transform: scaleX(-1);
}

section.cyberpunk.black h1,
section.cyberpunk.black h2,
section.cyberpunk.black h3,
section.cyberpunk.black h4 {
  color: var(--primary);
}

section.cyberpunk.black h3.second,
section.cyberpunk.black h4.second,
section.cyberpunk.black h5.second {
  color: white;
}
section.cyberpunk.black h3.second:before,
section.cyberpunk.black h4.second:before,
section.cyberpunk.black h5.second::before {
   background-color: white;
}

section.cyberpunk.black h1:before,
section.cyberpunk.black h2:before,
section.cyberpunk.black h3:before,
section.cyberpunk.black h4:before,
section.cyberpunk.black hr {
  background-color: var(--primary);
}

section.cyberpunk.black .cyberpunk-skills,
section.cyberpunk.black img {
  background-color: var(--primary);
}

section.cyberpunk.black textarea.cyberpunk,
section.cyberpunk.black input[type="text"].cyberpunk,
section.cyberpunk.black input[type="date"].cyberpunk,
section.cyberpunk.black input[type="time"].cyberpunk,
section.cyberpunk.black input[type="file"].cyberpunk,
section.cyberpunk.black input[type="number"].cyberpunk,
section.cyberpunk.black input[type="phone"].cyberpunk,
section.cyberpunk.black input[type="password"].cyberpunk,
section.cyberpunk.black select.cyberpunk,
section.cyberpunk.black textarea.cyberpunk,
section.cyberpunk.black input[type="text"],
section.cyberpunk.black input[type="date"],
section.cyberpunk.black input[type="time"],
section.cyberpunk.black input[type="file"],
section.cyberpunk.black input[type="number"],
section.cyberpunk.black input[type="phone"],
section.cyberpunk.black input[type="password"],
section.cyberpunk.black select {
  border-color: var(--primary);
  background-color: var(--black-color);
  color: var(--primary);
}

section.cyberpunk.black input[type="time"]::-webkit-calendar-picker-indicator,
section.cyberpunk.black input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(82%) sepia(91%) saturate(803%) hue-rotate(352deg)
    brightness(107%) contrast(104%);
}

section.cyberpunk.black input[type="radio"].cyberpunk,
section.cyberpunk.black input[type="radio"] {
  background-color: var(--primary);
}

section.cyberpunk.black input[type="radio"].cyberpunk:after,
section.cyberpunk.black input[type="radio"]:after {
  background-color: var(--black-color);
}

section.cyberpunk.black input[type="radio"].cyberpunk:checked:after,
section.cyberpunk.black input[type="radio"]:checked:after {
  background-color: var(--red-color);
}

section.cyberpunk.black input[type="checkbox"].cyberpunk:checked:before,
section.cyberpunk.black input[type="checkbox"]:checked:before {
  border-color: var(--red-color);
  border-top-color: transparent;
}

section.cyberpunk.black input[type="checkbox"].cyberpunk:checked:after,
section.cyberpunk.black input[type="checkbox"]:checked:after {
  background-color: var(--red-color);
}

section.cyberpunk.black p.cyberpunk,
section.cyberpunk.black p {
  border: 30px solid var(--primary);
  border-right: 5px solid var(--primary);
  border-left: 5px solid var(--primary);
  border-bottom: 24px solid var(--primary);
  background-color: var(--black-color);
}

section.cyberpunk.black p.cyberpunk.inverse,
section.cyberpunk.black p.inverse {
  border: none;
  background-color: var(--primary);
  color: var(--black-color);
  border-right: 2px solid var(--border-color);
}

section.cyberpunk.black ul.cyberpunk > li:before,
section.cyberpunk.black ul > li:before:not(ul.steps li:before) {
  background-color: var(--primary);
}

section.cyberpunk.black ol.cyberpunk li:before,
section.cyberpunk.black ol > li:before {
  color: var(--black-color);
  background-color: var(--primary);
}


/* ------------ Steps Styling ------------ */


.cyberpunk ul.steps {
  --size: 25px;
  margin: 0px;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  counter-reset: my-counter;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  align-content: center;
}

@media (max-width: 599px) {
  .cyberpunk ul.steps li br {
    display: none;
  }
}

@media (min-width: 600px) {
  .cyberpunk ul.steps {
    flex-direction: row;
  }
}

.cyberpunk ul.steps li {
  display: flex;
  align-items: end;
  color: var(--black-color);
  padding: 0px 20px 5px 0px;
  position: relative;
  font-size: 12px;
  line-height: 12px;
  min-width: 80px;
  margin-bottom: 40px;
  counter-increment: my-counter;
  padding-left: 50px;
}

@media (min-width: 600px) {
  .cyberpunk ul.steps li {
    padding-left: 0px;
    margin-bottom: 60px;
  }
}

.cyberpunk.black ul.steps li {
  color: var(--primary);
}

.cyberpunk ul.steps li:last-child {
  min-width: 0px;
  padding: 0px 0px 5px 50px;
}

@media (min-width: 600px) {
  .cyberpunk ul.steps li:last-child {
    padding: 0px 0px 5px 0px;
  }
}

.cyberpunk ul.steps li:before {
  position: absolute;
  content: counter(my-counter);
  color: var(--primary);
  background-color: var(--purple-color);
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  bottom: -8px;
  left: 0px;
  font-size: 20px;
  font-weight: 700;
  justify-content: center;
  align-items: center;
}

@media (min-width: 600px) {
  .cyberpunk ul.steps li:before {
    bottom: -40px;
  }
}

.cyberpunk ul.steps li.current:before {
  background-color: var(--black-color);
}

.cyberpunk.black ul.steps li.current:before {
  background-color: var(--primary);
  color: var(--black-color);
}

.cyberpunk ul.steps li:after {
  position: absolute;
  content: "";
  background-color: var(--purple-color);
  display: none;
}

@media (min-width: 600px) {
  .cyberpunk ul.steps li:after {
    display: block;
    width: calc(100% - 40px);
    height: 2px;
    bottom: -20px;
    left: 40px;
    font-size: 20px;
    font-weight: 700;
  }
}

.cyberpunk ul.steps li:last-of-type:after {
  display: none;
}

.cyberpunk ul.steps li.current:after {
  background-color: var(--black-color);
}

.cyberpunk.black ul.steps li.current:after {
  background-color: var(--primary);
}

/* ------------ Reusable CSS Code ------------ */

.container {
    position: relative;
    width: 100%;
    max-width: 84rem;
    padding: 0.5rem 0.5rem;
    margin: 0 auto;
}

/* ------------ Responsible 1200px Screens ------------ */

@media (max-width: 1200px) {
    section.cyberpunk {
      padding: 0px 0px;
    }
    .sub-heading {
        font-size: 0.9em;
    }

    .btn-mail {
        padding-inline: 0.5em;
    }

    .srv-card {
        padding: 1rem;
    }

    .heading {
        font-size: 2.4rem;
    }

    .showcase-area .heading {
        font-size: 2.8rem;
    }

    .text {
        font-size: 0.5rem;
        margin: 0.3rem 0;
    }

    .btn {
        padding: 0.8rem 1.6rem;
        font-size: 1.1rem;
        border-radius: 15px;
        min-width: 100px;
    }

    .btn.secondary-btn {
        font-size: 1.1rem;
    }
    
    .form-input {
        padding: 0.8rem 1.45rem;
        border-radius: 15px;
        font-size: 1rem;
    }

    .form-input::placeholder {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .showcase-area {
        padding: 20px 20px;
    }

    .showcase-area .container {
        height: 450px;
    }

    .skills-box {
        padding: 4rem;
    }

    .sk-progress {
        transform: scale(0.85);
    }

    .services .container {
        display: flex;
        flex-direction: column;
        align-content: stretch;
        justify-content: space-evenly;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    .contact .container {
        column-gap: 2.5rem;
    }

    .contact-form {
        padding: 2.5rem 2rem;
    }

    .contact-form h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .contact .form-input {
        margin-bottom: 0.9rem;
    }

    .sub-box {
        padding: 3.5rem 2.5rem;
        column-gap: 2rem;
    }

    .filter-btn {
        font-size: 1rem;
    }
    .hamburger {
        display: block;
    }

    .links {
        order: 3;
        flex-basis: 100%; /*width: 100%*/
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0 2rem;
        opacity: 0;
        transition: 0.4s;
    }
    
    header nav {
        justify-content: space-between;
    }

    .links ul {
        position: relative;
        flex-direction: column;
    }

    .nav-link {
        margin: 0;
        color: var(--heading-color);
        font-weight: 500;
        font-size: 1rem;
    }

    .toggle-btn {
        margin: 0;
    }
    
    .btn {
        margin-top: 1rem;
    }
    
    .links ul::after {
        content: "";
        position: absolute;
        width: 0%;
        height: 0.5px;
        background-color: var(--heading-color);
        opacity: 0;
        top: -0.5rem;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: 0.4s;
    }

    .overlay {
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        position: fixed;
        background-color: var(--modale-dark);
        z-index: 6;
        opacity: 0;
        transition: 0.4s;
        pointer-events: none;
    }

    header {
        height: 505px;
        max-height: 100px;
        overflow: hidden;
    }

    body.open header {
        max-height: 60%;
        background-color: var(--bg-color-2);
    }

    body.open .overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body.open .links ul::after {
        opacity: 0.7;
        width: 100%;
    }

    body.open .links {
        opacity: 1;
    }
    .card_container {
        margin-top: 1rem;
    }

    .card_content {
        margin: 2rem ;
        padding: 0.5rem;
    }

    .box-heading {
        margin-left: 2%;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        align-content: center;
        justify-content: center;
    }

    .srv-card .card-title {
        gap: 1rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        color: var(--heading-color);
    }
    .container {
        padding: 0px;
    }
}

/* ------------ Responsible 768px Screens ------------ */

@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem
    }

    .triangle {
        width: 70px;
    }

    .dots {
        width: 55px;
    }

    .showcase-area .container {
        height: max-content;
        display: flex;
        justify-items: center;
    }

    .showcase-image {
        min-height: revert;
        height: 100vw;
        max-height: 570px;
        max-width: 450px;
        margin-top: 0px;
        border-radius: 40px;
    }

    .showcase-info {
        width: 100%;
    }

    .showcase-area .text {
        margin: 0.2rem 0;
    }

    .cta {
        margin-top: 1rem;
    }

    .showcase-area .square {
        left: 80%;
        top: 20%;
    }

    .about .container {
        grid-template-columns: 1fr;
    }

    .about-grid {
        order: 3;
    }

    .heading br {
        display: none;
    }

    .about-grid {
        grid-template-columns: 150px 150px;
        grid-template-rows: 150px 150px;
        margin: 2.5rem 0 0 0;
        column-gap: 2rem;
        row-gap: 80px;
    }

    body.open header {
        max-height: 50%;
        background-color: var(--bg-color-2);
    }
    
    .icon {
        width: 50px;
    }

    .about-card h3 {
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    .about-grid::before {
        width: 150px;
        height: 150px;
        border-width: 10px;
    }

    .box-desc {
        grid-template-columns: 1fr;
        justify-items: flex-start;
    }
    
    .skills-wrap {
        grid-template-columns: repeat(2, 150px);
        row-gap: 1rem;
    }

    .sk-title {
        margin-top: 0;
    }

    .services .container {
        align-items: center;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .services .text {
        margin: 1.5rem 0 0.5rem;
    }

    .services-grid {
        column-gap: 1.5rem;
        max-width: 600px;
    }

    .srv-card {
        padding: 1.8rem 1.7rem;
        min-height: 260px;
    }

    .srv-card h3 {
        font-size: 1rem;
    }

    .srv-card .text {
        margin: 0.4rem 0 0.8rem;
    }
    
    .portfolio-title {
        padding-bottom: 0;
    }

    .testimonials {
        padding: var(--section-padding) 0;
    }

    .testimonials .container {
        position: revert;
        grid-template-columns: 1fr;  
        max-width: 620px;      
    }

    .section-background {
        transform: translateX(0);
        left: 0;
        border-radius: 0;
        top: 0;
        height: 100%;
        background-image:  linear-gradient(
            45deg,
            var(--main-color-2) 17%,
            var(--main-color-1) 17%
        );
    }

    .section-background .person,
    .section-background .circle {
        display: none;
    }

    .swiper {
        order: 2;
        padding: 2rem 0;
    }

    .testimonials-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0 0 3rem 0;
    }

    .swiper-slide {
        padding: 0 2rem;
    }

    .swiper-slide .text {
        margin: 1rem 0 0;
    }

    .swiper-pagination {
        margin-top: 3rem;
    }
    
    .client {
        grid-template-columns: 65px 1fr;
    }

    .client-info h4 {
        margin-bottom: 0.2rem;
        font-size: 1rem;
    }

    .client-info h5 {
        font-size: 1rem;
    }

    .section-background .square {
        left: 86%;
        top: 12%;
        width: 60px;
    }

    .contact .container {
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }

    .contact .square {
        position: absolute;
        width: 60px;
        top: 30%;
        left: 80%;
    }

    .contact .triangle {
        left: 20%;
        top: 101%;
    }
    
    .card_content {
       gap: 0rem;
       grid-template-columns: 1fr;
       grid-template-rows: auto;
    }

    .srv-card .card-title {
        gap: 1rem;
        flex-direction: row;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
    }
}

/* ------------ Responsible 500px Screens ------------ */

@media (max-width: 500px) {
    :root {
        --section-padding: 1rem
    }

    .container {
        padding: 0 1rem;
    }

    .showcase-area .square {
        display: none;
    }

    .navbar {
        margin: 9%;
        box-shadow: none;
    }

    .showcase-area .heading,
    .showcase-button .heading {
        font-size: 2.4rem;
    }

    .skills-box {
        padding: 3rem 2.5rem;
    }

    .skills-wrap {
        display: flex;
        grid-template-columns: 1fr;
        row-gap: 2rem;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .srv-card {
        transform: none !important;
        min-height: auto;
    }

    .srv-card .text  { 
        font-size: 1rem;
    }

    .portfolio-header {
        margin-bottom: 2rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .portfolio-title {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .filter-btns {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-content: center;
    }

    body.open header {
        max-height: 45%;
    }

    .filter-btn {
        margin-top: 0.8rem;
    }

    .portfolio .slider-wrap {
        width: calc(100 - 2rem);
        grid-template-columns: 50px 1fr 50px;
    }

    .images {
        grid-column: 1/4;
        grid-row: 1/2;
    }

    .prev-btn {
        grid-column: 1/2;
        grid-row: 1/2;
        z-index: 1;
        color: #333;
    }

    .next-btn {
        grid-column: 3/4;
        grid-row: 1/2;
        z-index: 1;
        color: #333;
    }

    .contact-form p {
        font-size: 1.4rem;
    }

    footer {
        padding: var(--section-padding) 0 0.5rem;
    }

    footer .text {
        order: 3;
        flex-basis: 100%;
        text-align: center;
        margin-top: -1rem;
    }

    footer .container {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .nav-link {
        padding: 0.5rem 0;
    }
     
}