:root {
    --bg-dark: #0d1117;
    --bg-medium: #161b22;
    --bg-light: #21262d;
    --bg-white: #ffffff;
    --border-color: #30363d;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --accent-blue: #ffffff;
    --accent-purple: #7dd3f0;
    --red: #ff5f56;
    --yellow: #ffbd2e;
    --green: #27ca3f;
}

@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;500;600&display=swap');

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

body {
    font-family: 'Source Code Pro', monospace;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.terminal {
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin: 20px;
    min-height: calc(100vh - 40px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background: var(--bg-light);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    border-radius: 6px 6px 0 0;
}

.terminal-controls {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.close { background: var(--red); }
.minimize { background: var(--yellow); }
.maximize { background: var(--green); }

.terminal-title {
    color: var(--text-secondary);
    font-size: 14px;
}

.terminal-content {
    padding: 20px;
}


.banner {
    display: flex;
	/* max-width: 1100px;    */
	max-width:90%;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.profile-photo {
    width: 240px;
    background: var(--bg-light);
}

.white-pg {
    	/* background-color: var(--bg-white); */
	margin-left:5vw;
	    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    align-items: center;
    gap: 20px;
    align-self: stretch;
}
.uni-logo {
	width:12vw;
    	background-color: var(--bg-white);
	padding:10px;
	border-radius: 10px;
}
.emoji-photo {
	height:50px;
}
.tech-logo {
	height:40px;
	padding:2px;
    	background-color: var(--bg-white);
	border-radius: 25%;
}

.contact-info h1 {
    color: var(--accent-blue);
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-info p {
    color: var(--text-secondary);
    margin: 4px 0;
    font-size: 14px;
}

.contact-info a {
    color: var(--accent-blue);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.prompt {
    color: var(--accent-purple);
    margin: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
	max-width:400px;
}

.gallery-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
    background: var(--bg-dark);
}

.item-title {
    color: var(--accent-blue);
    font-size: 18px;
    margin-bottom: 8px;
}

.item-date {
    color: #7d8590; /* This color does not appear elsewhere, so I've left it as is. */
    font-size: 12px;
    margin-bottom: 8px;
}

.item-info {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.4;
}

.page-view {
	margin-left:10vw;	
	display: none;
	animation: fadeIn 0.3s ease;
	max-width:70vw;
	/* text-align: center; */
}
.page-view img {
	  display: block;
	  margin: 0 auto; 
	max-width:100%;
}
.page-view div:has(blockquote) {
    text-align: center;
}

.page-view blockquote {
    margin: 0 auto;
    display: inline-block;
    max-width: 60vw;
    text-align: center;
}
a {
	color:white;
}
hr {
	margin-top:20px;
	margin-bottom:20px;
}
strong {
	color:white;
}

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

.back-button {
    background: var(--bg-light);
    color: var(--accent-blue);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: var(--border-color);
}

.markdown-content {
    color: var(--text-primary);
    line-height: 1.7;
}

.markdown-content h1, .markdown-content h2, .markdown-content h3 {
    color: var(--accent-blue);
    margin: 20px 0 10px 0;
}

.markdown-content p {
    margin-bottom: 15px;
}

.markdown-content code {
    background: var(--bg-dark);
    padding: 2px 4px;
    border-radius: 3px;
    font-family: inherit;
}

.markdown-content pre {
    background: var(--bg-dark);
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 15px 0;
}

.markdown-content blockquote {
    border-left: 4px solid var(--accent-blue);
    padding-left: 15px;
    margin: 15px 0;
    color: var(--text-secondary);
}

.typing::after {
    content: '_';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@media (max-width: 768px) {
    .terminal {
        margin: 10px;
        min-height: calc(100vh - 20px);
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    .banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        max-width: 600px;   
        margin: 0 auto;    
    }

    .profile-photo {
        width: 120px;
    }

    .contact-info {
        width: 100%;
    }

    .contact-info p {
        font-size: 13px;
        word-wrap: break-word;
    }

    .tech-logo {
        height: 30px;
        margin: 5px;
    }

    .contact-info p img.tech-logo {
        display: inline-block;
    }

    .white-pg {
        flex-wrap: wrap;
        gap: 10px;
    }

.uni-logo {
	width:150px;
}
.page-view {
    display: none;
    animation: fadeIn 0.3s ease;
		width:100vw;
}.page-view img {

	max-width:100%;
}
}


