/* Fonts: 
font-family: "Montserrat", sans-serif;
font-family: "Abril Fatface", serif;
font-family: "Viaoda Libre", serif;*/

/* Global Colors*/
:root {
    --main-color-black: #000000;
    --second-color-red: #ff3838;
    --main-color-white: #ffffff;
    --main-text-color: #000000;
    --second-text-color: #1a1a1a;
    --pink-main: #ff73cc;
}



/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
html {
  overflow-x: hidden;
   }

.main h1 {
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  
}

main p {
    font-family: "Montserrat", sans-serif;
}

main h2 {
   color: var(--main-color-black);
   }

.steps h2 {
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
}

.portfolio h2 {
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
}

.moi h2 {
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  background-color: var(--second-text-color);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  transition: all 0.5s;
  z-index: 997;
  box-shadow: 0 1px .3rem var(--main-color-black);
}
.scrolled .header {
  backdrop-filter: blur(10px);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
background-color: rgba(7, 7, 8, 0.8);
}




.autoWriting span {
    font-family: "Viaoda Libre", serif;
     font-size: 3.5rem;
     font-weight: 700;
}
.cursor {
    display: inline-block;
    width: 0.3rem;
    height: 2.5rem;
    background-color: transparent;
    animation: blink 0.6s steps(2, start) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}
 

.competences {
    background-color: var(--second-text-color);
    color: var(--main-color-white);
    font-family: "Montserrat", sans-serif;
}

/*--------------------------------------------------------------
# Steps Section
--------------------------------------------------------------*/
.steps .process-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.steps .process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 2.5rem;
}

.steps .process-item:last-child {
  padding-bottom: 0;
}

.steps .process-item .content {
  width: 100%;
  position: relative;

  border: 2px solid var(--second-text-color);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steps .process-item .content:hover {
  transform: translateX(10px);
  box-shadow: -8px 8px 25px #8b948d;
}

.steps .process-item .content:hover .step-icon {

  transform: rotate(10deg);
}

.steps .process-item .content:hover .step-number {
  transform: translateX(-5px);
  opacity: 1;
}


.steps .process-item .card-body {
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.steps .process-item .step-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px transparent 70%);
}

.steps .process-item .step-icon i {
  font-size: 2rem;
 
}

.steps .process-item .step-content h3 {
 
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.steps .process-item .step-content p {

  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.steps .process-item .arrow {

  margin: 1rem 0;
  width: 100px;
  height: 100px;
  opacity: 0.7;
}

@media (max-width: 767.98px) {
  .steps .process-container {
    padding: 1rem 0;
  }

  .steps .process-item {
    padding-bottom: 2rem;
  }

  .steps .process-item .content {
    border-width: 1px;
  }

  .steps .process-item .content:hover {
    transform: translateY(-5px);
  }

  .steps .process-item .step-number {
    font-size: 3rem;
    left: 50%;
    top: -1.5rem;
    transform: translateX(-50%);
  }

  .steps .process-item .step-number:hover {
    transform: translateX(-50%);
  }

  .steps .process-item .card-body {
    padding: 2rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .steps .process-item .step-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .steps .process-item .step-icon i {
    font-size: 1.75rem;
  }

  .steps .process-item .step-content h3 {
    font-size: 1.25rem;
  }

  .steps .process-item .arrow {
    height: 60px;
    margin: 0.5rem 0;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {

  font-size: 14px;
  padding: 40px 0 0 0;
  position: relative;
}

.footer .icon {
  color: var(--main-color-white);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}


.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid var(--second-text-color);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--second-text-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--main-color-white);
  line-height: 0;
}

.scroll-top:hover {
  background-color: var(--main-color-white);

}
.scroll-top i:hover {
    color: var(--second-text-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

