/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    background-color: #f4f4f9;
    background-image: url("blue.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Header */
header {
    text-align: center;
    padding: 20px;
    color: #BA68C8;
}

.headline {
    font-family: Arial, Georgia, 'Times New Roman', serif;
    font-size: 28pt;
    font-weight: 700;
    color: #F6F9FD;
}

.subtitle {
    font-size: 18pt;
    text-align: center;
    color: #FFFFFF;
    font-style: italic;
    font-family: 'Segoe UI', sans-serif;
    font-weight: normal;
}

/* Navigation */
nav {
    width: 100%;
    background-color: #6A1B9A; /* Deep purple */
    padding: 10px 0;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
}

nav li {
    margin: 0 15px;
}

.button {
    background-color: #283593; /* Indigo */
    color: #F0F0F0;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    display: inline-block;
}

.button:hover {
    background-color: #5C6BC0; /* Soft Indigo */
    transform: scale(1.05);
    text-decoration: none;
}

/* Content Sections */
.intro-text {
    font-size: 1.25rem;
    text-align: center;
    margin: 20px auto;
    max-width: 90%;
    color: #BA68C8;
    font-style: italic;
}

h3 {
    text-align: center;
    font-size: 20pt;
    color: #4DD0E1;
    font-style: italic;
    font-weight: normal;
    margin-top: 20px;
}

/* Resume Page */
#resume {
    width: 90%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

#resume-sidebar {
    width: 300px;
    float: right;
    font-size: 15px;
}

#resume-sidebar h4 {
    color: #000;
    font-size: 18pt;
}

#resume img {
    width: 130px;
    height: 180px;
    opacity: 0.8;
    padding-right: 25px;
}

#resume a {
    color: #283593;
    text-decoration: none;
}

#resume a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    clear: both;
    background-color: #283593;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Form Inputs */
form {
    padding: 20px;
    text-align: center;
}

input, textarea {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Course Lists - Two Column Layout */
.course-lists {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.course-lists ul {
    list-style-type: disc;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    padding-left: 20px;
    min-width: 250px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    body {
        font-size: 90%;
    }
    h1.headline {
        font-size: 24pt;
    }
    h3 {
        font-size: 20pt;
    }
    p.intro-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    nav li {
        margin: 10px 0;
    }
    #resume-sidebar {
        width: 100%;
        float: none;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 18pt;
    }
    .headline {
        font-size: 22pt;
    }
    .subtitle {
        font-size: 16pt;
    }
    h3 {
        font-size: 18pt;
    }
    .intro-text {
        font-size: 1rem;
    }
}
