*{
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #e9e9e9;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d2042;
    --secondary-color: #1a2b4d;
    --accent-color: #4a90e2;
    --text-color: #e9e9e9;
    --text-secondary: #b5cef8;
    --hover-color: #2d5a9e;
}

body{
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 0;
    line-height: 1.6;
}

#navigation-bar{
    position: fixed;
    width: 100%;
    background-color: rgba(13, 32, 66, 0.95);
    backdrop-filter: blur(10px);
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#navigation-bar nav{
    padding: 15px 30px;
    text-align: right;
    max-width: 1200px;
    margin: 0 auto;
}

#navigation-bar nav ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    
}

#navigation-bar nav li{
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500; 
    transition: all 0.3s ease;
}

#navigation-bar nav li a{
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.1em;
}

#navigation-bar nav li a.active{
    color: var(--text-color);
    font-weight: 600;
}

#navigation-bar nav li:hover{
    background-color: rgba(74, 144, 226, 0.1);
}

#navigation-bar nav li a:hover{
    color: var(--text-color) !important;
}

#navigation-bar nav li#nav-name{
    float: left;
    font-weight: 600;
    font-size: 1.2em;
}

#nav-toggle{
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: rgb(233, 233, 233);
}

#nav-toggle.open{
    animation: rotateOpen 0.5s forwards;
}

#nav-toggle.close{
    animation: rotateClose 0.5s forwards;
}

header{
    position: relative;
    padding: 100px 50px;
    padding-left: 150px;
    height: 100vh;
    background-image: linear-gradient(rgba(13, 32, 66, 0.7), rgba(13, 32, 66, 0.7)), url("../images/code-bkgd-edit.PNG");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 70px;
    display: flex;
    align-items: center;
}

header h3{
    margin: 0;
    font-size: 1.5em;
    color: var(--accent-color);
    font-weight: 500;
}

header h1{
    font-size: 4em;
    text-underline-offset: 25px;
    margin: 10px 0 20px;
    background: linear-gradient(45deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideIn 0.8s ease-out;
}

header h2 {
    font-size: 2em;
    color: var(--text-secondary);
    margin: 0;
    animation: slideIn 1s ease-out;
}

#header-wording{
    position: relative;
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

#socials a img{
    width: 30px;
    margin: 0 10px;
}

#section-container{
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#projects, #resume, #skills{
    margin: 40px 0;
    padding: 30px;
    background-color: rgba(26, 43, 77, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#geico-imaging, #nadc, #kohls{
    margin-left: 20px;
}

.project{
    display: flex;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(26, 43, 77, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.project:hover{
    transform: translateY(-5px);
    background-color: rgba(45, 90, 158, 0.8);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.project:hover .thumbnail{
    border: 2px solid #fff;
}

.project:hover .description h3{
    color: #fff;
}

.thumbnail{
    flex: 0 0 200px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.thumbnail-bullyblock{
    flex: 0 0 200px;
    height: 200px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.description{
    padding: 20px;
    flex-grow: 1;
}

.description h3{
    margin: 0 0 15px;
    font-size: 1.5em;
    color: var(--accent-color);
}

.description p {
    color: var(--text-secondary);
    margin: 0 0 15px;
}

.tags{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag{
    display: inline-block;
    color: var(--text-color);
    background-color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.tag:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.skills-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.skills-tag{
    display: inline-block;
    background-color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.skills-tag:hover{
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

@media (max-width: 768px)
{
    header {
        padding: 20px;
        height: 100vh;
        text-align: center;
        margin-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        justify-content: center;
    }

    #header-wording {
        text-align: center;
        max-width: 100%;
    }

    header h1 {
        font-size: 2.5em;
        text-underline-offset: 15px;
    }

    header h2 {
        font-size: 1.5em;
    }

    header h3 {
        font-size: 1.2em;
    }

    .project {
        flex-direction: column;
        align-items: flex-start;
    }

    .thumbnail {
        width: 100%;
        height: 200px;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .thumbnail-bullyblock{
        flex: 0 0 150px;
        height: 150px;       
        width: 100%;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        margin: 10px;
    }

    .description {
        width: 100%;
        padding: 20px;
    }

    .tag {
        margin-bottom: 10px;
    }

    #navigation-bar nav {
        text-align: center;
    }

    #nav-toggle {
        display: block;
    }

    #navigation-bar nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease-out;
    }

    #navigation-bar nav ul.open {
        display: flex;
        animation: dropDown 0.5s forwards;
        max-height: 300px;
    }

    #navigation-bar nav ul.close {
        display: flex;
        animation: raiseUp 0.5s forwards;
        max-height: 0px;
    }

    #navigation-bar nav li {
        display: block;
        margin: 10px 0;
    }
}

/* Small devices (phones, 480px and up) */
@media (max-width: 480px) {
    header {
        padding: 10px;
        text-align: center;
    }

    header h1 {
        font-size: 30px;
    }

    header h3, header h2 {
        font-size: 16px;
    }

    .project {
        margin: 10px;
        border-radius: 0;
    }

    .thumbnail {
        height: 150px;
    }

    .description {
        padding: 10px;
    }

    .tag {
        margin-bottom: 10px;
    }

    #navigation-bar nav {
        text-align: center;
    }

    #navigation-bar nav ul {
        padding: 0;
    }

    #navigation-bar nav ul.open{
        display: flex;
    }

    #nav-toggle{
        display: block;
        font-size: 20px;
    }

    #navigation-bar nav li {
        margin: 5px 0;
    }


}

@keyframes rotateOpen{
    from {transform: rotate(0deg);}
    to {transform: rotate(90deg);}
}

@keyframes rotateClose{
    from {transform: rotate(90deg);}
    to {transform: rotate(0deg);}
}

@keyframes dropDown{
    from {max-height: 0;}
    to {max-height: 300px;}
}

@keyframes raiseUp{
    from {max-height: 300px;}
    to {max-height: 0;}
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}