* {
    margin: 0;
    padding: 0;
}

/* CSS Color Variables */
:root {
    --primary-color: #272729;
    --gradient-offset: #d12ce4;
    --gradient-end: #dcc424;
    --background-color: #111111;
    --border-color: #dcc424;
    --border-shadow-color: rgba(220, 196, 36, 0.5);
    --gradient: linear-gradient(90deg, var(--primary-color), var(--gradient-offset), var(--gradient-end));
    --webkit-gradient: -webkit-linear-gradient(90deg, var(--primary-color), var(--gradient-offset), var(--gradient-end));
}

/* Global Styles */
body {
    font-family: 'Metropolis', sans-serif;

    background-color: var(--background-color);
    color: white;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    margin-left: 5%;
    margin-right: 5%;
    height: 1vh;
}

body h1, h2 {
    font-family: 'Merriweather', serif;
    text-align: center;
}

/* Header */
header {
    text-align: center;
    background: var(--gradient);
    margin-top: 20px;
}

header > img {
    width: 150px;
    margin-left: auto;
    margin-right: auto;
}

/* Main */
main {
    text-align: center;
}
/* Navigation */
nav {
    border-bottom: var(--primary-color) 2px solid;
}

nav ul {
    display: flex;
    flex: 1;
    text-align: center;
    list-style-type: none;
    justify-content: space-evenly;

}

nav li {
    display: inline-block;
}

nav a {
    display: block;
    padding: 10px;
    min-width: 80px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
    transition: 0.3s;

}   

/* Main Content */
section {
    display: flex;
    flex-wrap: wrap;

}

article.intro h1 {
    line-height: 4rem;
    font-size: 4rem;
    background: var(--webkit-gradient);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

article.intro h2 {
    font-style: italic;
    color: var(--border-color);
    margin-bottom: 20px;
}

article {
    flex: 1;
}

article h1 {
    font-size: 2rem;
    line-height: 2rem;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 5px;
    width: 100%;
    background: var(--webkit-gradient);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color:transparent;
}

article.card {
    margin: 20px;
    min-width: 250px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: transform 0.3s ease; 
}

article.card:hover {
    box-shadow: 2px 2px 5px var(--border-shadow-color);
    transform: translateY(-3px) translateX(-2px); 
}

article.card p {
    padding: 0 15px 15px 15px;
}

article.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

/* Footer */
footer {
    display: flex;
    background: var(--primary-color);
    color: white;
    padding: 20px;
}

footer div {
    flex: 1;
}

footer img {
    width: 70px;
    float: inline-start;
}

footer p {
    float: inline-start;
    padding-left: 20px
}


