body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    background: #7a7faa;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}
header {
    width: 100%;
    background-color: #283195;
    position: sticky;
    top: 0;
    z-index: 100;
}
nav {
    max-width: 1350px;
    margin: 0 auto;
    padding: 15px 30px;
}
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-menu li a:hover {
    color: #8f111e;
    text-decoration: underline;
}
main {
    display: flex;
    justify-content: center;
    width: 100%;
    flex: 1;
}
.container {
    display: flex;
    flex-direction: row;
    width: 1350px;
    background-color: #283195;
    margin: 30px;
    padding-top: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.container-left {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    width: 300px;
    background-color: #283195;
}
.photo {
    padding: 0;
    justify-content: center;
    border-bottom: white 1px solid;
}
.photo img {
    width: 300px;
    height: 450px;
    padding-left: 0;
}
.info {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    background-color: #283195;
}
.about-me {
    border-bottom: white 1px solid;
}
.contact-info {
    border-bottom: white 1px solid;
}
.contact-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.contact-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: white;

}
.contact-line p {
    margin: 0;
    font-size: 15px;
}
.contact-line img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}
.contact-line a {
    margin: 0;
    color: white;
    text-decoration: underline #ffffff;
    font-size: 15px;
}
.contact-line a:hover {
    text-decoration: underline #8f111e;
    transform: translateY(-1px);
}
.languages ul {
    padding-left: 0;
    list-style-position: inside;
    color: white;
}

.languages li {
    margin: 7px 0;
    color: white;
}

.container-right {
    display: flex;
    flex-direction: column;
    width: 1010px;
    background-color: white;
    padding: 20px;
}

.name {
    border-bottom: #283195 3px solid;
    padding: 0;
}

.container-right h1 {
    color: #283195;
    font-size: 45px;
    font-weight: bold;
    margin: 0;
}

.container-right p {
    color: #283195;
    font-size: 20px;
    margin: 7px;
}

.container-right h2 {
    color: #283195;
}

.education {
    border-bottom: #283195 3px solid;
    padding: 0;
}

.education ol, li, ul {
    color: #283195;
}
.education a {
    color: #283195;
    text-decoration: #283195 ;
}
.education a:hover {
    text-decoration: underline #8f111e;
}
.skills {
    border-bottom: #283195 3px solid;
}

.skills-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.skills-category {
    flex: 1;
    min-width: 200px;
}

.skills-category h3 {
    color: #283195;
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 0;
}

.skills-category ul {
    padding-left: 0;
    list-style-position: inside;
}

.skills-category li {
    margin: 7px 0;
}

.code-example {
    margin-top: 30px;
    border-bottom: #283195 3px solid;
}

.code-example h2 {
    margin-bottom: 15px;
}

.code-block {
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.code-header {
    background-color: #283195;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.code-title {
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
}

.code-language {
    font-family: monospace;
    opacity: 0.9;
}

.code-block pre {
    margin: 0;
    padding: 15px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    display: block;
}
ooter {
    width: 100%;
    background-color: #1a2368;
    color: white;
    padding: 20px 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.github-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.github-link:hover {
    opacity: 0.8;
}

.footer-year {
    font-size: 14px;
}

.course-link {
    display: flex;
    align-items: center;
}

.course-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.course-logo img {
    width: 40px;
    height: auto;
    background-color: #1a2368;

}

.course-logo:hover {
    opacity: 0.8;
}
@media (max-width: 1400px) {
    .container {
        width: 95%;
        margin: 20px auto;
    }

    .container-right {
        width: 65%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 95%;
    }

    .container-left,
    .container-right {
        width: 100%;
    }

    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
    }
}
