@media screen and (max-width: 1024px) {
    .container {
        width: 95%;
    }

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 1.1rem;
        font-weight: 300;
    }

    .home_body_content {
        width: 80%;
    }

    .author_name {
        font-size: 3rem;
    }

    .portrait .score span {
        font-size: 1.5rem;
    }

    .portrait .score p {
        font-size: 1.2rem;
        width: 90px;
        margin-left: .5rem;
    }

    .portrait img {
        height: 380px;
        width: 330px;
    }

    .horizontal {
        grid-column: auto;
    }
}

@media screen and (max-width: 926px) {
    .topbar {
        display: none;
    }

    .mobile_topbar {
        display: block;
    }

    .container {
        width: 90%;
        padding: 0 4rem;
    }

    .scroll_down {
        display: none;
    }

    .home_body {
        padding-top: 5rem;
        flex-direction: column-reverse;
        text-align: center;
        height: auto;
    }

    .home_body_content {
        width: 100%;
        padding-right: 0;
    }

    .home_body_avatar {
        width: 100%;
        height: auto;
    }

    .home_body_content p {
        margin-bottom: 1.5rem;
    }

    .header {
        width: 100%;
        text-align: start;
    }

    .home_body_content_footer {
        justify-content: center;
    }

    .home_body_avatar .box {
        width: 350px;
        height: 400px;
    }

    .home_body_avatar .element {
        width: 56px;
        height: 56px;
    }

    .about .inner {
        flex-direction: column;
    }

    .about .inner .portrait {
        margin-bottom: 2rem;
    }

    .about .about_content {
        width: 100%;
        padding: 0;
    }

    .about .about_content h1 {
        margin-bottom: 1rem;
    }

    .about .content {
        flex-direction: column;
    }

    .experience {
        width: 100%;
        padding: 2rem 3rem;
    }

    .experience .title {
        display: block;
    }

    .container {
        width: 100%;
    }

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 1rem;
        font-weight: 300;
    }

    .home_body_content {
        width: 80%;
    }

    .author_name {
        font-size: 2.5rem;
    }

    .portrait .score span {
        font-size: 1.4rem;
    }

    .portrait .score p {
        font-size: 1rem;
        width: 80px;
        margin-left: .5rem;
    }

    .portrait img {
        height: 380px;
        width: 330px;
    }

    .horizontal {
        grid-column: auto;
    }

    .contact .content {
        flex-direction: column;
    }

    .infos {
        margin-bottom: 2rem;
    }

    .portrait .score:nth-child(1) {
        top: 10%;
        left: -1rem;
    }

    .portrait .score:nth-child(2) {
        bottom: 10%;
        right: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .home_body_content p {
        width: 100%;
    }

    .experience {
        padding: 2rem 1rem;
    }

    .container {
        width: 100%;
        padding: 0 1.5rem;
    }

    .portfolio_name {
        font-size: .9rem;
    }
}

@media screen and (max-width: 571px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: .8rem;
        font-weight: 300;
    }

    .tabs {
        gap: 1rem;
    }

    .tabs .tab {
        font-size: 1rem;
    }

    .author_name {
        font-size: 2.2rem;
    }

    .home_body_avatar .box {
        width: 250px;
        height: 300px;
    }

    .home_body_avatar .element {
        width: 45px;
        height: 45px;
    }

    .skills_box {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 150px;
        gap: 1.2rem;
    }

    .skill img {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .experience {
        width: 100%;
        padding: 2rem 0;
    }

    .avatar_company {
        width: 4rem;
        left: 1rem;
    }

    .experience .item .sub_items .sub_item h3::after {
        width: 15px;
        height: 15px;
        left: calc(-4rem + 4px);
    }

    .experience .item .sub_items .sub_item::before {
        top: 2rem;
        left: calc(-4rem + 10px);
    }

    .portfolio_grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-auto-rows: 150px;
        gap: 1rem;
    }

    .services_grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        grid-auto-flow: dense;
        gap: 2rem;
    }

    .services_grid .service .icon {
        width: 8rem;
        height: 8rem;
    }

    .services_grid .service {
        padding: 2rem;
        padding-right: 8rem;
    }

    .socials {
        gap: 1.2rem;
        margin-left: 1rem;
    }

    .socials li {
        font-size: 1.2rem;
    }

    .blog_date {
        padding: .8rem 1rem !important;
    }

    .portrait img {
        height: 300px;
        width: 300px;
    }

    .portrait .score p {
        width: 60px;
        font-size: .8rem;
        margin-left: .5rem;
    }

    .portrait .score:nth-child(1) {
        top: 10%;
        left: 2rem;
        animation-delay: .0s;
    }

    .infos .info img {
        width: 3.5rem;
    }

    #name {
        grid-column: span 2;
    }

    #surname {
        grid-column: span 2;
    }

    .portfolio_name {
        padding: .5rem 1.5rem;
        font-size: .8rem;
    }

    .home_body_avatar .element:nth-child(1) {
        top: 0rem;
        left: 3rem;
    }

    .terms a {
        display: none;
    }
}

@media screen and (max-width: 421px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: .9rem;
    }

    p {
        font-size: .75rem;
        font-weight: 300;
    }

    .home_body_content {
        width: 100%;
    }

    .skills_box {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        grid-auto-rows: 120px;
        gap: 1rem;
    }

    .skill img {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }

    .socials {
        gap: 1rem;
        margin-left: 1rem;
    }

    .socials li {
        font-size: 1rem;
    }

    .tabs .tab {
        font-size: .85rem;
    }

    .portrait .score_box {
        width: 420px;
    }

    .portrait img {
        width: 250px;
        height: 250px;
    }

    .portfolio_grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        grid-auto-rows: 120px;
        gap: 1rem;
    }

    .avatar_company {
        width: 3.5rem;
        left: .375rem;
    }

    .experience .item {
        padding-left: 75px;
    }

    .experience .item .sub_items .sub_item h3::after {
        width: 15px;
        height: 15px;
        left: calc(-4rem + 15px);
    }

    .experience .item .sub_items .sub_item::before {
        top: 2rem;
        left: calc(-4rem + 21px);
    }

    .infos .info img {
        width: 2.5rem;
    }

    .portfolio_grid .item .title .button-filled {
        padding: .5rem 1rem !important;
        font-size: .6rem !important;
        font-weight: 600 !important;
    }

    .portfolio_grid .item .title h2 {
        font-size: .9rem;
    }

    .portfolio_grid .item .title p {
        font-size: .5rem;
    }

    .portfolio_name {
        padding: .4rem 1rem;
        font-size: .7rem;
        font-weight: 400;
    }

    .colorpicker {
        width: 126px;
        padding: 10px;
        right: -126px;
    }

    .colorpicker .switch {
        width: 40px;
        height: 40px;
        left: -40px;
    }

    .colorpicker .switch i {
        font-size: 1.2rem;
    }

    .colorpicker .colors {
        grid-template-columns: repeat(auto-fit, 20px);
        grid-auto-rows: 20px;
    }

    .blogs_grid .blog .blog_date {
        padding: .5rem 1rem !important;
        font-weight: 500;
        font-size: .65rem;
    }

    input,
    textarea {
        font-size: .8rem;
    }
}

@media screen and (max-width: 522px) {
    .button-filled {
        padding: .8rem 1.25rem !important;
        font-size: .8rem !important;
        font-weight: 600 !important;
    }
}

@media screen and (max-width: 370px) {
    html {
        overflow-x: hidden !important;
    }

    body {
        overflow-x: hidden !important;
    }

    .services_grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .services_grid .service .icon {
        width: 5rem;
        height: 5rem;
    }

    .services_grid .service {
        padding: 2rem;
        padding-right: 4.5rem;
    }
}

@media screen and (max-width: 1137px) {
    .horizontal {
        grid-column: auto;
    }
}