/* General Styles */
html {
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

/* Text Gradient */
.highlighted-text {
    background: -webkit-linear-gradient(270deg, #efd5ff 0%, #515ada 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 1s;
}

.highlighted-text:hover {
    background: -webkit-linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlighted-text-inverted {
    background: -webkit-linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: color 1s;
}

.highlighted-text-inverted:hover {
    background: -webkit-linear-gradient(270deg, #efd5ff 0%, #515ada 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-highlighted-text {
    transition: color 1s;
}

.hover-highlighted-text:hover {
    background: -webkit-linear-gradient(270deg, #efd5ff 0%, #515ada 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav */
nav {
}

nav .brand {
    color: var(--color-contrast);
    text-decoration: none;
}

/* Header */
header {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

header img {
    border-radius: 50%;
    width: 14rem;
    display: block;
    margin: auto;
    padding: 1rem;
}

header hgroup {
    text-align: center;
    margin: auto;
    @media (min-width: 27rem) {
        width: 27rem;
    }
}

header hgroup p {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

header .actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .actions a {
    margin: 0.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Page Content */
section {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

section .header {
    text-align: center;
}

section .text {
    text-align: justify;
}

/* About */
.about {
    @media (min-width: 50rem) {
        margin-left: 6rem;
        margin-right: 6rem;
    }

    @media (min-width: 70rem) {
        margin-left: 10rem;
        margin-right: 10rem;
    }
}

/* Projects */
.projects {
}

.projects .project {
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: justify;
}

.projects .project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.projects .project hgroup {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.projects .project a {
    margin-left: 1rem;
}
.projects .project svg {
    width: 0.4rem;
}

/* Contact */
.contact {
    text-align: center;
}

.contact .methods {
    margin-top: 2rem;
}

.contact .notice {
    margin-top: 1rem;
}

/* Footer */
footer {
}

footer .copyright {
    text-align: left;
    @media (max-width: 768px) {
        text-align: center;
    }
}

footer .comment {
    text-align: center;
}

footer .socials {
    text-align: right;
    @media (max-width: 768px) {
        text-align: center;
    }
}

footer .socials a {
    color: var(--color-contrast);
    text-decotation: none;
    margin-left: 0.5rem;
}

footer .socials a svg {
    color: var(--color-contrast);
    width: 1rem;
}
