/* =========================
   FONTS
   ========================= */
@font-face {
    font-family: "Quantico";
    src: url("fonts/Quantico-Regular.otf") format("opentype");
    font-weight: normal;
}
@font-face {
    font-family: "WorkSans";
    src: url("fonts/WorkSans-Light.otf") format("opentype");
    font-weight: normal;
}
@font-face {
    font-family: "WorkSans";
    src: url("fonts/WorkSans-LightItalic.otf") format("opentype");
    font-style: italic;
}
@font-face {
    font-family: "WorkSans";
    src: url("fonts/WorkSans-SemiBold.otf") format("opentype");
    font-weight: bold;
}

/* =========================
   GLOBAL STYLES
   ========================= */
* {
    margin: 0;
    padding: 0;
    cursor: url("cursor.svg"), pointer;
}
body {
    width: 100vw;
    overflow-x: hidden;
    color: #bbb;
    background: #111111;
    font-family: "WorkSans", Helvetica, Arial, sans-serif;
    font-size: 18px;
}
h1 {
    font-family: "Quantico", Helvetica, Arial, sans-serif;
    font-size: 28px;
    margin: 5px 0;
    text-align: left;
}
h2 {
    display: block;
    width: 100vw;
    z-index: -1;
    pointer-events: none;
    margin: 0 4% -35px 4%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: "WorkSans", Helvetica, Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    text-align: left;
    color: #bbb;
    border-left: 2px solid #bbb;
    border-radius: 3px;
    opacity: 0.5;
}

/* =========================
   NAVIGATION
   ========================= */
nav {
    z-index: 9999;
    width: 100vw;
    font-family: "WorkSans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 3%;
    display: flex;
}
nav ul.dropdown {
    margin: 10px 0 0 0;
}
nav ul li {
    color: #11d161;
    position: relative;
    margin: 0 1%;
    flex: 1;
}
nav ul.dropdown li {
    margin: 0;
    font-size: 0.65em;
    line-height: 0.6;
    text-transform: lowercase;
}
nav ul li a {
    display: block;
    padding: 10px 14px;
    margin: 0 3px;
    text-align: left;
    text-decoration: none;
    color: #11d161;
    background: #111;
    border-left: 2px solid #11d161;
    border-right: 2px solid #11d161;
    border-radius: 3px;
    opacity: 0.5;
}
nav ul li a:hover {
    opacity: 1;
    color: #11d161;
    cursor: url("cursor-hover.svg"), pointer;
}
nav ul li a.active {
    font-weight: bold;
    opacity: 1;
    color: #11d161;
    background: #021f0e;
}
nav ul li a.upcoming {
    opacity: 0.5;
    color: #999;
    border-left: 2px solid #333;
    border-right: 2px solid #333;
}

/* =========================
   HEADERS
   ========================= */
#studio-header,
#live-header {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 60vh;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}
#studio-header {
    background-image: url("media/studio/studio-header.jpg");
}
#live-header {
    background-image: url("media/live/naavi-live-header.jpg");
}

/* =========================
   CREATIONS
   ========================= */
#creations {
    margin: 100px 0;
    padding: 0 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}
#creations ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    position: relative;
}
#creations li {
    position: relative;
    z-index: 1;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    margin: 0 5px 20px 5px;
    padding: 0;
    transition: z-index 0s;
    animation: fadeIn 0.6s ease forwards;
}
#creations li:hover {
    z-index: 999999;
}
#creations li a {
    display: block;
    text-decoration: none;
    color: #d5d5d5;
    opacity: 0.6;
    position: relative;
}
#creations li a:hover {
    opacity: 1;
    color: #11d161;
    cursor: url("cursor-hover.svg"), pointer;
}
#creations li img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.2em;
    transform: scale(1);
    transition: transform 0.25s ease;
}
#creations li:hover img {
    transform: scale(1.03);
}
#creations h1 {
    font-family: "Quantico", Helvetica, Arial, sans-serif;
    font-size: 1.2em;
    letter-spacing: 1px;
    line-height: 1;
    text-align: left;
    display: block;
    width: 100%;
    margin: 8px 0 0 0;
}
#creations h3 {
    font-size: 0.9em;
    text-align: left;
    font-weight: normal;
    font-style: italic;
    white-space: nowrap;
    margin-top: 4px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.alwaysontop {
    z-index: 9999;
}

/* =========================
   DESCRIPTION
   ========================= */
#description {
    margin: 0;
    padding: 80px 0 0 0;
}
#description.under-header {
    margin: 45vh 0 0 0;
}
#description h3 {
    width: 46%;
    margin: -1% auto 1.5% auto;
    padding: 0;
    font-size: 1.8em;
    line-height: 1.15;
    font-family: "Quantico", Helvetica, Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    text-align: left;
}
#description p {
    font-size: 1em;
    width: 46%;
    margin: 0 auto;
    padding: 0 0 20px 0;
    color: #bbb;
    line-height: 1.6;
}
#description a.text_link {
    text-decoration: none;
    color: #11d161;
    border-bottom: 2px solid #11d161;
}
#description a.text_link:hover {
    border-bottom: 4px solid #11d161;
    cursor: url("cursor-hover.svg"), pointer;
}

/* =========================
   CREDITS
   ========================= */
#credits {
    width: 46%;
    padding: 1em 0;
    margin: 0 auto 10em auto;
    font-family: "WorkSans", Helvetica, Arial, sans-serif;
    font-size: 1em;
}

#credits table {
    width: 100%;
    border-collapse: collapse;
}

#credits td {
    padding: 4px 8px;
    text-align: left;
    vertical-align: top;
}

#credits .name {
    font-weight: bold;
}

#credits .pending {
    font-weight: italic;
    color: #555;
}

/* =========================
   GRADIENT / LISTS / HR
   ========================= */
#gradient {
    width: 100vw;
    height: 50vh;
    background-image: linear-gradient(to bottom, #111, #222);
}
ul.list {
    width: 46%;
    margin: 0 auto 80px auto;
    padding: 0;
    color: #bbb;
}
ul.list li {
    font-size: 1em;
    line-height: 2;
}
ul.list li::before {
    content: "";
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
}
ul.list li.future {
    color: #777;
    list-style-type: circle;
}
ul.list h3 {
    font-family: "Quantico", Helvetica, Arial, sans-serif;
    padding: 40px 0 15px 9px;
    margin: 0 0 0 -12px;
    font-size: 1.4em;
    letter-spacing: 1px;
}
#description p a,
ul.list li a {
    padding: 0;
    text-align: left;
    text-decoration: none;
    list-style: none;
    border-bottom: 1px solid #bbb;
    color: #bbb;
}
#description p a:hover,
ul.list li a:hover {
    border-bottom: 3px solid #11d161;
    color: #11d161;
    cursor: url("cursor-hover.svg"), pointer;
}
ul.list li.button a {
    padding: 4px 8px;
    color: #11d161;
    border: 1px solid #11d161;
    border-radius: 3px;
    font-weight: bold;
}
ul.list li.button a:hover {
    color: #111;
    background: #11d161;
}

/* =========================
   TIMELINE / LIST STYLES
   ========================= */
li.list-up,
li.list-down,
li.list-middle {
    font-size: 1em;
    list-style: none;
    margin: 0 0 0 -13px;
    border-left: 1px solid #777;
    color: #777;
}
li.list-up {
    padding: 0 0 20px 9px;
    border-left-style: dashed;
}
li.list-down {
    padding: 20px 0 0 9px;
}
li.list-middle {
    padding: 0 9px;
}

/* =========================
   BLINKING CLASS
   ========================= */
@keyframes slow-blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
.ongoing {
    animation: slow-blink 2s infinite;
    cursor: url("cursor-hover.svg"), pointer;
}

/* =========================
   MEDIA QUERIES
   ========================= */
@media only screen and (max-width: 1200px) {
    .dropdown {
        display: none;
    }
    #description.under-header {
        margin: 50vh 0 0 0;
    }
    #description,
    #description p,
    #description h3,
    ul.list {
        display: block;
        width: 96vw;
        margin: 0 2vw;
        padding: 1% 0;
    }
    #credits {
        width: 96vw;
    }
    h2,
    h3 {
        width: 96vw;
        padding: 1% 0;
        margin: 5% 2vw 0 2vw;
    }
    #creations {
        margin: 0;
        padding: 10px;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 1;
    }
    #creations li {
        position: relative;
        width: 96vw;
        margin: 6% auto;
        padding: 0;
        transform: none;
    }
    #creations li img {
        transform: none;
        width: 100%;
    }
}

/* =========================
   OTHER STYLES
   ========================= */
hr {
    border: 0;
    clear: both;
    display: block;
    width: 46%;
    margin: 5% auto;
    background-image: linear-gradient(to right, #222, #111);
    height: 2px;
}
.oneline {
    white-space: nowrap;
}
.smaller-text {
    font-size: 0.7em;
    vertical-align: middle;
    font-weight: normal;
}
.soon {
    color: #353535;
    border-top: 1px solid #353535;
    border-bottom: 1px solid #353535;
}
.green {
    color: #11d161;
}
.red {
    color: #b30000;
}
.orange {
    color: #ff9900;
}
.grey {
    color: #555;
}
.future {
    color: #777;
}
