body {
    font-family: 'Source Code Pro', monospace;
	background-color: #232323;
	color: #fff;
	font-size: 1rem; 
	line-height: 1.6;

	margin-left: 5vw;
	margin-right: 5vw;
	margin-bottom: 2vw;
}

h2 {
	color: #bcbcbc;
	font-size: 1.5rem;
}

h3 {
	color: #7b98c4;
    font-size: 1.15rem;
}

a {
    color: #7b98c4;
    text-decoration: none;
    border-bottom: 1px solid var(--color-border-light);
}

a:hover {
    border-bottom-style: solid;
    border-bottom-color: var(--color-accent);
    color: var(--color-accent);
}

#scene {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    pointer-events: none; 
}

/* ================
 * Projects section
 * ================
 */

.projects-section {
	width: 100%;
}

.projects-section h2 {
    margin-bottom: 0;
}

.projects-section .project:first-of-type h3 {
    margin-top: 0;
	margin-top: 0.5rem;
}

.projects-section .project:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.project {
	border-top-width: 2px;
    border-bottom-width: 2px;
    border-top-style: dotted;
    border-bottom-style: dotted;
    border-color: #bcbcbc;
	padding: 1rem 0;
	margin: 2rem 0;
}

.project .project-description {
	width: 60vw;
	margin-top: 0.3rem;
}

.project-title a {
	font-size: 1.17em;
	color: #7b98c4;
    font-weight: bold;
    text-decoration: underline;
}

.project-description a:hover {
    color: #8abeb7;
}

.project h3 {
  margin-bottom: 0;
}

.project .project-description p {
  margin-top: 0;
}

.project-content {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
}

.project-content .project-description {
    flex: 1;
}

.project-media {
	width: 30vw;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	align-items: center;
}

.project-media img,
.project-media video {
    max-width: 70%;
    height: auto;      
    object-fit: contain;
    display: block;
}

.caption {
	font-size: 0.85rem;
    color: #a0a0a0;
    margin-top: 0.4rem;
	font-style: italic;
}

/* ================
 * 		mobile 
 * ================ */
@media (max-width: 768px) {
    .projects-section {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    .project-content {
        flex-direction: column;
        gap: 1rem;
    }

    .project-content .project-description {
        width: 100%;
        min-width: 100%;
    }

    .project-image,
    .project-media {
        width: 100%;
        max-width: 100%;
    }

    .project-image img,
    .project-image video,
    .project-media img,
    .project-media video {
        width: 100%;
        height: auto;
    }

    #scene {
        position: relative;
        top: 0;
        right: 0;
        margin: 1rem auto;
        display: block;
    }
}

/* ================
 * 		fonts
 * ================ */
/* latin-ext */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/bitter/v42/raxhHiqOu8IVPmnRc6SY1KXhnF_Y8fbfOLbOXWh2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/bitter/v42/raxhHiqOu8IVPmnRc6SY1KXhnF_Y8fbfOLjOXQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

