:root {
    --text-color: #la1c20;
    --link-color: #4a76ee;
    --background-color: #eeeff1;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

.footer {
    background: black;
    color:white;
    text-align: center;
    width: 100%;
    padding: 10px;
    text-decoration: none;
}



html {
    scroll-behavior: smooth;
}

 body {
    font-family: 'poppins', sans-serif;
    background-color: var(--background-color);
 }

 a {
    color: var(--link-color);
    text-decoration: none;
 }

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    height: 80px;
} 

nav .left a {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 600;
}

nav .right a {
    color: var(--text-color);
    margin: 0px 10px;
}

nav .right a:last-child {
    color: var(--background-color);
    background-color:black;
    padding: 5px 15px;
    border-radius: 5px;
}

nav .right a span {
    margin-left: 5px;
}

/* Naim section */
.naim-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    margin: 50px 0px;
    margin-bottom: 100px;
    gap: 40px;   
}

.naim-section .text {
    flex: 5;
}

.naim-section .text h2 {
    font-size: 45px;
}

.naim-section .text .links {
    margin-top: 20px;
}

.naim-section .text .links a {
 
    padding: 5px 10px;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: 1s;
}

.naim-section .text .links a:hover {
    color: var(--text-color);
    border: 2px solid ;
}

.naim-section .my-img {
    flex: 2;
    display: flex;
    justify-content: right;
}

.naim-section .my-img img{
    width: 350px;
    border-radius: 50%;
}

/* Skills */
.skills-section {
    padding: 0px 50px;
    margin-bottom: 100px;
}

.skills-section h2 {
    text-align: center;
    font-size: 35px;
}

.skills-section .text {
    text-align: center;
    margin-bottom: 20px;
}

.skills-section .cells {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.skills-section .cells .cell {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    width: 200px;
    padding: 10px 20px;
    border: 1.5px solid #d3d3d3;
    border-radius: 5px;
}

.skills-section .cells .cell img {
    width: 30px;
    height: 30px;
}

/*Contact*/

.contact-section {
    padding: 0px 50px;
    margin-bottom: 100px;
}

.contact-section h2 {
    font-size: 35px;
}

.contact-section .group {
    display: flex;
    gap: 50px;
}

.contact-section .group .text {
    flex: 3;
    margin-top: 20px;
}

.contact-section .group form {
    flex: 3;
    display: flex;
    flex-direction: column;
}

.contact-section .group form input,
.contact-section .group form textarea {
    font-family: 'poppins', sans-serif;
    border: 2px solid #4a76ee;
    background-color: transparent;
    padding: 10px;
    margin-bottom: 15px;
    outline: none;
    resize: none;
}

.contact-section .group form button {
    font-size: 16px;
    font-family: 'poppins', sans-serif;
    color: #fff;
    background-color: #4a76ee;
    border: none;
    height: 50px;
    cursor: pointer;
    transition: .1s;
}

.contact-section .group form button:hover {
    filter: brightness(.9);
}

@media (max-width: 850px) {
    /*Naim-section*/
    .naim-section .text h2 {
        font-size: 35px;
    }
}

@media (max-width: 740px) {
    /*Naim-section*/
    .naim-section {
        flex-direction: column-reverse;
    }

    .naim-section .my-img img {
        width: 300px;
    }


}

/*Responsive*/
@media (max-width: 600px) {
    nav {
        padding: 0px 20px;
    }

    nav .right a {
        font-size: 22px;
    }

    nav .right a:last-child {
        color: var(--text-color);
        background-color: transparent;
        padding: 0;
    }

    nav .right a span {
        display: none;
    }

    /* Naim-section*/
    .naim-section {
        padding: 0px 20px;
    }

    .naim-section .text h2 {
        font-size: 30px;
    }

}


