* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: Eurostile, Futura, Roboto;
    text-transform: uppercase;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

.row {
    margin:0 auto;
    width: 100%;
    max-width: 768px;
}

.purple-link {
    color: #8080ff;
}

.purple-link:hover {
    color: black;
}


/* INDEX PAGE */
.index {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.index > * {
    color:#242424;
}

.index > h1 {
    font-size: 48px;
    margin-bottom: 24px;
}
.index > h2 {
    margin-bottom: 48px;
    font-weight: normal;
}
.index > a {
    margin-bottom: 24px;

    font-family: 'Courier New', Courier, monospace;
    font-weight: normal;
    font-size: 24px;
    padding: 16px;

    border-radius: 16px;
    transition: background-color 300ms ease, color 300ms ease;
}

.index > a:hover {
    background-color: #8080ff;
    color: #eee;
}

/* NAV */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    padding: 8px;
}

.nav-max {
    font-weight: bold;
}

.nav-links {
    display: flex;
}

nav a {
    color: #242424;

    font-size: 24px;
    padding: 8px;

    border-radius: 16px;
    transition: background-color 300ms ease, color 300ms ease;
}

nav a:hover {
    background-color: #8080ff;
    color: #eee;
}

.nav-links > a {
    font-family: 'Courier New', Courier, monospace;
    margin-left: 8px;
}

/* PORTFOLIO */
.portfolio {
    min-height: 100vh;
}
.portfolio-wrapper {
    display: flex;
    flex-direction: row;

    width: 100%;
    max-width: 800px;
    margin: 0 auto;

    height: 100%;
}

.sidebar {
    padding: 16px 0px 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.checkbox {
    margin-bottom: 24px;
}

label {
    background-color: #eee;
    padding: 8px;
    border-radius: 16px;
    transition: background-color 300ms ease, color 300ms ease;
}

input {
    visibility: hidden;
}

input:checked + label {
    color: #eee;
    background-color: #8080ff;
}

button {
    padding: 8px;
    border-radius: 16px;
    border: none;
    color: #eee;
    margin-bottom: 16px;
    text-align: left;
    background-color: #8080ff;
    font-size: 16px;
}

.portfolio-list-wrapper {
    padding: 16px;

    display: flex;
    flex-direction: column;
    

}

.portfolio-item {
    width: 100%;

    display: block;

    padding: 8px;
    border-radius: 8px;
    margin: 8px;

    background-color: #eee;
    color: #242424;

    display: flex;
    flex-direction: row;

}

.portfolio-item-imgs {
    height: 100%;
    margin-right: 24px;
}

.portfolio-item-imgs > img {
    width: 100%;
    height: auto;
}

.portfolio-item-desc {
    min-width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-wip {
    background-color: #ff9933;
    color: white;
    padding: 4px;
    border-radius: 8px;
}

.portfolio-item > h4,p {
    font-family: 'Courier New', Courier, monospace;
}

.portfolio-item-desc-link {
    color: black;
}

.portfolio-item-desc-link:hover {
    color: #8080ff;
}


/* CONTACT */
.contact {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#contact {
    margin:auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#contact > * {
    margin:24px 0px;
}

/* ABOUT ME */
.about-me {
    text-align: justify;
}

.about-me h1 {
    text-align: center;
}

.about-me h1, p {
    margin-top: 24px;
}