@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Poppins:ital,wght@0,500;0,600;0,700;0,800;0,900;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --red: hsl(352, 65%, 52%);
    --black: hsl(0, 0%, 19%);
    --white: hsl(0, 0%, 100%);
    --green: hsl(143, 42%, 45%);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 175vh;
    background-color: hsl(38, 100%, 95%);
    color: var(--black);
    font-size: 1.5rem;
}

a:link, a:visited {
    text-decoration: none;
    color: var(--green);
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
}

header {
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 5;
}

header #background {
    position: fixed;
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    height: 100%;
}

header #background .flag-stripe {
    display: flex;
    align-items: center;
    width: 100%;
    height: 33.3%;
    font-weight: 900;
    font-size: 8rem;
    padding-left: 60vh;
    transition: transform 0.1s;
}

header #background #black-stripe {
    background-color: var(--black);
    color: var(--white);
}

header #background #white-stripe {
    background-color: var(--white);    
    color: var(--red);
}

header #background #green-stripe {
    background-color: var(--green);
    color: var(--white);
}

header #background #hashtag-container {
    position: absolute;
    z-index: 7;
    top: -10vh;
    left: -20vw;
    color: var(--white);
    user-select: none;
}

header #background #hashtag-container #hashtag {
    font-size: 10rem;
    font-weight: 700;
    font-style: italic;
}

header #background #hashtag-container p {
    margin: 0;
    font-size: 2rem;
    font-weight: 500;
}

header #background #red-triangle {
    position: absolute;
    z-index: 6;
    width: 0;
    height: 0;
    border-top: 50vh solid transparent;
    border-bottom: 50vh solid transparent;
    border-left: 50vh solid var(--red);
    transition: transform 0.1s;
}

main {
    width: 100%;
    max-width: 1280px;
    padding: 2vh 2vw;
    padding-bottom: 10vh;
    margin: auto;
    margin-top: 10vh;
    font-family: 'Inter', sans-serif;
}

main p {
    margin: 0;
}

main h2 {
    color: var(--green);
}

main strong {
    color: var(--red);
}

main li {
    line-height: 3rem;
}

#volunteer-info {
    margin-top: 20vh;
}

#volunteer-info p {
    line-height: 1.5;
}

#volunteer-template {
    display: flex;
    justify-content: center;
    margin-top: 5vh;
}

#volunteer-template #volunteer-template-img {
    position: relative;
    width: auto;
}

#volunteer-template-img a:link, #volunteer-template-img a:visited {
    color: var(--white);
}

#volunteer-template-img #expand-icon {
    position: absolute;
    top: 0;
    right: 0;
    text-shadow: 0px 0px 3px #000000aa;
}

#volunteer-template img {
    height: 50vh;
    width: auto;
    border-radius: 4px;
}

#donor-info {
    margin-top: 20vh;
    display: flex;
    gap: 3vw;
}

#donor-info h2 {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: -12px;
}

#donor-info h3 {
    margin: 0;
    background: var(--black);
    color: var(--white);
    padding: 10px;
}

.emphasis {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--red);
    font-weight: 600;
    margin-top: 2vh;
}

#orgs {
    margin-top: 20vh;
}

#orgs p {
    line-height: 1.5;
    margin: 2vh 0;
}

#orgs h3 a:link, #orgs h3 a:visited {
    text-decoration: underline;
    color: var(--red);
}

#form {
    margin-top: 20vh;
}

#form-button {
    font-weight: bold;
    margin-top: 5vh;
    display: flex;
    justify-content: center;
}

#form-button a:visited, #form-button a:link {
    display: block;
    background-color: var(--red);
    color: var(--white);
    padding: 10px;
    border-radius: 4px;
}

#artists {
    margin-top: 20vh;
}

#artists .artist {
    position: relative;
    width: 100%;
    height: 40vh;
    background-position: center top;
    background-size: cover;
    margin-top: 5vh;
}

#artists .artist .artist-filter {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(ellipse at center, transparent, #000000cc);
    z-index: 2;
}

#artists .artist .artist-info {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.artist .artist-basics {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.artist .artist-icon {
    width: 20vh;
    height: 20vh;
    background-size: 20vh 20vh;
    border-radius: 50%;
    background-position: center center;
    box-shadow: 0px 3px 3px #000000aa;
}

.artist .artist-name {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0px 0px 3px #000000aa;
}

.artist .artist-handle a:link, .artist .artist-handle a:visited {
    color: #ffffffd6;
}

.artist .artist-query {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.artist .artist-prices {
    text-shadow: 0px 0px 5px #000000aa;
}

.artist .artist-prices p {
    margin: 1vh 0;
    font-size: 1.75rem;
}

.artist .artist-link a:link, .artist .artist-link a:visited {
    display: block;
    color: var(--white);
    background-color: var(--red);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1.75rem;
    box-shadow: 0px 3px 5px #000000aa;
}

@media screen and (orientation: portrait) {

    header #background {
        flex-flow: row nowrap;
    }

    header #background h1 {
        font-size: 5rem;
    }

    main h2 {
        font-size: 3rem;
    }

    header #background .flag-stripe {
        height: 100%;
        width: 33.3%;
        writing-mode: vertical-rl;
        text-orientation: upright;
        letter-spacing: -20px;
        padding-left: 0;
        padding-top: 45vw;
    }

    header #background #black-stripe {
        background-color: var(--green);
        color: var(--white);
    }
    
    header #background #green-stripe {
        background-color: var(--black);
        color: var(--white);
    }

    header #background #hashtag-container {
        top: -25vh;
        left: -10vw;
    }

    header #background #hashtag-container p {
       display: none;
    }

    header #background #red-triangle {
        border-left: 50vw solid transparent;
        border-right: 50vw solid transparent;
        border-top: 50vw solid var(--red);
    }

    #donor-info {
        flex-direction: column;
        gap: 3vh;
    }

    #donor-info h2 {
        writing-mode: horizontal-tb;
        text-orientation: sideways;
        letter-spacing: 0px;
    }

    .artist .artist-query {
        flex-direction: column;
        gap: 2vh;
    }
}