@import "/files/customsite/CS_1839/ID_2354/css/extend.css";

/*
    radial-gradient(ellipse at 30% 20%, #fff 0%,#feecc3 90%)
*/

.sbs-customsite {
    color: white;
    background-image: url(/files/customsite/CS_2082/img/IG27_tausta.jpg);
    background-size: cover;
}

.sbs-customsite b {
    text-shadow: 0 0 .5em #42d3ff;
}

.sbs-customsite a {
    color: inherit;
}

a.ostaliput img {
    max-width: 8em;
}

#hero {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    background-size: cover;
    background-position: 50% 50%;
    text-align: center;
    height: 56.2vw;
    padding: 2em;
}

#hero h2 {
    position: relative;
    width: 100%;
    max-width: 30em;
}

#hero #logot {
    position: relative;
    max-width: 60%;
    margin-bottom: 2em;
    pointer-events: none;
    user-select: none;
}

.mobile #hero #logot {
    max-width: 100%;
}

.mobile #hero {
    height: 100vw;
}

#hero video {
    display: none;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.desktop #hero video.desktop-only, .tablet #hero video.desktop-only {
    display: block;
}


.mobile #hero video.mobile-only {
    display: block;
}


#hero p {
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0;
}

@media screen and (min-width: 1540px) {
    .sbs-customsite {
        font-size: 20px;
    }
    #hero {
        padding: 100px 0 40px;
    }
}

#hero .logo {
    display: block;
    width: 80%;
    margin: 0 auto;
}

#hero .yhteistyo {
    width: 10em;
    margin: 0 auto 1em auto;
    display: block;
    max-width: 100%;
}

#artists {
    overflow: hidden;
    padding: 0 0;
    margin-top: -1em;
    position: relative;
}

#artists>.list {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    max-width: 1500px;
    margin: 0 auto 0 auto;
    padding-left: var(--artist-offset);
    max-width: 1200px;
    padding: 0 0 0 0;
}

#artists .artist {
    flex-shrink: 0;
    flex-basis: 20%;
    position: relative;
    padding: .4em .2em;
    /* enable if > 5 artists
    transform: translateX(-25%);
    */
}

#artists .artist:nth-child(n + 4) {
 }
 

/* enable if > 6 artists
#artists .artist:nth-child(n + 4) {
    transform: translateX(25%);
    margin-top: -10%;
 }
 
 #artists .artist:nth-child(n + 7) {
    transform: translateX(-25%);
    margin-top: -10%;
 }
 
 #artists .artist:nth-child(n + 10) {
    transform: translateX(-25%);
    margin-top: -10%;
 }
 */

#artists .artist>img {
    display: block;
    width: 100%;
    user-select: none;
    pointer-events: none;
}

#artists .artist>p {
    position: absolute;
    bottom: 3em;
    text-align: center;
    text-shadow: 1px 1px 2px black;
    font-weight: bold;
    text-transform: uppercase;
    left: 5%;
    transform: rotateZ(31.5deg);
    font-size: 20px;
    bottom: 17%;
    right: 43%;
    line-height: 1.1;
}

@media screen and (min-width: 1920px) {
    #artists .artist>p {
        font-size: 30px;
    }
}

@media screen and (max-width: 900px) {
    #artists .artist>p {
        font-size: 14px;
    }
}


#main {
    background-size: cover;
    background-position: 50% 100%;
    padding-top: 4em;
    padding-bottom: calc(4em + 10vw);
}

#main .copy {
    font-size: 1.2em;
    margin-bottom: 4em;
}

#main.phase2 .inner {
    max-width: 59em;
}

#main .bubble {
    max-width: 34em;
    padding: 1.5em 1.5em 3em 1.5em;
    margin: 10vw auto 0 0;
    text-align: left;
    background: linear-gradient(135deg, #4199d1 0%, #004267 100%);
    border-radius: .5em;
    box-shadow: 0.25em 0.25em 1em rgba(15,0,0,0.1);
    z-index: 2;
    position: relative;
}

#main .bubble:nth-child(even) {
    margin: -2em 0 0 auto;
}

#main .bubble:first-child {
    margin-top: 0;
    padding-top: 1.5em;
}

#main .bubble:nth-child(odd) {
    margin: -2em auto 0 0;
    text-align: left;
}

#main .bubble:last-child {
    padding: 1.5em;
}

#main .bubble p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 700px) {
    #main .bubble {
        font-size: 1em;
        max-width: calc(100% - 4em);
    }
}


#main .bubble ul li {
    list-style: disc;
    margin: .5em 0 1em 1em;
}

#main .bubble .button {
    margin: .5em 0 0 0;
}