@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

html {
    scroll-behavior: smooth;
}

/* Global Styles */
body {
    font-family: Poppins, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar styling */
#navbar {
    position: sticky;
    top: 0;
    background-color: #2B2D42;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

#logo {
    margin-left: 200px;
    padding: 0;
    text-align: center;
}

#buttons {
    padding: 0;
    margin-right: 200px;
    list-style-type: none;
    text-align: right;

}

#buttons li {
    display: inline-block;
    height: fit-content;
    padding: 10px;
}

#navbar a {
    color: #FFFFF7;
}

#navbar a:hover {
    color: #D9D9D9;
}

#navbar a:active {
    color: #BFBFBF;
}

/* Shaded Section Styles */
.shaded-section {
    padding: 80px;
    text-align: center;
    background-color: #f0f0f0;
}

/* Slideshow Section Styles */
#slideshow {
    height: 500px;
    background-color: #2B2D42;
    background-size: cover;
    background-position: center;
}

#slideshow h1 {
    color: #FFFFF7;
    text-align: left;
    margin-left: 150px;
}

#slideshow h2 {
    color: #FFFFF7;
    text-align: left;
    margin-left: 150px;
}

#about-me {
    background-color: #4A5859;
    color: #FFFFF7;
}

#skills {
    background-color: #A0D2DB;
    padding-top: 30px;
}

.skills-list-container {
    display: flex;
}

#skills div {
    flex: 1;
}

#skills h1 {
    text-align: center;
}

#skills ul {
    list-style-type: none;
    padding: 0;
}

#skills ul li {
    font-size: 20px;
}

#education {
    background-color: #FDCA40; 
}

#projects {
    background-color: #31393C;
    color: #FFFFF7;
}

.projects-container {
    display: flex;
    justify-content: center;
}

.project {
    width: 300px;
    border: 2px solid white;
    border-radius: 20px;
    padding: 15px;
    flex-direction: row;
    margin-right: 30px;
}


#contact {
    background-color: #8CC084;
    display: flex;
    justify-content: center;
    padding: 10px;
}

#contact p {
    background-color: #0B4F6C;
    margin-right: 30px;
    padding: 20px;
    border-radius: 20px;
}

#skills_container {
    display: grid;
}

#skills_icon {
    border: 3px solid #333;
}

/* Navigation Styles */
nav {
    background-color: #333;
    padding: 10px;
    color: #fff;
    text-align: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    margin: 0 10px;
}

a {
    color: #F4B860;
    text-decoration: none;
}

h1 {
    font-size: 50px;
}

p {
    font-size: 18px;
}

/* Media Queries for Responsive Design */
@media (max-width: 1100px) {
    .shaded-section {
        padding: 50px;
    }

    #slideshow {
        height: 300px;
    }

    #logo {
        margin: 20px auto;
        text-align: center;
        font-size: 30px;
    }

    #buttons {
        display: none;
    }

    #slideshow h1 {
        color: #FFFFF7;
        text-align: center;
        margin: 0;
    }

    #slideshow h2 {
        color: #FFFFF7;
        text-align: center;
        margin: 0;
    }

    #skills {
        display: block;
    }

    #skills h1 {
        text-align: center;
        margin: 0;
    }

    #skills ul {
        text-align: center;
        margin: 0;
    }

    .skills-list-container {
        display: block;
    }
}