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

body {
    background-color: #555555;
    font-family: 'Monaco', 'Courier New', monospace;
    color: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container {
    width: 1440px;
    height: 1024px;
    background-color: #555555;
    position: relative;
}

/* Portfolio wrapper */
.portfolio-wrapper {
    display: flex;
    position: absolute;
    top: 192px;
    left: 0;
    width: 100%;
}

/* Photo section */
.photo-section {
    position: relative;
    width: 576px;
    height: 478px;
}

.profile-photo {
    position: absolute;
    width: 555px;
    height: 394px;
    top: 77px;
    left: 9px;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    width: 204px;
    height: 142px;
    top: 336px;
    left: 0;
    background-color: #555555;
}

.frame-container {
    position: absolute;
    width: 384px;
    height: 478px;
    top: 0;
    left: 192px;
}

.frame-elements {
    position: absolute;
    width: 360px;
    height: 454px;
    top: 24px;
    left: 0;
}

.frame-vertical {
    position: absolute;
    width: 24px;
    height: 454px;
    top: 0;
    left: 0;
    background-color: #c4c4c4;
}

.frame-horizontal {
    position: absolute;
    width: 360px;
    height: 24px;
    top: 430px;
    left: 0;
    background-color: #c4c4c4;
}

.polygon-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
}

.polygon-bottom-right {
    position: absolute;
    top: 454px;
    left: 360px;
    width: 24px;
    height: 24px;
}

/* Info section */
.info-section {
    position: absolute;
    left: 731px;
    top: -1px;
}

.header-line {
    position: absolute;
    width: 640px;
    height: 24px;
    top: 76px;
    left: 69px;
}

.line {
    position: absolute;
    width: 616px;
    height: 24px;
    top: 0;
    left: 24px;
    background-color: #c4c4c4;
}

.polygon-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
}

.name {
    font-family: 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    color: #c4c4c4;
    font-size: 54px;
    text-align: center;
    white-space: nowrap;
    width: 521px;
    height: 54px;
    position: absolute;
    top: 0;
    left: 0;
}

.title {
    font-family: 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    color: #000000;
    font-size: 32px;
    text-align: center;
    white-space: nowrap;
    width: 346px;
    height: 32px;
    position: absolute;
    top: 128px;
    left: 172px;
}

.degree {
    font-family: 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    color: #000000;
    font-size: 32px;
    text-align: center;
    white-space: nowrap;
    width: 463px;
    height: 32px;
    position: absolute;
    top: 170px;
    left: 56px;
}

.school {
    font-family: 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    color: #000000;
    font-size: 32px;
    text-align: right;
    white-space: nowrap;
    width: 463px;
    height: 32px;
    position: absolute;
    top: 212px;
    left: 54px;
}

.resume-btn {
    position: absolute;
    width: 192px;
    height: 48px;
    top: 430px;
    left: 267px;
    background-color: #c4c4c4;
    border: none;
    font-family: 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    color: #000000;
    font-size: 32px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.resume-btn:hover {
    background-color: #b0b0b0;
}

/* About section */
.about-section {
    position: absolute;
    top: 736px;
    left: 204px;
}

.about-title {
    font-family: 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    color: #c4c4c4;
    font-size: 32px;
    text-align: center;
    white-space: nowrap;
    width: 154px;
    height: 24px;
    margin-bottom: 53px;
}

.about-text {
    font-family: 'Monaco', 'Courier New', monospace;
    font-weight: normal;
    color: #000000;
    font-size: 24px;
    width: 1032px;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    .container {
        width: 100%;
        max-width: 1440px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container {
        height: auto;
        padding: 20px;
    }
    
    .portfolio-wrapper {
        flex-direction: column;
        position: static;
        width: 100%;
    }
    
    .photo-section {
        width: 100%;
        height: auto;
        margin-bottom: 40px;
    }
    
    .profile-photo {
        width: 100%;
        height: auto;
        position: static;
    }
    
    .info-section {
        position: static;
        width: 100%;
        text-align: center;
    }
    
    .name,
    .title,
    .degree,
    .school {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .resume-btn {
        position: static;
        margin: 20px auto;
        display: block;
    }
    
    .about-section {
        position: static;
        margin-top: 40px;
        text-align: center;
    }
    
    .about-text {
        width: 100%;
    }
}

