/* Import DepartureMono font */
@font-face {
    font-family: 'DepartureMono';
    src: url('https://humantooth.neocities.org/fonts/DepartureMono.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Base styles */
body {
    font-family: 'DepartureMono', monospace;
    margin: 0;
    padding: 0;
    background-color: #F9F9F9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header styles */
.header {
    background-color: #cf77a4;
    color: white;
    padding: 20px;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header h1 {
    margin: 0;
    text-align: center;
    flex-grow: 1;
}

.header h1 a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    display: inline-block;
    letter-spacing: 5px;
}

/* Navigation styles */
.hamburger {
    cursor: pointer;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
}

.nav-menu {
    position: absolute;
    top: 100%;
    right: 20px;
    background-color: #ffbcd0;
    border: 2px solid #b94a7b;
    display: none;
    flex-direction: column;
    padding: 10px;
    border-radius: 5px;
    gap: 10px;
    z-index: 100;
}

.nav-menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
}

.nav-menu a:hover {
    background-color: #ff8fb2;
}

/* Main content styles */
.main-content {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    flex: 1;
}

/* Sidebar styles */
.sidebar {
    width: 200px;
    background-color: #F5F5F5;
    padding: 20px;
    border: 1px solid #DDD;
    border-radius: 5px;
}

.sidebar img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Grid styles for main page */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    width: 100%;
}

.grid-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.grid-item img {
    width: 100%;
    height: 100%;
    transition: transform .2s;
    object-fit: cover;
}

.grid-item img:hover {
    transform: scale(1.5);
}

.grid-item .overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 5px;
}

/* Profile styles for about page */
.profile {
    width: 500px;
    background-color: #F5F5F5;
    padding: 20px;
    border: 1px solid #DDD;
    border-radius: 5px;
    margin-left: 20px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
}

.profile-info {
    margin-bottom: 20px;
}

.profile-info h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.profile-info p {
    margin: 5px 0;
    color: #777;
}

.profile-description {
    font-size: 14px;
    line-height: 1.5;
}

.profile-tags {
    margin-top: 10px;
}

.profile-tags span {
    display: inline-block;
    padding: 3px 10px;
    margin-top: 5px;
    background-color: #DDD;
    color: #555;
    margin-right: 5px;
    border-radius: 3px;
    font-size: 12px;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.image-gallery img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 5px;
    cursor: pointer;
    margin-top: 5px;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
}

.custom-fields {
    margin-top: 20px;
}

.custom-field {
    background-color: #EEE;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.custom-field h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.custom-field p {
    margin: 5px 0;
    color: #777;
    display: none;
}

.divider {
    position: relative;
    padding: 5px;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 2px solid #DDD;
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin: 20px 0;
}

.social-icons a {
    display: inline-block;
}

.social-icons img {
    width: 40px;
    height: 40px;
}

/* CV specific styles */
.cv-content {
    width: 90%;
    max-width: 800px;
    background-color: #F5F5F5;
    padding: 30px;
    border: 1px solid #DDD;
    border-radius: 5px;
    margin-bottom: 20px;
}

.cv-section {
    margin-bottom: 30px;
}

.cv-section h2 {
    color: #cf77a4;
    border-bottom: 2px solid #cf77a4;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.cv-section h3 {
    color: #333;
    margin-bottom: 10px;
}

.cv-section p {
    margin: 5px 0;
    line-height: 1.5;
}

.cv-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.cv-section li {
    margin: 5px 0;
}

.cv-entry {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #E0E0E0;
}

.cv-entry:last-child {
    border-bottom: none;
}

.cv-dates {
    color: #cf77a4;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 120px;
    margin-right: 20px;
    flex-shrink: 0;
}

.cv-details {
    flex: 1;
}

.cv-details h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.1rem;
}

.cv-details p {
    margin: 3px 0;
    color: #666;
}

.cv-details .location {
    color: #888;
    font-style: italic;
}

.experience-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    padding: 15px;
    background-color: #FAFAFA;
}

.experience-container::-webkit-scrollbar {
    width: 8px;
}

.experience-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.experience-container::-webkit-scrollbar-thumb {
    background: #cf77a4;
    border-radius: 4px;
}

.experience-container::-webkit-scrollbar-thumb:hover {
    background: #b94a7b;
}

.skills {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #E0E0E0;
}

.artistic-focus-container {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    padding: 15px;
    background-color: #FAFAFA;
}

.artistic-focus-container::-webkit-scrollbar {
    width: 8px;
}

.artistic-focus-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.artistic-focus-container::-webkit-scrollbar-thumb {
    background: #cf77a4;
    border-radius: 4px;
}

.artistic-focus-container::-webkit-scrollbar-thumb:hover {
    background: #b94a7b;
}

/* Button styles */
.cute-box {
    text-align: center;
    margin-top: 20px;
}

.gradient-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    background: linear-gradient(45deg, #ff8fb2, #ff6f91);
    background-size: 200% 200%;
    animation: gradient 3s infinite alternate;
    transition: transform 0.3s ease;
    text-align: center;
}

.gradient-button:hover {
    transform: scale(1.05);
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Footer styles */
.footer {
    box-sizing: border-box;
    display: block;
    width: 100%;
    background-color: #ffbcd0;
    color: white;
    text-align: center;
    padding: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: auto;
}

/* Responsive design */
@media (min-width: 768px) {
    .main-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .sidebar {
        width: 30%;
        margin-bottom: 0;
    }
    
    .grid-container {
        width: 65%;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
    
    .sidebar {
        width: 90%;
        margin-bottom: 20px;
    }
    
    .profile {
        width: 90%;
        margin-left: 0;
        margin-top: 20px;
    }
    
    .cv-content {
        width: 95%;
        padding: 20px;
    }
}
