/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0px;
    padding: 40px;
    background: #F7F7F7;
    font-family: 'Quicksand', 'Droid Sans', Helvetica, sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #000000;
}

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
header {
    text-align: left;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5em;
    font-weight: normal;
    margin-bottom: 10px;
    color: #000;
}

.tagline {
    font-size: 1.1em;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

/* Contact navigation */
.contact {
    margin-bottom: 40px;
}

.contact ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.contact li {
    display: inline;
}

.contact a {
    color: #333;
    text-decoration: underline;
    font-size: 1em;
}

.contact a:hover {
    color: #000;
}

/* Portfolio */
.portfolio {
    margin-bottom: 60px;
}

.project {
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.project h2 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000;
}

.project .description {
    font-size: 1em;
    line-height: 1.5;
    color: #555;
    margin-bottom: 5px;
}

.project .awards {
    font-size: 0.95em;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

.project a {
    color: #333;
    text-decoration: underline;
}

.project a:hover {
    color: #000;
}

.project strong {
    font-weight: bold;
    color: #333;
}

/* Footer */
footer {
    border-top: 1px solid #eee;
    padding-top: 30px;
    text-align: left;
}

.footer-nav {
    margin-bottom: 15px;
}

.footer-nav a {
    color: #333;
    text-decoration: underline;
    font-size: 0.95em;
}

.footer-nav a:hover {
    color: #000;
}

.theme-credit {
    font-size: 0.85em;
    color: #999;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 30px 15px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .contact ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .project {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 10px;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .project h2 {
        font-size: 1.2em;
    }
}

a {
    color: #333333;
}

a:hover {
    background: #62e7fe;
    text-decoration: none;
    color: #ffffff;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

p {
    padding-top: 2px;
    margin: 0px;
}

h1 {
    font-size: 25px;
    font-weight: 700;
    padding: 0px 0px 15px 0px;
    margin: 0px;
    line-height: 1.2;
}

h1 a {
    color: #000000;
    text-decoration: none;
}

h1 a:hover {
    background: none;
    color: #000000;
}

#container {
    width: 990px;
    margin: auto;
}

#left {
    width: 150px;
    float: left;
    padding-right: 20px;
}

#right {
    width: 820px;
    float: left;
}

#description {
    font-size: 12px;
    line-height: 16px;
    color: #666666;
    padding-bottom: 20px;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 20px;
}

#pages {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#pages li {
    padding: 10px 0px;
    border-bottom: 1px solid #cccccc;
}

#pages li:last-child {
    border-bottom: none;
}

#pages a {
    color: #333333;
    text-decoration: none;
    font-size: 12px;
    display: block;
}

#pages a:hover {
    background: #62e7fe;
    color: #ffffff;
}

.clear {
    clear: both;
}

#posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.post {
    margin-bottom: 0;
}

.box {
    position: relative;
}

iframe {
    display: block;
    border: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.caption {
    padding: 10px 0px;
    font-size: 12px;
    line-height: 16px;
}

.caption p {
    margin: 0px;
    padding: 0px;
}

.caption b {
    font-weight: 700;
}

.caption a {
    color: #333333;
    text-decoration: none;
}

.caption a:hover {
    background: #62e7fe;
    color: #ffffff;
}

#footer {
    padding-top: 20px;
    font-size: 12px;
    color: #666666;
    text-align: center;
    clear: both;
}

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

#footer a:hover {
    background: #62e7fe;
    color: #ffffff;
}

/* Tablet adjustments */
@media screen and (max-width: 1050px) {
    #container {
        width: 95%;
        max-width: 990px;
    }
    
    #right {
        width: calc(100% - 170px);
    }
}

/* Mobile stylesheet */
@media screen and (max-width: 768px) {
    body {
        padding: 20px;
        font-size: 14px;
        line-height: 18px;
    }
    
    #container {
        width: 100%;
    }
    
    #left {
        width: 100%;
        float: none;
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    
    #right {
        width: 100%;
        float: none;
    }
    
    h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    #description {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 20px;
        border-bottom: 1px solid #cccccc;
        padding-bottom: 15px;
    }
    
    #pages {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 0;
    }
    
    #pages li {
        padding: 0;
        border-bottom: none;
    }
    
    #pages a {
        font-size: 14px;
        padding: 8px 16px;
        border: 1px solid #333333;
        border-radius: 4px;
        display: inline-block;
    }
    
    #pages a:hover {
        border-color: #62e7fe;
    }
    
    /* Single column grid on mobile */
    #posts {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .post {
        margin-bottom: 0;
    }
    
    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        max-width: none;
    }
    
    .caption {
        padding: 15px 0;
        font-size: 14px;
        line-height: 18px;
    }
    
    #footer {
        padding-top: 40px;
        font-size: 14px;
        line-height: 20px;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    #pages {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    #pages a {
        width: 200px;
        text-align: center;
    }
} 