/*=============== GOOGLE FONTS - Insert link for typography ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Syne:wght@400..800&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /* 
      Change favorite color:

      Default (Green): hsl(110, 75%, 60%)
      Blue: hsl(220, 80%, 60%) - Pink: hsl(300, 80%, 65%)
      Purple: hsl(255, 80%, 65%) - Cyan: hsl(180, 60%, 60%)
      Orange: hsl(15, 80%, 65%) - Red: hsl(358, 80%, 55%)

      For more colors visit: https://htmlcolorcodes.com/
      -> Choose any color 
      -> Copy the color mode (HSL)
  */
  --hue: 110;
  --first-color: hsl(var(--hue), 75%, 60%);
  --gradient-color: linear-gradient(90deg, hsl(var(--hue), 75%, 60%) 0%,
                                           hsl(var(--hue), 100%, 85%) 40%,
                                           hsl(var(--hue), 100%, 85%) 60%,
                                           hsl(var(--hue), 75%, 60%) 100%);
  --white-color: hsl(var(--hue), 24%, 98%);
  --black-color: hsl(var(--hue), 12%, 8%);
  --text-color: hsl(var(--hue), 4%, 70%);
  --body-color: hsl(var(--hue), 12%, 4%);
  --container-color: hsl(var(--hue), 8%, 10%);
  --border-color: hsl(var(--hue), 8%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --second-font: "Syne", sans-serif;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media (width >= 1150px) {
  :root {
    --biggest-font-size: 5rem;
    --bigger-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button,
textarea,
label {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
button,
textarea {
  border: none;
  outline: none;
  background: none;
}

h1, h2, h3, h4 {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--second-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  text-align: center;
  font-size: var(--bigger-font-size);
  color: var(--white-color);
  margin-bottom: 2rem;
}

.section__title span {
  color: var(--first-color);
}

.main {
  overflow: hidden;
}

/*=============== BLOB ===============*/
.blob-small, .blob-big {
  background-color: var(--first-color);
  border-radius: 50%;
  position: absolute;
  z-index: -1;
}

.blob-small {
  width: 100px;
  height: 100px;
  filter: blur(50px);
}

.blob-big {
  width: 150px;
  height: 150px;
  filter: blur(100px);
}

/*=============== CUSTOM CURSOR ===============*/


/*=============== HEADER & NAV ===============*/
.header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-fixed);
}

.nav{
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo{
  color: var(--white-color);
  font-family: var(--second-font);
  font-weight: var(--font-semi-bold);
}

.nav__toggle{
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for mobile devices <> */
@media (width <= 1150px){
  .nav__menu{
    position: fixed;
    top: 0;
    right: -120%;
    width: 80%;
    height: 100%;
    background-color: hsla(var(--hue), 8%, 10%, 0.4);
    backdrop-filter: blur(24px);
    padding: 6rem 2rem 2rem 3rem;
    z-index: var(--z-fixed);
    transition: right 0.4s;
  }
}

.nav__list{
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link{
  position: relative;
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.4s;
}

.nav__link:hover{
  color: var(--first-color);
}

.nav__link::after{
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--first-color);
  border-radius: 50%;
  top: 0;
  left: -1rem;
  bottom: 0;
  margin-block: auto;
  opacity: 0;
  transition: opacity 0.4s;
}

.nav__contact{
  display: inline-flex;
  background-color: var(--first-color);
  color: var(--black-color);
  padding: 1rem 2rem;
  border-radius: 4rem;
  font-weight: var(--font-semi-bold);
  transition: box-shadow 0.4s;
}

.nav__contact:hover{
  box-shadow: 0 8px 24px hsla(var(--hue), 75%, 60%, 0.3);
}

.nav__close{
  position: absolute;
  color: var(--white-color);
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Show menu */
.show-menu{
  right: 0;
}

/* Change header styles */


/* Active link */


/* Navigation for mobile devices <> */


/* Show menu */


/* Change header styles */


/* Active link */


/*=============== HOME SECTION ===============*/


/* Circular text animation */


/*=============== BUTTON ===============*/


/*=============== ABOUT SECTION ===============*/


/*=============== WORK SECTION ===============*/


/* Swiper class */


/*=============== SERVICES SECTION ===============*/


/* Hide services info */


/* Rotate icon */


/*=============== SKILLS SECTION ===============*/


/*=============== TESTIMONIALS SECTION ===============*/


/* Infinite scroll animation */


/*=============== CONTACT SECTION ===============*/


/*=============== FOOTER ===============*/


/*=============== SCROLL BAR ===============*/


/*=============== SCROLL UP ===============*/


/* Show Scroll Up */


/*=============== BREAKPOINTS ===============*/
/* For medium devices <> */
@media (width >= 540px){
  .nav__menu{
    width: 50%;
  }
}

/* For large devices <> */
@media (width >= 1150px){
  .container{
    margin-inline: auto;
  }

  .section{
    padding-block: 7rem 2rem;
  }
  .section__title{
    margin-bottom: 3rem;
  }

  .nav{
    height: calc(var(--header-height) + 2rem);
    align-items: center;
  }
  .nav__toggle,
  .nav__close{
    display: none;
  }
  .nav__menu{
    width: initial;
  }
  .nav__list{
    flex-direction: row;
    align-items: center;
    column-gap: 4rem;
  }

  
}

/* For 2K resolutions <> */


/* Custom cursor is hidden for mobile devices */
