body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

.resume-container {
    margin: 30px 70px;
    border-radius: 10px;
    height: auto;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(7, 7, 79);
    color: white;
    padding: 20px 30px;
}

.profile img {
    width: 150px;
    border: 3px solid white;
    border-radius: 50%;
    background-color: white;
}

.title {
    text-align: center;
}

.title h2 {
    color: #d1c4e9;
    margin: 5px 0;
}

.personal-details {
    text-align: right;
}

.personal-details i {
    margin-left: 15px;
}

.personal-details a {
    color: white;
    text-decoration: none;
}

.personal-details a:hover {
    color: #d1c4e9;
}

.about {
    background-color: aliceblue;
    line-height: 2rem;
    border-right: 3px solid black;
    border-left: 3px solid black;
    border-radius: 20px;
    margin: 15px 20px;
    padding: 15px;
}

.edu-skill-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 10px 20px;
}

.education,
.skills {
    padding: 10px;
    border-radius: 10px;
}

.education {
    flex: 1.5;
}

.skills {
    flex: 1;
}

.education h2,
.skills h2 {
    padding-left: 10px;
    margin-bottom: 5px;
}

.education hr,
.skills hr {
    border: 1px solid black;
    margin: 5px 0 10px 0;
}

.education hr {
    width: 80%;
}

.courses {
    border-left: 3px solid black;
    border-right: 3px solid black;
    border-radius: 5px;
    padding: 5px;
    background-color: #f9f9fd;
    width: fit-content;
    margin-top: 10px;
}

.courses p {
    color: #3d3d3e;
}

.education ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 5px;
    padding: 0;
}

.education ul li {
    list-style: none;
    text-align: left;
    padding: 5px 0;
    font-size: medium;
}

.year-grade {
    display: flex;
    justify-content: space-between;
    width: 40%;
    color: #3d3d3e;
}

.skills ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    padding: 10px 0;
}

.skills li {
    list-style: none;
    background-color: rgb(223, 229, 235);
    text-align: center;
    padding: 10px 5px;
    border-radius: 10px;
    font-weight: 500;
    transition: 0.3s ease;
}

.skills li:hover {
    background-color: rgb(200, 210, 220);
    transform: scale(1.05);
}

.ach-pro-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 10px 20px 20px 20px;
}

.projects,
.achivement {
    padding: 15px;
    border-radius: 10px;
}

.projects {
    flex: 1.5;
}

.achivement {
    flex: 1;
}

.projects h2,
.achivement h2 {
    padding-left: 10px;
}

.projects hr,
.achivement hr {
    width: 100%;
    margin: 5px 0 10px 0;
    border: 1px solid black;
}

.projects-details ol {
    padding-left: 2px;
    line-height: 1.6rem;
}

.projects ul {
    list-style: disc;
    padding-left: 12px;
}

.projects-details li h3 {
    margin-bottom: 5px;
}

.achivement p {
    color: #3d3d3e;
    font-weight: 500;
    line-height: 1.5rem;
}

@media (max-width: 900px) {
    .resume-container {
        margin: 0;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .personal-details {
        text-align: center;
        padding: 0;
    }

    .profile img {
        width: 120px;
        height: 120px;
    }

    .edu-skill-container,
    .ach-pro-container {
        flex-direction: column;
        gap: 15px;
        margin: 0 10px;
    }

    .education,
    .skills,
    .projects,
    .achivement {
        width: 100%;
        box-sizing: border-box;
    }

    .courses {
        width: 100%;
        box-sizing: border-box;
        margin: 10px 0;
    }

    .education ul {
        grid-template-columns: 1fr;
    }
}
