:root {
    --primary: #0595cd;
    --spacing: 4rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

.neutral-theme {
    background-color: white;
    --button-color: var(--primary);
    --button-hover-color: white;
}

.primary-theme {
    background-color: var(--primary);
    color: white;
    --button-color: white;
    --button-hover-color: var(--primary);
}

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

h1 {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 5vw, 6rem);
    font-weight: bold;
    line-height: 1.4em;
}

h2 {
    margin-bottom: var(--spacing);
    text-align: center;
    font-size: 3vw;
    font-weight: bold;
    text-transform: uppercase;
}

h3 {
    margin-bottom: 1rem;
    font-size:  2rem;
    font-weight: bold;
}

section {
    padding: var(--spacing);
}

.heading-highlight {
    color: var(--primary);
}

.button {
    display: inline-block;
    width: max-content;
    padding: 1rem;
    border: 1px solid var(--button-color);
    font-weight: bold;
    text-decoration: none;
    color: var(--button-color);
}

.button:hover {
    color: var(--button-hover-color);
    background-color: var(--button-color);
}

.header-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.header-link::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.5rem 0.5rem 0 0.5rem;
    border-color: var(--button-color) transparent transparent transparent;
}

.header-link:hover::after {
    border-color: var(--button-hover-color) transparent transparent transparent;
}

.about {
    padding: var(--spacing);
    margin-bottom: 100px;
    position: relative;
}

.about::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -100px;
    width: 0;
    height: 0;
    border-top: 100px solid var(--primary);
    border-right: 100vw solid transparent;
}

.about-img {
    max-width: 350px;
    filter: grayscale(20%);
}

.about-img:hover {
    filter: grayscale(0%);
}

p {
    margin-bottom: 1em;
    font-size: 1rem;
    line-height: 1.4rem;
}

.about-info {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing);
}

blockquote {
    margin-top: var(--spacing);
    font-size: 1.1rem;
    font-style: italic;
    text-align: center;
}

cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
}

article {
    display: flex;
    flex-direction: column-reverse;
}

.article-img {
    margin-bottom: 2rem;
    max-width: 600px;
}

.contact {
    text-align: center;
    position: relative;
    margin-top: 100px;
}

.contact::before {
    content: "";
    position: absolute;
    right: 0;
    top: -100px;
    width: 0;
    height: 0;
    border-bottom: 100px solid var(--primary);
    border-left: 100vw solid transparent;
}
footer {
    padding: var(--spacing);
    background-color: #333;
    color: white;

    & p {
        text-align: center;
    }
}

.social {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: var(--spacing);
}

.social-link {
    display: block;
    width: 60px;
    height: 60px;
    color: transparent;
    font-size: 1px;
    background-repeat: no-repeat;
    background-size: 60px;
    filter: invert(100%);
    transition: all 0.2s ease-in-out;
}

.social-link:hover {
    transform: scale(1.2);
}

.li {
    background-image: url(social-icons/linkedin.png);
}

.tw {
    background-image: url(social-icons/twitter.png);
}

.gh {
    background-image: url(social-icons/github.png);
}

.yt {
    background-image: url(social-icons/youtube.png);
}

.bl     {
    background-image: url(social-icons/blogger.png);
}


@media (min-width: 800px) {
    .about-info {
        flex-direction: row;
        align-items: flex-start;
    }

    article {
        flex-direction: row;
        max-width: 960px;
        gap: 2rem;
        margin: 0 auto var(--spacing);
    }

    .article-img {
        max-width: 350px;
        object-fit: cover;
    }
}

