* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-transform: none;
    color: var(--h1);
    text-transform: capitalize;
    --contact: #797979;
}

body {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--background);
}

:root {
    --h1: #FDFDFD;
    --p: #858585;
    --background: #211e1e;
}



.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem;
    gap: 1.5rem;
}



hero .left_hero p {
    margin-top: 2rem;
    color: var(--p);
}


.profile-img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    z-index: 2;
  
    animation: blob-animation 8s linear infinite;
    border: 5px solid white; 
}


@keyframes blob-animation {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}


.blob-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgb(84, 112, 101), rgb(105, 145, 154));
    filter: blur(10px);
    opacity: 0.7;
    animation: blob-animation 10s linear infinite reverse; /* تتحرك عكس اتجاه الصورة */
    z-index: 1;
}

.profile-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*====main===*/

main .education h1,
main .skills h1,
main .experience h1 {
    margin: 3rem 0 2rem 0;

    font-size: 28px;
    font-weight: 700;


}

main .experience ul {
    margin-bottom: 3rem;
}

li{
    padding: 12px;
    color: var(--p);
}

/*   contacts   */
.contact_f {
    background-color: var(--contact);
    padding: 1rem;
}

ul{
    cursor: pointer;
}
section h1 {
    margin-top: 20px;
    margin-bottom: 12px;
}


section .left_contact p {
    margin: 1rem;
}



section .right_contact form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

section .right_contact form input {
    border: none;
    border-bottom: solid 1px;
    background-color: var(--contact);
    color: #f7fafc;
    cursor: pointer;
}


input::placeholder,
button {
    color: #FDFDFD;
    padding: 5px;
}

section .right_contact form input:hover {
cursor: pointer;

}

button {
    border: none;
    background-color: var(--contact);
    border-bottom: solid 1px #5793ca;
}
button:hover{
    cursor: pointer;
    color: #769dc1;
}

label{
    text-align:left;

}

textarea{
    width: 12rem;
    height: 6rem;
    border-bottom: #FDFDFD solid 1px;
    background-color: var(--contact);
    margin-top: .5rem;
    padding: 12px;
}





/* RESPONSIVE */
@media (max-width: 768px) {

    
    .flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }

    .links ul {
        flex-direction: row;
        align-items: center;
        /* display: none; */
    }

    
    .left_hero h1 {
        font-size: 22px;
    }

    .left_hero p {
        font-size: 14px;
    }

    
    .profile-wrapper {
        width: 200px;
        height: 200px;
    }

    
    ul {
        padding: 0;
    }

    li {
        padding: 6px 0;
    }

   
    .contacts {
        flex-direction: column;
    }

    section .right_contact form {
        width: 100%;
    }

    textarea {
        width: 100%;
    }
}
