@font-face {
    font-family: Outfit;
    src: url(./Outfit-VariableFont_wght.ttf);
}

@font-face {
    font-family: Antropos;
    src: url(./Antropos.ttf);
}

html {
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.5;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}  

body {
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

#chevrons {
    content: '';
    background-color: #674E98;
    background: url(../images/chevrons-down.png);
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 104px;
    height: 80px;
    width: 80px;
    left: 50vw;
    margin-left: -40px;
    transition: transform 200ms;
}

#chevrons:hover, #chevrons:active {
    transform: translateY(10px);
}

#nav-container {
    background-color: #674E98;
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 52px;
    transition: all 200ms;
    z-index: 999;
}

#nav-container.fixed {
    position: fixed;
    top: 0;
    bottom: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    padding-left: 4%;
    padding-right: 4%;
    max-width: 480px;
    margin: 0 auto;
    height: 100%;
    align-items: center;
}

.nav-button {
    padding: 1%;
    text-decoration: none;
    font-family: 'Antropos', sans-serif;
    font-size: 0.875rem;
    color: #FFFFFF;
    opacity: 0.7;
    transition: opacity 200ms;
}

.nav-button:hover, .nav-button:active {
    opacity: 1;
}

#hero {
    width: 100%;
    height: 100vh;
    font-family: 'Antropos', sans-serif;
    display: flex;
    align-items: center;
}

#hero::before {
    content: '';
    background-image: url(../images/hero2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: bottom;
    background-position-x: 27%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: -140px;
    left: 0;
}

#hero::after {
    content: '';
    background-image: url(../images/hero1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: top;
    background-position-x: 27%;

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    mix-blend-mode: screen;
}

#title-container {
    text-align: center;
    letter-spacing: 0.1rem;
    margin: 0 auto;
}

#title-container > div {
    width: min-content;
    margin: 0 auto;
    mix-blend-mode: overlay;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.01), 0px 4px 8px rgba(0, 0, 0, 0.02), 0px 1px 12px rgba(0, 0, 0, 0.12);
}

.title {
    background: linear-gradient(268.63deg, #8E54FF -1.79%, #FF5E54 99.59%);
    background-clip: text;
	-moz-background-clip: text;
	-webkit-background-clip: text;
    mix-blend-mode: color-burn;
}

.event-info {
    mix-blend-mode: overlay;
}

#event-sub-title { font-size: 2.5rem; line-height: 1.3; }
#event-title { font-size: 5.1rem; }
#event-location { font-size: 2rem; line-height: 1.3; }
#event-date-time {font-size: 1.18rem; line-height: 1.3; padding-top: 20px; }

h1 {
    font-family: 'Antropos', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-top: 80px;
    padding-top: 70px;
}

h2 {
    background: linear-gradient(268.63deg, #8E54FF -1.79%, #FF5E54 99.59%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1.27;
    margin-top: 42px;
    margin-bottom: 27px;
}

#introductions-container {
    display: flex;
    flex-wrap: wrap;
}

.introduction {
    position: relative;
    width: 100%;
    display: block;
    max-width: 620px;
    margin: 0 auto;
}

#creek-box {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    column-gap: 3%;
}

.creek-box-li {
    margin-left: 5px;
    position: relative;
}

.creek-box-li::before {
    content: '-';
    position: absolute;
    left: -10px;
}

#people-box {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 3%;
}

#misoneurytmia_bg {
    background: linear-gradient(66.4deg, #4226FF 5%, #D55874 90.36%);
    opacity: 0.2;
    filter: blur(115px);
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#kunstiline_panus_bg {
    width: 150%;
    height: 150%;
    background-position: center center;
    background-repeat: no-repeat;
    background: linear-gradient(47.04deg, #3375F8 5%, #7967FC 103.62%);
    opacity: 0.2;
    filter: blur(115px);
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

}

#ideesund_bg {
    background: linear-gradient(47.04deg, #3FFC20 5%, #33A4FA 103.62%);
    opacity: 0.2;
    filter: blur(115px);
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

}

#quote {
    display: block;
    margin: 52px auto 0;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 130%;
    background: linear-gradient(66.4deg, #4226FF 5%, #D55874 90.36%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    position: relative;
}

#quote::after {
    content: 'Johanna Schad';
    color: #000000;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #000000;
    background-clip: unset;
    text-fill-color: #000000;
    -moz-text-fill-color: #000000;
    -webkit-text-fill-color: #000000;
    font-size: 1rem;
    line-height: 1.3;
    width: min-content;
    display: block;
    position: absolute;
    text-align: center;
    right: 0;
    bottom: -85px;
}

#quote::before {
    content: '';
    background-image: url(../images/arrow.png);
    position: absolute;
    display: block;
    width: 56px;
    height: 55px;
    transform: rotate(20deg) scaleX(-1);
    bottom: -75px;
    right: 75px;
}

.introduction > h2, #quote {
    background: linear-gradient(66.4deg, #4226FF 5%, #D55874 90.36%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

p {
    margin-top: 1rem;
}

section {
    margin: 10%;
    max-width: 1440px;
}

.person {
    max-width: 400px;
}

.person-image {    
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 100%;
    margin: 4.5rem 2rem 2.5rem;
    position: relative;
}

.person-image::before {
    content: '';
    background: linear-gradient(66.4deg, #4226FF 5%, #D55874 90.36%);
    position: absolute;
    top: -96px;
    right: -96px;
    bottom: -96px;
    left: -96px;
    border-radius: 100%;
    opacity: 0.15;
    filter: blur(60px);
}

#enelin-image { background-image: url(../images/enelin.png); }
#johanna-image { background-image: url(../images/johanna.png); }

h3 {
    font-family: 'Antropos', sans-serif;
    text-align: center;
}

.person-name {
    margin-bottom: 2.4rem;
}

#tickets-container {
    margin-top: 52px;
    display: flex;
    justify-content: center;
    gap: 5%;
    flex-flow: column;
    text-align: center;
}

#tickets-container > a {
    text-decoration: none;
    color: #000000;
}

.ticket {
    margin-bottom: 52px;
}

.ticket > h2 {
    margin: 0;
}

.ticket > img {
    aspect-ratio: 1 / 1;
    border-radius: 8%;
}

.price {
    margin-top: 20px;
    font-size: 1.5rem;
    text-align: center;
}

#asukoht {
    margin-left: 0;
    margin-right: 0;
}

#location-container {
    display: flex;
    flex-wrap: wrap;
}

#location-container > div {
    margin-top: 52px;
}

.location-image {
    width: 100vw;
    background-color: #674E98;
    position: relative;
}

.location-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #3375F8;
    background: linear-gradient(268.63deg, #8E54FF -1.79%, #FF5E54 99.59%);
    opacity: 0.3;
    mix-blend-mode: lighten
}

#place {
    aspect-ratio: 2 / 1;
    background-image: url(../images/place.png);
    background-size: cover;
    background-position: center;
    position: relative;
}

#place-name {
    position: absolute;
    bottom: 5%;
    right: 5%;
    text-transform: uppercase;
    font-family: 'Antropos';
    font-weight: 900;
    font-size: min(5vw, 22px);
    letter-spacing: 0.03em;
    color: #FFFFFF;
    mix-blend-mode: overlay;
}

#map {
    aspect-ratio: 1 / 1;
    background-image: url(../images/map.png);
    background-size: cover;
    background-position: center;
}

.location-info > p {
    text-align: center;
}

.location-info > h3 {
    margin-top: 22px;
}

#map-link {
    width: fit-content;
    display: block;
    margin: 40px auto 0;
    text-align: center;
    text-transform: uppercase;
    color: #1865FB;
    position: relative;
}

#map-link::after {
    content: '';
    position: absolute;
    width: 56px;
    height: 55px;
    background-image: url(../images/arrow.png);
    transform: rotate(-20deg);
    top: -35px;
    left: 107%;
}

#toetajad {
    text-align: center;
}

#supporter-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    max-width: 1000px;
    gap: 1.2em;
    margin: 64px auto;
    padding-left: 1.2em;
    padding-right: 1.2em;
    padding-bottom: 200px;
}

.supporter-logo {
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 7%;
    aspect-ratio: 1 / 1;    
    background-image: url(../images/logos/logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    place-self: center;
    border: 1px solid transparent;
    position: relative;
}

.supporter-logo::before {
    content: '';
    position: absolute;
    top: -2px; right: -2px; bottom: -2px; left: -2px;
    background: linear-gradient(268.63deg, #8E54FF -1.79%, #FF5E54 99.59%);
    z-index: -1;
    opacity: 0.2;
    border-radius: inherit;
    transition: opacity 200ms;
}

.supporter-logo:hover:before {
    opacity: 1;
}

#kultuurikapital { background-image: url(../images/logos/kultuurkapital.png); }
#uku { background-image: url(../images/logos/uku.png); }
#artify { background-image: url(../images/logos/artify.png); }
#evwu { background-image: url(../images/logos/evwu.png); }

@media screen and (min-width: 600px){

    nav {
        padding-left: 0;
        padding-right: 0;
    }
    
    .nav-button {
        font-size: 1.1rem;
    }

    #title-container > div {
        width: max-content;
    }

    #event-sub-title { font-size: 4.25rem; }
    #event-title { font-size: 9rem; }
    #event-location { font-size: 2.6rem; }
    #event-date-time {font-size: 1.8rem; }


    #person-container {
        display: flex;
        justify-content: center;
        
    }

    .person {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media screen and (min-width: 700px){
    #tickets-container {
        flex-flow: row;
    }
}

@media screen and (min-width: 800px){
    #location-container {
        flex-wrap: nowrap;
    }
    #place-container {
        width: 69%;
    }
    #map-container {
        width: 31%;
    }
    #asukoht {
        max-width: 100%;
    }
    .location-image {
        width: 100%;
        max-height: 550px;
        height: 100%;
    }
}

@media screen and (min-width: 1000px){
    #introductions-container {
        max-width: 1000px;
        margin: 0 auto;
    }
    .introduction {
        max-width: 35%;
    }
    #idea {
        margin-top: 10%;
    }
    #art {
        margin-top: 5%;
    }
}

@media screen and (min-width: 1440px){
    section {
        margin: 0 auto;
    }
}