/********* GOOGLE FONTS *********/
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');
/********* VARIABLES CSS *********/
:root 
{
  --header-height: 3.5rem; /*56px*/

  /******* Colors *******/  /*Color mode HSL(hue, saturation, lightness)*/
  --primary-color-hue: 278;
  --dark-color-lightness:17%;
  --light-color-lightness:92%;
  --white-color-lightness:100%;

  --color-white: hsl(252, 30%, var(--white-color-lightness));
  --color-light: hsl(252, 30%, var(--light-color-lightness));
  --color-gray: rgb(158, 152, 179);
  /* --color-primary: hsl(278, 73%, 47%); */
  --color-primary: hsl(var(--primary-color-hue), 73%, 47%);
  --color-dark: hsl(252, 30%, var(--dark-color-lightness));

  /******* Font and typography *******/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Rubik', sans-serif;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: .875rem;

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

  /******* Margenes Bottom *******/
  /*.5rem = 8px | 1rem = 16px ...*/
  --m-0-5: .5rem;
  --m-0-75: .75rem;
  --m-1: 1rem;
  --m-1-5: 1.5rem;
  --m-2: 2rem;
  --m-2-5: 2.5rem;

  /******* Card padding *******/
  --card-padding:1.9rem 0.95rem;

  /******* Border radius *******/
  --border-radius: 1.25rem;

  /******* Box shadow *******/
  --box-shadow: 0px 5px 20px 0px rgba(69, 67, 96, 0.1);
}

  
/******* Scroll Bar *******/

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


::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgb(26, 26, 26);
  background-color: rgb(204, 204, 204);
}


/* Handle */
::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
}



/******* Responsive Typography *******/
@media screen and (max-width:992px) {
  :root{
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
  }

}

/******* Base *******/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html{
  scroll-behavior: smooth;
}

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

body{
  background-color: var(--color-light);
  color: var(--color-dark);
  line-height: 1.7;
  font-weight: var(--font-medium);
}

img{
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
  color: var(--color-dark);
}

h1,h2,h3{
  font-weight: var(--font-semi-bold);
}

h1{
  font-size: var(--h1-font-size);
}

h2{
  font-size: var(--h2-font-size);
}

h3{
  font-size: var(--h3-font-size);
}

/******* Layout *******/
.container{
  max-width: 968px;
  margin: auto;
  /* overflow: hidden; */
}

.row{
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
}

/******* Reusable css classes *******/
.section .container{
  padding-top: 3.90rem;
  padding-bottom: 4.75rem;
}

.section-title{
  font-size: var(--h1-font-size);
  margin-left: var(--m-0-75);
  margin-bottom: var(--m-2-5);
}

.padd-15{
  padding-left: 15px;
  padding-right: 15px;
}

/******* Buttons *******/
.btn{
  padding: 0.75rem 2rem;
  line-height: 1;
  border-radius: var(--border-radius);
}

.btn:focus{
  outline: 0;
}

.btn-default{
  color: #fff;
  display: inline-block;
  vertical-align: middle;
  background-color: var(--color-primary);
  transform: perspective(1px) translateZ(0);
  transition: all .5s;
}

.btn-default:hover{
  cursor: pointer;
  scale: 1.1;
}

.submit-btn{
  outline: none;
  border: none;
}


/******* Header *******/
.header{
  width: 100%;
  background-color: var(--color-light);
  /* opacity: .95; */
  filter: brightness(.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  /* border-bottom: 1px solid var(--color-primary); */
  transition: all .5s;
}

.header:hover{
  filter: brightness(.9) !important;
}

/******* NAV *******/
.nav{
  height: calc(var(--header-height) * 1.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 3rem;
}

.nav-logo{
  font-size: var(--h2-font-size);
  font-weight: var(--font-semi-bold);
  list-style: 0.125rem;
  position: relative;
}

.nav-logo::after{
  position: absolute;
  content: '';
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  top: 56%;
  right: -0.25rem;
}

.nav-menu{
  filter: contrast(1);
  margin-left: auto;
}

.nav-list{
  display: flex;
  /* column-gap: 3rem; */
}


.nav-list :not(:first-child){
  margin-left: 3rem;
}

.nav-link{
  font-weight: var(--font-medium);
  transition: .3s;
}

.nav-link:hover{
  color: var(--color-primary);
}

.nav-close{
  font-size: 1rem;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  cursor: pointer;
}

.nav-btns{
  display: inline-flex;
  align-items: center;
  column-gap: 1rem;
}

.change-theme{
  font-size: 1.15rem;
  cursor: pointer;
  margin-left: 15px;
}

.nav-toggle{
  font-size: 1.2rem;
  cursor: pointer;
}

.nav-close,
.nav-toggle{
  display: none;
}

.active-link{
  position: relative;
}

.active-link::before{
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 45%;
  width: 0.3rem;
  height: 0.3rem;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.scroll-header{
  box-shadow: 0 1px 4px rgba(165, 125, 125, 0,02);
}

/******* Home *******/
.home{
  display: flex;
  justify-content: center;
  height: 100vh;
  min-height: 100vh;
  border-bottom: .5px solid var(--color-primary);
}

.info-text{
  font-weight: bold;
  font-size: var(--h3-font-size);
}

.home .intro{
  max-width: 540px;
  text-align: center;
}

.home .intro img{
  margin-top: var(--m-2);
  margin-bottom: var(--m-1);
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.home .intro .social-icons{
  margin-left: 23px;
  margin-top: var(--m-1-5);
  margin-bottom: var(--m-2);
}

.home .intro .social-icons li{
  display: inline-block;
}

.home .intro .social-icons:not(:last-child){
  margin-right: var(--m-2);
}

.home .intro .social-icons a{
  font-size: var(--h2-font-size);
  display: inline-block;
  margin-right: var(--m-1);
}

.home .intro .social-icons li:last-child a{
  margin-right: 0;
}

.scroll-down{
  margin-top: 25px;
  width: 100%;
}

.mouse-wrapper{
  font-size: var(--small-font-size);
  display: block;
  margin: auto;
  max-width: 100px;
  text-align: center;
}

.mouse{
  border: 2px solid var(--color-dark);
  display: block;
  height: 1.75rem;
  width: 1.25rem;
  margin: auto;
  margin-top: var(--m-0-75);
  border-radius: var(--border-radius);
  position: relative;
}

.mouse .wheel{
  background-color: var(--color-dark);
  border-radius: 50%;
  width: 0.25rem;
  height: 0.25rem;
  position: absolute;
  top: var(--m-0-5);
  left: 40%;
  display: block;
  animation: ani-mouse 2s linear infinite;
}

@keyframes ani-mouse {
  0%
  {
    top: 29%;
  }

  15%
  {
    top: 50%;
  }

  50%
  {
    top: 50%;
  }

  100%
  {
    top: 29%;
  }

}

/******* About *******/
.about-img{
  flex: 0 0 25%;
  max-width: 25%;
}

.about-img img{
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

.about-content{
  flex: 0 0 75%;
  max-width: 75%;
  margin-bottom: 20px;
}

.about-content .about-text,
.about-content .skills{
  flex: 0 0 50%;
  max-width: 50%;
}

.rounded{
  background-color: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--border-radius);
}

.about-text p{
  text-align: justify;
  margin-bottom: var(--m-1);
}

.about-content .skills .skill-item{
  flex: 0 0 100%;
  max-width: 100%;
}

.about-content .skills .skill-item h4{
  margin-bottom: var(--m-0-75);
}

.about-content .skills .skill-item .progress{
  background-color: var(--color-light);
  height: 0.45rem;
  border-radius: var(--border-radius);
  width: 100%;
  position: relative;
}

.about-content .skills .skill-item:not(:last-child){
  margin-bottom: var(--m-1-5);
}

.about-content .skills .skill-item .progress .progress-in{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: var(--border-radius);
}

.about-content .skills .skill-item .skill-percent{
  position: absolute;
  right: 0;
  top: -2.5rem;
}

.fact-item{
  flex: 0 0 25%;
  max-width: 25%;
  margin-bottom: var(--m-2-5);
  text-align: center;
}

.fact-item i{
  font-size: var(--h2-font-size);
  color: var(--color-gray);
}

/******* Services *******/
.services .service-item{
  flex: 0 0 33.33%;
  max-width: 33.33%;
  /* width: 100%; */
  display: flex;
}

.services .service-item .service-item-inner{
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  text-align: center;
  transform: translateY(0);
  transition: 0.3s;
  width: 100%;
}

.services .service-item .service-item-inner:hover{
  transform: translateY(-0.625rem);
}

.services .service-item  img{
  height: 100px;
  margin-bottom: var(--m-0-75);
}

.service-item h3{
  margin-bottom: var(--m-0-5);
  color: #fff;
}

.service-item p{
  color: #fff;
}

.text{
  text-align: center;
  margin-top: var(--m-1-5);
}

.text a{
  color: var(--color-primary);
  transition: .3s;
}

.text a:hover{
  text-decoration: underline;
}

/******* Experience *******/
.education{
  flex: 0 0 50%;
  max-width: 50%;
}

.experience{
  flex: 0 0 50%;
  max-width: 50%;
}

.timeline-box{
  flex: 0 0 100%;
  max-width: 100%;
}

.timeline{
  background-color: var(--color-white);
  padding: 1.9rem 0.95rem;
  border-radius: var(--border-radius);
  width: 100%;
  position: relative;
}

.timeline .timeline-item{
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 1.9rem;
}

.timeline .timeline-item:last-child{
  padding-bottom: 0;
}

.timeline .timeline-item::before{
  content: '';
  width: 1px;
  position: absolute;
  height: 95%;
  left: var(--m-0-5);
  background-color: var(--color-primary);
  top: 0;
  margin-top: 4;
}

.timeline .timeline-icon{
  width: 1.5rem;
  position: absolute;
  z-index: 10;
  background-color: var(--color-white);
  left: -0.25rem;
  top: 0;
  font-size: 1.5rem;
  /* color: var(--color-white); */
  color: var(--color-primary);
}

.timeline .timeline-date{
  font-size: var(--small-font-size);
  color: var(--color-gray);
}

.timeline .timeline-date img{
  width: 20px;
  height: 16px;
  margin-right: 0.3rem;
  margin-bottom: 5px;
  filter: invert(50%);
}

.timeline .timeline-title{
  margin: var(--m-0-75) 0;
}

/******* Pricing *******/
.prices{
  flex: 0 0 33.33%;
  max-width: 33.33%;
}

.prices:nth-child(odd){
  margin-top: 1.5rem;
}

.prices:nth-child(1){
  padding-left: 15px;
}

.prices:nth-child(3){
  padding-right: 15px;
}

.price-item{
  padding: var(--card-padding);
  background-color: var(--color-white);
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.price-item h3.plan{
  margin: var(--m-0-75) 0;
}

.prices p{
  margin-bottom: 1rem;
}

.price-item .price{
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
}

.price-item .price em{
  font-style: normal;
  font-size: var(--small-font-size);
  margin-right: var(--m-0-5);
  vertical-align: super;
}

.price-item .price span{
  font-size: var(--normal-font-size);
  margin-left: var(--m-0-75);
}

.price-item .btn{
  margin-top: var(--m-1-5);
}

.price-item.best{
  padding: 3.25rem 2.5rem;
  z-index: 1;
  position: relative;
}

.price-item .badge{
  position: absolute;
  left: 0;
  top: 2.6rem;
  color: #fff;
  background-color: var(--color-primary);
  transform: rotate(-90deg);
  padding: 0.4rem 0.75rem;
  font-size: var(--small-font-size);
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/******* Portfolio *******/
.portfolio .portfolio-filter{
  flex: 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: var(--m-2-5);
}

.portfolio .portfolio-filter button{
  border: none;
  background-color: transparent;
  font-weight: var(--font-semi-bold);
  text-transform: capitalize;
  margin: 0 var(--m-0-75);
  cursor: pointer;
  white-space: nowrap;
  color: var(--color-dark);
  transition: 0.3s;
}

.portfolio .portfolio-filter button.active{
  color: var(--color-primary);
  position: relative;
}

.portfolio .portfolio-filter button.active::before{
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 45%;
  width: 0.3rem;
  height: 0.3rem;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.portfolio-item{
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: var(--m-1-5);
}

.portfolio-item.hide{
  display: none;
}

.portfolio-item.show{
  display: block;
  animation: showItem 0.5s ease;
}

@keyframes showItem {
  0%{
    transform: scale(0.6);
    opacity: 0;
  }

  100%{
    transform: scale(1);
    opacity: 1;
  }

}

.portfolio-display{
  padding-top: 3.90rem;
}

.portfolio-item-inner{
  height: 205px;
  position: relative;
  overflow: hidden;
}


.portfolio-item-thunbnail img{
  width: 100%;
  height: 205px;
}

.portfolio-item .mask{
  background: rgba(0, 0, 0, 0.9);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.3s;
}

.portfolio-item-inner:hover .mask{
  opacity: 0.9;
}

.portfolio-item .term{
  color: #fff;
  background-color: var(--color-primary);
  border-bottom-left-radius: 0.98rem;
  border-bottom-right-radius: 0.98rem;
  position: absolute;
  top: 0;
  left: var(--m-1-5);
  font-size: var(--small-font-size);
  display: inline-block;
  padding: 0.19rem 0.625rem;
  transform: translateY(-40px);
  transition: 0.3s;
}

.portfolio-item h3{
  color: #fff;
  font-size: 1.25rem;
  margin: 0 0 0.98rem;
  padding: 0 1.25rem;
  position: absolute;
  top: 3.75rem;
  transition: 0.3s;
  transform: translateY(30px);
  opacity: 0;
}

.portfolio-item .more-button{
  color: #fff;
  position: absolute;
  bottom: var(--m-1-5);
  left: var(--m-1-5);
  font-size: 1.6rem;
  display: block;
  background: var(--color-primary);
  height: 2.5rem;
  width: 2.5rem;
  cursor: pointer;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  transition: 0.3s;
  opacity: 0;
}

.portfolio-item .more-button a{
  color: #fff;
}

.portfolio-item-inner:hover h3, .portfolio-item-inner:hover span{
  opacity: 1;
  transform: translateY(0);
}

/******* Testimonial *******/
.testimonial-wrapper{
  max-width: 700px;
  margin: auto;
}

.testimonial-item{
  padding: 0 1.25rem 1.25rem;
  text-align: center;
}

.testimonial-item .thumb{
  border-radius: 50%;
  overflow: hidden;
  height: 5.6rem;
  width: 5.6rem;
  margin: 0 auto;
}

.testimonial-item h3{
  margin-top: var(--m-0-75);
}

.testimonial-item .subtitle{
  color: var(--color-gray);
  font-size: var(--small-font-size);
}

.comment{
  background: var(--color-white);
  padding: var(--card-padding);
  margin-top: var(--m-1);
  border-radius: var(--border-radius);
  width: 640px;
}

.swiper-pagination{
  position: initial;
  margin-top: var(--m-1);
}

.swiper-pagination-bullet{
  width: 0.5rem;
  height: 0.375rem;
  background-color: var(--color-primary);
  opacity: 1;
}

.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
  margin: 0 .2rem;
}

.swiper-pagination-bullet-active{
  width: 1.2rem;
  height: 0.375rem;
  border-radius: .5rem;
}




.client-reviews{
  width: 90vw;
  display: flex;
  /* height: 300px; */
  /* overflow: hidden; */
}


.client-reviews .testimonial-item{
  width: 700px;
  max-width: 85vw;
}



/******* Blog *******/
.blog-item{
  flex: 0 0 33.33%;
  width: 33.33%;
  display: flex;
}

.blog-item .inner{
  background: var(--color-white);
  overflow: hidden;
  border-radius: var(--border-radius);
  transform: translateY(0);
  transition: 0.3s;
}

.blog-item .inner:hover{
  transform: translateY(-0.98rem);
}

.blog-item .thumb{
  position: relative;
  overflow: hidden;
}

.blog-item .thumb img{
  transform: scale(1);
  transition: 0.3s;
}

.blog-item .thumb:hover img{
  transform: scale(1.15);
}

.blog-item .category{
  background: var(--color-primary);
  border-bottom-left-radius: 0.98rem;
  border-bottom-right-radius: 0.98rem;
  color: #fff;
  font-size: var(--small-font-size);
  padding: 0.12rem 0.5rem;
  position: absolute;
  left: 1.25rem;
  top: 0;
  z-index: 1;
}

.blog-item .details{
  padding: 1.25rem;
}

.blog-item .details .title{
  line-height: 1.2;
}

.blog-item .details .title a:hover{
  color: var(--color-primary);
}

.blog-item .meta{
  font-size: var(--small-font-size);
  color: var(--color-gray);
  margin-top: 0.5rem;
}

.blog-item .meta li{
  display: inline-block;
}

.blog-item .meta li:not(:last-child){
  margin-right: 0.6rem;
}

.blog-item .meta li::after{
  content: '';
  background: var(--color-gray);
  border-radius: 50%;
  display: inline-block;
  height: 0.19rem;
  width: 0.19rem;
  margin-left: 0.6rem;
  vertical-align: middle;
}

.blog-item .meta li:last-child::after{
  display: none;
}

/******* Podcast *******/
.audio-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

/******* Contact *******/
.contact-box{
  flex: 0 0 40%;
  max-width: 40%;
}

.contact-form{
  border-radius: 25px;
  background-color: #fff;
  padding: 20px;
  flex: 0 0 60%;
  max-width: 58%;
  margin-right: 15px;
}

.contact-data{
  display: grid;
  row-gap: 2rem;
}

.contact-subtitle{
  margin-bottom: var(--m-0-5);
}

.contact-description{
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
}

.contact-icon{
  font-size: 1.2rem;
}

.contact-inputs{
  display: grid;
  row-gap: 1.3rem;
  margin-bottom: var(--m-2-5);
}

.contact-content{
  position: relative;
  height: 3rem;
  border-bottom: 2px solid var(--color-gray);
  margin-bottom: var(--m-0-75);
}

.contact-content span{
  position: absolute;
  bottom: -2px;
  left: 0;
  content: '';
  height: 2px;
  width: 0;
  transition: .5s;
  background: var(--color-primary);
}

.contact-input:focus ~ span{
  width: 100%;
}

.contact-input{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem 1rem 1rem 0;
  background: none;
  color: var(--color-dark);
  outline: none;
  border: none;
  z-index: 1;
}

.contact-label{
  position: absolute;
  top: -0.2rem;
  width: 100%;
  font-size: var(--small-font-size);
  transition: .3s;
  color: #000000cf !important;
}

.contact-area{
  height: 7rem;
}

.contact-area textarea{
  resize: none;
}

.contact-input:focus + .contact-label{
  top: -.75rem;
  left: 0;
  z-index: 10;
  color: var(--color-primary);
}

/******* Footer *******/
.footer{
  padding: 40px 0;
}

.footer-text{
  text-align: center;
}

/******* Customize Theme *******/


.customize-theme{
  background: rgba(0, 0, 0, .4);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: center;
  display: grid;
  place-items: center;
  font-size: var(--small-font-size);
  display: none;
}

.customize-theme .card{
  background: var(--color-white);
  padding: 3rem;
  border-radius: var(--border-radius);
  width: 40%;
  max-width: 600px;
}

.customize-theme .font-size{
  margin-top: var(--m-2-5);
}

.customize-theme .font-size > div{
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-light);
  padding: .6rem 1rem;
  border-radius: var(--border-radius);
}

.customize-theme .choose-size{
  background: hsl(252, 100%, 90%);
  height: 0.35rem;
  width: 100%;
  margin: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customize-theme .choose-size span{
  width: 1rem;
  height: 1rem;
  background: hsl(252, 100%, 90%);
  border-radius: 50%;
  cursor: pointer;
}


.choose-size span:nth-child(2){
  height: 1.3rem;
  width: 1.3rem;
}


.choose-size span:nth-child(3){
  height: 1.6rem;
  width: 1.6rem;
}


.choose-size span:nth-child(4){
  height: 1.8rem;
  width: 1.8rem;
}



.customize-theme .choose-size span.active{
  background: var(--color-primary);
}

.customize-theme .color{
  margin-top: var(--m-2);
}

.customize-theme .choose-color{
  background: var(--color-light);
  border-radius: var(--border-radius);
  padding: .6rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customize-theme .choose-color span{
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--color-primary);
}

.customize-theme .choose-color span:nth-child(1){
  background: hsl(278, 73%, 47%);
}

.customize-theme .choose-color span:nth-child(2){
  background: hsl(52, 75%, 60%);
}

.customize-theme .choose-color span:nth-child(3){
  background: hsl(352, 75%, 60%);
}

.customize-theme .choose-color span:nth-child(4){
  background: hsl(152, 75%, 60%);
}

.customize-theme .choose-color span:nth-child(5){
  background: hsl(202, 75%, 60%);
}

.customize-theme .choose-color span.active{
  border: 5px solid #fff;
}

.customize-theme .background{
  margin-top: var(--m-2);
}

.customize-theme .choose-bg{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.customize-theme .choose-bg > div{
  padding: 0.8rem 0.20rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 0.4rem;
  cursor: pointer;
}

.customize-theme .choose-bg > div.active{
  border: 2px solid var(--color-primary);
}

.customize-theme .choose-bg .bg-1{
  background: hsl(252, 30%, 92%);
  color: hsl(252, 30%, 17%);
}

.customize-theme .choose-bg .bg-2{
  background: rgb(36, 30, 56);
  color: #fff;
}

.customize-theme .choose-bg .bg-3{
  background: rgb(21, 18, 33);
  color: #fff;
}

.customize-theme .choose-bg > div span{
  width: 1.4rem;
  height: 1.4rem;
  border: 2px solid var(--color-gray);
  border-radius: 50%;
}


.back-to-top{
  display: none;
  color: var(--color-primary);
  font-size: 23px;
  position: fixed;
  bottom: 15px;
  right: 15px;
  border: 1px solid var(--color-primary);
  border-radius: 300px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

/******* Media Queries *******/
@media only screen and (max-width:1200px)
{
  .customize-theme .card{
    width: 50vw;
  }

}

@media only screen and (max-width:968px)
{
  .about-content, .about-img{
    flex: 0 0 100%;
    max-width: 100%;
  }


  .nav-list :not(:first-child){
    margin-left: 1.5rem;
  }


  .about-img{
    text-align: center;
    margin-bottom: var(--m-2-5);
  }

  .prices,
  .services .service-item{
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: var(--m-2-5);
  }

  .price-item.best{
    padding: var(--card-padding);
  }

  .prices:nth-child(odd){
    margin-top: 0;
  }

  .prices:nth-child(1){
    padding-right: 15px;
  }

  .prices:nth-child(2){
    padding-right: 15px;
    padding-left: 15px;
  }

  .prices:nth-child(3){
    padding-left: 15px;
  }

  .customize-theme .card{
    width: 58vw;
  }

}

@media only screen and (max-width:788px)
{
  body{
    margin: var(--header-height) 0 0 0;
  }

  .container{
    max-width: 568px;
  }

  .nav{
    height: var(--header-height);
  }

  .nav-list{
    flex-direction: column;
    row-gap: 1.5rem;
  }


  .nav-list :not(:first-child){
    margin-left: 0rem;
  }

  .nav-menu{
    position: fixed;
    background: var(--color-white);
    width: 70%;
    max-width: 350px;
    height: 100vh;
    top: 0;
    right: -100%;
    padding: 4rem 0 0 3rem;
    /* box-shadow: -2px 0 4px var(--color-dark); */
    border-radius: 1rem 0 0 1rem;
    z-index: 100;
    transition: .3s;
  }

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

  .nav-close,
  .nav-toggle{
    display: inline-flex;
  }

  .contact-data,
  .contact-form,
  .prices,
  .education,
  .experience,
  .services .service-item,
  .about-content .about-text,
  .about-content .skills{
    flex: 0 0 100%;
    max-width: 100%;
  }

  .fact-item,
  .blog-item,
  .portfolio-item{
    flex: 0 0 50%;
    max-width: 50%;
  }

  .about-content .about-text{
    margin-bottom: var(--m-1-5);
  }

  .contact-data,
  .blog-item,
  .education
  {
    margin-bottom: var(--m-2-5);
  }

  .customize-theme .card{
    width: 75vw;
  }

}

@media only screen and (max-width:576px)
{
  .blog-item,
  .portfolio-item{
    flex: 0 0 100%;
    max-width: 100%;
  }

  .blog-item .inner,
  .portfolio-item-inner{
    max-width: 360px;
    margin: 0 auto;
  }

  .timeline{
    padding: 25px 20px;
  }

  .timeline .timeline-item{
    padding-left: 35px;
    padding-bottom: 20px;
  }

  .customize-theme .card{
    width: 96vw;
    padding: 1rem;
  }

}

@media only screen and (max-width:320px)
{
  .fact-item{
    flex: 0 0 100%;
    max-width: 100%;
  }

}




/* slider */

/* .portfolio-display{
  display: flex;
  justify-content: center;
  align-items: center;
}
 */

.slider{
  max-width:80%;
  width:700px;
  margin: auto;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}


.slides{
  width: 500%;
  height: 500px;
  display: flex;
}


.slides input{
  display: none;
}


.slide{
  width: 20%;
  transition: 2s;
}


.slide img{
  /* width: 700px; */
  /* max-width: 78vw; */
  width: 100%;
  height: 500px;
}


/* for manual nav */

.navigation-manual{
   position: absolute;
   width: 100%;
   margin-top: 460px;
   display: flex;
   justify-content: center;
   z-index: 1;
}


.manual-btn{
 border: 2px solid var(--color-primary);
 padding: 5px;
 border-radius: 10px;
 cursor: pointer;
 transition: 1s;
}


.manual-btn:not(:last-child){
  margin-right: 40px;
}


.manual-btn:hover{
  background-color: var(--color-primary);
}


#radio1:checked ~ .first{
  margin-left: 0;
}

#radio2:checked ~ .first{
  margin-left: -20%;
}

#radio3:checked ~ .first{
  margin-left: -40%;
}


#radio4:checked ~ .first{
  margin-left: -60%;
}


#radio5:checked ~ .first{
  margin-left: -80%;
}


/* automatic nav */

.navigation-auto{
  position: absolute;
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 460px;
}


.navigation-auto div{
  border: 2px solid var(--color-primary);
  padding: 5px;
  border-radius: 10px;
  transition: 1s;

}


.navigation-auto div:not(:last-child){
  margin-right: 40px;
}


#radio1:checked ~ .navigation-auto .auto-btn1{
 background-color: var(--color-primary);
}


#radio2:checked ~ .navigation-auto .auto-btn2{
 background-color: var(--color-primary);
}


#radio3:checked ~ .navigation-auto .auto-btn3{
 background-color: var(--color-primary);
}


#radio4:checked ~ .navigation-auto .auto-btn4{
 background-color: var(--color-primary);
}


#radio5:checked ~ .navigation-auto .auto-btn5{
 background-color: var(--color-primary);
}
