/* Web 1.0 Resume Styles - Mobile Friendly */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Times New Roman", serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    background-color: #fff;
    border: 2px solid #000;
    padding: 20px;
}

header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
}

.photo img {
    border: 2px solid #000;
    margin-right: 20px;
    border-radius: 0;
}

.header-info h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-info h2 {
    font-size: 1.3em;
    font-weight: normal;
    margin-bottom: 15px;
    font-style: italic;
}

.contact p {
    margin: 5px 0;
    font-size: 1em;
}

main {
    margin-bottom: 20px;
}

section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

section:last-child {
    border-bottom: none;
}

h3 {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
}

p {
    margin-bottom: 10px;
    text-align: justify;
}

ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

li {
    margin-bottom: 5px;
}

a {
    color: #0000EE;
    text-decoration: underline;
}

a:hover {
    color: #0000CC;
}

footer {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 15px;
    }
    
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .photo img {
        margin-right: 0;
        margin-bottom: 15px;
        width: 120px;
        height: 120px;
    }
    
    .header-info h1 {
        font-size: 2em;
    }
    
    .header-info h2 {
        font-size: 1.1em;
    }
    
    h3 {
        font-size: 1.2em;
    }
    
    ul {
        margin-left: 15px;
    }
    
    p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .header-info h1 {
        font-size: 1.8em;
    }
    
    .photo img {
        width: 100px;
        height: 100px;
    }
    
    h3 {
        font-size: 1.1em;
    }
}
