@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');


:root {
    --color-red: #FB3C53;
    --color-yellow: #FBDA3E;
    --color-background: #000;
    --color-body: #DACFA7;

    --font-headline: "Montserrat", sans-serif;
    --font-body: "Poppins", sans-serif;

    --weight-headline: 900;
    --weight-light: 300;
    --weight-medium: 500;
    --weight-bold: 700;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--color-background);

    font-family: var(--font-body);
    font-weight: var(--weight-light);
    color: var(--color-body);
    font-size: 1.1em;
    line-height: 1.5em;
}

a { 
    color: var(--color-yellow); 
}
a:hover {
    color: var(--color-red);
}

strong {
    font-weight: var(--weight-medium);
}

.wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2em 0 2em;
}

header {
    border-bottom: 2px var(--color-yellow) solid;   
}

header .wrapper {
    display: flex;
    padding: 1em 2em;
}

header h1 {
    color: var(--color-yellow);
    font-family: var(--font-headline);
    font-weight: var(--weight-headline);
    margin: 0; 
    padding: 0;
    line-height: 100%;
    font-size: 2em;
    margin-top: 0.1em;
    flex-grow: 1;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    font-size: 1em;
    text-transform: uppercase;
    padding: 0.5em;
}

nav ul li:last-child {
    padding-right: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-red);
}

nav ul li a:hover {
    color: var(--color-yellow);
}

section {
    margin: 0; 
    margin-bottom: 5em;
    padding: 0;
}

#spiritlift {
    text-align: center;
}

#spiritlift figure {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

#spiritlift figure img {
    width: 100%;
    height: auto;
}

#spiritlift p {
    margin-left: auto;
    margin-right: auto;
    max-width: 50em;
}

a.button {
    display: inline-block;
    border: 1px var(--color-yellow) solid;
    border-radius: 1.25em;
    font-weight: (--weight-medium);
    text-decoration: none;
    padding: 0.75em 1.5em ;
    text-transform: uppercase;
}

a.button:hover {
    border-color: var(--color-red);
}

#spiritlift ul.buttons {
    justify-content: center;
}


ul.buttons {
    list-style-type: none;
    display: flex;
    margin: 1em 0 3em 0; padding: 0;
}

section h2 {
    font-family: var(--font-body);
    font-weight: var(--weight-light);
    font-size: 1.35em;
    text-transform: uppercase;
    color: var(--color-red);
}

#about {
    float: none; 
    clear: both;
}

#about p, 
#contact p {
    max-width: 50em;
}

.project {
    float: none;
    clear: both;
}

.project figure {
    display: block;
    float: left;
    width: 30%;
    max-width: 15em;
    margin: 0 1em 0 0;
}

.project figure img {
    width: 100%;
    height: auto;
}

.project .type {
    display: inline-block;
    border: 1px var(--color-body) solid;
    padding: 0.25em 0.65em;
    border-radius: 0.5em;
    font-size: 0.85em;
    text-transform: uppercase;
}


.youtubeplayer {
    display: flex;
    justify-content: center;
}
    
.youtubeplayer iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 50em;
    max-height: calc(50em * 16 / 9);
}


@media(width <= 600px) {
    header .wrapper {
        display: block;
    }

    header nav {
        display: none;
    }
}