/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@100..900&family=Montserrat+Alternates:wght@600;700;800&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  --hue: 210;
  --first-color: hsl(var(--hue), 60%, 40%);
  --title-color: hsl(var(--hue), 4%, 12%);
  --text-color: hsl(var(--hue), 4%, 20%);
  --body-color: hsl(var(--hue), 30%, 92%);
  --container-color: hsl(0, 0%, 100%);
  --border-color: hsl(var(--hue), 4%, 16%);
  --white-color: hsl(0, 0%, 100%);
  --shadow-color: hsla(var(--hue), 80%, 10%, 0.2);

  /*========== Font family ==========*/
  --body-font: 'Jost', sans-serif;
  --second-font: 'Montserrat Alternates', sans-serif;

  /*========== Font sizes ==========*/
  --big-font-size: 4.65rem;
  --h1-font-size: 2.75rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.5rem;
  --larger-font-size: 1.25rem;
  --large-font-size: 1.125rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.8125rem;
  --hero-font-size: 3rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-black: 800;

  /*========== Transition ==========*/
  --transition: cubic-bezier(0.3, 0, 0.3, 1);
}

/* Responsive typography */
@media screen and (max-width: 1024px) {
}

/*=============== DARK THEME ===============*/
.dark{
  --title-color: hsl(0,0%, 100%);
  --text-color: hsl(0, 0%, 92%);
  --body-color: hsl(var(--hue), 10%, 8%);
  --container-color: hsl(var(--hue) ,10%, 16%);
  --border-color: hsl(var(--hue), 4%, 65%);
  --shadow-color: hsla(var(--hue), 0%, 100%, 0.2);
}
.dark .shape{
  filter: invert(1);
}
/*=============== BASE ===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

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

/*=============== REUSABLE CSS CLASSES ===============*/
.social-links{
  display:inline-flex;
  column-gap: 1.25rem;
}

.social-link{
  color:var(--title-color);
  font-size: var(--h3-font-size);
  transition:color 0.7s var(--transition);
}
.social-link:hover{
color: var(--first-color);
}
.section{
  padding-block: 7rem;
}
.btn,
.home-link{
  display: inline-block;
  color: var(--title-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-bold);
  position:relative;
}
.btn{
  border: 2px solid var(--border-color);
  box-shadow:4px 4px var(--shadow-color);
  padding:1rem 2.5rem;
  border-radius: 3rem;
  transition: color 0.7s var(--transition);
}
.btn:hover{
  color: var(--white-color);
}
.btn::before{
  content:'';
  position: absolute;
  inset:2px;
  background-color: var(--first-color);
  border-radius: inherit;
  transform: scale(0.3);
  opacity:0;
  transition: all 0.7s var(--transition);
  z-index: -10;
}
.btn:hover::before{
  transform:scale(1);
  filter: blur(0);
  opacity:1;

}
.section-title{
  font-size: var(--h1-font-size);
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-title::after{
  content: attr(data-title);
  display: block;
  color: var(--first-color);
  font-family: var(--body-font);
  font-size: var(--large-font-size);
}
.link{
  display: inline-flex;
  align-items: center;
  column-gap: 1.25rem;
  color: var(--title-color);
  font-weight: var(--font-black);
}
.link-icon{
  color:var(--first-color) ;
  font-size: 1.25rem;
  transition: transform 0.3s var(--transition);
}
.link:hover .link-icon{
  transform:translateX(-0.5rem);
}
/*=============== LAYOUT ===============*/
.container{
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
/*=============== HEADER & NAV ===============*/

.header{
  background-color:transparent;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  max-width: 1540px;
}
.nav-logo,.nav-link{
  color: var(--title-color);
  font-weight: var(--font-bold);
}
.nav-logo{
  z-index: 900;
  font-family: var(--second-font);
  font-size: var(--h3-font-size);
}
.nav-buttons{
  display: flex;
  align-items: center;
  column-gap: 1.75rem;
}
.nav-settings,
.nav-toggle{
  cursor: pointer;
}
.nav-settings{
  font-size: 1.5rem;
}
.nav-toggle{
  /* background-color: var(--first-color); */
  width: 28px;
  height: 28px;
  position: relative;
}
.nav-toggle::before,
.nav-toggle::after{
  content:'';
  width: 100%;
  height: 2px;
  background-color: var(--title-color);
  position:absolute;
  left: 0;
  transition: all 0.7s var(--transition);
}
.nav-toggle::before{
  top: 7px;
}
.nav-toggle::after{
  bottom: 7px;
}
.nav-menu{
  position: fixed;
  top: 0;
  right: -100%;
  background-color: var(--container-color);
  width: 512px;
  padding: 9rem 0 0 9.5rem;
  transition: right 1s var(--transition);
}
.nav-list{
  margin-bottom: 2.5rem;
}
.nav-item{
  margin-bottom: 1.25rem;
}
.nav-link{
  font-size: var(--larger-font-size);
  transition: color 0.3s var(--transition);
}
.nav-link:hover{
  color: var(--first-color);
}

/* Show menu */
.show-menu{
  right: 0;
}
.animate-toggle::before{
  transform: rotate(45deg);
  top:14px;
}
.animate-toggle::after{
  transform: rotate(-45deg);
  bottom:14px;
}

/* Active link */

/* Change background header */

/*=============== MAIN ===============*/

/*=============== HOME ===============*/
.home-container{
  padding-block: 4.25rem;
  
}
.home-content{
 position: relative;
}
.home-subtitle{
  font-size:var(--large-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
}
.home-subtitle span,
.home-title span{
  color: var(--first-color);
}
.home-title{
  color: var(--white-color);
  font-size: var(--big-font-size);
  font-weight: var(--font-black);
  -webkit-text-stroke:2px hsl(0,0%,0%);
  text-shadow: 4px 4px var(--shadow-color);
  }
.home-job{
  font-size: var(--h3-font-size);
  font-weight:var(--font-semi-bold);
  margin-block: 1.5rem 2.5rem;
}
.home-banner{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.home-img-wrapper{
  width:clamp(21rem, 12.6rem + 33.6vw, 42rem);
  border-radius: 0 0 100vw 100vw;
  overflow:hidden ;
}
.home-img-wrapper::before{
  content: '';
  position:absolute;
  inset:auto 0 0;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--first-color);
}
.home-profile{
  position: relative;
  z-index: 10;
  aspect-ratio:21/25;
  object-fit:cover;
}
.home-data{
  border:2px solid var(--border-color);
  background-color:var(--container-color);
  box-shadow: 4px 4px var(--shadow-color);
  padding-inline:1.25rem;
  width:300px;
  height:80px;
  border-radius:3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items:center;
  position: absolute;
  z-index: 100;
}
.home-data-one{
  bottom:20%;
  left: clamp(-3.75rem, -4.65rem + 3.6vw, -1.5rem);
}
.home-data-two{
  bottom: 12%;
  right: clamp(-3rem, -3.2rem + 0.8vw, -2.5rem);
}
.home-data-no{
  color: var(--title-color);
  font-family:var(--second-font);
  font-size: 2.5rem;
  font-weight: var(--font-bold);
  text-align: center;
}
.home-data-title span{
  color: var(--first-color);
}
.shape{
  position: absolute;
  z-index: -10;
}
.shape-1{
  width: clamp(6.5rem, 3.5rem + 12vw, 14rem);
  top: 9%;
  right: 6%;
}
.shape-2,shape-3{
  width: clamp(4rem, 2.1rem + 7.6vw, 8.75rem);
}
.shape-2{
  bottom:8%;
  left:-12%;
}
.shape-3{
  bottom: 0;
  right:-2%;
}
.home-description{
  font-size:var(--large-font-size) ;
  max-width: 520px;
}
.home-socials{
  margin-block:1.75rem 2.5rem;
}
.home-btns{
  display: flex;
  align-items: center;
  column-gap: 4.5rem;
}
.home-link::before{
  content: '';
  position: absolute;
  left: -124%;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--border-color);
}
/*=============== SERVICES ===============*/
.card{
  background-color: var(--container-color);
  padding: 2rem 2.25rem;
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
}

.card::before{
  content: '';
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  width: 120px;
  height: 120px;
  background-image: url(../img//shape-3.png);
  background-size: cover;
}
.services-subtitle{
  font-size:var(--smaller-font-size);
}
.services-title{
  font-size: var(--h3-font-size);
  margin-block: 4rem 1rem;
}
.services-description{
  min-height: 175px;

}
/* Swiper */
.swiper-pagination{
  position: initial;
  margin-top: 3rem;
}
.swiper-pagination-bullets::before{
  content:'';
  position: absolute;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60PX;
  height: 2px;
  background-color: var(--border-color);
}
.swiper-pagination-bullet{
  border: 2px solid var(--border-color);
  background-color: var(--container-color);
  opacity: 1;
  position: relative;
  z-index: 10;
  transition: transform 0.3 var(--transition);
}
.swiper-pagination-bullet:not(:last-child){
  margin-right: 1.25rem !important;
}
.swiper-pagination-bullet-active{
  background-color: var(--first-color);
  transform: scale(1.7);
  border-width: 1px;
}
/*=============== SKILLS ===============*/

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

/* Active work */

/*=============== RESUME ===============*/

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

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

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

/*=============== STYLE SWITCHER ===============*/
.style-switcher{
  position: fixed;
  top: 0;
  right: -100%;
  width: 450px;
  height: 100%;
  background-color: var(--container-color);
  padding: 5rem 3.5rem;
  z-index: 1000;
  transition: right 1s var(--transition);
}
.style-switcher-title{
  font-size: var(--h3-font-size);
  padding-bottom: 1.25rem;
}
.style-switcher-title,.style-switcher-item{
  border-bottom: 1px solid var(--shadow-color);
}
.style-switcher-item{
  padding-block:1rem ;
}
.style-switcher-subtitle{
  font-size: var(--large-font-size);
  margin-bottom: 1rem;
}
.style-switcher-colors{
  display: flex;
  column-gap: 0.5rem;
}
.style-switcher-color{
  width: 32px;
  height: 32px;
  border-radius:50% ;
  background-color:hsl(var(--hue), 60%, 40%) ;
  position: relative;
}
.style-switcher-colors i{
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  color:var(--white-color);
  font-size: 1.25rem;
  display: none;
}
.active-color i{
  display: block;
}
.style-switcher-themes,.style-switcher-theme{
  display:flex;
}
.style-switcher-themes{
  column-gap: 1.25rem;
}
.style-switcher-theme{
  column-gap: 0.5rem;
}
.style-switcher-input{
  accent-color: var(--first-color);
}
.style-switcher-label{
  color: var(--title-color);
}
.style-switcher-close{
  position: absolute;
  top:1.5rem;
  right:1.5rem;
  font-size: 2rem;
  cursor: pointer;
}

/* Show switcher */
.show-switcher{
  right:0;

}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1024px) {
}

/* For medium devices */
@media screen and (max-width: 768px) {
}

@media screen and (max-width: 576px) {
}

/* For small devices */
@media screen and (max-width: 400px) {
}
