@media (min-width: 1563px) {
    @keyframes appear-left {
        from {
            opacity: 0;
            transform: translateX(-100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    @keyframes appear {
        from {
            opacity: 0;

        }
        to {
            opacity: 1;

        }
    }
    @keyframes appear-up {
        from {
            filter: blur(5px);
            opacity: 0;
            transform: translateY(-80px);
        }
        to {
            filter: blur(0);
            opacity: 1;
            transform: translateY(0);
        }
    }
    .appear-animation--long {
        animation-name: appear-left;
        animation-timing-function: ease-out;
        animation-duration: 1.5s;
        animation-fill-mode: forwards;
    }

    .appear-animation--short {
        animation-delay: 0.1s;
        animation-name: appear-left;
        animation-timing-function: ease-out;
        animation-duration: 0.8s;
        animation-fill-mode: forwards;
    }

    .appear-animation--up {
        animation-name: appear-up;
        animation-timing-function: ease-out;
        animation-duration: 1.5s;
    }

    .appear-animation {
        animation-name: appear;
        animation-timing-function: ease-out;
        animation-duration: 2s;
        animation-fill-mode: forwards;
    }


    .bg_space {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        object-fit: cover;
    }


    .icon {
        display: flex;
        justify-content: start;
        width: 7rem;
        height: 7rem;
        overflow: hidden;
        margin-top: 2rem;
        margin-left: 0.6rem;
    }


    .text-wrapper {
        position: relative;
        max-width: 100%;
        margin-left: 3rem;
        margin-top: 10rem;
        margin-right: 2rem;
        word-wrap: break-word;
        z-index: 0;

    }



    .appear_js {
        animation: appear 0.1s ease-out;
    }


    .text-wrapper h5 {
        font-size: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 0.2rem;
        color: #9b1f1f;
        position: relative;
        display: inline-block;
        margin-bottom: 2rem;
        font-family: "Space Grotesk", sans-serif;
        font-weight: 400;
        padding-top: 0.5rem;
    }

    .red-line {
        display: inline-block;
        width: 3rem;
        height: 0.2rem;
        background-color: #9b1f1f;
        margin-right: 0.3rem;
        vertical-align: middle;
        margin-bottom: 0.1rem;
    }

   
    .text-wrapper h1 {
        font-size: 1.9rem;
        line-height: 1.5;
        letter-spacing: 0.1rem;
        color: #d5d5d5;
        font-family: "Space Grotesk", sans-serif;
        font-weight: 400;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }


    .scroll_down {
        position: absolute;
        bottom: 3.3rem;
        left: 50%;
        transform: translateX(-50%);

    }

    .scroll_down a {
        text-decoration: None;
        background: None;
        font-size: 1rem;
        border: None;
        letter-spacing: 0.125rem;
        position: relative;
        display: inline-block;
        margin-bottom: 0.2rem;
        color: #d5d5d5;
        font-family: "Space Grotesk", sans-serif;
        font-weight: 400;
    }

    .scroll_down i {
        color: #9b1f1f;
        margin-left: 0.1rem;


    }
    .scroll_down a:hover {
        i {
            color: white;
        }
    }

    .additional-icons {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        bottom: 0;
        right: 3rem;
        gap: 10px;
    }
    .additional-icons a {
        cursor: pointer;
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
    }
    .additional-icons a:hover {
        color: #9b1f1f;

    }
    .additional-icons::after {
        height: 9rem;
        width: 1px;
        background-color: rgba(255, 255, 255, 0.71);
        content: "";
        display: inline-block;
        clear: both;
        align-self: center;
    }




    .about_me {
        padding-top: 4rem;
        font-family: "Space Grotesk", sans-serif;
        font-weight: 400;
        font-size: 1.5rem;
        display: flex;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .introducing {
        justify-content: center;
        margin: 0 20rem 0 20rem;
    }

    .introducing h1 {
        color: #9b1f1f;
        font-size: 1.3rem;
        text-transform: uppercase;
    }

    .my_photo {
        margin-top: 1rem;
        border-radius: 50%;
        width: 150px;
        height: 150px;
        object-fit: cover;

    }

    .text_about_me {
        padding-top: 1.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 1.2rem;
    }

    .introducing::after {
        height: 1px;
        width: 16rem;
        background-color: rgba(0, 0, 0, 0.1);
        content: "";
        display: inline-block;
        clear: both;
    }

    .skills {
        display: flex;
        flex-direction: row;
        justify-content: space-between;

    }
    .skills_text {
        margin-top: 2rem;
        max-width: 40%;
        margin-left: 10rem;
        text-align: left;
        margin-right: 1.5rem;
    }
    .skills_div {
        width: 100%;
        margin-right: 10rem;
        margin-left: 1.5rem;
        margin-top: 2rem;
    }


    .skills h2 {
        font-size: 1rem;
        margin-top: 3rem;
    }

    .skills ul {
        text-align: left;
        margin-bottom: 2rem;
    }

    .skills h4 {
        padding-top: 2rem;
        padding-left: 10%;
        text-align: left;
    }


    .skills strong {
        font-size: 18px;
    }

    .skills li {
        padding-top: 1rem;
        padding-right: 6%;
        list-style: None;
    }

    .skills .progress {
        height: 0.6rem;
    }


    .cv_button {
        margin-top: 5rem;
    }

    .cv_button .cv {
        display: flex;
        border: None;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        background-color: #919090;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s;
        height: 4rem;
        width: 15rem;
        font-size: 16px;
        font-family: "Space Grotesk", sans-serif;
        font-weight: 500;
        flex-basis: 8%;
        text-align: center;
        align-items: center;
        margin: 0 auto;
        justify-content: center;
    }
    .cv_button .cv:hover {
        background-color: white;
        color: #0D0A0B;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    }

    .progress .progress-bar {
        background-color: #3b3b3b;
        opacity: 0;
        transform: translateX(-100%);
    }

    .education {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-bottom: 2rem;
    }

    .education .timeline {
        width: 70%;
        display: flex;
        flex-direction: row;
        gap: 2rem;
        padding-top: 2rem;
        justify-content: space-between;
        margin-left: 25rem;
    }

    .education .timeline_left {
        flex-direction: column;
    }


    .education .part_of_timeline:after {
        content: "";
        display: block;
        width: 1px;
        height: 98%;
        background-color: rgba(0, 0, 0, 0.1);
        position: absolute;
        left: -2.5rem;
        top: 0.5rem;
    }

    .education .part_of_timeline .timeline-marker {
        background: #0D0A0B;
        height: 1rem;
        width: 1rem;
        border-radius: 50%;
        margin-left: -2.97rem;
        box-shadow: 0 0 0 9px #E9E9E9;
        position: absolute;
        top: .3rem;

    }

    .education .part_of_timeline {
        margin-bottom: 2rem;
        text-align: left;
        position: relative;
    }
    .timeline_left, .timeline_right {
        flex: 1;
    }

    .education span {
        font-size: 16px;
    }

    .education h6 {
        padding-top: -5px;
        color: #888888;
        font-weight: lighter;
        max-width: 50%;
    }

    .education h1 {
        padding-top: 5rem;
        padding-bottom: 2rem;

    }

    .education h5 {
        font-size: 18px;
        font-weight: bolder;
        color: #919090;
    }
    .education h2 {
        font-weight: bolder;
    }

    .education h4 {
        font-size: 18px;
    }



   
    .works {
        background-color: #eaeaea;
    }

    .intro_works {
        font-family: "Space Grotesk", sans-serif;
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding-top: 5rem;
    }

    .intro_works::after {
        margin-top: 2rem;
        margin-bottom: 2rem;
        height: 1px;
        width: 16rem;
        background-color: rgba(0, 0, 0, 0.1);
        content: "";
        display: inline-block;
        clear: both;
    }

    .intro_works h3 {
        color: #9b1f1f;
        text-transform: uppercase;
        font-size: 20px;
    }

    .intro_works h1 {
        font-size: 30px;
    }

    .intro_works h5 {
        margin-top: 0.3rem;
        font-size: 20px;
        color: #919090;
        font-weight: bolder;
        text-align: center;
        width: 70%;
    }

    .projects {
        font-family: "Space Grotesk", sans-serif;
        font-weight: 400;
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px; 
        justify-content: center;
        padding: 20px;
    }

    .projects > div {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .projects img.photo {
        border-radius: 15px;
        width: 100%; 
        height: auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
    }

    .projects img.photo:hover {
        transform: scale(1.05);
    }

    .sepira_project {
        align-items: center;
        justify-content: center;
        width: 100%; 
        margin: 20px auto; 
        text-align: center; 
    }

    .sepira_project .photo {
        border-radius: 20px;
        width: 100%; 
        height: auto; 
        max-width: 100%; 
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    .chess_project {
        padding-top: 20px;
        width: 100%; 
        max-width: 400px; 
        margin: auto; 
        text-align: center; 
    }

    .chess_project .photo {
        border-radius: 20px;
        width: 100%;
        height: auto;
        max-width: 100%; 
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    }
    .clothing_project {
        padding-top: 20px;
        width: 100%; 
        max-width: 400px; 
        margin: auto; 
        text-align: center;
    }

    .clothing_project .photo {
        border-radius: 10px;
        width: 100%; 
        height: auto; 
        max-width: 100%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
        margin-top: 0.7rem;
    }

    .notinsta_project {
        padding-top: 20px;
        width: 100%; 
        max-width: 400px; 
        margin: auto;
        text-align: center; 
    }

    .notinsta_project .photo {
        border-radius: 10px;
        width: 100%; 
        height: auto; 
        max-width: 100%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
        margin-top: 0.7rem;
    }

    .notinsta_project p {
        margin-top: 1rem;
    }



    .active-modal {
        max-height: 90%;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: 200ms ease-in-out;
        border: 1px solid black;
        border-radius: 10px;
        z-index: 1010;
        background-color: white;
        width: 60%;
        max-width: 80%;
        display: block;
        padding: 1rem;
        overflow: scroll;
    }


    .modal-title h2 {
        font-size: 2rem;
    }

    .modal-title::after {
        height: 1px;
        width: 10rem;
        background-color: rgba(0, 0, 0, 0.1);
        content: "";
        display: inline-block;
        clear: both;
    }

    .modal-body {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        gap: 10px;

    }

    .modal-img {

        border-radius: 20px;
        margin: 1rem;
    }

    .close-button {
        cursor: pointer;
        background: none;
        border: none;
        outline: none;
        display: flex;
        font-size: 2rem;
        padding-left: 1rem;

    }
    .modal-text {
        font-size: 0.75rem;
        margin-bottom: 2rem;
        font-family: "Space Grotesk", sans-serif;
        font-weight: 400;
        padding-top: 0.5rem;
        letter-spacing: 0.1rem;
        max-width: 45%;

        overflow: scroll;
        overflow-style: marquee-block;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .modal-text-sepira {
        max-height: 100vh;
    }
    .modal-text-notinsta {
        max-height: 68vh;
    }

    .modal-text::-webkit-scrollbar {
        display: none;
    }


    .fun_list {
        position: relative;
        padding: 7rem 0 4rem 0;
        background-color: #eaeaea;
        font-family: "Space Grotesk", sans-serif;
        font-weight: 400;
    }

    .fun_list::before {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 3rem;
        height: 1px;
        width: 30rem;
        background-color: rgba(0, 0, 0, 0.27);
        content: "";
    }


    .fun_list ul {
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .fun_list li {
        width: 90%;
        height: auto;
        margin-bottom: 1rem;
        list-style: None;
        padding: 3rem;
    }

    .fun_list span {
        font-weight: bolder;
        color: #807e7e;
        font-size: 1.2rem;
    }

    .fun_list .fun_num {
        font-size: 5rem;
    }

    .fun_list .fun_num::after {
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0.3rem auto;
        height: 1px;
        width: 9rem;
        background-color: rgba(0, 0, 0, 0.15);
        content: "";
        display: block;
        clear: both;
    }

    .fun_special {
        background-color: #0D0A0B;
        color: white;
    }

    .fun_special .fun_num::after {
        background-color: rgba(169, 6, 6, 0.8);
    }


    .footer {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-family: "Space Grotesk", sans-serif;
        font-weight: 400;
        color: #fff;
        text-align: center;
        overflow: hidden;
    }

    .footer-img {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -1;
        object-fit: cover;
    }

    .footer-content {
        max-width: 100%;
        position: absolute;
        word-wrap: break-word;
        overflow-wrap: break-word;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        margin-top: -6rem;
    }

    .footer-content h2 {
        font-size: 3.3rem;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .footer-content p {
        font-size: 1rem;
        margin: 10px 0;
    }

    .contact-info {
        padding-top: 2.5rem;
    }

    .contact-info p {
        margin-bottom: 1rem;
        font-size: 1rem;
        line-height: 1.5;
    }

    .contact-info a {
        background: linear-gradient(90deg, white, gray, white);
        background-size: 300%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shimmer 4s infinite;
        text-decoration: None;
    }

    @keyframes shimmer {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }

    .contact-info strong {
        color: #9b1f1f;
    }


    .social-icons {
        margin: 20px 0;
    }

    .social-icons a {
        color: #fff;
        font-size: 1.5rem;
        margin: 0 10px;
        text-decoration: none;
        transition: color 0.3s;
    }

    .social-icons a:hover {
        transform: translateY(+20px);
        color: #9b1f1f;
    }


}