body {
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    background-color: #121212;
    color: #ffff;
    line-height: 1.6;
}

.container {
    display: flex;
    flex-direction: column;
}

hr {
    width: 50%;
    margin-top: 5%;
    text-align: center;
    border-color: #a2a0ff;
}

/*Hero*/
.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 5rem;
    padding: 0;
}

.hero-img {
    min-height: auto;
    max-width: 400px;
    background-color: #a2a0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    border-radius: 2px;
}

.hero-img img {
    border-radius: 2px;
}

.hero-text {
    flex: 1;
    padding: 50px 40px;
}

.hero-text .highlight {
    color: #a2a0ff;
}

div.hero-text>h1 {
    font-size: 5rem;
}

.hero-text p {
    font-size: 3.8rem;
    font-weight: 500;
}

section {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
}

section h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    padding-top: 50px;
    text-align: center;
}

.about-me p {
    max-width: 900px;
    margin: auto;
    text-align: center;
    font-size: 1.7rem;
    padding-top: 50px;
}

/*Experience & Education*/
.ee-item {
    margin: 30px 0;
    font-size: 1.5rem;
    padding-top: 50px;
}

.ee-item strong {
    display: block;
    margin-bottom: 4px;
}

.ee-item small {
    color: #ccc;
}

/*Skills*/
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
    font-size: 2.7rem;
    text-align: center;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

/*Projects*/
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    padding-top: 50px;
}

.project {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 10px;
    max-width: 350px;
    text-align: center;
}

body>div.container>section:nth-child(5)>h2 {
    padding-bottom: 50px;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

.project p {
    font-size: 1rem;
    color: #ccc;
}

.project strong {
    font-size: 1.5rem;
    display: block;
    color: #fff;
}

.project-buttons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    transition: 0.25s;
}

.demo-btn {
    background-color: #a2a0ff;
}

.demo-btn:hover {
    background-color: #6c31da;
}

.github-btn {
    background-color: #333;
}

.github-btn:hover {
    background-color: #000;
}

/*Footer*/
footer {
    background-color: #a2a0ff;
    color: #000;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* ensures responsive stacking on smaller screens */
    flex-wrap: wrap;
    /* align text properly */
    text-align: left;
    gap: 40px;
    max-width: 1200px;
}

.footer-img img {
    padding-left: 100px;
    margin-right: 200px;
    max-width: 400px;
    border-radius: 2px;
}

.footer-text {
    flex: 1;
    font-size: 1.5rem;
    max-width: 400px;
}

.socials a {
    margin: 0 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

/*Avoids flash before jQuery runs*/
.ee-item,
.skill,
.project {
    opacity: 0;
}


/*Responsive*/
@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
    }

    .projects-container,
    .skills {
        flex-direction: column;
        align-items: center;
    }

    .project {
        max-width: 90%;
    }

    .footer-container {
        margin-left: 0;
        padding: 0 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-img img {
        padding-left: 0;
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-text {
        max-width: 100%;
    }
}