/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600&family=Roboto:wght@400;500&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
 overflow-x: hidden;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(207, 65%, 65%);
  --title-color: hsl(207, 4%, 16%);
  --text-color: hsl(207, 4%, 28%);
  --text-color-light: hsl(207, 4%, 56%);
  --body-color: hsl(207, 4%, 99%);
  --container-color: hsl(207, 4%, 95%);
--cursor-bg: hsl(207, 4%, 99%);
--skills-bg: radial-gradient(circle at top, #eef3ff 0%, #ffffff 45%, #cfe9fb 100%);
  /* Change the first number */
  /* Blue: 207 - Purple: 250 - Pink: 356 - Teal: 174 */
  --gradient-color: linear-gradient(180deg,
                      hsla(250, 48%, 72%, 0),
                      hsla(250, 65%, 65%, 1));

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Roboto', sans-serif;
  --title-font: 'Lora', serif;
  --biggest-font-size: 1.5rem;
  --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;
  --tiny-font-size: .625rem;

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

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

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-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;
    --tiny-font-size: .688rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background .4s;
}

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

ul {
  list-style: none;
}

a {
  text-decoration:none;
}

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

/*=============== THEME ===============*/
.nav__buttons{
    display: flex;
    align-items: center;
    column-gap: 1.5rem;

}
.change-theme{
    font-size: 1.25rem;
    color: var(--title-color);
         cursor: pointer;
         transition: color .3s;
         
}
/*========== Variables Dark theme ==========*/
body.dark-theme {
  --title-color: hsl(207, 4%, 95%);
  --text-color: hsl(207, 4%, 65%);
  --body-color: hsl(207, 4%, 10%);
  --container-color: hsl(207, 4%, 12%);
  --cursor-bg: hsl(207, 4%, 10%);
  --skills-bg: radial-gradient(circle at top, #000000 0%, rgba(121, 27, 150, 1) 45%, #212529 100%)
}

/*========== 
    Color changes in some parts of 
    the website, in light theme
==========*/
.dark-theme .nav,
.dark-theme .nav__menu,
.dark-theme .scrollup{
    background-color: var(--body-color);
    color: 0 4px 20px hsla(207, 24%, 8%, .4);
}
.dark-theme .home__shape-wawes,
.dark-theme .home__shape-circle,
.dark-theme .qualification__img,
.dark-theme .testimonial__img{
    filter: invert(1);
}
.dark-theme .home__social-link{
    color: var(--title-color);
}
.dark-theme .section__border{
    border-bottom: 1px solid hsl(207, 4%, 32%);
}
.dark-theme::-webkit-scrollbar{
    background-color: hsl(207, 4%, 15%);
}
.dark-theme::-webkit-scrollbar-thumb{
    background-color: hsl(207, 4%, 25%);
}
.dark-theme::-webkit-scrollbar-thumb:hover{
    background-color: hsl(207, 4%, 35%);
}
/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-inline: 1.5rem;
}

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

.section {
  padding-block: 2.5rem;
}

.section__border {
  border-bottom: 1px solid var(--title-color);
  padding-bottom: 3.5rem;
}
.section__border1 {
  border-bottom: 1px solid var(--title-color);
  padding-bottom: 3.5rem;
  width: 72%;          /* half of parent */
  margin: 0 auto;      /* center horizontally */
}

.section__title, 
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: .25rem;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 3rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header{
    width: 100%;
    position: fixed;
    bottom: 2rem;
    left: 0;
    z-index: var(--z-fixed);
}
.nav{
    height: calc(var(--header-height) + .5rem);
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--body-color);
    box-shadow: 0 4px 20px hsla(207, 24%, 35%, .1);
    padding-inline: 1.5rem;
    border-radius: 3rem;
    transition: background .4s;
}
.nav__logo,
.nav__toggle,
.nav__close{
    color: var(--title-color);

}
.nav__logo{
    font-family: var(--title-font);
    font-weight: var(--font-medium);

}
.nav__toggle{
    display:flex;
    font-size: 1.25rem;
    cursor: pointer;
}
@media screen and (max-width: 1023px){
    .nav__menu{
        position: fixed;
        width: 88%;
        left: 0;
        right: 0;
        bottom: -60%;
        margin: 0 auto;
        background-color: var(--body-color);
        box-shadow: 0 4px 20px hsla(207, 24%, 35%, .1);
        padding: 2rem 1.5rem 5rem;
        border-radius: 2rem;
        transition: bottom .3s;
    }
}
.nav__list{
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    gap: 2rem 3rem;
}
.nav__link{
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2.5rem;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    transition: color .3s;
}
.nav__link:hover{
    color: var(--title-color);}
    .nav__link i{
        font-size: 1.5rem;}
        .nav__close{
            position: absolute;
            right: 1.5rem;
            bottom: .7rem;
            font-size: 1.5rem;
            cursor: pointer;
        
        }
        .show-menu{
            bottom: 2rem;
        }

        .active-link{
            color: var(--title-color);

        }

        .home__container{
            row-gap: 4rem;
            padding-top: 2rem;
        }
        .home__data{
            row-gap: 1.5rem;
        }
        .home__title{
            text-align: center;
            font-size: var(--biggest-font-size);
            letter-spacing: .3px;
            margin-bottom: .5rem;

        }
        .home__blob{
            position: relative;
            width: 200px;
            height: 290px;
            background-color: var(--body-color);
            border: 2px solid var(--text-color-light);
            justify-self: center;
            border-radius: 6.25rem;
            place-items: center;
            transition: background .4s;
        }
        .home__perfil{
            width: 170px;
            height: 260px;
            background: var(--gradient-color);
            border-radius: 5.5rem;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: flex-end;
        }
        .home__perfil img{
            width: 150px;
        }
        .home__shape-wawes,
        .home__shape-circle{
            position: absolute;
            opacity: .1;
        }
        .home__shape-wawes{
            width: 50px;
            left: -1.5rem;
            top: 5rem;
        }
        .home__shape-circle{
            width: 150px;
            bottom: -2rem;
            right: -3rem;
            transform: rotate(15deg);
            z-index: -1;
        }
        .home__social{
            justify-self: center;
            display: flex;
            column-gap: 1.25rem;
        }
        
        /* Bloom Social Button Styles */
        .social-button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .social-button a {
            text-decoration: none;
        }

        .social-button .bloom-container {
            position: relative;
            transition: all 0.2s ease-in-out;
            border: none;
            background: none;
        }

        .social-button .bloom-container .button-container-main {
            width: 60px;
            aspect-ratio: 1;
            border-radius: 50%;
            overflow: hidden;
            position: relative;
            display: grid;
            place-content: center;
            border-right: 3px solid white;
            border-left: 3px solid rgba(128, 128, 128, 0.147);
            transform: rotate(-45deg);
            transition: all 0.5s ease-in-out;
        }

        .social-button .bloom-container .button-container-main .button-inner {
            height: 40px;
            aspect-ratio: 1;
            border-radius: 50%;
            position: relative;
            box-shadow: rgba(100, 100, 111, 0.5) -10px 5px 10px 0px;
            transition: all 0.5s ease-in-out;
        }

        .social-button .bloom-container .button-container-main .button-inner .back {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: linear-gradient(60deg, rgb(1, 85, 103) 0%, rgb(0, 0, 0) 100%);
        }

        .social-button .bloom-container .button-container-main .button-inner .front {
            position: absolute;
            inset: 3px;
            border-radius: 50%;
            background: linear-gradient(60deg, #790aca 0%, #8824af 100%);
            display: grid;
            place-content: center;
            color: white;
        }

        .social-button .bloom-container .button-container-main .button-inner .front i {
            font-size: 1.25rem;
            opacity: 0.7;
            transform: rotate(45deg);
            transition: all 0.2s ease-in;
        }

        .social-button .bloom-container .button-container-main .button-glass {
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.888) 100%);
            transform: translate(0%, -50%) rotate(0deg);
            transform-origin: bottom center;
            transition: all 0.5s ease-in-out;
            border-radius: 50%;
        }

        .social-button .bloom-container .bloom {
            height: 1px;
            width: 1px;
            position: absolute;
            background: white;
        }

        .social-button .bloom-container .bloom1 {
            top: 5px;
            right: 10px;
            box-shadow: rgb(255, 255, 255) 0px 0px 5px 5px, rgb(255, 255, 255) 0px 0px 10px 10px;
        }

        .social-button .bloom-container .bloom2 {
            bottom: 5px;
            left: 10px;
            box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 5px 5px, rgba(255, 255, 255, 0.5) 0px 0px 15px 10px;
        }

        .social-button .bloom-container:hover {
            transform: scale(1.1);
        }

        .social-button .bloom-container:hover .button-container-main .button-glass {
            transform: translate(0%, -40%);
        }

        .social-button .bloom-container:hover .button-container-main .button-inner .front i {
            opacity: 1;
            filter: drop-shadow(0 0 8px white);
        }

        .social-button .bloom-container:active {
            transform: scale(0.9);
        }

        .social-button .bloom-container:active .button-container-main .button-inner {
            transform: scale(1.1);
        }
        .home__info{
            display: grid;
            row-gap: 2rem;
        }
        .home__info-title{
            font-family: var(--body-font);
            font-size: var(--smaller-font-size);
            font-weight: 400;
            color: var(--text-color-light);
            margin-bottom: 1rem;
            justify-self: center;

        }
        .home__info-description,
        .home__info-number{
            font-family: var(--title-font);
            color: var(--title-color);
        }
        .home__info-description{
            padding-right: 4rem;
        }
        .home__info-number{
            font-size: var(--h1-font-size);
            font-weight: var(--font-semi-bold);
        }
            .text-animation{
                font-size: 2rem;
                color: var(--text-color);
                text-transform: capitalize;
                min-width: 28rem;
                font-weight: 600;

            }
            .text-animation span{
                position: relative;
               
                
            }
            .text-animation span::before{
                content: "web developer";
                color: #791B96;
                animation: words 20s infinite;
            }
            .text-animation span::after{
                content: '';
                background-color: var(--cursor-bg);
                position: absolute;
                width: calc(100% + 8px);
                height: 100%;
                border-left: 3px solid var(--container-color);
                right: -8px;
                animation: cursor 0.6s infinite,
                                    typing 20s steps(14) infinite;
            }
            /* Style buttons */
             .cv{
                justify-self: center;
            }
/* .btn {
    background-color: DodgerBlue;
    border: none;
    color: white;
    padding: 5px 30px;
    cursor: pointer;
    font-size: 20px;
   
    

  }  */
  /* From Uiverse.io by AatreyuShau */ 
.button {
  text-align: center;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  background-color: white;
  filter: url(#handDrawnNoise);
  display: inline-flex;
  align-items: center;
  user-select: none;
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1em;
  border-width: 0px;
  border-radius: 2rem;
  box-shadow: #33333366 4px 4px 0 1px;
  animation: idle 1s infinite ease-in-out;
}

.highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  fill: hsla(250, 65%, 65%, 1);
  stroke: rgba(127, 108, 224, 0.5); /* Yellow highlighter */
  stroke-width: 10;
  stroke-linecap: round;
  pointer-events: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0.5s ease-in-out;
}

@keyframes idle {
  0% {
    filter: url(#handDrawnNoise);
  }
  50% {
    rotate: 2.5deg;
    filter: url(#handDrawnNoise2);
  }
  100% {
    filter: url(#handDrawnNoise);
  }
}

.button-cosm {
  fill: #33333366;
  transition: 0.3s ease-out;
  scale: 0.5;
  position: absolute;
  translate: calc(-100% + 24px) 1.5rem;
}

.button:hover {
  font-weight: bold;
  border-width: 0px;
  border-radius: 2rem;
}

.button:hover {
  font-weight: bold;
  border-width: 0px;
  border-radius: 2rem;
  rotate: -2.5deg;
  animation: hover 2.5s infinite ease-in-out;
}

.button:hover .highlight {
  stroke-dashoffset: 0;
}

.button:active .highlight {
  stroke-dashoffset: 1000;
  animation:
    highlight 5s infinite,
    col 0.5s forwards;
  stroke: #bc4e2666;
}

@keyframes col {
  0% {
    stroke: rgba(255, 225, 0, 0.5);
  }
  100% {
    stroke: #1c98eb66;
  }
}

@keyframes highlight {
  0% {
    stroke-dashoffset: 0;
  }
  25% {
    stroke-dashoffset: 1000;
  }
  50% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes hover {
  0% {
    rotate: 0deg;
    filter: url(#handDrawnNoise);
    translate: 0 0px;
  }
  25% {
    rotate: -1deg;
    filter: url(#handDrawnNoise2);
    translate: 0 -2px;
  }
  50% {
    rotate: 0deg;
    filter: url(#handDrawnNoise);
    translate: 0 2px;
  }
  75% {
    rotate: -1deg;
    filter: url(#handDrawnNoise2);
    translate: 0 -2px;
  }
  100% {
    rotate: 0deg;
    filter: url(#handDrawnNoise);
    translate: 0 0px;
  }
}

.button:hover .button-cosm {
  rotate: -15deg;
  translate: calc(-100% + 22px) 1.9rem;
}

.button:active .button-cosm {
  fill: #333333f1;
  rotate: -135deg;
  translate: calc(-100% + 55px) 1.6rem;
  animation: none;
}

.button:active {
  font-weight: bold;
  border-width: 0px;
  border-radius: 2rem;
  box-shadow: inset #333333f1 4px 4px 0 1px;
  rotate: -2.5deg;
  animation: active 1s infinite ease-in-out;
}

@keyframes active {
  0% {
    filter: url(#handDrawnNoiset);
    translate: 0 -1px;
  }
  25% {
    rotate: -3deg;
  }
  50% {
    filter: url(#handDrawnNoiset2);
    translate: 0 1px;
  }
  66% {
    rotate: 1.5deg;
  }
  100% {
    filter: url(#handDrawnNoiset);
    translate: 0 -1px;
  }
}

  /* Darker background on mouse-over */
  .btn:hover {
    background-color: RoyalBlue;
  }
            @keyframes cursor{
                to{
                    border-left: 2px solid var(--title-color);
                
                }
            }
            @keyframes words{
                0%,
                20%{
                    content: "Web developer";
                }
                21%,
                40%{
                    content: "Cloud practitioner";
                }
                41%,
                60%{
                    content: "Writer";
                }
                61%,
                80%{
                    content: "Cybersecurity";
                }
                81%,
                100%{
                    content: "Developer";
                }

            }
            @keyframes typing{
                10%,
                15%,
                30%,
                35%,
                50%,
                55%,
                70%,
                75%,
                90%,
                95%{
                    width: 0;
                }
                5%,
                20%,
                25%,
                40%,
                45%,
                60%,
                65%,
                80%,
                85%{
                    width: calc(100% + 8px);
                }
                

            }
        .skills__container{
            row-gap: 3.5rem;
        }
        .skills__title{
            display: flex;
            justify-content: center;
            align-items: center;
            column-gap: .5rem;
            font-size: var(--small-font-size);
            font-weight: var(--font-semi-bold);
            margin-bottom: 2.5rem;

        }
        .skills__title i{
            font-size: 1rem;
            font-weight: initial;
        
        }
        .skills__info,
        .skills__data,
        .skills__blob{
            display: grid;
        }
        .skills__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
        .skills__data{
            justify-content: center;
            text-align: center;
        }
        .skills__blob{
            width: 80px;
            height: 100px;
            background-color: var(--container-color);
            border-radius: 3rem;
            place-items: center;
            margin-bottom: 1rem;
            transition: background .4s;

        }

        .skills__blob img{
            width: 40px;
        }
        .skills__name{
            font-size: var(--small-font-size);
            margin-bottom: .25rem;
        }
        .skills__subtitle{
            font-size: var(--tiny-font-size);
            color: var(--text-color-light);
        }
.skills__blob:hover img{
animation: bounce-skills .6s;
}
@keyframes bounce-skills{
    0%{
        transform: translate(0);
    }
    20%{
        transform: translateY(-6px);
    }
    40%{
        transform: translate(0);
    }
    60%{
        transform: translateY(-3px);
    }
    80%{
        transform: translate(0);
    }
}

/*=============== QUALIFICATION ===============*/
.qualification{
    position: relative;
}
.qualification__container{
    row-gap: 3.5rem;
}
.qualification__title{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .5rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 2rem;
}
.qualification__title i{
    font-size: 1rem;
    font-weight: initial;
}
.qualification__info{
    display: grid;
    row-gap: 2rem;
}
.qualification__name{
    font-size: var(--normal-font-size);
    margin-bottom: 1.25rem;
}
.qualification__country,
.qualification__Year{
    display: block;
    font-size: var(--small-font-size);
    color: var(--text-color-light);

}
.qualification__country{
    margin-bottom: .75rem;
}
.qualification__img{
    width: 150px;
    
    right: -3rem;
    bottom: 12rem;
    transform: rotate(15deg);
    opacity: .1;
}
/*=============== SERVICES ===============*/
.services__container{
    row-gap: 2.5rem ;
    justify-content: center;

}
.services__card{
    position: relative;
    width: 228px;
    height: 322px;
    background-color: var(--container-color);
    text-align: center;
    padding: 3.5rem 1rem;
    border-radius: 7.5rem;
    transition: background .4s;

}
.services__card i{
    display: block;
    font-size: 2rem;
    color: var(--title-color);
    margin-bottom: .75rem;
    transition: transform .8s;

}
.services__title{
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 1.5rem;
}
.services__border{
    width: 248px;
    height: 342px;
    border: 1.8px solid var(--text-color-light);
    border-radius: 7.75rem;
    position: absolute;
    inset: 0;
    left: -10px;
    margin: auto;
    z-index: -1;
    transition: opacity .6s;
    opacity: 0;

}
.services__card:hover i{
    transform: rotateY(360deg);

}
.services__card:hover .services__border{
    opacity: 1;
}
/*=============== PROJECTS ===============*/
.projects__container{
    overflow: initial;
}
.projects__content{
    display: grid;
    justify-content: center;
}
.projects__img{
    width: 250px;
    border-radius: .75rem;
    margin-bottom: 1.25rem;
}
.projects__subtitle{
    font-size: var(--small-font-size);
    color: var(--text-color-light);

}
.projects__title{
    font-size: var(--h2-font-size);
    margin-bottom: 1.25rem;
    margin: .5rem 0 1.25rem;
}

.projects__button{
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    color: var(--title-color);
    font-size: var(--small-font-size);
}
.projects__button i{
font-size: 1rem;
transition: transform .3s;
}

.projects__button:hover i{
    transform: translateX(.25rem);
}

/* Swiper class */
.projects__container .swiper-button-prev::after,
.projects__container .swiper-button-next::after{
content: "";
}
.projects__container .swiper-button-prev,
.projects__container .swiper-button-next{
    width: initial;
    height: initial;
    margin: initial;
    font-size: 2.5rem;
    color: var(--title-color);

}
.projects__container .swiper-button-prev{
    left: -1rem;
    top: 4.5rem;
}
.projects__container .swiper-button-next{
    right: -1rem;
    top: 4.5rem;
}
.projects__container .swiper-slide{
    margin-bottom: 4.5rem;

}
.projects__container .swiper-pagination-bullets{
    bottom: 0;
}
.projects__container .swiper-pagination-bullets{
   
    opacity: initial;
}
.projects__container .swiper-pagination-bullets-active{
   
    background-color: var(--title-color);
}

/*=============== TESTIMONIAL ===============*/
.testimonial{
    position: relative;
}
.testimonial__content{
    text-align: center;

}

.testimonial__description{
    font-family: var(--title-font);
    color: var(--title-font);
    margin-bottom: 1.5rem;

}

.testimonial__name{
    font-family: var(--body-font);
    font-size: var(--small-font-size);
    margin-bottom: .25rem;

}
.testimonial__subtitle{
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);

}
.t__img{
    width: 70px;
    transform: rotate(30deg);
  
    top: 5rem;
    right: -1.5rem;
    opacity: .1;
    
}
/* Swiper class */
.testimonial__container .swiper-slide{
    margin-bottom: 4rem;
}
.testimonial__container .swiper-button-prev::after,
.testimonial__container .swiper-button-next::after{
    content: '';
}
.testimonial__container .swiper-button-prev,
.testimonial__container .swiper-button-next{
    color: var(--title-color);
    font-size: 2rem;
    width: initial;
    height: initial;
    top: initial;
    bottom: .5rem;
}
.testimonial__container .swiper-button-prev{
    left: calc(50% - 3rem);
}
.testimonial__container .swiper-button-next{
    right: calc(50% - 3rem);
}
.testimonial__container .swiper-button-disabled{
opacity: initial;
color: var(--text-color-light);
}


/*=============== CONTACT ===============*/
.contact__container{
    row-gap: 3.5rem;
}
.contact__title{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .5rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 2.5rem;
}
.contact__title i{
    font-size: 1rem;
    font-weight: initial;

}
.contact__info,
.contact__data,
.contact__form{
    display: grid;
}
.contact__info{
    row-gap: 2rem;
}
.contact__data{
    row-gap: .75rem;
}

.contact__data-title{
    font-size: var(--small-font-size);
    color: var(--text-color-light);

}
.contact__data-info{
    font-size: var(--small-font-size);
    font-family: var(--title-color);
    color: var(--title-color);

}
.contact__button{
    width: max-content;
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    color: var(--title-color);
    font-size: var(--small-font-size);
}
.contact__button i{
    font-size: 1rem;
    transition: transform .3s;

}
.contact__button:hover i{
    transform: translateX(.25rem);
}
.contact__form{
    position: relative;
    row-gap: 2rem;

}
.contact__form-div{
    position: relative;
    height: 4rem;

}
.contact__form-input{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--text-color-light);
    border-radius: 2rem;
    padding: 1.5rem;
    font-size: var(--normal-font-size);
    font-family: var(--title-font);
    color: var(--title-color);
    background: none;
    outline: none;
    z-index: 1;
}
.contact__form-tag{
    position: absolute;
    top: -.75rem;
    left: 1.25rem;
    z-index: 10;
    background-color: var(--body-color);
    color: var(--title-color);
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    padding: .35rem;
    transition: background .4s;

}
.contact__form-area{
    height: 10rem;

}
.contact__form-area textarea{
    resize: none;
}
.contact__form .contact__button{
    border: none;
    background: none;
    font-size: var(--h2-font-size);
    font-family: var(--title-font);
    font-weight: var(--font-semi-bold);
    cursor: pointer;
    outline: none;
    margin-top: .75rem;
}

.contact__form .contact__button i{
    font-size: 1.5rem;
    font-weight: initial;

}
.contact__message{
    font-size: var(--small-font-size);
    position: absolute;
    bottom: 2.8rem;
    left: 1.5rem;

}


/* Status color */
.color-red{
    color: hsl(4, 71%, 50%);
}
.color-blue{
    color: hsl(207, 56%, 45%);
}

/*=============== FOOTER ===============*/
.footer__container{
    padding: 3rem 0 7rem;
    text-align: center;

}
.footer__title{
    font-size: var(--h1-font-size);
font-weight: var(--font-semi-bold);
margin-bottom: 1rem;

}
.footer__list,
.footer__social{
    display: flex;
    justify-content: center;
}
.footer__list{
    margin: 2.5rem 0;
    column-gap: 2.5rem;

}
.footer__link{
    color: var(--title-color);
}
.footer__link:hover{
    text-decoration: underline;
}
.footer__social{
    column-gap: 1.25rem;

}
.footer__social-link{
    font-size: 1.25rem;
    color: var(--title-color);
    transition: transform .3s;

}
.footer__social-link:hover{
    transform: translateY(-.15rem);
}
.footer__copy{
    display: block;
    margin-top: 4.5rem;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}




/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
    width: .6rem;
    border-radius: .5rem;
    background-color: hsl(207, 4%, 75%);
}
::-webkit-scrollbar-thumb{
    background-color: hsl(207, 4%, 65%);
    border-radius: .5rem;
}
::-webkit-scrollbar-thumb:hover{
    background-color: hsl(207, 4%, 55%);
    
}

/*=============== SCROLL UP ===============*/
.scrollup{
    position: fixed;
    right: 1rem;
    bottom: -30%;
    background-color: black;
    box-shadow: 0 4px 12px hsl(207, 24%, 35%, .15);
    display: inline-flex;
    padding: .35rem;
    border-radius: 50rem;
    font-size: 1.5rem;
    color: white;
    z-index: var(--z-tooltip);
    transition: bottom .3s, transform .3s;
    box-shadow: 0px 0px 0px 4px rgb(199, 170, 245);
}
.scrollup:hover{
    transform: translateY(-.25rem);
    color: rgb(205, 139, 218);
}

/* Show Scroll Up*/
.show-scroll{
    bottom: 7.5rem;

}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px){
    .container{
        margin-inline: 1rem;

    }
    .nav__menu{
        padding-bottom: 4rem;

    }
    .nav__list{
        gap: 1rem 1.25rem ;
    }
    .skills__info{
        grid-template-columns: repeat(2, 1fr);

    }
    .projects__img{
        width: 200px;
        justify-self: center;
    }

}

/* For medium devices */
@media screen and (min-width: 576px){
    .nav,
    .nav__menu{
        width: 380px;

    }
    .nav{
        margin: 0 auto;

    }
    .skills__container{
        justify-content: center;

    }
      .skills__info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
    .projects__container,
    .testimonial__container{
        width: 400px;
    }
    .projects__container{
        overflow: hidden;
    }
    .projects__container .swiper-button-prev{
        left: 1rem;
    }
    .projects__container .swiper-button-next{
        right: 1rem;
    }
}
@media screen and (min-width: 767px){
.home__container{
    grid-template-columns: 1fr 2fr 1fr;
    
}
.home__data{
    order: 2;
}
.home__info:nth-child(3){
    order: 3;
    text-align: right;
}
.home__info{
    margin-top: 10rem;

}
.home__info-description{
    padding-right: 0;
}
.skills__container,
.qualification__container,
.services__container,
.contact__container{
    grid-template-columns: repeat(2,max-content);
}
.skills__container,
.services__container{
    column-gap: 5rem;
    
}
.qualification__container{
    justify-content: center;
    column-gap: 10rem;
}
.projects__container{
    width: 500px;
}
.contact__form{
    width: 360px;
}
.contact__container{
    justify-content: center;
    column-gap: 8rem;
}
}
/* For large devices */
@media screen and (min-width: 1023px){
    .header{
        top: 0;
        bottom: initial;
        background-color: var(--body-color);
        transition: .4s;
    }
    .nav{
        width: initial;
        height: calc(var(--header-height) + 1.5rem);
        box-shadow: none;
        border-radius: 0;
        column-gap: 3rem;
        margin-inline:1.5rem;
        padding: 0;
    }
.nav__link i,
.nav__toggle,
.nav__close{
display: none;
}
.nav__menu{
    width: initial;
    margin-left: auto;
    background-color: var(--body-color);
    transition: background .4s;
}
.nav__list{
    display: flex;
    column-gap: 3rem;

}
.nav__link{
    font-size: var(--normal-font-size);

}
.dark-theme .nav,
.dark-theme .nav__menu{
background-color: var(--body-color);
box-shadow: none;
}
.change-theme{
    color: var(--text-color-light);
}
.change-theme:hover{
    color: var(--title-color);

}
.section{
    padding-block: 8rem 0;
}
.home__title{
    font-size: 2.25rem;
}
.scrollup{
    right: 3rem;
}
.show-scroll{
    bottom: 5rem;
}
.bg-header{
    box-shadow: 0 4px 20px hsla(207, 24%, 35%, .1);

}
.dark-theme .bg-header{
    box-shadow: 0 6px 24px hsla(207, 24%, 8%, .6);
}
}
@media screen and (min-width: 1048px){
    .container{
        margin-inline: auto;

    }
}
@media screen and (min-width: 1200px){
    .section__border{
        padding-bottom: 6rem;
    }
    .section__subtitle{
        margin-bottom: 5rem;
    }
    .home__title{
        font-size: var(--biggest-font-size);

    }
    .home__blob{
        width: 400px;
        height: 580px;
        border-radius: 12.5rem;
    }
    .home__perfil{
        width: 340px;
        height: 520px;
        border-radius: 10.6rem;

    }
    .home__perfil img{
        width: 300px;

    }
    .home__shape-wawes{
        width: 100px;
        left: -4rem;
        top: 10rem;

    }
    .home__shape-circle{
        width: 250px;
        bottom: -1rem;
        right: -5rem;
    }
    .home__data{
        row-gap: 2.5rem;

    }
    .home__social{
        column-gap: 2rem;
    }
    .social-button .bloom-container .button-container-main {
        width: 80px;
    }
    .social-button .bloom-container .button-container-main .button-inner {
        height: 50px;
    }
    .social-button .bloom-container .button-container-main .button-inner .front i {
        font-size: 1.5rem;
    }
    .home__info{
        grid-template-rows: repeat(3, 130px) ;
        row-gap: 4rem;
        margin-top: 16rem;
    }
.skills__container{
    column-gap: 10rem;
}
.skills__title{
    margin-bottom:3rem ;
}
.skills__title i{
    font-size: 1.25rem;
}
.skills__name{
    font-size: var(--normal-font-size);
}
.skills__info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
.qualification__container{
    column-gap: 14rem;
}
.qualification__title{
    margin-bottom: 3rem;
}
.qualification__title i{
font-size: 1.25rem;
}
.qualification__name{
    font-size: var(--h3-font-size);

}
.qualification__img{
    width: 300px;
    left: -6rem;
    bottom: 5rem;

}
.services__container{
    grid-template-columns: repeat(3, max-content);
}
.services__card{
    width: 245px;
    height: 345px;
    border-radius: 7.6rem;
    padding: 3.5rem 1.5rem;
}
.services__card i{
    font-size: 2.5rem;
}
.services__border{
    width: 265px;
    height: 365px;
    border-radius: 8.25rem;

}
.projects__container{
    width: 900px;

}
.projects__container .swiper-button-prev,
.projects__container .swiper-button-next{
font-size: 3rem;
}
.projects__container .swiper-button-prev{
    left: -1rem;
}
.projects__container .swiper-button-next{
    right: -1rem;
}
.projects__container .swiper-slide{
    margin-bottom: 6.5rem;
}
.projects__img{
    width: 320px;
    margin-bottom: 2rem;
}
.testimonial__container{
    width: 566px;

}
.testimonial__container .swiper-button-prev,
.testimonial__container .swiper-button-next{
    font-size: 2.5rem;
}
.testimonial__container .swiper-button-prev{
    left: calc(50% - 5rem);
}
.testimonial__container .swiper-button-next{
    right: calc(50% - 5rem);
}
.testimonial__container .swiper-slide{
margin-bottom: 6rem;
}
.testimonial__description{
    font-size: var(--h2-font-size);
    margin-bottom: 2rem;
}
.testimonial__img{
    width: 200px;
    top: 13rem;
    right: 4rem;

}
.contact__title{
    margin-bottom: 3rem;
}
.contact__title i{
font-size: 1.25rem;

}
.contact__info{
    row-gap: 3rem;

}
.contact__data-info{
font-size: var(--normal-font-size);

}
.contact__form{
    row-gap: 2.5rem;
}
.footer__container{
    padding: 4rem 0 3rem;
}
.footer__list{
    column-gap: 3rem;
    margin: 3rem 0;
}
.footer__social{
    column-gap: 2rem;
}
.footer__social-link{
    font-size: 1.5rem;
}
.footer__copy{
    margin-top: 5rem;
}

} 
.writeup{
    min-height: 100vh;
    background-color: var(--container-color);
    padding: 5rem 5%;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}
.writeup .heading{
    color: var(--text-color);
    font-size: 4rem;
    text-align: center;
    margin-bottom: 2rem;
}
.writeup .box-container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin: 2rem 0;
}
.writeup .box-container .box img{
    height: 9rem;
    width: 9rem;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: .1rem .5rem 1rem chartreuse,
                               ;
    border: .2rem solid chartreuse;
}
.writeup .box-container .box{
    border-radius: 2rem;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 3rem 1rem;
    width: 25rem;
    border: .1rem solid cadetblue;


}
.writeup .box-container .box h3{
    color: var(--text-color);
    font-size: 1.8rem;
}
.writeup .box-container .box p{
    font-size: 1rem;
    color: var(--text-color-light);
    line-height: 2;
    text-transform: lowercase;

}
.writeup .box-container .box .stars i{
    color: gold;
    font-size: 1rem;
    margin: 1rem 0;

}
.writeup .box-container .box:hover{
    box-shadow: 0 0 25px greenyellow,
                0 0 50px greenyellow;
    transform: translateY(-2rem);  
    cursor: pointer;           

}
.writeup .box-container .box .ll{
     font-size: 1.25rem;
    text-decoration: underline;
    color: darkcyan;
    font-family: var(--title-font);
}


/* SECTION WRAPPER */
.skills-section {
  padding: 4rem 1.5rem;
  background: var(--skills-bg)
}

.skills-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* FILTER BAR */

.skills-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
}

.skills-chip {
  border: none;
  outline: none;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 2px solid black;
  background-color: #ffffff;
  color: #555;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.skills-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 0, 255, 0.738);
}

.skills-chip--active {
  background-color: #111827;
  color: #ffffff;
}

/* GRID LAYOUT */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
}

/* INDIVIDUAL CARD */

.skill-card {
  background: rgba(255, 255, 255, 0.35);        /* transparent white */
  backdrop-filter: blur(16px) saturate(180%);   /* the glass effect */
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  
  border-radius: 38px;
  border: 1px solid rgba(0, 0, 0, 0.45);  /* soft inner border */
  
  padding: 1.25rem 1.2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  
  box-shadow: 0 10px 12px rgb(136 0 255 / 48%);  /* soft shadow */
  transition: transform 0.2s ease, 
              box-shadow 0.2s ease,
              background 0.2s ease;
}

/* Hover effect */
.skill-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.55);        /* slightly brighter glass */
  box-shadow: 0 14px 35px rgba(145, 98, 255, 0.562);
  border-color: rgba(0, 0, 0, 0.488);
}


/* ICON WRAPPER */

.skill-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
}

/* Make icons fit */
.skill-card-icon img {
  max-width: 62%;
  max-height: 62%;
}

/* Per-tech soft background colors */
.skill-card-icon--react     { background-color: #e0f4ff; }
.skill-card-icon--ts        { background-color: #e1edff; }
.skill-card-icon--tailwind  { background-color: #dcf7ff; }
.skill-card-icon--html      { background-color: #ffe8dd; }
.skill-card-icon--css       { background-color: #e5f0ff; }
.skill-card-icon--js        { background-color: #fff5c2; }
.skill-card-icon--node      { background-color: #e4f7e7; }
.skill-card-icon--dotnet    { background-color: #efe7ff; }
.skill-card-icon--git       { background-color: #ffe8dd; }
.skill-card-icon--vscode    { background-color: #e3f0ff; }

/* NAME */

.skill-card-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111827;
  text-align: center;
}

/* RESPONSIVE TWEAKS */

@media (max-width: 640px) {
  .skills-section {
    padding: 2.5rem 1.25rem;
  }

  .skills-grid {
    gap: 1rem;
  }

  .skill-card {
    padding: 1rem 0.9rem;
  }
}
/* How many cards to show before "View More" */

.view-more-btn {
  margin: 2rem auto 0;
  display: block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid #000000;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 0.9rem;
  color: #111;
  transition: all 0.25s ease;
}

.view-more-btn:hover {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 25px rgb(161, 80, 227);
}
.browser {
  width: 300px;
  height: 250px;
  background: lightgrey;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 5px 5px 10px rgba(31, 31, 31, 0.245);
}

/* tabs-head */
.tabs-head {
  background-color: #353535;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-left: 20px;
}

.tabs-head .tab-open {
  width: 100px;
  height: 34px;
  border-radius: 7px 7px 0 0;
  background-color: #515151;
  display: flex;
  gap: 5px;
  align-items: start;
  justify-content: space-between;
  padding: 4px 8px;
  position: relative;
}

.tabs-head .tab-open .close-tab {
  color: #fff;
  font-size: 9px;
  padding: 1px 4px 1px 4px;
  border-radius: 50%;
  cursor: default;
}
.tabs-head .tab-open .close-tab:hover {
  background-color: #5d5d5d;
}

.tabs-head .tab-open .rounded-l {
  position: absolute;
  background-color: #515151;
  width: 20px;
  height: 24px;
  top: 0;
  right: 0;
  transform: translate(100%);
  overflow: hidden;
}
.tabs-head .tab-open .rounded-l .mask-round {
  width: 100%;
  height: 100%;
  background-color: #353535;
  border-radius: 0 0 0 7px;
}

.tabs-head .tab-open .rounded-r {
  position: absolute;
  background-color: #515151;
  width: 20px;
  height: 24px;
  top: 0;
  left: 0;
  transform: translate(-100%);
  overflow: hidden;
}

.tabs-head .tab-open .rounded-r .mask-round {
  width: 100%;
  height: 100%;
  background-color: #353535;
  border-radius: 0 0 7px 0;
}

.tabs-head .tab-open span {
  color: #fff;
  font-size: 10px;
}

.tabs-head .window-opt {
  display: flex;
}

.tabs-head .window-opt button {
  height: 30px;
  width: 30px;
  border: none;
  background-color: transparent;
  transition: 0.1s ease-out;
  color: #fff;
  margin-bottom: 10px;
}

.tabs-head .window-opt button:hover {
  background-color: #515151c8;
}

.tabs-head .window-opt .window-close:hover {
  background-color: rgb(255, 52, 52);
}

/* head-browser */
.head-browser {
  position: absolute;
  top: 30px;
  width: 100%;
  height: 40px;
  background-color: #515151;
  padding: 7px;
  display: flex;
  border-radius: 7px 7px 0 0;
  gap: 5px;
}

.head-browser input {
  background-color: #3b3b3b;
  border: 2px solid transparent;
  height: 100%;
  border-radius: 20px;
  outline: none;
  color: #fff;
  padding: 0 15px;
  flex: 1;
  transition: 0.2s ease-in-out;
}

.head-browser input:hover {
  background-color: #5d5d5d;
}

.head-browser input:focus {
  border-color: rgb(173, 214, 255);
  background-color: #3b3b3b;
  transition: none;
}

.head-browser input::placeholder {
  color: #fff;
}

.head-browser button {
  width: 27px;
  height: 25px;
  border: none;
  background-color: transparent;
  color: #fff;
  border-radius: 50%;
  transition: 0.2s ease-in-out;
}

.head-browser button:disabled {
  opacity: 0.4;
}

.head-browser button:hover {
  background-color: #5d5d5d;
}

.head-browser button:disabled:hover {
  background-color: transparent;
}

.head-browser .star {
  color: #fff;
  position: absolute;
  right: 45px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  opacity: 0.7;
  height: 18px;
  width: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
}
/* EXPANDED BROWSER FOR SERVICES */
.services-browser {
  width: 100%;
  max-width: 1200px; /* center content like typical websites */
  min-height: 550px; /* plenty of height */
  background: #dcdcdc;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* The content area where your cards sit */
.browser-content {
  background: #f9f9f9;
  padding: 80px 20px 40px; /* pushes content below browser tabs */
  min-height: 300px;
}

/* Make services grid responsive inside browser */
.services-browser .services__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  justify-items: center;
  padding-top: 1rem;
}

/* Optional: smooth shadow */
.services-browser {
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}
/* ---------- DESKTOP / BASE ---------- */

/* Only affect the Services section browser */
.browser.services-browser {
  width: 100%;
  max-width: 1100px;
  height: auto;          /* let content decide */
  min-height: 480px;     /* taller than before */
  background: #dcdcdc;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

/* Content area where your cards live */
.browser-content {
  background: #f9f9f9;
  padding: 80px 32px 40px; /* top = space for address bar */
  min-height: 360px;
}

/* Grid inside browser */
.browser.services-browser .services__container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Let cards be flexible */
.browser.services-browser .services__card {
  width: 100%;
  max-width: 230px;
}

/* ---------- TABLET & SMALL LAPTOP ---------- */

@media (max-width: 992px) {
  .browser.services-browser {
    max-width: 95%;
    min-height: 520px;  /* a bit more height on medium screens */
  }

  .browser-content {
    padding: 75px 20px 35px;
  }

  .browser.services-browser .services__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {
  .browser.services-browser {
    max-width: 100%;
    margin: 1.5rem 0.75rem;
    border-radius: 10px;
    min-height: 560px; /* extra tall for safe spacing */
  }

  .tabs-head {
    padding-left: 10px;
  }

  .head-browser {
    top: 30px;
    padding: 6px;
    gap: 4px;
  }

  .browser-content {
    padding: 70px 12px 30px;
  }

  .browser.services-browser .services__container {
    grid-template-columns: 1fr;  /* one card per row */
    gap: 1.4rem;
    justify-items: center;
  }

  .browser.services-browser .services__card {
    max-width: 260px;
    height: auto;
    padding: 2.5rem 1.5rem;
    border-radius: 4rem;
  }

  .browser.services-browser .services__border {
    width: 100%;
    max-width: 280px;
    height: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
  }
}
