* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Mada";
}

::selection {
  background-color: #6610f2;
  color: #fafafa;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

button,
input {
  border: 0;
  font-family: "Mada";
}

button:focus,
input:focus {
  border: 0;
}

body {
  font-family: "Mada";
  background-color: #fafafa;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: #080713;
}

::-webkit-scrollbar-thumb {
  background-color: #6610f2;
  border-radius: 8px;
}

header {
  background: #490bbd; 
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(114, 114, 126, 0.2);
  z-index: 999;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  
}

@media screen and (max-width: 992px) {
  header {
    padding: 0px 16px;
  }
}

header .grid-layout nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: 8vh;
  padding: 0px 8px;
}

header .grid-layout nav img {
  width: 60px;
}

header .grid-layout nav .nav-list {
  list-style: none;
  display: flex;
}

header .grid-layout nav .nav-list li {
  margin-left: 48px;
}

@media screen and (max-width: 992px) {
  header .grid-layout nav .nav-list li {
    margin-left: 0px;
  }
}

header .grid-layout nav .nav-list li a {
  color: #909090;
  position: relative;
  font-size: 1.8rem;
  font-family: "Mada";
}

header .grid-layout nav .nav-list li a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -7px;
  left: 0;
  background: linear-gradient(270deg, #6610f2 0%, #17161d 100%);
  transform-origin: bottom right;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

header .grid-layout nav .nav-list li a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

header .grid-layout nav .nav-list li a:hover {
  color: #fafafa;
}

.mobile-menu {
  display: none;
}

.mobile-menu div {
  width: 32px;
  height: 1px;
  background-color: #fafafa;
  margin: 8px;
  transition: 0.4s;
}

.nav-list.active {
  visibility: initial;
  transition: 1s all ease;
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line1 {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
  opacity: 0;
}

.mobile-menu.active .line3 {
  transform: rotate(45deg) translate(-5px, -5px);
}

@media screen and (max-width: 992px) {
  body {
    overflow-x: hidden;
  }
  .nav-list {
    text-align: center;
    position: absolute;
    top: 8vh;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: #0b0a17;
    flex-direction: column;
    padding-top: 96px;
    visibility: hidden;
  }
  header .grid-layout nav .nav-list li {
    opacity: 0;
    margin-bottom: 48px;
  }
  header .grid-layout nav .nav-list li a {
    font-size: 2.4rem;
  }
  .mobile-menu {
    display: block;
  }
}

#s-home {
  padding: 0px 50px;
  background-color: #080713;
  position: relative;
}

@media screen and (max-width: 992px) {
  #s-home {
    padding: 0px 20px;
  }
}

#s-home .grid-layout #home {
  display: flex;
  align-items: center;
  height: 90vh;
  overflow: hidden;
  width: 100%;
}

#s-home .grid-layout #home #home-container-text {
  width: 60%;
  flex-direction: column;
}

@media screen and (max-width: 992px) {
  #s-home .grid-layout #home #home-container-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: 0px;
  }
}

#s-home .grid-layout #home #home-container-text h1 {
  color: #fafafa;
  font-size: 2.4rem;
  font-weight: 400;
  font-family: "Mada";
}

#s-home .grid-layout #home #home-container-text h1 #home-name {
  font-size: 5.6rem;
  font-weight: 500;
}

#s-home .grid-layout #home #home-container-text h1 .typewriter {
  font-family: "Mada";
}

#s-home .grid-layout #home #home-container-text a {
  background: linear-gradient(225deg, rgba(102, 16, 242, 0.3) 0%, rgba(102, 16, 242, 0) 100%);
  color: #fafafa;
  backdrop-filter: blur(10px);
  padding: 15px 30px;
  max-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(102, 16, 242, 0.5);
  transition: all 0.7s ease;
  margin-top: 30px;
  font-size: 18px;
  font-weight: 500;
  font-family: "Mada";
}

#s-home .grid-layout #home #home-container-text a:hover {
  padding: 15px 45px;
  max-width: 280px;
  background: linear-gradient(225deg, rgba(102, 16, 242, 0.6) 0%, rgba(102, 16, 242, 0) 100%);
}

#s-home .grid-layout #home #home-container-photo {
  width: 40%;
  height: 100vh;
  position: relative;
}

@media screen and (max-width: 992px) {
  #s-home .grid-layout #home #home-container-photo {
    display: none;
  }
}

#s-home .grid-layout #home #home-container-photo #logo-lab {
  width: 100%;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -40%);
}

@media screen and (max-width: 992px) {
  #s-home .grid-layout #home #home-container-photo #logo-lab {
    display: none;
  }
}

#s-home .grid-layout #home #home-container-photo #logo-lab #luz-logo,
#s-home .grid-layout #home #home-container-photo #logo-lab #logo-Elhouari {

  opacity: 1;
  animation: light 8s ease infinite alternate;
}

@keyframes light {
  0%,
  55% {
    opacity: 0;
  }
  60%,
  100% {
    opacity: 1;
  }
}

#s-home .grid-layout #home #home-container-photo #logo-lab #luz_2 {
  opacity: 1;
  animation: lightDelay 8s ease infinite alternate;
}

@keyframes lightDelay {
  0%,
  60% {
    opacity: 0;
  }
  65%,
  100% {
    opacity: 1;
  }
}

#s-home .grid-layout #home #home-container-photo .object {
  animation: MoveUpDown 4s linear infinite;
}

@keyframes MoveUpDown {
  0%,
  100% {
    top: 34vh;
  }
  50% {
    top: 38vh;
  }
}

#s-about {
  padding: 96px 48px;
  background-color: #0b0a17;
}

@media screen and (max-width: 992px) {
  #s-about {
    padding: 48px 16px;
  }
}

#s-about .grid-layout #about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#s-about .grid-layout #about-photo {
  width: 50%;
  padding-right: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: 1s all ease;
}

#s-about .grid-layout #about-photo #photo-Elhouari {
  width: 400px;
}

#s-about .grid-layout #about-photo:hover {
  transform: scale(1.1);
}

#s-about .grid-layout #about-photo div {
  display: flex;
  justify-content: center;
  align-items: center;
}

#s-about .grid-layout #about-photo div img {
  width: 48px;
}

#s-about .grid-layout #about-photo .about-figure {
  position: absolute;
  background-color: #1d152c;
  border-radius: 4px;
  width: 72px;
  height: 72px;
}

#s-about .grid-layout #about-photo .figure-one {
  top: 40px;
  right: 430px;
}

#s-about .grid-layout #about-photo .figure-two {
  top: 100px;
  right: 150px;
}

#s-about .grid-layout #about-photo .figure-three {
  top: 250px;
  right: 450px;
}

#s-about .grid-layout #about-photo .icon-one {
  animation: icon-move 3s ease 2.9s infinite alternate;
}

#s-about .grid-layout #about-photo .icon-two {
  animation: icon-move 3s ease 1.9s infinite alternate;
}

#s-about .grid-layout #about-photo .icon-three {
  animation: icon-move 3s ease 0.6s infinite alternate;
}

@keyframes icon-move {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(10px, -40px, 0);
  }
}

#s-about .grid-layout #about-photo img {
  width: 100%;
  max-width: 400px;
}

@media screen and (max-width: 1200px) {
  #s-about .grid-layout #about-photo {
    display: none;
  }
}

#s-about .grid-layout #about-text {
  width: 50%;
}

@media screen and (max-width: 1200px) {
  #s-about .grid-layout #about-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 0px;
  }
}

#s-about .grid-layout #about-text h2 {
  padding-bottom: 24px;
  color: #fafafa;
  font-size: 4rem;
  font-weight: 500;
}

#s-about .grid-layout #about-text h2 span {
  color: #6610f2;
  font-size: 4.8rem;
}

#s-about .grid-layout #about-text p {
  line-height: 3.2rem;
  color: #909090;
  font-family: "Mada";
  font-size: 2rem;
  font-line-height: 160%;
}

#s-projects {
  padding: 96px 48px;
  text-align: center;
  background-color: #080713;
}

@media screen and (max-width: 992px) {
  #s-projects {
    padding: 48px 16px;
  }
}

#s-projects .grid-layout h2 {
  padding-bottom: 24px;
  color: #fafafa;
  font-size: 4rem;
  font-weight: 500;
}

#s-projects .grid-layout h2 span {
  color: #6610f2;
  font-size: 64px;
}

#s-projects .grid-layout #projects {
  margin: 24px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: right;
}

#s-projects .grid-layout #projects > article {
  background-color: #0b0a17;
  height: auto;
  padding: 32px;
  margin: 8px;
  flex-basis: calc(33% - 20px);
  flex-grow: 1;
  border: 1px solid #080713;
  transition: 1s all ease;
}

#s-projects .grid-layout #projects > article:hover {
  border: 1px solid #6610f2;
}

@media screen and (max-width: 1200px) {
  #s-projects .grid-layout #projects > article {
    flex-basis: calc(50% - 20px);
  }
}

@media screen and (max-width: 768px) {
  #s-projects .grid-layout #projects > article {
    flex-basis: calc(100% - 20px);
  }
}

#s-projects .grid-layout #projects > article h3 {
  color: #fafafa;
  font-size: 2.4rem;
  font-weight: 500;
}

#s-projects .grid-layout #projects > article p {
  line-height: 24px;
  margin-top: 24px;
  color: #909090;
  line-height: 3.2rem;
  font-family: "Mada";
  font-size: 1.8rem;
}

#s-projects .grid-layout a {
  color: #6610f2;
  position: relative;
  font-size: 1.8rem;
  font-weight: 500;
}

#s-projects .grid-layout a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -7px;
  left: 0;
  background: linear-gradient(270deg, #6610f2 0%, #17161d 100%);
  transform-origin: bottom right;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}

#s-projects .grid-layout a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

#s-services {
  padding: 96px 48px;
  background-color: #0b0a17;
}

@media screen and (max-width: 992px) {
  #s-services {
    padding: 48px 16px;
  }
}

#s-services .grid-layout h2 {
  text-align: center;
  padding-bottom: 24px;
  color: #fafafa;
  font-size: 4rem;
  font-weight: 500;
}

#s-services .grid-layout h2 span {
  color: #6610f2;
  font-size: 64px;
}

#s-services .grid-layout #services {
  display: flex;
  height: auto;
  flex-wrap: wrap;
  margin: 24px 0px;
}

#s-services .grid-layout #services article {
  background-color: #080713;
  height: auto;
  padding: 32px;
  margin: 8px;
  flex-basis: calc(33% - 20px);
  flex-grow: 1;
  border: 1px solid #080713;
  transition: 1s all ease;
}

#s-services .grid-layout #services article:hover {
  border: 1px solid #6610f2;
}

@media screen and (max-width: 1200px) {
  #s-services .grid-layout #services article {
    flex-basis: calc(50% - 20px);
  }
}

@media screen and (max-width: 768px) {
  #s-services .grid-layout #services article {
    flex-basis: calc(100% - 20px);
  }
}

#s-services .grid-layout #services article div {
  height: 90px;
}

#s-services .grid-layout #services article div img {
  width: 70px;
}

#s-services .grid-layout #services article h3 {
  padding: 24px 0px;
  color: #fafafa;
  font-size: 2.4rem;
  font-weight: 500;
}

#s-services .grid-layout #services article p {
  line-height: 3.2rem;
  color: #909090;
  font-family: "Mada";
  font-size: 1.8rem;
}

#s-skills {
  padding: 96px 48px;
  background-color: #080713;
  padding-bottom: 32px;
}

@media screen and (max-width: 992px) {
  #s-skills {
    padding: 48px 16px;
  }
}

#s-skills .grid-layout #skills {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: auto;
  padding: 8px;
}

#s-skills .grid-layout #skills div,
#s-skills .grid-layout #skills article {
  width: 50%;
}

@media screen and (max-width: 1200px) {
  #s-skills .grid-layout #skills div,
  #s-skills .grid-layout #skills article {
    width: 100%;
  }
}

#s-skills .grid-layout #skills #skills-text {
  min-height: 300px;
}

#s-skills .grid-layout #skills #skills-text h2 {
  margin-bottom: 32px;
  color: #fafafa;
  font-size: 3.2rem;
  font-weight: 500;
}

#s-skills .grid-layout #skills #skills-text h2 span {
  color: #6610f2;
  font-size: 64px;
}

#s-skills .grid-layout #skills #skills-text .changeDescription {
  transition: 2s all ease;
}

#s-skills .grid-layout #skills #skills-text p {
  max-width: 500px;
  line-height: 3.2rem;
  color: #909090;
  font-family: "Mada";
  font-size: 1.8rem;
}

#s-skills .grid-layout #skills #skills-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media screen and (max-width: 1200px) {
  #s-skills .grid-layout #skills #skills-cards {
    margin-top: 48px;
  }
}

#s-skills .grid-layout #skills #skills-cards article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 20%;
  flex-grow: 1;
  height: 130px;
  background-color: #0b0a17;
  position: relative;
  border: 1px solid #080713;
  transition: 1s all ease;
}

#s-skills .grid-layout #skills #skills-cards article:hover {
  border: 1px solid #6610f2;
}

#s-skills .grid-layout #skills #skills-cards article:hover .skills-cards-name, #s-skills .grid-layout #skills #skills-cards article:hover .skills-cards-name-high, #s-skills .grid-layout #skills #skills-cards article:hover .skills-cards-name-low {
  display: block;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #s-skills .grid-layout #skills #skills-cards article {
    width: 40%;
    margin: 20px 0px;
  }
}

#s-skills .grid-layout #skills #skills-cards article .skills-cards-name, #s-skills .grid-layout #skills #skills-cards article .skills-cards-name-high, #s-skills .grid-layout #skills #skills-cards article .skills-cards-name-low {
  left: 50%;
  height: auto;
  position: absolute;
  padding: 5px;
  transform: translate(-50%, 0%);
  background-color: #0b0a17;
  width: 125px;
  color: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  font-size: 1.8rem;
}

#s-skills .grid-layout #skills #skills-cards article .skills-cards-name-high {
  top: -50px;
}

#s-skills .grid-layout #skills #skills-cards article .skills-cards-name-low {
  bottom: -50px;
}

#s-skills .grid-layout #skills #skills-cards article .aumento-hover {
  bottom: -75px;
}

#s-skills .grid-layout #skills #skills-cards article .skills-icons {
  width: 60px;
}

footer {
  text-align: center;
  margin-top: 72px;
}

footer .grid-layout {
  border-top: 1px solid rgba(114, 114, 126, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  width: 100%;
  padding: 8px;
}

@media screen and (max-width: 768px) {
  footer .grid-layout {
    justify-content: center;
  }
}

footer .grid-layout #cpy {
  margin-top: 24px;
}

footer .grid-layout p {
  color: #909090;
  text-align: center;
  font-family: "Mada";
  font-size: 1.8rem;
}

footer .grid-layout div {
  margin-top: 24px;
  display: flex;
  align-items: center;
}

footer .grid-layout div img {
  width: 24px;
  margin-left: 8px;
}

@media screen and (max-width: 768px) {
  footer .grid-layout div {
    width: 100%;
    justify-content: center;
  }
}

.typewriter:after {
  content: "|";
  margin-left: 8px;
  opacity: 1;
  animation: blink 1s infinite;
  color: #6610f2;
}

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

.grid-layout {
  max-width: 1140px;
  margin: 0 auto;
}




/*Social icons*/

:root {
  --link-size: 64px;
  --trans-props: all 0.2s ease;
  --link-size-footer-b: 40px;
  --link-size-footer-s: 30px;
}

a.socialicon {
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
}

.social-icons {
  display: flex;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  flex-flow: row wrap;
  width: auto;
  height: auto;
  
}
.socialicon{
  display: flex;
  position: relative;
  overflow: hidden;
  width: var(--link-size);
  height: var(--link-size);
  background-color: #fff;
  margin: 8px;
  border-radius: 50%;
  box-shadow: 2px 5px 5px var(--shadow-col);
  text-decoration: none;
  transition: var(--trans-props);

}
.socialicon i {
  margin: auto;
  font-size: 24px;
  z-index: 1;
  transition: var(--trans-props);
}



/*
---------------------------
   INSTAGRAM MICROANIMATION
---------------------------
*/

.instagram-icon {
  width: 90px !important;
 
}
.st0 {
  fill:none;
  stroke:#EF4649;
  stroke-width:7;
  stroke-linecap:round;
  stroke-miterlimit:10;
}

.instagram:hover #littleCircle {
  stroke-dasharray:150;
}

.instagram #shutter{
  display:none;
}
.instagram:hover #shutter{
  display: block;
  animation: shutter 1s linear infinite;
}
.instagram:hover #lens{
  fill:#EF4649;
  animation: lens 1.5s linear infinite;

}

@keyframes shutter {
  0%, 50% {
          stroke-dashoffset: 150;
          
      }
  75% {
          fill:#EF4649;
          stroke-dashoffset: 0;
          stroke-width:11;
      }
}

@keyframes lens {
  0%, 75% {
          opacity: 0;
      }
  100% {
          opacity: 1;
      }
}


/*
---------------------------
   TWITTER MICROANIMATION
---------------------------
*/
.twitter-icon{
  width: 40px;
  margin-left: 12px;
}

.twitter:hover #wing1{
      transform-origin:center;
      animation: flap 0.4s ease-out infinite alternate;
   }	
   
.twitter:hover #wing2{
    transform-origin:center;
    animation: flap 0.4s ease-in infinite alternate;
 }		

@keyframes flap{
     50%{
      transform:scaleX(-1) rotate(-45deg) translate(-40px,-40px);
     }
   }

/*
--------------------------
   GITHUB MICROANIMATION
--------------------------
*/
html[light-mode="dark"] .github-icon{
  fill: #ffff;
}

.github-icon {
  width: 40px;
  margin-left: 12px;
  margin-top: 5px;
  fill: #000000;
}

.github:hover #arm {
  transform-origin: bottom right;
  animation: moveArm 1s infinite alternate;
}

@keyframes moveArm {
  0% { transform: rotate(10deg); }
  100% { transform: rotate(-10deg); }
 }
















/*# sourceMappingURL=style.css.map */