body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
}

header, section, footer {
    text-align: center;
    margin: 20px;
}

h1, h2 {
    color: #f5f5f5;
}

p {
    color: #e0e0e0;
}

img {
    display: block;
    margin: 20px auto;
    border-radius: 5%;
}

ul {
    list-style-type: none;
    padding: 0;
}

a {
    color: #bb86fc;
    text-decoration: none;
}

a:hover {
    color: #ffbb00;
    text-decoration: underline;
}

/* Floating Resume Button */
.resume-button {
    display: inline-block;
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #bb86fc;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.resume-button:hover {
    background-color: #ffbb00;
    color: #ffffff;
}

/* CSS Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.slide-in {
    animation: slideIn 1s ease-out;
}

/* Font Weights */
.montserrat-100 {
    font-weight: 100;
}

.montserrat-400 {
    font-weight: 400;
}

.montserrat-600 {
    font-weight: 600;
}

.montserrat-700 {
    font-weight: 700;
}

.montserrat-900 {
    font-weight: 900;
}

header {
    background-color: #1e1e1e;
    padding: 20px;
    border-bottom: 2px solid #333;
}
.header-content {
    display: flex;
    justify-content: center;
    align-items: center; /* Aligns items vertically in the center */
}


#profile-picture {
    margin-left: 20px; 
}

.text-content {
    display: flex;
    flex-direction: column;
}

section, footer {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 15px;
}

footer {
    padding: 20px;
}

/* Skill Icons */
.fab {
    font-size: 1.5em;
    margin-right: 10px;
}

/* Video Container */
.video-container {
    margin: 20px auto;
    max-width: 800px;
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
/* Send Message Box Styling */
#message {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    resize: vertical;
    box-sizing: border-box;
}

#send-button {
    background-color: #bb86fc;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

#send-button:hover {
    background-color: #ffbb00;
}

#send-button:focus {
    outline: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

#educationlist > li {
    margin-bottom: 50px;
}
#demo-video{
    margin-top: 50px;
    border-radius: 8px;
}

.centered-content {
    display: flex;
    justify-content: center;
    text-align: justify;
}

.centered-content ul {
    max-width: 800px; /* Adjust based on your preference */
}

/* Ensure the last line of text is justified */
.centered-content li::after {
    margin: 0 auto;
    
    display: inline-block;
    width: 100%;
}

.centered-content ul li {
    margin-bottom: 20px; /* Adjust the space as needed */
}
.text-content p{
    text-align: justify;
    margin: 0;

}
.text-content h1{
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 0;

}
/* Existing styles... */

@media only screen and (max-width: 768px) {
    /* Adjustments for tablets and smaller devices */
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #profile-picture {
        margin: 0;
    }

    .text-content {
        margin-top: 20px;
        text-align: center;
    }

    .resume-button {
        top: 10px;
        left: 10px;
        padding: 8px 16px;
        font-size: 14px;
    }

    section, footer {
        margin: 10px;
        padding: 10px;
    }

    .video-container {
        width: 100%;
        max-width: 100%;
        margin: 10px auto;
    }

    iframe {
        width: 100%;
        height: auto;
    }

    .centered-content ul {
        padding: 0 10px;
    }
}

@media only screen and (max-width: 480px) {
    /* Adjustments for mobile phones */
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .text-content p, .text-content h1 {
        text-align: center;
    }

    ul {
        padding: 0 10px;
    }

    .video-container {
        margin: 10px auto;
    }

    iframe {
        width: 100%;
        height: auto;
    }
}
