/* FONTES */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap');

/* STYLE */
:root {
    /* main colors */
    --first-color: #0a1010;
    --second-color: #6C149C;
    --third-color: #1B2229;
    --fourth-color: #FB9484;
    --fifth-color: #346474;

    /* hover colors */
    --hover-color: #1B2229;

    /* background colors */
    --body-bg-color: #f5f5f5;
    --card-bg-color: ##F1F1EF;
    --modal-bg-color: #fff;
    --bg-transparent-color: rgba(0, 0, 0, 0.1);
    --transparent-color-01: rgba(0, 0, 0, 0.1);
    --transparent-color-02: rgba(209, 89, 89, 0.1);
    --line-color: #d7d7d7;
    --other-bg-color: #f0e9e3;

    /* color filter */
    --color-filter: invert(1);

    /* box shadow */
    --box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);
    --box-shadow-2: 0px 0px 20px rgb(0 0 0 / 15%);

    /* font size */
    --small-font-size: 0.75rem;
    --normal-font-size: 0.85rem;

    /* gradients */
    --gradient-1: linear-gradient(135deg, var(--second-color) 0,var(--fifth-color) 51%,var(--fourth-color));

    /* scroll bar colors */
    --scroll-bar-color: #f5eee8;
    --scroll-thumb-color: #bfa89b;
    --scroll-thumb-hover-color: #951d34;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--first-color);
    background-image: var(--gradient-1);
    background-position: fixed;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 2rem 0 0 0;
    transition: .5s ease;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

/* Scroll to Top Button */
.scrollToTop-btn{
    z-index: 99999;
    position: fixed;
    right: 0;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background: var(--second-color);
    color: #fff;
    font-size: var(--small-font-size);
    border-radius: 3px;
    cursor: pointer;
    opacity: 0;
    transition: .5s ease;
}

.scrollToTop-btn.active{
    right: 20px;
    pointer-events: all;
    opacity: 1;
}


/* Scroll Bar */
::-webkit-scrollbar{
    width: 10px;
    background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb{
    background: var(--scroll-thumb-color);
    border-radius: 2em;
}

::-webkit-scrollbar-thumb:hover{
    background: var(--scroll-thumb-hover-color);
}


/* COMMON STYLE FOR ALL SECTIONS */
.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.section{
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
    margin-top: 150px;
}

.section-title-01 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: rem;
    background: linear-gradient(to top, transparent 0%, var(--first-color) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .1;
    text-align: center;
}

.section-title-02{
    font-size: 2.3rem;
    font-weight: 700;
    transform: translateY(-55px);
    text-align: center;
}

.section-title-02:before{
    content: '';
    position: absolute;
    width: 70px;
    height: 5px;
    right: 0;
    bottom: 0;
    background: var(--second-color);
    text-align: center;
}

.container {
    position: relative;
    flex-direction: column;
    gap: 0;
}

.btn {
    background: var(--second-color);
    color: white;
    font-size: var(--normal-font-size);
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 22px;
    letter-spacing: 1px;
    border-radius: 10px;
}

.btn:hover{
    background: var(--fourth-color);
    color: var(--hover-color);
}

.secondary-btn {
    padding: 7px 15px;
    background: var(--second-color);
    color: #fff;
    font-size: var(--normal-font-size);
    font-weight: 500;
    display: inline-block;
    margin-top: 15px;
    letter-spacing: 1px;
    border-radius: 10px;
    transition: .2s ease;
}
.secondary-btn:hover {
    background: #838e78;
    transform: translateX(10px);
    
}

/* ==== HEADER ==== */
header{
    z-index: 99999;
    width: 100%;
    position: fixed;
    top: 35px;
    margin: auto;
    transition: .6s ease;
    justify-content: center;
}

header.sticky{
    background: none;
    top: 0;
    width: 100%;
    margin: auto;
    justify-content: center;
    align-content: center;
}

.nav-bar{
    position: relative;
    height: calc(4rem + 1rem);
    max-width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    transition: .6s ease;
    background-color: var(--body-bg-color);
    border-radius: 10px 10px 0 0;
}

header.sticky .nav-bar{
    height: calc(2.5rem + 1rem);
    background: rgba(240, 240, 240, 0.911);
    width: 100%;
    box-shadow: var(--box-shadow-2);
    border-radius: 0 0 10px 10px;
    padding: 0 40px;
    justify-content: space-between;
}

header.sticky .nav-bar .logo{
    display: flex;
}

.nav-bar .logo {
    color: var(--first-color);
    font-size: 1.3rem;
    font-weight: 400;
    display: none;
}

.nav-items a{
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 500;
}

.nav-items a:not(:last-child){
    margin-right: 40px;
}

.nav-items a:hover{
    color: var(--second-color);
}

.nav-items a.active{
    color: var(--second-color);
    font-weight: 500;
}

.nav-items a.active:before{
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    bottom: 10px;
    background: var(--hover-color);
    transition: .6s ease;
}

.nav-menu-btn{
    display: none;
}

.download-btn{
    background-color: white;
    padding: 4px 15px;
    border-radius: 20px;
    display: none;
}

header.sticky .nav-bar .download-btn{
    display: inline-flex;
}

.download-icon{
    transition: .1s ease;
    margin-left: 5px;
}

.download-btn:hover .download-icon{
transform: translateY(2px);
}

.download-btn:hover{
    color: var(--second-color);
}

/*  ===== MEDIA ICONS  & EMAIL INFO - FIXED ===== */
.media-icons{
    display: flex;
    flex-direction: column;
    margin-right: 30px;
    position: fixed;
    left: 50px;
    top: 280px;
    z-index: 11111;
}

.media-icons::after{
    content: '';
    height: 600px;
    width: 1px;
    background-color: var(--body-bg-color);
    display: flex;
    transform: translateX(10px);
}

.media-icons a{
    color: var(--body-bg-color);
    font-size: 1.3rem;
    margin:  10px 0;
    text-align: center;
}

.media-icons a:hover{
    color: var(--hover-color);
}

.email-info {
    display: flex;
    flex-direction: column;
    margin-right: 30px;
    position: fixed;
    right: 20px;
    top: 0;
    z-index: 11111;  
}

.email-info a{
    color: var(--body-bg-color);
    font-size: 15px;
    margin:  0;
    text-align: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.email-info a:hover{
    color: var(--hover-color);
}

.email-info a::after{
    content: '';
    height: 400px;
    width: 1px;
    display: inline-flex;
    background-color: var(--body-bg-color);
    margin-top: 10px;
}



/* ==== HOME SECTION ==== */
.home {
    position: relative;
    max-width: 75%;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    justify-content: center;
    background-color: var(--body-bg-color);
    border-radius: 10px 10px 0 0; 
}

.home .home-container{
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    width: 90%;
    padding-top: 25px;
}

.home-info{
    text-align: center;
}

.home-info h2{
    font-size: 50px;
    font-weight: 300;
    line-height: 65PX;
}

.home-info h3{
    font-feature-settings: 1.3em;  
    font-weight: 500;  
    line-height: 50px;
}

.home-info h3:nth-child(3){
    margin-left: 30px;
}

.home-container.home-img{
    position: relative;
    max-width: 400px;
    height: auto;
}

.home-image {
    max-width: 270px;
}

.home-container.home-img img{
    max-width: 400px;
    width: 400px;
    height: auto;
}

.home .scroll-down{
    color: var(--first-color);
    font-size:var(--normal-font-size) ;
    margin-top: 20px;
}

.home .scroll-down i{
    color: var(--second-color);
    font-size: 1.2em;
    animation: arrow-down ease 2s infinite;
}

@keyframes arrow-down{
    0%{
        transform: translateX(0);
    }
    30%{
        transform: translateY(10px);
    }   
}


/* ==== PORTFOLIO SECTION ==== */
.portfolio{
    margin: auto;
    width: 75%;
    padding: 80px 0;
    background-color: var(--body-bg-color);
    align-items: center;
    display: flex;
}


.portfolio .portfolio-filter{
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.portfolio-filter button{
    border: none;
    background-color: transparent;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
    color: var(--first-color);
}

.portfolio-filter button.on{
    color: var(--first-color);
    position: relative;
}
.portfolio-filter button.on::before{
    content: '';
    position: absolute;
    bottom: -0.50rem;
    left: 45%;
    width: 0.3rem;
    height: 0.3rem;
    background-color: var(--second-color);
    border-radius: 50%;
}

.portfolio .portfolio-content{
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 25px;
}

.portfolio-content .portfolio-item{
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow-2);
    overflow: hidden;
    height: 280px;
}

.portfolio-item.hide{
    display: none;
}

.portfolio-item.show{
    display: block;
    animation: showItems 0.5s ease;
}

@keyframes showItems{
    0%{
        transform: scale(0.6);
        opacity: 0;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}

.portfolio-item img{
    width: 100%;
    height: auto;
    min-height: 280px;
    transition: 0.3s ease;
    object-fit: cover;
}

.portfolio-item:hover img{
    filter: gray; /* IE5+ */
    -webkit-filter: grayscale(1);
    transform: scale(1.4);
}

.portfolio-item .mask{
    background: linear-gradient(rgba(0, 0, 0, 0), black);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 25px;
    transform: translateY(100%);
    transition: 0.5s ease;
}

.portfolio-item:hover .mask{
    transform: translateY(0);

}

.portfolio-item .mask .term{
    color: var(--body-bg-color);
    background: rgba(153, 46, 46, 0.656);
    border-radius: 5px;
    padding: 3px 5px;
    font-size: 11px;
    display: inline-block;
    text-transform: capitalize;
    position: absolute;
    top: 0;
    right: 10px;
}

.portfolio-item .term{
    transform: translateX(100%);
    transition: 0.5s ease;
}
.portfolio-item:hover .term{
    transform: translateX(0);
}

.portfolio-item-title{
    font-size: 22px;
    letter-spacing: 1px;
}

.portfolio-item-title,
.portfolio-item-description{
    color: white;
    text-shadow: rgba(0, 0, 0, 0.714) 1px 3px 6px;
    text-align: center;
}

.mask .portfolio-item-buttons{
    display: inline-flex;
    gap: 10px;
}

.portfolio-item-buttons .btn{
    padding: 5px 10px;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow-2);
}

/* == PORTFOLIO PROJECT PAGES == */
.project{
    background-color: var(--body-bg-color);
    width: 75%;
    margin-top: 0;
    border-radius: 10px 10px 0 0;
}

.project .content{
    display: flex;
    flex-direction: column;
    width: 90%;
    justify-content: center;
    margin: auto;
    align-content: center;
    align-items: center
}

.project .project-top{
    display: flex;
}

.project .first-img{
    width: 60%;
}

.project .project-description{
    width: 40%;
}

.project-description p{
    margin: 25px 0 0 20px;
}

.first-img img{
    width: 100%;
    height: auto;
}

.project .image-gallery-1{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.image-gallery-1 img{
    width: 100%;
    height: auto;
 }

.project .image-gallery-2{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.image-gallery-2 img{
    width: 100%;
    height: auto;
}


/* ==== ABOUT SECTION ==== */
.about{
    background-color: var(--body-bg-color);
    width: 75%;
    margin-top: 0;
}

.about .container .content{
    margin-top: 40px;
    display: grid;
    grid-template-columns: 40% 60%;
    column-gap: 30px;
    width: 90%;
    align-items: start
}

.about-img{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.about-img img{
    height: auto;
    width: 80%;
    transform: translateY(-30px);
    margin: 20px 0;
    align-self: self-end;
}

.about-info .description h3{
    font-size: 1.6em;
    font-weight: 400;
    margin-bottom: 10px;
    transform: translateX(-70px);
    text-align: justify;
    font-family: 'Nanum Pen Script', cursive;
}

.about-info .description h4{
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 10px;
}

.about-info .description h4 span{
    color: var(--second-color);
}

.about-info .description p{
    color: var(--third-color);
    font-size: var(--normal-font-size);
    margin-bottom: 15px;
    padding-bottom: 25px;
    line-height: 25px;
}

.about-info .description p span{
    color: var(--second-color);
    font-weight: 500;
}

.about-me_content {
    max-width: 90%;
    align-content: center;
    justify-content: center;
}

.about-me_content .about-me-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-me-container .skills-header{
    background-color: var(--card-bg-color);
    border-radius: 50px;
    padding: 3px 20px;
}

.about-me-container .skills-list{
    padding: 0 15px;
    transition: .2s ease;
}

.about-me-container .skills-data{
    box-shadow: 0px 0px 10px rgb(0 0 0 / 10%);
}

.skills-portuguese{
    width: 100%;
}

.skills-english{
    width: 100%;
}

.skills-spanish{
    width: 80%;
}

.skills-italian{
    width: 30%;
}

.skills-castellano{
    width: 60%;
}

.edu-list .item{
    background: var(--card-bg-color);
    box-shadow: var(--box-shadow);
    border-bottom: 3px solid var(--second-color);
    padding: 20px;
    margin-top: 15px;
    border-radius: 6px;
    transition: .3s ease;
}

.edu-list .item .year{
    font-size: var(--small-font-size);
    margin-bottom: 5px;
}

.edu-list .item p{
    color: var(--third-color);
    font-size: var(--small-font-size);
}

.edu-list .item p span{
    color: var(--first-color);
    font-size: var(--normal-font-size);
    font-weight: 400;
}

.item h5{
    font-style: italic ;
}

.experience-card .upper{
    line-height: 30px;
}

.edu-list .item h3{
    line-height: 1.3em;
    font-weight: 500;
}

.edu-list .item h5{
    font-size: var(--small-font-size);
    font-weight: 400;
    font-style: italic;
}

.experience-card span {
    color: var(--third-color);
}

.experience-card .hr{
    width: 100%;
    height: 2px;
    background: var(--line-color);
    margin: 10px 0 22px;
}

.experience-card h4 label{
    background: none;
    color: var(--second-color);
    padding: 0;
    font-weight: 600;
}

.experience-card h4 {
    margin-bottom: 6px;
}

.edu-list .item:hover, .bar:hover, .experience-card:hover{
    transform: scale(1.03);
}


/* ==== NEW SKILLS SECTION ==== */
.skills{
    width: 75%;
    background-color: var(--body-bg-color);
    margin-top: 0;
    margin: auto;
    justify-content: center;
    align-items: center;
}

.skills-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    align-items: center
}

.skills .container .content{
    width: 90%;
}

.skills .section-title-02{
    margin-bottom: 60px;
}

.skills-img{
    width: 50%;
}


.skills-img img{
    width: 100%;
    height: auto;
}

.skills-container{
    row-gap: 0;
    width: 50%;
}

.skills-header,
.cv-header{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.skills-icon,
.skills-arrow{
    font-size: 1.8rem;
    color: var(--second-color);
}

.skills-icon{
    margin-right: 10px;
}

.skills-title{
    font-size: 14px;
}

.skills-subtitle{
    font-size: var(--small-font-size);
    color: var(--third-color);
}

.skills-arrow{
    margin-left: auto;
    transition: 1s ease;
}

.skills-list{
    row-gap: 2rem;
    padding-left: 2.7rem;
    
}

.skills-data{
    background-color: var(--card-bg-color);
    padding: 10px 15px 15px 15px;
    border-radius: 5px;
    margin-bottom: 12px;
    transition: .3s ease;
}

.skills-data:hover{
    transform: scale(1.05);
}

.skills-titles{
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}

.skills-name{
    font-size: 12px;
    font-weight: 400;
}

.skills-number{
    font-size: 12px;
    font-weight: 400;
}

.skills-bar,
.skills-percentage{
    height: 5px;
    border-radius: .25rem;
}

.skills-bar{
    background-color: var(--scroll-thumb-color);
}

.skills-percentage{
    display: block;
    background-color: var(--second-color);
}

.skills-html{
    width: 80%;
}

.skills-css{
    width: 85%;
}

.skills-js{
    width: 55%;
}

.skills-photoshop{
    width: 85%;
}

.skills-ui{
    width: 75%;
}

.skills-figma{
    width: 70%;
}

.skills-illustration{
    width: 98%;
}

.skills-close .skills-list{
    height: 0;
    overflow: hidden;

}

.skills-open .skills-list{
    height: max-content;
}


.cv-on .skills-list{
    height: max-content;
}
.cv-off .skills-list{
    height: 0;
    overflow: hidden;
}

.skills-open .skills-arrow{
    transform: rotate(180deg);
}

.skills-open,
.cv-on{
    margin-bottom: 35px;
    transition: .2s ease;
}


/* ==== CONTACT SECTION ==== */
.contact{
    background-color: var(--body-bg-color);
    margin: 0 auto;
    width: 75%;
}
.contact .container .content{
    display: flex;
    gap: 40px;
    justify-content: center;
    width: 90%;
    align-items: center;
    margin-bottom: 80px;
}

.contact-left{
    width: 40%;
}

.contact-left h2{
    font-size: 2.1em;
    margin-bottom: 75px;
}

.contact-list li{
    margin-bottom: 38px;
}

.contact-list li h3{
    font-size: 1em;
    margin-bottom: 10px;
}

.contact-list li h3 i{
    color: var(--second-color);
    font-size: 1.1em;
    margin-right: 10px;
}

.contact-list li span{
    color: var(--third-color);
    margin-left: 40px;
}
.contact-list li span a{
    color: var(--third-color);
}

.contact-right{
    width: 60%;
}
.contact-right p{
    color: var(--third-color);
    font-size: 1.2em;
    margin-bottom: 30px;
    text-align: right;
}

.contact-right p span{
    font-weight: 700;
}

.contact-form input, .contact-form textarea{
    border: none;
    color: var(--first-color);
    background: var(--transparent-color-01);
    font-size: var(--normal-font-size);
    margin-bottom: 20px;
    padding: 10px 20px 10px 10px;
    border-radius: 5px;
}

.contact-form textarea{
    width: 100%;
    resize: non;
}

::placeholder{
    color: var(--first-color);
}

.contact-form .btn {
    border: none;
    margin-top: 0px;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form .first-row input{
    width: 100%;
}

.contact-form .second-row {
    display: flex;
    justify-content: space-between;
}

.contact-form .second-row input{
    width: 48%;
}

/* ==== FOOTER SECTION ==== */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: var(--body-bg-color);
    width: 75%;
    margin-top: 0;
    margin-bottom: 50px;
    margin: 0 auto 50px;
    padding: 2.5rem 2rem;
    border-radius: 0 0 10px 10px;
}

.footer-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 80%;
    justify-content: center;
}

.footer-copyright{
    font-size: var(--normal-font-size);
    font-weight: 300;
    font-size: 12px;
    text-align: center;
}

.footer-social-media{
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    display: none;
}

/* ==========media queries============ */
@media screen and (max-width: 1070px) {
    /* == commom == */
   
    .section{
        margin-top: 0 !important;
    }

    /* == header navigation */
    .navigation {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: var(--transparent-color-01);
        visibility: hidden;
        opacity: 0;
        transition: .3s ease;

    }

    .navigation.active{
        visibility: visible;
        opacity: 1;
    }

    .navigation.active .nav-items{
        transform: translateY(0px);
    }

    .nav-items{
        position: relative;
        background: var(--other-bg-color);
        width: 300px;
        max-width: 500px;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 40px;
        margin: 20px;
        border-radius: 10px;
        box-shadow: var(--box-shadow);
        transform: translateY(-50px);
        transition: .3s ease;
        color: var(--first-color);
        text-transform: uppercase;
    }

    .nav-items a{
        margin: 20px;
    }

    .nav-close-btn {
        position: absolute;
        background: url(../images/icons8-close-x.svg)no-repeat;
        background-size: 22px;
        background-position: center;
        width: 40px;
        height: 40px;
        top: 0;
        right: 0;
        margin: 10px;
        cursor: pointer;
        display: block;
    }

    .nav-menu-btn {
        background: url(../images/icons8-menu.svg)no-repeat;
        transition: .6s ease;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: block;
    }

    .nav-bar{
        justify-content: space-between;
    }
    .nav-bar .logo{
        display: flex;
    }

    .nav-items a.active:before{
        display: none;
    }
 
    /* == media icons and email info */
    .media-icons{
        left: 26px;
        top: 280px;
    }

    .email-info {
        margin-right: 0;
        right: 30px;
    }

    .email-info a::before{
        height: 200px;
    }

    /* == HOME SECTION == */
    .home{
        margin-bottom: 30px;
        width: 90%;
        margin: auto;
    }

    .home-container {
        margin-bottom: 60px;
        gap: 15px;
    }

    .home-container .home-info h2{
        font-size: 50px;
        line-height: 60px;
    }

    .home-info h3{
        margin: 20px 0 10px 0;
        font-size: 22px;
        line-height: 30px;
        font-weight: 400;
    }

    .home-image{
        width: 100%;
    }

    /* == portfolio section */
    .portfolio{
        padding: 0;
    }

    /* == portfolio == */
    .portfolio .portfolio-content{
        grid-template-columns: repeat(2, 1fr);
    }
    

    /* == about section */
    .about .container .content{
        width: 100%;
    }

    .about-img img{
        width: 80%;
    }

    .about-info{
        min-width: 0;
        width: 90%;
    }

    .about-me-section{
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .about-me_content .about-me-container{
        display: block;
        width: 80%;
        align-items: center;
    }


    /* == contact section */
    .contact .contact-left{
        margin-bottom: 40px;
        width: 40%;
    }
    .contact-right{
        width: 60%;
    }
    .contact-form .second-row{
        flex-direction: column;
    }

    .contact-form .second-row input{
        width: 100%;
    }

    .contact-list li span{
        margin-left: 0;
        font-size: 14px;
    }

}

/* media queries smaller devices */
@media screen and (max-width: 730px) {
    /* == commom style for all sections */
    body{
        background-image: none;
        background-color: var(--body-bg-color);
    }

    .section-title-01{
        font-size: 3em;
    }

    .section-title-02{
        font-size: 1.8em;
        transform: translateY(-65px);
    }

    /* back to top */
    .scrollToTop-btn{
        display: none;
    }

    /* scroll down */
    .scroll-down{display: none;}

    /* == media icons and email info fixed */
    .media-icons{
        display: none;
    }
    
    .email-info {
        display: none;
    }
    
    /* == navbar == */
    .nav-bar{
        max-width: 100%;
    }

    .nav-close-btn{
        margin: 1px;
    }

    /* == home section */
    .home{
        max-width: 90%;
        margin-top: 100px;
        height: fit-content;
    }
    
    .home .home-container{
        justify-content: center;
        flex-direction: column;
    }
    

    .home-info h2{
        font-size: 40px !important; 
        margin-top: 40px;
        margin-bottom: 15px;
        text-align: center;
        line-height: 60px !important;
    }

    .home-info h3{
        font-size: 13px;
        margin: 0;
        text-align: center;
        line-height: 16px;
    }

    .home-image{
        width: 100%;
    }

    
    /* == portfolio == */
    .portfolio{
        width: 90%;
    }

    .portfolio .portfolio-content {
        grid-template-columns: 1fr;
    }

    .portfolio .portfolio-content .portfolio-item{
        height: 200px;
    }

    /* == about me == */  
    .about {
        width: 90%;
    }

    .about-me_content .about-me-container{
        width: 100%;
    }

    .about .container .content{
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .about-info{
        justify-content: center;
        margin: auto;
    }

    .about-img{
        justify-content: center;
    }

    .about-img img{
        height: 30% !important;
        min-width: 0;
    }

    .about-info .description h3{
        display: none;
    }

    .about-info .description h4{
        text-align: center;
        font-size: 18px;
        margin-bottom: 20px;
    }

    .about-info .description p{
        text-align: justify;
    }

    .about-info{
        width: 85%;
        
    }

    .about-me_content .aboutme-container{
        display: block;
        width: 100%;
        align-items: center;
    }

    .aboutme-section{
        margin-bottom: 80px !important;
    }

    /* == skills == */

    .skills{
        width: 90%;
    }
    
    .skills .section-title-02{
        margin-bottom: 0 !important;
    }
    .skills .content{
        width: 100%;
        justify-content: center;
    }
    .skills-section{
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        margin: auto;
    }

    .skills-img{
        display: flex;
        justify-content: center;
        align-self: center;
        margin-bottom: 20px;
        width: 100%;
    }


    .skills .skills-container{
        width: 100%;
    }

    .skills .skills-header{
        background-color: var(--transparent-color-01);
        padding: 5px 15px;
        border-radius: 10px;
    }
    
    .cv-header{
        background-color: var(--transparent-color-01);
        padding: 5px 15px;
        border-radius: 10px;
    }

    .skills-list{
        padding: 0;
    }

    /*  == contact == */
    .contact{
        width: 90%;
    }
    .contact .content{
        flex-direction: column;
        gap: 0 !important;
    }

    .contact .contact-left{
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .contact .contact-right{
        width: 95%;
    }

    .contact-form{
       display: flex;
       flex-direction: column;
    }
    /*  == footer == */
    footer{
        width: 85%;
        padding: 30px 30px;
        margin-bottom: 20px;
    }

    .footer-copyright{
        font-size: 10px;
    }

    .footer-social-media {
        display: inline-flex;
    }

    .footer-social-media > a {
        font-size: 20px;
        color: var(--second-color);
    }
    

}