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

/*=============== VARIABLES CSS ===============*/
:root {
    /*===== Colors =====*/
    --hue-color: 242;

    /* HSL Color Mode */
    --skin-color: hsl(342, 92%, 46%);
    --title-color: hsl(var(--hue-color), 8%, 95%);
    --text-color: hsl(var(--hue-color), 8%, 85%);
    --body-color: hsl(var(--hue-color), 19%, 5%);
    --box-color: hsl(var(--hue-color), 14%, 10%);
    --scroll-bar-color: hsl(var(--hue-color), 12%, 38%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 26%);

    /*===== Font and Typography =====*/
    --body-font: 'Poppins', sans-serif;

    /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
    --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;

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

    /*===== Margenes Bottom =====*/
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /*===== Z Index =====*/
    --z-fixed: 10;
    --z-modal: 100;
}

/* Responsive Typography */
@media screen and (max-width: 1024px) {
    :root {
        --biggest-font-size: 2rem;
        --h1-font-size: 1.5rem;
        --h2-font-size: 1.25rem;
        --h3-font-size: 1.125rem;
        --normal-font-size: .938rem;
        --small-font-size: .813rem;
        --smaller-font-size: .75rem;
    }
}

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

}

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

a {
    text-decoration: none;

}

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

button {
    cursor: pointer;
}

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

/*========== LAYOUT ===============*/
.container {
    max-width: 1250px;
    margin-left: 25px;
    margin-right: auto;
}

.grid {
    display: grid;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
    padding: 6.5rem 0 2rem;
}

.section__title {
    text-align: center;
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-3);


}

.section__title::before {
    content: attr(data-heading);
    display: block;
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    color: rgb(76, 61, 38);
}



/*=============== SIDEBAR ===============*/

.sidebar {
    position: fixed;
    width: 100px;
    height: 100vh;
    background-color: var(--body-color);
    border-right: 1px solid var(--box-color);
}

.nav__logo {

    position: absolute;
    font-size: 12px;
    font-weight: var(--font-medium);
    height: 100%;
    width: 100%;
    line-height: 60px;
    margin-bottom: 30px;
    margin-left: 0.5rem;
    color: var(--text-color);
    align-items: center;
    box-sizing: border-box;
    transition: .4s;



}

.nav__logo i {
    color: rgb(201, 0, 0);
    margin-right: 4px;
}



.nav__menu {

    position: fixed;
    margin-left: 0.5rem;
    margin-top: 60px;

}








.nav__logo-text {


    font-weight: var(--font-medium);
    margin-top: 5px;
    line-height: 100px;
    list-style: none;
    margin-left: 0.5rem;
    user-select: none;
    margin-bottom: 10px;
    color: var(--text-color);
    transition: .4s;
}

.nav__logo-text:hover {
    margin-left: 5px;
    font-weight: var(--font-medium);
    padding-left: 8px;
    color: var(--text-color);
}

.sidebar ul {
    margin-top: 30px;
}

.sidebar ul a {
    display: block;
    font-size: 12px;
    font-weight: var(--font-medium);
    height: 100%;
    width: 100%;
    line-height: 60px;
    margin-bottom: 30px;
    margin-left: 6px;
    color: var(--text-color);
    align-items: center;
    box-sizing: border-box;
    transition: .4s;



}

.sidebar ul a:hover {

    padding-left: 4px;

    font-weight: var(--font-medium);

    margin-left: 5px;
    color: var(--text-color);
    font-size: 12px;
}

.sidebar ul a i {
    margin-right: 4px;
    align-items: center;
    color: rgb(201, 0, 0);

}

.btn__share {
    position: absolute;
    font-size: 23px;
    margin-left: 4px;
    color: rgb(201, 0, 0);
    margin-bottom: 4px;
    bottom: 1.8rem;
    left: 2rem;
    transition: .4s;
}

.social__share {
    font-size: 1.5rem;
}

.nav__toggle {
    height: 32px;
    width: 36px;
    cursor: pointer;
    position: fixed;
    right: 1.5rem;
    top: 2rem;
    font-size: 1.2rem;
    border-radius: .25rem;
    background-color: rgb(201, 0, 0);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn__share:hover {
    font-size: 25px;

}



.nav__close {
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    cursor: pointer;
    display: none;
}




/* Active Link */
.nav__link.active-link,
.nav__link:hover {
    color: var(--skin-color);
}

.nav__link.active-link::after,
.nav__link:hover::after {
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--skin-color);
    border-radius: 50%;
    bottom: 1.8rem;
    left: 0;
    right: 0;
    margin: auto;

}

/*=============== MAIN ===============*/
.main {
    margin-left: 100px;
}

/*===== Home Section =====*/
.home {
    background: url('../img/home-bg.jpg');
    background-size: cover;
    background-position: center center;
    height: 100vh;
}


.home__container {
    position: relative;
    height: 100%;
    align-items: center;

}

.home__social {
    position: absolute;
    top: 1.8rem;
    left: 0;
    display: flex;
    align-items: center;
    column-gap: 3.5rem;

}

.home__social-follow {
    font-size: 12px;
    font-weight: var(--h3-font-size);
    position: relative;

    color: rgb(156, 109, 38);
}

.home__social-follow::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 2px;
    color: rgb(156, 109, 38);

    right: -45%;
    top: 50%;
}


.home__social-links {
    display: inline-flex;
    column-gap: 1rem;
}

.home__social-link {
    font-size: 19px;
    color: rgb(156, 109, 38);
}

.home__social-link:hover {
    transform: translateY(.25rem);
}


.home__img {
    display: none;
}

.home__title {
    font-size: var(--biggest-font-size);
    color: white;
}

.home__subtitle {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-0-75);
}

.home__description {
    max-width: 450px;
    margin-bottom: var(--mb-2);
}

.my__info {
    display: flex;
    column-gap: 1.8rem;
    position: absolute;
    left: 0;
    bottom: 1.8rem;

}

.info__item {
    display: flex;
    align-items: center;

}

.info__title,
.info__subtitle {
    font-size: var(--small-font-size);

}

.info__title {
    font-weight: var(--font-medium);

}

.info__icon {
    font-size: 1.8rem;
    color: rgb(201, 0, 0);
    margin-right: var(--mb-0-75);
}



/*===== Buttons =====*/

.button {
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    color: rgb(156, 109, 38);
    padding: .75rem 1.4rem;
    border-radius: .25rem;
    font-weight: var(--font-medium);
    position: relative;
    z-index: 1;

}

.button::after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--box-color);
    z-index: -1;
    transform-origin: center;
    transform: scale(0);
    border-radius: .25rem;
}

.button:hover::after {
    transform: scale(1);


}

.button__icon {
    font-size: 1.25rem;

}

/*===== About Section =====*/
.about__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
    align-items: center;
    margin-left: auto;
}

.about__img {
    width: 500px;
    border-radius: 0.75rem;
    justify-self: center;
}

.about__heading {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
}

.about__description {
    text-align: justify;
    padding-right: 6rem;
    margin-bottom: var(--mb-2);
}

.about__info {

    grid-template-columns: repeat(3, 140px);
    column-gap: .5rem;
    margin-bottom: var(--mb-3);
}

.about__box {
    text-align: center;
    border-radius: .25rem;
    padding: 1rem 1.25rem;

}

.about__icon {
    font-size: 1.5rem;
    color: rgb(201, 0, 0);
    margin-bottom: var(--mb-0-75);

}

.about__title {
    font-size: var(--small-font-size);
    margin-bottom: 50px;

}

.about__subtitle {
    font-size: var(--smaller-font-size);
}

/*===== Qualification Section =====*/
.qualification__container {
    display: flex;
    grid-template-columns: 360px 320px;
    column-gap: 3rem;
    justify-content: center;
    margin-left: auto;

}


.qualification__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-top: 50px;
    margin-bottom: 50px;
    color: rgb(69, 56, 37);
}

section h3 i {
    color: rgb(201, 0, 0);
}

.timeline__item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: var(--mb-2-5);

}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__item i {
    color: rgb(201, 0, 0);
}

.timeline__item::before {
    content: '';
    width: 1px;
    position: absolute;
    left: .48rem;
    top: 0;
    height: 100%;
    background-color: var(--box-color);


}

.circle__dot {
    position: absolute;
    left: 0;
    top: 0;
    height: 1rem;
    width: 1rem;
    border: 2px solid var(--box-color);
    border-radius: 50%;
    background-color: var(--box-color);
    transition: .6s;

}

.timeline__item:hover .circle__dot {
    background-color: rgb(201, 0, 0);
}

.timeline__title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-0-25);

}



.timeline__text {
    font-size: var(--smaller-font-size);
    margin-bottom: var(--mb-1);
    margin-left: 5px;
}

.timeline__date {
    display: flex;
    align-items: center;
    column-gap: .4rem;
    font-size: var(--small-font-size);


}

/*===== Skills Section =====*/
.skills__container {

    grid-template-columns: 360px 320px;
    column-gap: 3rem;
    justify-content: center;


}

.skills__header {
    display: flex;
    align-items: center;
    cursor: pointer
}

.skills__header:not(:last-child) {
    margin-bottom: 10px;
    margin-top: 20px;
}

.skills__icon,
.skills__arrow {
    font-size: 2rem;
    color: rgb(201, 0, 0);
}

.skills__icon {
    margin-left: var(--mb-0-75);
}

.skills__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);


}

.skills__subtitle {
    font-size: var(--small-font-size);
}

.skills__arrow {
    margin-left: auto;
}

.skills__active .skills__arrow {
    transform: rotate(-90deg);
    transition: .3s;

}

.skills__tabs i {
    margin-right: 10px;
}

.skills__tabs {
    margin-top: 10px;
}

.skills__content {
    margin-top: 32px;
}

.skills [data-content] {
    display: none;
}


.skills__active[data-content] {
    display: block;
    margin-top: 15px;
}

.skills__container i {
    color: rgb(201, 0, 0);

}

.skills__titles i {
    margin-right: 5px;
    margin-top: 5px
}

.skills__list {
    row-gap: 1.7rem;
}

.skils__list {
    row-gap: 1.8rem;
}

.skills__titles {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--mb-0-5);
}

.skills__name {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium)
}

.skills__bar,
.skills__percentage {
    height: 5px;
    border-radius: .25rem;
}

.skills__bar {
    color: rgb(201, 0, 0);
}

.skills__percentage {
    font-display: block;
    background-color: rgb(201, 0, 0);
}

/*===== Work Section =====*/
.work__container {

    grid-template-columns: repeat(3, 250px);
    gap: 1.8rem;
    justify-content: center;
    padding-top: 1rem;
}

.work__filters {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .75rem;
    margin-bottom: 2rem;
}

.work__item {
    cursor: pointer;
    color: var(--title-color);
    padding: .25rem .75rem;
    font-weight: var(--font-medium);
    border-radius: .5rem;
}

.work__card {
    background-color: var(--box-color);
    padding: 1.25rem;
    border-radius: .5rem;
}

.portfolio__item-details {
    display: none;
}

.work__img {
    border-radius: .5rem;
    margin-bottom: var(--mb-1);
}

.work__title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-0-5);
}

.work__button {
    color: rgb(201, 0, 0);
    font-size: var(--small-font-size);
    display: flex;
    align-items: center;
    column-gap: .25rem;
    cursor: pointer;
}

.work__button-icon {
    font-size: 1rem;
    transition: .3s;

}

.work__button:hover .work__button-icon {
    transform: translateX(.25rem);

}

/* Active Item Work */
.active-work {
    color: rgb(201, 0, 0);
    color: var(--title-color);
}


/* Portfolio Popup */
.portfolio__popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.portfolio__popup.open {
    opacity: 1;
    visibility: visible;

}

.portfolio__popup-inner {
    background-color: var(--box-color);
    width: 900px;
    border-radius: .5rem;
    padding: 2.5rem;
    position: relative
}

.portfolio__popup-content {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 3rem;
}

.portfolio__popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;

    cursor: pointer;


}

.portfolio__popup-img {
    border-radius: .5rem;
}

.portfolio__popup-subtitle {
    font-size: var(--smaller-font-size);
    margin-bottom: var(--mb-0-25);
}

.details__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);
}

.details__description {
    font-size: var(--small-font-size);
}

.details__info li {
    margin-bottom: var(--mb-0-75);
    text-transform: capitalize;
    font-size: var(--small-font-size);

}

.details__info li:last-child {
    margin-bottom: 0;

}

.details__info li span {
    font-weight: normal;
}

.details__info li a {
    text-transform: lowercase;
    color: var(--skin-color);
}

/*===== Services Section =====*/
.services__container {

    grid-template-columns: repeat(3, 250px);
    justify-content: center;
    column-gap: 1.8rem;

}

.services__content {
    position: relative;
    background-color: var(--box-color);
    padding: 6rem 0 2rem 2.5rem;
    border-radius: .25rem;
}

.services__icon {
    display: block;
    font-size: 1.8rem;

    color: rgb(201, 0, 0);
    margin-bottom: var(--mb-1);
}

.services__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    font-weight: var(--font-medium);
}

.services__button {
    color: rgb(201, 0, 0);
    font-size: var(--small-font-size);
    display: flex;
    align-items: center;
    column-gap: .25rem;
    cursor: pointer;
}

.services__button-icon {
    font-size: 1rem;
    transition: .3s;
}

.services__button:hover .services__button-icon {
    transform: translateX(.25rem);
}

.services__modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

.active-modal {
    opacity: 1;
    visibility: visible;
}


.services__modal-content {
    width: 500px;
    position: relative;
    background-color: var(--box-color);
    padding: 4.5rem 2.5rem 2.5rem;
    border-radius: .5rem;
}

.services__modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: rgb(201, 0, 0);
    cursor: pointer;
}

.services__modal-title,
.services__modal-description {
    text-align: center;
}

.services__modal-title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-1);

}

.services__modal-description {
    font-size: var(--small-font-size);
    padding: 0 3.5rem;
    margin-bottom: var(--mb-2);
}

.services__modal-services {
    row-gap: var(--mb-0-75);
}

.services__modal-service {
    display: flex;
    align-items: center;
    column-gap: .5rem;
}

.services__modal-icon {
    color: rgb(201, 0, 0);
    font-size: 1.5rem;
}

.services__modal-info {
    font-size: var(--small-font-size);
}

/* Active Modal*/
.active-modal {
    opacity: 1;
    visibility: visible;
}


/*===== Testimonial Section =====*/
@media screen and (min-width:992px) {
    .testimonials__container {
        width: 900px;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 80%;
        margin: auto;

    }

}

.testimonial__card {
    background-color: var(--box-color);
    padding: 1.8rem 2rem;
    border-radius: .5rem;
    margin-bottom: 3rem;
    align-content: center;
    max-width: 80%;
}

.testimonial__quote {
    display: inline-flex;
    font-size: 1.5rem;
    color: rgb(201, 0, 0);
    margin-bottom: var(--mb-1);
}


.testimonial__description {
    margin-bottom: var(--mb-1);
    font-size: var(--small-font-size);
}

.testimonial__date {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-2);
}

.testimonial__profile {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.testimonial__description-1 i {
    color: rgb(121, 53, 1);
}

.testimonial__date-1 i {
    margin-top: 4px;
    color: rgb(121, 53, 1);
}

.testimonial__description-2 i {
    color: rgb(6, 59, 217);
}

.testimonial__date-2 i {
    margin-top: 4px;
    color: rgb(6, 59, 217);
}

.testimonial__description-3 i {
    color: gold;
}

.testimonial__date-3 i {
    margin-top: 4px;
    color: gold;
}

.testimonial__description-4 i {
    color: rgb(47, 255, 0);
}

.testimonial__date-4 i {
    margin-top: 4px;
    color: rgb(47, 255, 0);
}

.testimonial__description-5 i {
    color: rgb(255, 8, 8);
}

.testimonial__date-5 i {
    margin-top: 4px;
    color: rgb(255, 8, 8);
}

.testimonial__description-6 i {
    color: rgb(0, 89, 255);
}

.testimonial__date-6 i {
    margin-top: 4px;
    color: rgb(0, 89, 255);
}

.testimonial__profile-img {
    width: 250px;
    height: 250px;
    border-radius: 3px;
}

.testimonial__profile-name {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    color: var(--title-color);
}

.testimonial__profile-name-1 i {

    align-items: center;
    margin-right: 5px;
    color: rgb(121, 53, 1);
}

.testimonial__profile-name-1 a {

    align-items: center;
    margin-right: 5px;
    color: rgb(121, 53, 1);
}

.testimonial__profile-name-2 i {

    align-items: center;
    margin-right: 5px;
    color: rgb(6, 59, 217);
}

.testimonial__profile-name-2 a {

    align-items: center;
    margin-right: 5px;
    color: rgb(6, 59, 217);
}

.testimonial__profile-name-3 i {

    align-items: center;
    margin-right: 5px;
    color: gold;
}

.testimonial__profile-name-3 a {

    align-items: center;
    margin-right: 5px;
    color: gold;
}

.testimonial__profile-detail {
    font-size: var(--small-font-size);
    display: block;
}

.testimonial__profile-name-4 i {

    align-items: center;
    margin-right: 5px;
    color: rgb(47, 255, 0);
}

.testimonial__profile-name-4 a {

    align-items: center;
    margin-right: 5px;
    color: rgb(47, 255, 0);
}

.testimonial__profile-name-5 i {

    align-items: center;
    margin-right: 5px;
    color: rgb(255, 8, 8);
}

.testimonial__profile-name-5 a {

    align-items: center;
    margin-right: 5px;
    color: rgb(255, 8, 8);
}

.testimonial__profile-name-6 i {

    align-items: center;
    margin-right: 5px;
    color: rgb(0, 89, 255);
}

.testimonial__profile-name-6 a {

    align-items: center;
    margin-right: 5px;
    color: rgb(0, 89, 255);
}

.testimonial__profile-detail {
    font-size: var(--small-font-size);
    display: block;
}

/* Swiper Class */
.swiper-pagination-bullet {
    background-color: var(--box-color);
}

.swiper-pagination-bullet-active {
    color: rgb(201, 0, 0);
}

/*===== Contact Section =====*/
.contact__container1 {
    display: grid;
    place-items: center;
    margin-inline: 1.5rem;
    padding-block: 5rem;
}

.contac__container2 {

    display: grid;
    row-gap: 3.5rem;
    text-align: justify;
    font-size: small;

}

.contact__article {
    position: relative;



}

.contact__img {
    width: 200px;
    border-radius: 1.5rem;
}



.contact__data {
    width: 180px;
    background-color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    text-align: center;
    border-radius: 1rem;
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    opacity: 0;
    transition: opacity 1s 1s;
}

.contact__description {
    display: block;
    font-size: 11px;
    margin-bottom: .25rem;
    text-align: center;
}

.contact__title {
    font-size: var(--h2-font-size);
    font-weight: 500;
    color: black;
    margin-bottom: .75rem;
}

.contact__button {
    text-decoration: none;
    font-size: var(--small-font-size);
    font-weight: 500;
    color: rgb(61, 59, 59);
}

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

/* nomeando animações em hover */
.contact__article:hover .contact__data {
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity .3s;
}

.contact__article:hover {
    animation: remove-overflow 1s forwards;
}

.contact__article:not(:hover) {
    animation: show-overflow 0s forwards;
}

.contact__article:not(:hover) .card__data {
    animation: remove-data 0s forwards;
}

@keyframes show-data {
    50% {
        transform: translateY(-10rem);
    }

    100% {
        transform: translateY(-7rem);
    }
}

@keyframes remove-overflow {
    to {
        overflow: initial;
    }
}

@keyframes remove-data {
    0% {
        transform: translateY(-7rem);
    }

    50% {
        transform: translateY(-10rem);
    }

    100% {
        transform: translateY(.5rem);
    }

}

@keyframes show-overflow {
    0% {
        overflow: initial;
        pointer-events: none;
    }

    50% {
        overflow: hidden;
    }
}

/* smalldevices contact */
@media screen and (max-width:340px) {
    .contact__container1 {
        margin-inline: 1rem;
    }

    .contact__data {
        width: 250px;
        padding: 1rem;

    }
}

@media screen and (min-width:768px) {

    .contact__container2 {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.5rem;
    }

}

@media screen and (min-width:1000px) {

    .contact__container2 {


        grid-template-columns: repeat(3, 1fr);
        column-gap: 1.5rem;
    }






}





/*=============== FOOTER ===============*/
.footer {
    padding-top: 2rem;
}

.footer__container {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.6rem;
}

.footer__bg {
    background-color: var(--box-color);
    padding: 3rem 0 3.5rem;
}

.footer__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-0-25);
}

.footer__subtitle {
    font-size: var(--small-font-size);
}

.footer__links {
    display: flex;
    justify-self: center;
    column-gap: 2rem;
}

.footer__links li a {
    color: white;
}

.footer__links li a:hover {
    color: rgb(201, 0, 0);
}

.footer__link:hover {}

.footer__socials {
    justify-self: flex-end;
}

.footer__socials i {
    color: white;
}

.footer__socials i:hover {
    color: rgb(201, 0, 0);

}

.footer__social {
    font-size: 1.25rem;
    margin-right: var(--mb-1-5);
}

.footer__social:hover {
    color: white;
}

.footer__copy {
    font-size: var(--smaller-font-size);
    text-align: center;
    margin-top: 4.5rem;
}






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


/* Show Scroll Up*/


/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: .60rem;
    background-color: var(--scroll-bar-color);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: .5rem;

}

/*========== BREAKPOINTS ==========*/
/* For Large Devices */
@media screen and (max-width: 1408px) {
    .container {
        margin-left: var(--mb-2-5);
        margin-right: var(--mb-2-5);
    }
}

@media screen and (max-width: 1216px) {
    .about__container {
        column-gap: 2.5rem;
    }

    .about__description {
        padding-right: 0;
    }

    .work__container {
        grid-template-columns: repeat(3, 230px);
        gap: 2.5rem;
    }

}

@media screen and (max-width: 1024px) {
    .container {
        margin-left: var(--mb-1-5);
        margin-right: var(--mb-1-5);
    }




    .sidebar {
        width: 100%;
        z-index: 1;
        height: 100%;
        transform: translate(-100%);


    }

    .show-sidebar {
        transform: translateX(0);
    }


    .nav__logo,
    .btn__share {
        display: none;
    }

    .nav__menu {
        height: 100%;
        width: 100%;
        transform: rotate(0deg) translate(0);
        display: flex;
        justify-content: center;

    }

    .main {
        margin-left: 0;
    }



    .about__container {
        grid-template-columns: 1fr;
        row-gap: 2.5rem;
    }

    .about__img {
        width: 350px;
    }

    .about__info {
        flex-direction: column;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .about__data {
        text-align: center;
    }

    .about__box {
        padding: .75rem .5rem;
    }

    .about__description {
        padding: 0 4rem;
        text-align: center;

    }

    .qualification__container {
        grid-template-columns: repeat(2, 290px);

    }

    .skills__container {
        grid-template-columns: 180px 180px;
    }

    .skills__list {
        row-gap: 1.7rem;
    }

    .work__container {

        grid-template-columns: repeat(2, 180px);
        gap: 1.8rem;
        justify-content: center;
        padding-top: 1rem;
    }

    .work__card {
        padding: 1rem;
    }

    .work__img {
        margin-bottom: var(--mb-0-75);
    }

    .work__title {
        margin-bottom: var(--mb-0-25);
    }

    .services__container {
        grid-template-columns: repeat(2, 200px);
        font-size: 8px;
        text-align: justify;

    }

    .services__content {
        margin-top: 5px;

    }




    .services__modal {
        margin-top: 5px;
    }

    .nav__list {
        flex-direction: column;
        height: 100%;
        justify-content: center;
        align-items: center;

    }

    .nav__link {
        padding: 1rem 0;
        line-height: 1.5;
    }

    .nav__close {
        display: block;
    }

    .nav__togle {
        display: flex;
    }

    .nav__close {
        display: block;
    }

    .main {
        margin-left: 0;
    }

    .about__img {
        width: 350px;
    }

    .testimonial__card {
        background-color: var(--box-color);
        padding: 1.8rem 2rem;
        border-radius: .5rem;
        margin-bottom: 3rem;
        align-content: center;
        max-width: 80%;
    }

    .portfolio__item-details {
        margin-bottom: var(--mb-1-5);
    }

    .details__info li {
        margin-bottom: var(--mb-0-5);

    }

    .details__title {
        margin-bottom: var(--mb-0-75);
    }


}

/* For Medium Devices */
@media screen and (max-width: 768px) {
    .about__img {
        width: 250px;
    }

    .qualification__container {
        grid-template-columns: 290px;
        row-gap: 3rem;
    }

    .skills__container {
        grid-template-columns: 300px;
        row-gap: 3rem;
    }

    .work__container {
        grid-template-columns: 300px;
    }

    .services__container {
        grid-template-columns: 300px;
    }

    .services__content {
        padding: 3.5rem .5rem 1.25rem 1.5rem;
    }

    .services__icon {
        font-size: 1.5rem;
    }

    .contact__section {
        margin-top: 5px;
    }

    .footer__container {
        padding: 3.5rem .5rem 1.25rem 1.5rem;
        grid-template-columns: 300px;
        row-gap: 3rem;
        justify-content: center;
    }

    .footer__socials {
        padding: 1.5rem .5rem .5rem 1.5rem;
    }

    .footer__social i {
        padding: 1.5rem .5rem .5rem 1.5rem;
    }

    .portfolio__popup-inner {
        width: 420px;
        padding: 2.8rem 1.5rem 2, 5rem;
    }

    .portfolio__popup-content {
        grid-template-columns: 1fr;
        row-gap: 1.6rem;
    }

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

    .portfolio__popup-close {
        top: .5rem;
    }






}



/* For Small Devices */
@media screen and (max-width: 350px) {}
