/* Utilities */

:root {
    --color-green: #67D4AB;
    --color-green-darker: #18573f;
    --color-landing-green: #000;
    --color-orange: #e98121;
    --color-violet: #9275a6;
    --color-gray: #333;
    --font-mono: 'Roboto Mono', monospace;
    --font-header: 'Yeah-Papa';
    --font-links: 'Limelight';
}

#loading {
    text-align: center;
    font-size: 5em;
    color: #000;
}

.loading {
    visibility: hidden;
}

.hidden {
    display: none;
}

.hidden-md {
    display: none;
}

.animation-delay-500 {
    animation-delay: 500ms;
}

.animation-delay-1000 {
    animation-delay: 1000ms;
}

.animation-delay-1500 {
    animation-delay: 1500ms;
}

.animation-delay-2000 {
    animation-delay: 2000ms;
}

.animation-duration-1000 {
    animation-duration: 1s;
}

.animation-duration-2000 {
    animation-duration: 2s;
}

.animation-infinite {
    animation-iteration-count: infinite;
}


/* Fonts */

@font-face {
    font-family: 'Bree Regular';
    src: url('fonts/Bree-Regular.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Yeah-Papa';
    src: url('fonts/Yeah-Papa.ttf.woff') format('woff'), url('fonts/Yeah-Papa.ttf.svg#Yeah-Papa') format('svg'), url('fonts/Yeah-Papa.ttf.eot'), url('fonts/Yeah-Papa.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}


/* General */

html {
    scroll-behavior: smooth;
    background: var(--color-violet);
    overflow-x: hidden;
}


/* Typography */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Yeah-Papa';
}

p {
    font-family: 'Roboto Mono', monospace;
}


/* Sections */

.section--performers {
    background-color: var(--color-gray);
}

.section--performers .uk-grid {
    width: 1200px;
}

.section--intro {
    color: #fff;
    width: 700px;
    margin: 0 auto;
    padding: 2em 0;
    box-sizing: border-box;
}

.section--intro h1 {
    color: #fff;
}

.section--speksi {
    color: #444;
    padding: 0 10% 0 33%;
}

.section--shows {
    padding: 2em 0;
    border-top: 2px solid #757575;
    background-color: var(--color-gray);
    color: #fff;
    display: flex;
    flex-direction: column;
}

.section--shows h1,
.section--shows h2 {
    color: #fff;
}

.section--speksi h1,
.section--intro h1 {
    font-size: 64px;
}

.section--speksi p,
.section--intro p {
    font-size: 18px;
}

.section--shows h1 {
    font-size: 74px;
    margin: 0;
    padding: 0;
}

.section--performers {
    padding: 2em 0;
}

.section--performers h1 {
    color: #FFF;
}

.section--performers .grid-row {
    margin: 0;
}

.container--main {
    background-color: #000;
}


/* Shows */

.shows--oulu h1 {
    padding: 0;
}

.show {
    padding: 1em 0;
    display: flex;
    flex-direction: row;
    color: #FFF;
    border-top: 1px solid #2a2a2a;
}

.show--datetime {
    display: flex;
    flex-direction: column;
    width: 150px;
}

.show--date {
    font-size: 3em;
    font-weight: bold;
    font-family: var(--font-mono);
    color: var(--color-orange);
}

.shows--oulu .show--date {
    font-size: 1em;
}

.show--day {
    font-size: 1.3em;
    font-family: var(--font-mono);
}

.show--time {
    margin-top: 2em;
    font-family: var(--font-mono);
}

.show--location a {
    color: #FFF;
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

.section--synopsis,
.section--tickets {
    width: 1240px;
    margin: 0 auto;
}

.section--synopsis .image--container,
.section--tickets .image--container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* info */

.show--info {
    display: flex;
    flex-direction: column;
    padding: 0 2.5em;
}

.show--city {
    font-size: 3em;
    font-family: var(--font-header);
}

.show--tickets {
    margin-top: 2em;
    color: var(--color-orange);
    border: 1px solid var(--color-orange);
    border-radius: 2px;
    width: fit-content;
    padding: 0.3em;
    transition: 200ms background-color;
}

.shows--oulu .show--tickets {
    margin: 1em 0;
    display: block;
}

.show--tickets:hover {
    background-color: var(--color-orange);
    color: #fff;
    text-decoration: none;
}


/* Main */

main {
    color: #000;
    transition: background-color 1s ease-in-out;
}

header {
    font-family: 'Roboto Mono', monospace;
}

header #logo img {
    padding: 6em 2em 2em 1em;
    max-height: 100vh;
    width: auto;
}

.button--buy-tickets {
    display: inline-block;
    border-radius: 5px;
    background-color: #000;
    color: var(--color-green);
    border: 1px solid rgb(44, 232, 167);
    padding: 15px;
    margin: 15px 0;
    font-size: 2em;
}


/* Navigaatio */

header {
    background-image: url(https://static.yli-hallila.fi/terwaspeksifi2022/img/background.jpg);
    background-size: cover;
}

header nav ul {
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-top: 2em;
    list-style: none;
    text-align: center;
}

header nav ul li a {
    font-size: 3em;
    font-family: var(--font-links);
    color: #000;
    text-decoration: none;
}

header nav ul li a:hover {
    text-decoration: none;
    color: var(--color-green-darker);
}

.navbar-toggle {
    z-index: 99999;
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    right: 0;
    top: 0;
    float: right;
    width: 32px;
    height: 32px;
}

.navbar-toggle svg {
    width: 32px;
    height: 32px;
}

.navbar-toggle svg {
    position: fixed;
    color: var(--color-orange);
}

.uk-offcanvas-bar {
    padding: 0;
}

#mobile-navigation ul {
    padding: 0;
    margin: 0;
}

#mobile-navigation ul li {
    padding: 1em;
    list-style-type: none;
    border-bottom: 1px solid #333;
}

#mobile-navigation ul li a {
    font-size: 1.5em;
    font-family: var(--font-links);
}

#mobile-navigation .small-links a {
    font-size: 1em;
}


/* Top Navigation */

#navigation--top {
    padding: 0.5em;
    position: absolute;
    z-index: 9999;
    font-family: var(--font-header);
    color: #000;
    width: 100%;
    font-size: 2em;
}

#navigation--top a {
    color: #000;
    text-transform: uppercase;
}

#navigation--top .dropdown {
    display: inline-block;
    padding-right: 1em;
}

#navigation--top .dropdown-menu {
    display: none;
}

#navigation--top .dropdown:hover .dropdown-menu {
    display: inline-block;
}

#navigation--top .social-media-link {
    display: inline-block;
}

#navigation--top .social-media-link img {
    width: 32px;
    height: 32px;
}

#navigation--top #contact-email {
    margin-left: 0.5em;
}

/* Countdown */

.countdown {
    margin-top: 4em;
    padding: 0.5em 0;
    background-image: url('https://static.yli-hallila.fi/terwaspeksifi2022/img/board-bg.png');
    background-size: cover;
    border-width: 24px;
    border-style: solid;
    border-image: url(https://static.yli-hallila.fi/terwaspeksifi2022/img/border.png) 24 24 round;
    border-image-slice: 24 !important;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    animation: blink 2s infinite;
}

.countdown {
    width: 450px;
    color: #fff;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.countdown img {
    padding: 1em;
}

.countdown h2 {
    color: #fff;
    font-size: 3em;
}

.countdown p {
    font-size: 2.5em;
}

.uk-countdown-number,
.uk-countdown-separator {
    color: #fcebda;
    font-size: 2em;
}

@keyframes blink {
    0% {
        border-image: url(https://static.yli-hallila.fi/terwaspeksifi2022/img/border.png) 24 24 round;
    }
    50% {
        border-image: url(https://static.yli-hallila.fi/terwaspeksifi2022/img/border-on.png) 24 24 round;
    }
    100% {
        border-image: url(https://static.yli-hallila.fi/terwaspeksifi2022/img/border.png) 24 24 round;
    }
}


/* Speksilaiset */

.section--performers h2 {
    font-family: var(--font-links);
    font-size: 1.5em;
}

.performer--vastaava {
    font-style: italic;
}

.performer--vastaava b {
    font-size: 0.8em;
}

.grid-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    margin: 0;
    height: 300px;
    width: 300px;
    background-color: #000;
    color: #FFF;
}

.grid-item .performer--name {
    font-size: 1.5em;
    color: var(--color-green);
    font-weight: bold;
}

.grid-item .performer--role {
    font-size: 0.8em;
    font-style: italic;
}

.grid-item .performer--name,
.grid-item .performer--role {
    text-align: center;
}

.grid-item>.grid-item {
    position: relative;
    left: 200px;
    bottom: 200px;
}

.arrow--left::before,
.arrow--right::before {
    content: " ";
    position: relative;
    display: block;
    top: 50%;
    bottom: 50%;
    margin: -10px;
    width: 0;
    height: 0;
}

.arrow--right::before {
    left: 10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--color-green);
}

.arrow--left::before {
    left: 100%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--color-green);
}

.grid-item.social-media a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #333;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.grid-item.social-media p {
    color: #000;
    z-index: 9999;
    margin: 1em 0 0 0;
}

.grid-item.social-media svg {
    height: 100%;
    width: 100%;
    fill: var(--color-green);
    padding: 30%;
}

.grid-item .performer--photo {
    width: inherit;
    height: inherit;
    object-fit: cover;
}

/* Carousel */

.slick {
    padding: 4em;
}

.slick .grid-item {
    margin: 10px;
}

.slick .grid-item .performer--name {
    font-size: 1em;
    padding-top: 0;
    margin: 1em 0 1em 0;
}

.slick .grid-item .performer--role {
    margin: 0 0.5em 1em 0.5em;
}

.slick-next {
    right: 25px !important;
}

.slick-prev {
    left: 25px !important;
}

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
}

.slick-slide img {
    flex-grow: 1;
    width: 100%;
    object-fit: cover
}

.slick-initialized .slick-slide {
    display: flex !important;
    flex-direction: column;
}

.slick-next:before, .slick-prev:before {
    font-size: 25px !important;
    opacity: 1 !important;
    color: var(--color-green) !important;
}


/* Speksilaiset */

.performers--list {
    width: 990px;
    margin: 0 auto;
}

.performers--list,
.performers--list h2 {
    color: #FFF;
}

.performers--list ul {
    padding-left: 0;
}

.performers--list li {
    list-style: none;
    padding-left: 0;
    font-family: var(--font-mono);
    line-height: 1.5em;
}


/* Yhteistyössä */

footer {
    border-top: 2px solid #755d85;
    background-color: var(--color-violet);
    padding-top: 2em;
}

footer img {
    padding: 1em;
    margin: 1em auto;
    background-color: #FFF;
    display: block;
    width: 100%;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.section--sponsors {
    width: 960px;
    margin: 0 auto;
}

.section--sponsors,
.section--sponsors p,
.section--sponsors h2,
.section--sponsors a {
    font-family: var(--font-mono);
    color: #FFF;
}

.section--sponsors h2 {
    font-family: var(--font-links);
}

.section--sponsors a {
    text-transform: uppercase;
}

.section--sponsors ul {
    padding-left: 0;
}

.section--sponsors ul li {
    list-style: none;
}

.sponsor--logos {
    margin-top: 2em;
}


/* Utility Responsive */

.visible-sm {
    display: none;
}

.text--right {
    text-align: right !important;
}

.text--center {
    text-align: center !important;
}

.text--bold {
    font-weight: 700;
}


/* Landing Responsive */

@media (max-width: 1600px) {
    .countdown h2 {
        font-size: 2em;
    }
    .uk-countdown-number,
    .uk-countdown-separator {
        font-size: 1.5em;
    }
    .countdown {
        width: 350px;
    }
    header nav ul li a {
        font-size: 2.5em;
    }
}

@media (max-width: 1300px) {
    .countdown h2 {
        font-size: 1.5em;
    }

    .uk-countdown-number,
    .uk-countdown-separator {
        font-size: 1em;
    }

    .countdown {
        width: 300px;
    }

    header nav ul li a {
        font-size: 2em;
    }
}

@media (max-width: 1200px) {
    .countdown {
        width: 250px;
    }
}

@media (max-width: 1100px) {
    .countdown {
        width: 200px;
    }
    .countdown img {
        padding: 0.5em;
    }
}

@media (max-width: 640px) {
    .uk-countdown-number {
        font-size: 1em !important;
    }
}


/* Intro responsive */

@media (max-width: 700px) {
    .section--intro {
        width: 100%;
    }
}


/* General Responsive */

@media (max-width: 62em) {
    .performers--list {
        width: 100%;
    }

    footer {
        padding: 1em;
    }
    .section--sponsors {
        width: 100%;
    }
    .countdown {
        margin: 2em 0;
    }
    .hidden-sm {
        display: none;
    }
    .visible-sm {
        display: block;
    }
    header #logo img {
        padding: 0;
    }
    header nav ul li a {
        font-size: 2em;
    }
    .countdown h2 {
        font-size: 2em;
        ;
    }
    .section--synopsis {
        width: 100%;
    }
    .section--tickets {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .uk-countdown-number {
        font-size: 1.5em;
    }
    .section--intro {
        padding: 0 1em;
    }
    .section--shows {
        flex-direction: column;
    }
}


/* Slick Responsive */

@media (max-width: 1200px) {
    .slick-next {
        right: 10px !important;
    }
    .slick-prev {
        left: 10px !important;
    }
}

@media (max-width: 600px) {
    .slick {
        padding: 1em 0;
    }
}


/* Synopsis & Tickets Responsive */

@media (max-width: 1240px) {
    .section--synopsis,
    .section--tickets {
        width: 100%;
    }
    .show--date {
        font-size: 2em;
    }
    .show--day {
        font-size: 1em;
    }
    .show--info {
        padding: 0;
    }
}


/* Speksiläiset Responsive */

@media (max-width: 1200px) {
    .section--performers .uk-grid {
        width: 600px;
    }
    
    .grid-item-empty {
        display: none;
    }
}

.show-single-column {
    display: none;
}

@media (max-width: 620px) {
    .arrow--right + .grid-item, .arrow--left + .grid-item {
        margin-bottom: 1em;
    }

    .section--performers .uk-grid {
        width: 300px;
    }

    .section--performers {
        padding: 1em;
    }

    .section--performers .uk-grid {
        width: 100%;
    }

    .grid-item {
        width: 100%;
        height: auto;
    }

    .grid-item .performer--name {
        font-size: 1.5em;
        margin-bottom: 0;
        padding-top: 1em;
    }

    .grid-item .performer--role {
        margin-top: 0;
        padding: 1em 0;
    }

    .grid-item.social-media {
        height: 50%;
        width: 50%;
    }

    .arrow--left::before {
        display: none;
    }

    .arrow--right::before {
        display: none;
    }

    .show-single-column {
        display: block;
    }

    .hide-single-column {
        display: none;
    }
}