* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
}

header {
    background-color: #1e1e2f;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: #00bcd4;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00bcd4;
}

.name {
    font-size: 20px;
    font-weight: bold;
    color: #00bcd4;
    margin-bottom: 5px;
}

/* Header menu */
#menu-toggle {
    display: none;
}

.menus {
    display: none;
}

#menu-toggle:checked+label+.menus {
    display: block;
}

.menus {
    display: none;
    list-style-type: none;
    padding: 10px;
    margin: 10px 0 0 0;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    width: 150px;
}

@media(max-width:593px) {
    #menu {
        display: none;
    }
}

@media screen and (min-width:592px) {
    .menu-icon {
        display: none;
    }
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.image img {
    width: 300px;
    height: auto;
    border-radius: 10px;
}

.content p {
    font-size: 18px;
    max-width: 400px;
}

.social-icons a {
    font-size: 30px;
    padding: 20px;
    margin-left: 20px;
}

@media(min-width:426px) {
    .container {
        flex-direction: row;
        justify-content: center;
    }

    .image {
        text-align: center;
        width: 260px;
        height: 260px;
        border: 6px solid #1e1e2f;
        border-radius: 900px;
        overflow: hidden;
        margin: auto;
    }

    .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .social-icons {
        display: flex;
        justify-content: center;

    }
}

@media (max-width :592px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .image {

        width: 260px;
        height: 260px;
        border: 6px solid #1e1e2f;
        border-radius: 900px;
        overflow: hidden;
        margin: 30px;
        display: flex;
        justify-content: center;
    }

    .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .content p {
        font-size: 16px;
        padding: 0 10px;
    }

}

#about {
    background-color: #fff;
    margin-top: 40px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #1e1e2f;
}

.about-container p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}


/* Skills section */
#skills {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.Skills-container h2 {
    font-size: 2rem;
    color: #1e1e2f;
    margin-bottom: 30px;
}

.skills-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.skill-item {
    background-color: #1e1e2f;
    color: white;
    padding: 15px 25px;
    border-radius: 1.1em;
    /* transition: background-color 0.3s ease; */
}

.skill-item:hover {
    background-color: #00bcd4;
}

/* @media(max-width: 600px){
            .skills-item{
                width:100%;
                max-width: 300px;
            }
        } */
#education {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.education-container h2 {
    font-size: 2em;
    color: #1e1e2f;
    margin-bottom: 30px;
}

.education-item {
    background-color: #f0f0f0;
    display: inline-block;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 4px 8px rgb(0, 0, 0, 0.1);
}

.education-item h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 10px;
}

.education-item p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 8px;
}

.edu-year {
    font-size: 0.95em;
    color: #777;
    display: block;
}

.training-item {
    background-color: #f0f0f0;
    display: inline-block;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 4px 8px rgb(0, 0, 0, 0.1);
}

.training-item h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 10px;
}

.training-item p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 8px;
}

#Contact {
    background-color: gray;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.contact-container h2 {
    font-size: 2em;
    margin-bottom: 25px;
}

.contact-container p {
    font-size: 1.1em;
    margin: 10px 0;
}

.contact-info a {
    color: #00bcd4;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

footer {
    background-color: #1e1e2f;
    color: white;
    padding: 20px 0;
    text-align: center;
    /* margin-top: 40px; */
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #00bcd4;
    margin-bottom: 5px;
}