/* ================= GOOGLE FONTS =================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Heebo:400,700|Open+Sans:400,700');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500&display=swap');

/* ======================== CSS VARIABLE ====================*/

:root {
    --header-height: 4rem;

    --hue-color: 145;

    /* HSL color mode */
    /* --main-color: hsl(--hue-color, 69%, 61%);   */

    --first-color: hsl(var(--hue-color), 69%, 61%);
    --first-color-second: hsl(var(--hue-color), 69%, 61%);
    --first-color-alt: hsl(var(--hue-color), 57%, 53%);
    --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: hsl(var(--hue-color), 8%, 45%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(var(--hue-color), 70%, 96%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: #F1EBE2;
    --white-color: #fff;
    --home-shadow-box: 0px;
    --footer-bg-color: hsl(var(--hue-color), 30%, 8%);
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

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

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

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

    /*======= Margenes Bottom =======*/
    /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
    --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-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;

}


/* ==== Font size for large devices ====== */
@media screen and (min-width: 968px) {
    :root {
        --big-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;
    }
}

/* ==== VARIABLES Dark Theme ====== */
body.dark-theme {
    /* HSL color mode */
    --first-color-second: hsl(var(--hue-color), 30%, 8%);
    --title-color: hsl(var(--hue-color), 8%, 95%);
    --text-color: hsl(var(--hue-color), 8%, 75%);
    --input-color: hsl(var(--hue-color), 29%, 16%);
    --body-color: hsl(var(--hue-color), 28%, 12%);
    --container-color: hsl(var(--hue-color), 29%, 16%);
    --white-color: hsl(var(--hue-color), 29%, 16%);
    --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
    --home-shadow-box: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 0 var(--header-height) 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    transition: .5s;
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

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


/*==================== REUSABLE CSS CLASSES ====================*/
.section {
    padding: 4rem 0;
    transition: .5s;
}

.section__title {
    font-size: var(--h1-font-size);
    color: var(--title-color);
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-3);
}

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


/*==================== LAYOUT ====================*/
.container {
    max-width: 768px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

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

.header {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--body-color);
    transition: .5s;
}


/*==================== NAV ====================*/

.nav {
    /* max-width: 986px; */
    max-width: 800px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo,
.nav__toggle {
    color: var(--title-color);
    font-weight: var(--font-medium);
}

.nav__logo {
    width: 100%;
    cursor: default;
    opacity: 0;
    transition: .5s;
    height: 34px;
    overflow: hidden;
}

#nav__logo_light {
    width: 100%;
    height: 100%;
    background-position: left;
    margin-left: 10%;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../img/JakubDuraLogo.png);
}

#nav__logo_dark {
    display: none;
    width: 100%;
    height: 100%;
    background-position: left;
    margin-left: 10%;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../img/JakubDuraLogoDark.png);
}


.nav__logo-a {
    width: 100%;
}

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

.nav__toggle {
    display: flex;
    gap: .5rem;
    font-size: 1.1rem;
    cursor: pointer;
}

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

.nav__switch-lang {
    display: flex;
    justify-content: center;
}

.switch__wrapper {
    position: relative;
    display: inline-block;
    width: 82px;
    height: 100%;
    background: var(--white-color);
    border: 1px solid #ebebeb;
    box-sizing: border-box;
    border-radius: 28px;
}

.switch__wrapper input {
    display: none;
}

.switch__wrapper input:checked+.switch__slider:before {
    transform: translateX(40px);
}

.switch__wrapper input:checked~div:after {
    color: #ffffff;
    transition: color 0.3s ease 0s;
}

.switch__wrapper input:checked~div:before {
    color: #919191;
    transition: color 0.3s ease 0s;
}

.nav__switch-lang div::before {
    content: "PL";
    position: relative;
    z-index: 5;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    left: 10px;
    cursor: pointer;
    transition: color 0.3s ease 0s;
}

.nav__switch-lang div::after {
    content: "EN";
    position: relative;
    z-index: 5;
    font-weight: 700;
    font-size: 1.1rem;
    color: #919191;
    left: 30px;
    cursor: pointer;
    transition: color 0.3s ease 0s;
}

.switch__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.4s;
    border-radius: 34px;
}

.switch__slider::before {
    position: absolute;
    content: "";
    width: 40px;
    height: 100%;
    background-color: var(--first-color);
    transition: all 0.4s ease 0s;
    border-radius: 28px;
}


@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: var(--body-color);
        padding: 2rem 1.5rem 4rem;
        box-shadow: 0 -1px 4px rgba(0, 0, 0, .15);
        border-radius: 1.5rem 1.5rem 0 0;
        transition: .3s;
    }

    .active-link {
        box-shadow: 1px 2px 2px 2px var(--first-color);
        border-radius: 1rem;
    }
}

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

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--normal-font-size);
    color: var(--title-color);
    font-weight: var(--font-medium);
    transition: all 0.4s ease;
}

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

}

.nav__icon {
    font-size: 1.5rem;
}

.nav__close {
    position: absolute;
    right: 1.3rem;
    bottom: .5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--first-color);
}

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

.show-menu {
    bottom: 0;
}

.blur-section {
    filter: blur(3px);
}

/*  ACTIVE LINK */
.active-link {
    color: var(--first-color);
    transition: .2s;
}

/*  CHANGE HEADER BG */
.scroll-header {
    /* box-shadow: 0 -1px 4px rgba(0, 0, 0, .15); */
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* LOGO APPEAR*/
.scroll-logo {
    opacity: 1;
    height: 40px;
    cursor: pointer;
}


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


.home {
    background-position: top;
    background-size: 140%;
    height: 90vh;
    background-image: url("../img/home_background.webp");
    background-repeat: no-repeat;
    background-position: top;
    padding: 2rem 0;
    box-shadow: inset 0 0 var(--home-shadow-box) #000;
}

.home__container {
    height: 85vh;
    gap: .5rem;
}

.header__divider {
    display: none;
    height: 72px;
    width: 100%;
}

.home__content {
    grid-template-columns: 5fr 0.5fr;
    padding-top: 0;
    margin-top: 0;
    padding-bottom: 0;
    align-items: center;
    /* background-image: url("../img/kuba.png"); */
    background-repeat: no-repeat;
    background-size: 100%;
    row-gap: 0;
}

.home__data {
    grid-column: 1;
    grid-row: 1;
}

.home__social {
    display: grid;
    grid-template-columns: max-content;
    row-gap: 1rem;
    grid-column: 2;
    grid-row: 2;
    align-self: end;
}

.home__social-icon {
    font-size: 1.25rem;
    color: var(--first-color);
    font-size: 1.7rem;
    filter: drop-shadow(0 0 0.75rem var(--first-color));
}

.home__social-icon:hover {
    color: var(--first-color-alt);
}

.home__data img {
    max-width: 70%;
    padding-bottom: 1rem;
}

.home__data h2 {
    font-weight: 400;
    color: #000;
    font-size: var(--h3-font-size);
}

.home__title {
    font-size: var(--big-font-size);
}

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

.home__description {
    display: none;
    color: hsl(var(--hue-color), 8%, 45%);
}


.home__data_mobile {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
    gap: 1rem;
    grid-column: 1;
    grid-row: 2;
}

.wave_hand {
    animation-name: wave-hand;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    transform-origin: 70% 70%;
    display: inline-block;
}

.home__description_mobile {
    padding: 1rem 0;
    display: none;
}

.home__quote {
    display: flex;
    height: auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--text-color);
    background-color: var(--white-color);
    border-radius: .5rem;

}

.quote {
    font-size: 2rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    line-height: 2.6rem;
}

.home__data .button--flex {
    padding: .5rem 1rem;
    margin: 2rem 0;
}

.home__scroll {
    display: block;
    text-align: center;
}


.home__scroll-button {
    color: var(--first-color);
    transition: 0.3s;
    gap: .5rem;
}

.home__scroll-button:hover {
    transform: translateY(0.25rem);
}

.home__scroll-mouse {
    font-size: 2rem;
}

.home__scroll-name {
    font-size: var(--small-font-size);
    color: var(--text-color);
    color: var(--text-color);
    font-weight: var(--font-medium);
    margin-right: var(--mb-0-25);
}

.home__scroll-arrow {
    font-size: 1.25rem;
}

/*==================== BUTTONS ====================*/

.button {
    display: inline-block;
    background-color: var(--first-color);
    color: #fff;
    padding: 1rem;
    border-radius: .5rem;
    font-weight: var(--font-medium);
}

.button:hover {
    background-color: var(--first-color-alt);
}

.button__icon {
    font-size: 1.25rem;
    margin-left: var(--mb-0-5);
    transition: .3s;
}

.button--white {
    background-color: var(--white-color);
    color: var(--first-color);
}

.button--white:hover {
    background-color: #fff;
}

.button--flex {
    display: inline-flex;
    align-items: center;
}

.button--small {
    padding: .75rem 1rem;
}

.button--link {
    padding: 0;
    background-color: transparent;
    color: var(--first-color);
}

.button--link:hover {
    background-color: transparent;
    color: var(--first-color-alt);
}

/* DARK / LIGHT */
.nav__btns {
    display: flex;
    align-items: center;
}

.change-theme {
    font-size: 1.25rem;
    color: var(--title-color);
    padding: 0 1.2rem;
    cursor: pointer;
}

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

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

.about__img {
    justify-self: center;
    margin-bottom: var(--mb-2-5);
}

.about__description {
    /* text-align: center; */
    text-align: justify;
    /* margin-bottom: var(--mb-2-5); */
}

.about__info {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: var(--mb-2-5);
}

.about__info-title {
    font-size: var(--h1-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

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

.about__info-title,
.about__info-name {
    display: block;
    text-align: center;
}

.about__buttons {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.about__buttons a {
    width: 70%;
}

.about__buttons .button__icon {
    padding-right: 1rem;
}

.about__buttons:hover .button__icon {
    transform: translateY(.25rem);
}

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

.skills__container {
    row-gap: 0;
}

.skills__header {
    display: flex;
    align-items: center;
    margin-bottom: var(--mb-2-5);
    cursor: pointer;
}

.skills__icon,
.skills__arrow {
    font-size: 2.5rem;
    color: var(--first-color);
}

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

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

.skillls__subtitle {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.skills__arrow {
    margin-left: auto;
    transition: .4s;
}

.skills__list {
    row-gap: 1.5rem;
    padding-left: 2.7rem;
    padding-right: 1rem;
}

.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__box {
    display: flex;
    gap: 16px;
}

.skill__icon {
    font-size: 2rem;
}

.skills__data {
    width: 100%;
}

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

.skills__bar {
    background-color: var(--first-color-lighter);
}

.skills__percentage {
    display: block;
    background-color: var(--first-color);
}

/*======== WEB ========*/
.skills__html {
    width: 70%;
}

.skills__css {
    width: 65%;
}

.skills__js {
    width: 30%;
}

.skills__php {
    width: 30%;
}

.skills__wp {
    width: 85%;
}

/*======== ANDROID ========*/

.skills__java {
    width: 45%;
}

.skills__sdk {
    width: 50%;
}

.skills__xml {
    width: 70%;
}


.skills__sql {
    width: 50%;
}

/*======== OTHER ========*/

.skills__vegas {
    width: 80%;
}

.skills__photoshop {
    width: 25%;
}

.skills__cpp {
    width: 10%;
}

.skills__list {
    transition: all .5s;
}

.skills__close .skills__list {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .5s;
}

.skills__open .skills__list {
    max-height: 500px;
    opacity: 1;
    margin-bottom: var(--mb-2-5);
    transition: all .5s;
}

.skills__open .skills__arrow {
    transform: rotate(-180deg);
}

.skills__open {
    padding-bottom: 2rem;
}

/*====================   QUALIFICATION   ====================*/

.qualification__tabs {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: var(--mb-2);
}

.qualification__tabs-static {
    display: none;
}

.qualification__button {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    cursor: pointer;
}

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

.qualification__icon {
    font-size: 1.8rem;
    margin-right: var(--mb-0-25);
}

.qualification__data {
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    column-gap: 1.5rem;
}

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

.qualification__subtitle {
    display: inline-block;
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-1);
}

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

.qualification__rounder {
    display: inline-block;
    width: 13px;
    height: 13px;
    background-color: var(--first-color);
    border-radius: 50%;
}

.qualification__line {
    display: block;
    width: 1px;
    height: 100%;
    background-color: var(--first-color);
    transform: translate(6px, -7px);
}

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

.qualification__active[data-content] {
    display: block;
}

.qualification__button.qualification__active {
    color: var(--first-color-alt);
    border-bottom: 2px solid var(--first-color-alt);
}

/* ================= COURSES ==================== */

.courses__img {
    width: 100%;
    height: auto;
    border-radius: .5rem;
}

.courses__cert {
    width: 100%;
    border: 1px solid #e9e9e9;
    border-radius: .5rem;
}

.courses__cert:hover {
    transform: scale(1.05);
    transition: .4s;
}


.badge-img:hover {
    transform: scale(1.05);
    transition: .4s;
}

.courses__badges {
    display: grid;
    justify-content: space-between;
    gap: 1.5rem 0.5rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, max-content);
}

.courses__certs {
    grid-column: 1/3;
    grid-row: 1 / 2;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.courses__outside {
    grid-column: 1 / 3;
    grid-row: 6;
}

.courses__more-btn {
    grid-column: 1 / 3;
    grid-row: 7 / 8;
}

.courses__button {
    cursor: pointer;
    font-size: var(--normal-font-size);
    justify-content: center;
    width: 100%;
    padding: 1rem;
}

.courses__button:hover .button__icon {
    transform: translateX(.25rem);
}

.courses__button img {
    width: 20px;
    margin-right: 6px;
}



/*==================== PORTFOLIO ====================*/
.portfolio__container {
    overflow: initial;
}

.portfolio__content-1 {
    padding: 0 0;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, max-content);
    gap: .5rem;
}

.portfolio__img {
    grid-column: 1;
    grid-row: 4 / 5;
    padding-top: .5rem;
}

.portfolio__img img {
    width: 100%;
    border-radius: .5rem;
}

.portfolio__gif {
    grid-column: 1;
    grid-row: 2 / 3;
    text-align: center;
    padding: 2rem 0;
}

.portfolio__gif video {
    width: 265px;
    border-radius: 30px;
    justify-self: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.portfolio__data-main {
    grid-column: 1;
    grid-row: 1 / 2;
}

.portfolio__data-description {
    grid-column: 1;
    grid-row: 3 / 4;
}

.portfolio__data-extra {
    grid-column: 1;
    grid-row: 5 / 6;
}


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

.portfolio__description {
    margin-bottom: var(--mb-0-75);
    text-align: justify;
}

.portfolio__content-2 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, max-content);
    padding: 0 0;
    margin-top: 4rem;
    gap: 1rem;
}

.portfolio__personality-img {
    grid-column: 1;
    grid-row: 2;
    border-radius: .4rem;
    height: max-content;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.portfolio__data-personality {
    grid-column: 1;
    grid-row: 1;
    padding: .5rem;
}

.portfolio__description-personality {
    grid-column: 1;
    grid-row: 3;
    padding: .5rem;
}

.portfolio__personality-btn {
    grid-column: 1;
    grid-row: 4;
    padding: .5rem;
}

/* content 4 */

.portfolio__content-4{
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, max-content);
    padding: 0 0;
    margin-top: 4rem;
    gap: 1rem;
}

.portfolio__data-intercity{
    grid-column: 1;
    grid-row: 1;
    padding: .5rem;
}

.portfolio__description-intercity{
    grid-column: 1;
    grid-row: 3;
    padding: .5rem;
}

.portfolio__intercity-img{
    grid-column: 1;
    grid-row: 2;
    border-radius: .4rem;
    height: max-content;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio__intercity-img img{
    height: auto;
}

.portfolio__intercity-btn {
    grid-column: 1;
    grid-row: 4;
    padding: .5rem;
}

.portfolio__intercity-btn a img{
width: 20px;
margin-right: 8px;
}

/* content 5 */

.portfolio__content-5{
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, max-content);
    padding: 0 0;
    margin-top: 4rem;
    gap: 1rem;
}

.portfolio__data-products{
    grid-column: 1;
    grid-row: 1;
    padding: .5rem;
}

.portfolio__description-products{
    grid-column: 1;
    grid-row: 4;
    padding: .5rem;
}

.portfolio__products-img-1{
    grid-column: 1;
    grid-row: 2;
    border-radius: .4rem;
    height: max-content;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.portfolio__products-img-2{
    grid-column: 1;
    grid-row: 3;
    border-radius: .4rem;
    height: max-content;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.portfolio__products-img img{
    height: 400px;
}

.portfolio__products-btn {
    padding: 1rem;
}

.portfolio__products-btn a img{
width: 20px;
margin-right: 8px;
}

.portfolio__button:hover .button__icon {
    transform: translateX(.25rem);
}

.portfolio__content-3 {
    padding: 0 0;
    margin-top: 4rem;
    grid-template-columns: max-content 1fr;
    gap: 1rem;
}

.portfolio__data-3 {
    grid-column: 1/3;
    grid-row: 1;
}

.portfolio__description-3 {
    grid-column: 2;
    grid-row: 2;
}



.lang-box {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 1rem;
}


.lang {
    display: flex;
    align-items: center;
    font-size: var(--small-font-size);
    border: 1px solid;
    border-radius: .8rem;
    padding: 2px 8px;
}

.lang img {
    width: 20px;
    margin-right: 2px;
}

.lang-icon {
    font-size: 1.1rem;
    margin-right: 2px;
}


/*------------MINI WEB BOX ------------*/
#web-box-container {
    position: relative;
    width: 25vw;
    height: 25vh;
    grid-column: 1;
    grid-row: 2;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 8px 8px;
    padding: 0 0px;
    background-color: var(--first-color);
}

.web-box-header {
    background-color: #fff;
    position: relative;
    background-position: center;
    width: 100%;
    height: max-content;
    z-index: 2;
    visibility: hidden;
}

.web-box-header img {
    box-shadow: 0 4px 2px -2px rgba(182, 181, 181, 0.925);
}


#web-box-background {
    position: relative;
    height: 100%;
    width: 100%;
    background-image: url(../img/jakubdura_ss_transparent.png);
    background-position: top center;
    background-attachment: scroll;
    background-size: cover;
    z-index: 2;
    padding: 0 0px;
}

#cursor {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent var(--first-color-alt);
    filter: drop-shadow(5px 5px 1px #A3A3A3);
    z-index: 3;
}

#touch-cursor {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--first-color);
    border-radius: 50%;
    transition: 0.3s ease-out;
    z-index: 3;
}

.pulse-animation {
    animation: pulse 1s;
}

.color-picker {
    display: flex;
    align-items: center;
}

#colorPicker {
    margin: 0 1rem;
    width: 50px;
    cursor: pointer;
}

.color-picker-reset-btn {
    cursor: pointer;
}

/*==================== PORTFOLIO WP ====================*/
.portfolio_wp {
    padding: 2rem 0 0rem;
}

.portfolio__container-wp {
    margin-left: 0;
    margin-right: 0;
}

.portfolio__content-wp {
    display: grid;
    grid-template-rows: 2fr 1fr;
    grid-template-columns: 1fr;
    gap: 0;
}

.portfolio__content-box {
    display: grid;
    justify-content: space-evenly;
    grid-column: 1;
    grid-row: 1;
    background-color: var(--white-color);
    border-radius: .5rem;
    margin: 5% 10%;
    padding: 0.5rem;
    box-shadow: none;

}

.portfolio__data {
    padding: 0.5rem;
}

.portfolio__data .portfolio__description {
    text-align: left;
}

.portfolio__data-item {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0.5rem;
}

.portfolio__data-item img {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.swiper-button-next {
    color: var(--first-color);
    top: 16%;
    right: 0px;
}

.swiper-button-prev {
    color: var(--first-color);
    top: 16%;
    left: 0px;
}

.swiper-pagination-bullet-active {
    background-color: var(--first-color);
}

.swiper-pagination-wp {
    top: 10px;
}

.portfolio_wp-bg {
    grid-column: 1;
    grid-row: 2;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 0px 0px;

    animation-duration: 10s;
    animation-name: scrollBackground;
    animation-iteration-count: infinite;
}

.portfolio_wp-bg-gradient {
    background-image: linear-gradient(to left, #000000eb, #fff0);
    width: 100%;
    height: 100%;
    display: none;
}

/*==================== PROJECT IN MIND ====================*/

.project {
    text-align: center;
    padding: 1rem 0;
}

.project__container {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    padding: 0 0;
    margin-top: 2rem;
    align-items: center;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}


.project__bg {
    background-color: var(--first-color-second);
}

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

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

.project__title,
.project__description {
    color: #fff;
}

.project__img {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    justify-self: center;
    border-radius: .5rem;
    margin-top: 1rem;
    /* border-radius: 1rem; */
}

.project__btn {
    grid-column: 2;
    grid-row: 2;
    padding-bottom: 1rem;
}

.project__data {
    padding-top: 1rem;
    grid-row: 1/3;
}


.button--white:hover .button__icon {
    transform: scale(1.2);
}

/*==================== CARD WRAPPER ====================*/

.services__card {
    display: flex;
    flex-direction: column;
    margin: 4rem 1rem 2rem 1rem;
    box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
    margin: 4rem 0rem 2rem 0rem;
    background: var(--white-color);
    line-height: 1.4;
    font-family: sans-serif;
    border-radius: 5px;
    overflow: hidden;
}

.services__card:hover .photo {
    transform: scale(1.1) rotate(1deg);
}

.services__card .meta {
    position: relative;
    z-index: 0;
    height: 200px;
}

.services__card .photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}

.services__card .services__photo {
    background-position: 50% 30%;
}

.services__card .description {
    padding: 1rem;
    position: relative;
}

.services__card .description h1,
.services__card .description h2 {
    font-family: 'Heebo';
}

.services__card .description h1 {
    line-height: 1;
    margin: 0;
    font-size: 1.7rem;
}

.services__card .description h2 {
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #a2a2a2;
    margin-top: 5px;
}

.services__card p {
    position: relative;
    margin: 1rem 0 0;
}

.services__card p:first-of-type {
    margin-top: 1.25rem;
}

.services__video {
    width: 400px;
    line-height: 0;
}

.services__video-card {
    display: flex;
    flex-direction: column;
    margin: 4rem 0rem 2rem 0rem;
    box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
    background: var(--white-color);
    line-height: 1.4;
    font-family: sans-serif;
    border-radius: 5px;
    overflow: hidden;
}

#servicesVideo {
    position: relative;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.services__video-card .description {
    padding: 1rem;
    background: var(--white-color);
    position: relative;
}

.services__video-card .description h1,
.services__video-card .description h2 {
    font-family: 'Heebo';
}

.services__video-card .description h1 {
    line-height: 1;
    margin: 0;
    font-size: 1.7rem;
}

.services__video-card .description h2 {
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #a2a2a2;
    margin-top: 5px;
}

.services__video-card p {
    position: relative;
    margin: 1rem 0 0;
}

.services__video-card p:first-of-type {
    margin-top: 1.25rem;
}


/*==================== SERVICES ====================*/
.services__container {
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

.services__content {
    position: relative;
    background-color: var(--container-color);
    padding: 3.5rem .5rem 1.25rem 1.5rem;
    border-radius: .25rem;
    box-shadow: 0 2px 4 px rgba(0, 0, 0, .15);
    transition: .3s;
}

.services__content:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
}

.services__icon {
    display: block;
    font-size: 1.5rem;
    color: var(--first-color);
    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 {
    cursor: pointer;
    font-size: var(--normal-font-size);
    font-weight: 500;
}

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

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

.services__modal-container {
    position: relative;
    width: 96vw;
    height: max-content;
    max-height: 98vh;
    background-color: var(--white-color);
    padding: .5rem; 
    border-radius: .5rem;
}

.services__modal-content {
    height: 95%;
    align-content: space-around;
    gap: 0;
}

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

.services__modal-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
}

.services__modal-tag {
    padding: 3px;
    margin: .4rem;
    font-size: 0.9rem;
    border: 1px solid;
    border-radius: .5rem;
}

.services__modal-tag::before {
    content: "#";
    color: var(--first-color);
    padding-right: 4px;
}

.services__modal-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    font-size: 2rem;
    color: var(--first-color);
    cursor: pointer;
}

.services__modal-step {
    display: flex;
    font-size: 1rem;
    padding-top: .5rem;
}

.services__modal-step-number {
    color: var(--first-color);
    font-size: 1.2rem;
    padding: 8px;
}

.services__modal-description {
    padding: 8px;
}

/*==================== ACTIVE MODAL ====================*/

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

/*==================== TESTIMONIAL ====================*/
.testimonial__data,
.testimonial__header {
    display: flex;
}

.testimonial__box {
    display: grid;
    grid-template-columns: max-content 1fr;
    padding-top: 2rem;
}

.testimonial__data {
    flex-direction: column;
    grid-column: 2;
    grid-row: 1;
    justify-content: space-between;
    margin-bottom: var(--mb-1);
}

.testimonial__img {
    grid-column: 1;
    grid-row: 1;
    width: 80px;
    height: 80px;
    margin-right: 10px;
    border-radius: 50%;
    margin-right: var(--mb-0-75);

}

.testimonial__description-content {
    grid-column: 1/3;
    padding-top: 1rem;
}

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

.testimonial__client {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.testimonial__description {
    margin-bottom: var(--mb-2-5);
}

.testimonial__icon-star {
    color: var(--first-color);
}

.testimonial__container .swiper-pagination {
    bottom: 1rem;
    top: auto;
}

/*==================== CONTACT ME ====================*/
.contact__container {
    row-gap: 3rem;
}

.contact__call {
    padding: 4px;
    margin-left: 6px;
    background-color: var(--first-color);
    color: #fff;
    border: 1px solid var(--first-color-second);
    border-radius: .2rem;
}

.contact__email {
    display: flex;
}

.copy__btn {
    padding: 0 6px;
    position: relative;
    display: inline-block;
}

#copyButton {
    background-color: var(--first-color);
    color: #fff;
    border: 1px solid var(--first-color-second);
    border-radius: .2rem;
    padding: 4px;
}

.copy__btn .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: gray;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.copy__btn .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--first-color-alt) transparent transparent transparent;
}

.copy__btn:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.contact__information {
    display: flex;
    margin-bottom: var(--mb-2);
}

.contact__icon {
    font-size: 2rem;
    color: var(--first-color);
    margin-right: var(--mb-0-75);
}

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

.contact__subtitle {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.contact__content {
    background-color: var(--input-color);
    border-radius: .5rem;
    padding: .75rem 1rem .25rem;
}

.contact__label {
    font-size: var(--small-font-size);
    color: var(--title-color);
}

.contact__input {
    width: 100%;
    background-color: var(--input-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    border: none;
    outline: none;
    padding: .25rem .5rem .5rem 0;
}

.contact__info {
    padding: 10px 0;
}

.contact__picture {
    text-align: center;
    border-radius: .5rem;
}

.contact__picture img {
    width: 90%;
    border-radius: 50%;
}

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

.footer__container {
    grid-template-columns: 3fr 2fr;
    row-gap: 3.5rem;
}

.footer__bg {
    background-color: var(--footer-bg-color);
    padding: 2rem 0 1rem;
}

.footer__logo {
    width: 100%;
}

.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;
    flex-direction: column;
    row-gap: 1.5rem;
    text-align: end;
}

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


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

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

.footer__copy {
    font-size: var(--small-font-size);
    text-align: center;
    color: rgb(73, 73, 73);
    margin-top: var(--mb-3);
}

.footer__title,
.footer__subtitle,
.footer__link,
.footer__social {
    color: #fff;
}

/*==================== SCROLL UP ====================*/
.scrollup {
    position: fixed;
    right: 1rem;
    left: auto;
    bottom: -20%;
    background-color: var(--first-color);
    text-align: center;
    opacity: .8;
    padding: 0 .3rem;
    border-radius: .4rem;
    z-index: var(--z-tooltip);
    transition: .4s;
}

.scrollup:hover {
    background-color: var(--first-color-alt);
}

.scrollup__icon {
    font-size: 1.5rem;
    color: #fff;
}

/* SHOW STRETCH SCROLL */
.show-scroll {
    bottom: 5rem;
}

.stretch-scroll {
    opacity: 1;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-color-light);
}

/*=================================== MEDIA QUERIES ==================================*/
/* For small devices */
@media screen and (max-width: 350px) {
    .container {
        margin-left: var(--mb-1);
        margin-right: var(--mb-1);
    }

    .nav__menu {
        padding: 2rem .25rem 4rem;
    }

    .nav__list {
        column-gap: 0;
    }

    .home__content {
        grid-template-columns: .25fr 3fr;
    }

    .home__img {
        width: 180px;
    }

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

    .qualification__data {
        gap: .5rem;
    }

    .services__container {
        grid-template-columns: max-content;
        justify-content: center;
    }

    .services__content {
        padding-right: 3.5rem;
    }

    .services__modal {
        padding: 0 .5rem;
    }

    .project__img {
        width: 200px;
    }

    .testimonial__data,
    .testimonial__header {
        flex-direction: column;
        align-items: center;
    }

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

    .testimonial__data,
    .testimonial__description {
        text-align: center;
    }

}

/* For screens VH < 650 */
@media screen and (max-height: 650px) {
    .home__quote {
        display: none;
    }
}

/* For medium devices */
@media screen and (min-width: 568px) {
    .home__content {
        gap: 0;
    }

    .home__data {
        grid-column: initial;
    }

    .home__img {
        order: 1;
        justify-self: center;
    }

    .home__social {
        grid-row: 1;
        justify-content: end;
    }

    .about__container,
    .project__container,
    .contact__container,
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills__container {
        grid-template-columns: 1fr;
        justify-content: center;
        max-width: 480px;

    }

    .qualification__sections {
        display: grid;
        grid-template-columns: .6fr;
        justify-content: center;
    }

    .services__video {
        width: 100%;
    }

}

@media screen and (min-width: 768px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    body {
        margin: 0;
    }

    section {
        padding: 6rem 0 2rem;
    }

    .section__subtitle {
        margin-bottom: 4rem;
    }

    .header {
        top: 0;
        bottom: initial;
    }

    .header__divider {
        display: block;
    }

    .header,
    .main,
    .footer__container {
        padding: 0 1rem;
    }

    .nav {
        height: calc(var(--header-height) + .5rem);
        column-gap: 1rem;
    }

    .nav__icon,
    .nav__close,
    .nav__toggle {
        display: none;
    }

    .nav__list {
        display: flex;
        column-gap: 2rem;
    }

    .nav__menu {
        margin-left: auto;
    }

    .change-theme {
        margin: 0;
    }

    .home__container {
        row-gap: .5rem;
    }

    .home__content {
        column-gap: 2rem;
    }

    .home__quote {
        display: none;
    }

    .about__img {
        width: 270px;
    }

    .home__scroll {
        display: block;
        text-align: center;
    }

    .home__scroll-button {
        margin-left: 3rem;
    }

    .about__container {
        column-gap: 3rem;
    }

    .about__img {
        width: 350px;
    }

    .about__description {
        /* text-align: initial; */
        text-align: justify;
    }

    .about__info {
        justify-content: space-between;
    }

    .about__buttons {
        justify-content: initial;
    }

    .qualification__tabs {
        justify-content: center;
    }

    .qualification__tabs-static {
        display: none;
    }

    .qualification__button {
        margin: 0 var(--mb-1);
    }

    .qualification__sections {
        grid-template-columns: .5fr;
    }

    .courses__badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses__certs {
        grid-column: 1/2;
        grid-row: 1 / 2;
    }

    .courses__outside {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .courses__more-btn {
        grid-column: 1 / 3;
        grid-row: 7 / 8;
    }

    .services__container {
        grid-template-columns: repeat(3, 218px);
        justify-content: center;
    }

    .services__icon {
        font-size: 2rem;
    }

    /* .services__content {
        padding: 6rem 0 2rem 2.5rem;
    } */

    .services__modal-container {
        width: 450px;
    }

    .services__card {
        flex-direction: row;
        max-width: 768px;
    }

    .services__card .meta {
        flex-basis: 40%;
        height: auto;
    }

    .services__card .description {
        flex-basis: 60%;
    }

    .services__card .description:before {
        transform: skewX(-3deg);
        content: "";
        background: #fff;
        width: 30px;
        position: absolute;
        left: -10px;
        top: 0;
        bottom: 0;
        z-index: -1;
    }

    .services__card.alt {
        flex-direction: row-reverse;
    }

    .services__card.alt .description:before {
        left: inherit;
        right: -10px;
        transform: skew(3deg);
    }

    .portfolio__img {
        width: 320px;
    }


    .project {
        text-align: initial;
    }

    .project__container {
        background-color: var(--first-color-second);
        border-radius: 1rem;
        padding: 3rem 2.5rem 3rem;
        /* padding: 3rem 2.5rem 0rem; */
        grid-template-columns: 5fr 3fr;
        column-gap: 3rem;
    }

    .project__img {
        grid-column: 2;
        grid-row: 1/4;
        margin-top: 0rem;
    }

    .project__description {
        margin-bottom: 0;
    }

    .project__btn {
        grid-column: 1;
        grid-row: 3;
        padding-bottom: 1rem;
    }

    .project__data {
        padding-top: .8rem;
    }

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

    .footer__bg {
        padding: 3rem 0 3.5rem;
    }

    .footer__link {
        flex-direction: row;
        column-gap: 2rem;
    }

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

    .footer__copy {
        margin-top: 4.5rem;
    }

}

/* For large devices ============================== */

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

    .header,
    .main,
    .footer__container {
        padding: 0;
    }

    .home {
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: top;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        max-width: 1200px;
        padding: 5rem 0 0 0;
    }

    .home__container {
        gap: 2rem;
        height: auto;
        gap: 1.5rem;
    }

    .home__content {
        grid-template-columns: .5fr 3fr;
        padding-bottom: 1rem;
    }

    .home__data {
        grid-column: 1/3;
    }

    .home__data_mobile {
        display: none;
    }

    .home__description {
        margin: var(--mb-2) 0;
        display: block;
    }

    .home__data h2 {
        font-size: 1.5rem;
    }

    .home__data img {
        /* width: 320px; */
        max-width: 60%;
    }

    .home__social {
        transform: translateX(-6rem);
        grid-column: 1;
        grid-row: 1;
        align-self: auto;
        justify-content: start;
    }

    .home__social-icon {
        font-size: 2rem;
    }

    .home__scroll-name {
        color: hsl(var(--hue-color), 8%, 15%);
    }

    .qualification__button-static {
        font-size: var(--h3-font-size);
        font-weight: var(--font-semi-bold);
        color: var(--first-color);
    }

    .qualification__tabs-static {
        display: flex;
        justify-content: center;
        margin: 4rem 0 1rem;
    }

    .qualification__tabs {
        display: none;
    }

    .qualification [data-content] {
        display: block;
    }

    .about__buttons {
        justify-content: center;
    }

    .courses__badges {
        grid-template-columns: 2fr 2fr 2fr 1fr;
    }

    .courses__certs {
        grid-column: 3/5;
        grid-row: 1 / 3;
    }

    .courses__outside {
        grid-column: 3 / 5;
        grid-row: 3 / 6;
    }

    .courses__more-btn {
        grid-column: 1 / 3;
        grid-row: 5 / 6;
    }

    /* ---- content 1 -- */
    .portfolio__content-1 {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }

    .portfolio__gif {
        grid-column: 1 / 3;
        grid-row: 1 / 4;
        padding: 0 1rem;
    }

    .portfolio__data-main {
        grid-column: 3 / 6;
        grid-row: 1 / 2;

    }

    .portfolio__data-description {
        grid-column: 3 / 6;
        grid-row: 2 / 4;
    }

    .portfolio__data-extra {
        grid-column: 1 / 4;
        grid-row: 4 / 5;
    }

    .portfolio__img {
        grid-column: 4 / 6;
        grid-row: 3 / 5;
        align-self: end;
    }

    /* ---- content 2 -- */

    .portfolio__content-2 {
        grid-template-columns: 2fr 3fr;
        grid-template-rows: repeat(3, max-content);
    }

    .portfolio__personality-img {
        grid-column: 1 / 2;
        grid-row: 1 /4;
    }

    .portfolio__data-personality {
        grid-column: 2/3;
        grid-row: 1 / 2;
    }

    .portfolio__description-personality {
        grid-column: 2/3;
        grid-row: 2 / 3;
    }

    .portfolio__personality-btn {
        grid-column: 2/3;
        grid-row: 3 / 4;
    }

    /* ---- content 3 -- */

    .portfolio__data-3 {
        grid-column: 2;
        grid-row: 1;
    }

    #web-box-container {
        grid-column: 1;
        grid-row: 1/3;
    }

    .web-box-header {
        visibility: visible;
    }

    #touch-cursor {
        display: none;
    }

    #cursor {
        display: block;
    }
 /* ---- content 4 -- */

 .portfolio__content-4{
    grid-template-columns: auto 3fr;
    grid-template-rows: repeat(3, max-content);
    padding: 0 0;
    margin-top: 4rem;
    gap: 1rem;
}

.portfolio__data-intercity{
    grid-column: 2;
    grid-row: 1;
}

.portfolio__description-intercity{
    grid-column: 2/3;
    grid-row: 2 / 3;
}

.portfolio__intercity-img{
    grid-column: 1;
    grid-row: 1/4;
}

.portfolio__intercity-img img{
    height: 400px;
}


.portfolio__intercity-btn {
    grid-column: 2;
    grid-row: 3;
}

  /* ---- content 5 -- */

  .portfolio__content-5{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, max-content);
    padding: 0 0;
    margin-top: 4rem;
    gap: 1rem;
}

.portfolio__data-products{
    grid-column: 1;
    grid-row: 1/2;
    padding: .5rem;
}

.portfolio__description-products{
    grid-column: 1;
    grid-row: 2;
    padding: .5rem;
}

.portfolio__products-img-1{
    grid-column: 2;
    grid-row: 1;
    border-radius: .4rem;
    height: max-content;
}

.portfolio__products-img-2{
    grid-column: 2;
    grid-row: 2;
    border-radius: .4rem;
    height: max-content;
}

.portfolio__products-img img{
    height: 400px;
}


    /* ---- portfolio WP -- */


    .portfolio__content-wp {
        grid-template-columns: 45% 55%;
    }

    .portfolio__content-box {
        grid-column: 2;
        grid-row: 1;
        margin: 10% 10% 0 0;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .portfolio_wp-bg {
        background-size: 85%;
        background-color: white;
        grid-column: 1/3;
        grid-row: 1 /3;
    }

    .portfolio_wp-bg-gradient {
        display: block;
    }

    .swiper-button-prev {
        left: 40%;
    }

    .swiper-button-next {
        right: 1%;
    }

    .swiper-horizontal>.swiper-pagination-bullets {
        width: 50%;
        right: 5%;
        left: auto;
    }


    .project__container {
        grid-template-columns: 5fr 3fr;
        padding: 0;
    }

    /* --- SERVICES -- */
    .services__container {
        grid-template-columns: repeat(3, 238px);
    }

    .services__card {
        margin: 4rem 0rem 2rem 0rem;
    }

    .services__card .services__photo {
        background-position: 50% 50%;
    }

    .services__video-card {
        flex-direction: row;
        margin: 4rem 0rem 2rem 0rem;
    }

    /* -- testimonial-- */

    .testimonial__data {
        flex-direction: row;
    }

    .testimonial__img {
        grid-row: 1/3;
        width: 120px;
        height: 120px;
        margin-right: 20px;
    }

    .testimonial__description-content {
        grid-column: 2;
    }


    /* -- contact -- */

    .contact__container {
        row-gap: .5rem;
    }

    .contact__form {
        width: 460px;
    }

    .contact__inputs {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__info {
        padding: 50px 0;
    }

    .contact__picture {
        text-align: end;
    }

}


/*==================== Container 3 ====================*/
@media screen and (min-width: 1700px) {
    .portfolio__content-3 {
        grid-template-columns: 1fr;
        grid-template-rows: max-content;
    }

    #web-box-container {
        grid-column: 1;
        grid-row: 1;
    }

    .portfolio__data-3 {
        grid-column: 2;
        grid-row: 1;
    }

    .portfolio__description-3 {
        grid-column: 1/3;
        grid-row: 3;
    }

}




/*==================== ANIMATIONS ====================*/

@keyframes appear-anim {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scrollBackground {
    from {
        background-position: 0px 0px;
    }

    10% {
        background-position: 0px 0px;
    }

    50% {
        background-position: 0px -300px;
    }

    to {
        background-position: 0px 0px;
    }
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@keyframes spin-reverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes scale-logo {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

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

@keyframes pulse {
    from {
        box-shadow: 0px 0px 0px var(--first-color-lighter);
    }

    to {
        box-shadow: 0px 0px 0px 40px transparent;
    }
}

@keyframes wave-hand {
    0% {
        transform: rotate(0.0deg)
    }

    10% {
        transform: rotate(20.0deg)
    }

    20% {
        transform: rotate(-10.0deg)
    }

    30% {
        transform: rotate(20.0deg)
    }

    40% {
        transform: rotate(-6.0deg)
    }

    50% {
        transform: rotate(12.0deg)
    }

    60% {
        transform: rotate(0.0deg)
    }

    100% {
        transform: rotate(0.0deg)
    }
}