﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/*font-family: 'PT Sans', sans-serif;
font-family: 'Russo One', sans-serif;*/
:root {
    --bg: #FFFFFF;
    --primary: #202533;
    --secondary: #21273a;
    --text: #2b2b2b;
    --accent: #10CE86;
}

html, body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: 'PT Sans', sans-serif;
    background-color:var(--bg);    
    color: var(--text);
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(88 88 88) 0%, #d4d4d4 70%);
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
}
.nav-item {
    width: 150px;
}

.sidebar .top-row {
    background-color: var(--accent);
}

    .sidebar .navbar-brand {
        font-size: 1.1rem;
        font-family: 'Russo One', sans-serif;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: black;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: #2b2b2b;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: black!important;
            }

.content {
    /*padding-top: 1.1rem;*/
    margin-bottom: 60px;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .movie-container {
        justify-content: center;
    }

    .media-item {
        width: 90%!important;
    }
    .movie_image {
        height: 500px!important;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: column;
    }

    .sidebar {
        /*width: 175px;
        height: 100vh;*/
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        /*padding-left: 2rem !important;
        padding-right: 1.5rem !important;*/
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    .platform-item {
        height: 150px;
        width: 150px;
    }    
}

.hero {
    height: 500px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url(/img/hero_bg3.jpeg);
    background-size: cover;
    color: white;
}

.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-left h1{
    font-size: 4em;
}

.hero-right {
    display: flex;
    justify-content: center;
    flex-flow: column;
}

.home_title {
    margin: 20px 0 10px 40px;
    font-size: 3em;
}

.media-item {
    display: flex;
    flex-flow: column;
    width: 225px;
    border-radius: 10px;
    margin: 10px;
    -webkit-box-shadow: 3px 1px 7px 0px rgba(0, 0, 0, 0.30);
    box-shadow: 3px 1px 7px 0px rgba(0, 0, 0, 0.30);
    background: linear-gradient(to top, #92FE9D, #00C9FF);
}

.platform-container {
    display: flex;
    flex-flow: row wrap;
}
.movie-container {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 100px;
}
.show-container {
    display: flex;
    flex-flow: row wrap;
}

.platform-item {
    height: 100px;
    width: 100px;
    background-size: contain;
    background-color: white;
    border-radius: 20px;
    margin: 2px;
}

.platform img {
    width: 100%;
}

/*Movies*/
.movie_image {
    width: 100%;
    height: 250px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 111 !important;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, black), color-stop(0.35, black), color-stop(0.5, black), color-stop(0.65, black), color-stop(0.85, rgba(0, 0, 0, 0.6)), color-stop(1, transparent));
    position: relative;
    flex-grow: 3;
}

.movie_content {
    display: flex;
    flex-flow: column;
    position: relative;
    flex-grow: 1;
    margin: 10px;
}

.movie_title p {
    color: #6b6b6b;
}

.movie_score {
    display: flex;
    justify-content: space-between;
}
.movie_score__ratings {
    display: flex;
    color: #6b6b6b;
}
.view_button {
    padding: 4px;
    border: 1px solid white;
    color: white;
    border-radius: 4px;
    font-weight: 600;
}
    .view_button:hover {
        text-decoration: none;
        color: #098858;
        border: 1px solid #098858;
    }


/*Shows*/
.show {
    display: flex;
    height: 250px;
    width: 440px;
    -webkit-box-shadow: 3px 1px 7px 0px rgba(0, 0, 0, 0.30);
    box-shadow: 3px 1px 7px 0px rgba(0, 0, 0, 0.30);
    background: linear-gradient(to right, #92FE9D, #00C9FF);
    -webkit-box-shadow: 3px 1px 7px 0px rgba(0, 0, 0, 0.30);
    box-shadow: 3px 1px 7px 0px rgba(0, 0, 0, 0.30);
    border-radius: 8px;
    margin: 4px;
}
.show_left {
    display: flex;
    flex-flow: column;
    padding: 8px;
}
.show_right {
    width: 200px;
    background-size: contain;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.show_summary {
    flex-grow: 3;
}

.show_image {
    width: 100%;
    height: 380px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 111 !important;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, black), color-stop(0.35, black), color-stop(0.5, black), color-stop(0.65, black), color-stop(0.85, rgba(0, 0, 0, 0.6)), color-stop(1, transparent));
    position: relative;
    flex-grow: 3;
}

.show_content {
    display: flex;
    flex-flow: column;
    position: relative;
    flex-grow: 1;
    margin: 10px;
}

.show_score {
    display: flex;
    justify-content: space-between;
}

.show_score__ratings {
    display: flex;
}

.platforms {
    display: flex;
    flex-flow: column;
}


.platforms {
    display: flex;
    flex-flow: column;
    background: linear-gradient(to bottom right, #92FE9D, #00C9FF);
}

.platforms_item__link {
    display: flex;
    font-size: 1.2em;
    border-bottom: 1px solid #10ce8652;
}
    .platforms_item__link:hover {
        background: linear-gradient(to bottom right, #79d082, #0299c1);
    }
    .platforms_item__link img {
        margin-right: 14px;
    }
    .platform_item__link p {
        margin: 0!important;
    }