/* Setting up fonts */
* {
    font-family: "Anonymous Pro", monospace;
    color: #f5f5f5;
}

/* Colour background */
body {
    background-color: #010b13;
}

/* Page wrapper keeps everything centred and aligned */
.top {
    max-width: 1000px;
    margin: 0 auto;
}

/* Header / navigation: logo on left, others on the right */
.header {
    width: 100%;
    font-size: 20px;
    margin: 0 0 24px;
}

/* Styling the nav header */
.header-nav {
    width: 100%;
    font-size: 16px;
}

/* Styling the nav list */
.nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

/* Pushes Projects and About to the right */
.nav-list .nav-right {
    margin-left: auto;
}

.nav-list .nav-right~.nav-right {
    margin-left: 0;
}

.nav-list a {
    text-decoration: none;
}

.nav-list img {
    display: block;
    height: 60px;
    width: auto;
}

/* Hero section: image on left, text + socials on right */
.hero {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-image {
    flex: 0 0 auto;
    width: 380px;
    max-width: 45%;
    height: auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text h2 {
    margin-top: 0;
}

/* Row of social buttons */
.socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

/* Shared circle styles for every social button */
.socials .fa,
.socials .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    padding: 0;
    margin: 0;
    font-size: 30px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    color: white;
}

.socials .social-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.socials .social-icon.mail img {
    width: 100%;
    height: 100%;
}

.socials .fa:hover,
.socials .social-icon:hover {
    opacity: 0.6;
}

/* Stack the hero on small screens */
@media screen and (max-width: 700px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        max-width: 80%;
    }

    .hero-text {
        text-align: center;
    }

    .socials {
        justify-content: center;
    }
}

/* Specific colours for different social buttons */
.socials .fa-youtube {
    background: #bb0000;
}

.socials .fa-linkedin {
    background: #0077b5;
}

.socials .fa-github {
    background: #333333;
}

.socials .social-icon.itch {
    background: #f5f5f5;
}

.socials .social-icon.mail {
    background: #f5f5f5;
}

/* Footer */
footer {
    max-width: 1000px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 14px;
}

/* For the portfolio page */

* {
    box-sizing: border-box;
}

body {
    background-color: #010b13;
    padding: 20px;
}

/* Center website */
.main {
    max-width: 1000px;
    margin: auto;
}

h1 {
    font-size: 50px;
    word-break: break-all;
}

.row {
    margin: 8px -16px;
}

/* Padding */
.row,
.row>.column {
    padding: 8px;
}

/* Three equal columns that floats next to each other */
.column {
    float: left;
    width: 33.33%;
}

/* Clear floats after rows */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Content */
.content {
    background-color: black;
    padding: 10px;
}

/* Responsive layout - makes a two column-layout instead of three columns */
@media screen and (max-width: 900px) {
    .column {
        width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
    }
}