@import "font.css";
@import "bootstrap.min.css";
@import "animate.css";
body {
    background-color: rgb(10, 10, 10);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    overflow-x: hidden;
    scrollbar-width: none;
    --accent-color: rgba(255, 255, 255, 0.9);
    --secondary-accent-color: rgba(255, 255, 255, 0.5);
}

body::-webkit-scrollbar {
    display: none;
}

th, td {
    border-bottom: 1px dashed var(--accent-color);
    border-collapse: collapse;
    padding: 0.6em;
}

tr {
    text-align: center;
}

.grid-icon {
    width: 1em;
    filter: invert(1);
}

.list-icon {
    width: 1.2em;
    vertical-align: -0.2em;
    filter: invert(1);
}

.container {
    width: 100%;
    margin-top: 2em;
}

.padded {
    padding-top: 0.7em;
    padding-bottom: 0.7em;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2em;
    column-gap: 2em;
    transition: all .2s ease-in;
    padding-bottom: 1em;
    padding-top: 1em;
}

.rec-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1em;
    transition: all .2s ease-in;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
}

#rec-txt {
    padding: 1em;
}

.rec-grid-item {
    display: grid;
    place-items: center;
    border: 1px dashed var(--accent-color);
    padding: 1em;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    background-color: rgb(30, 30, 30);
    word-wrap: normal;
    position: relative;
}

#recToggleArrow {
    vertical-align: -5%;
}

.grid-item {
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 0.8em;
    background-color: rgb(20, 20, 20);
    word-wrap: break-word;
    position: relative;
}

hr {
    background-color: gray;
    border-width: 0;
    color: white;
    height: 2px;
    margin-left: 0;
}

.highlight {
    transition: all .1s ease-in;
    color: var(--accent-color);
}

input, textarea {
    background-color: black;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    width: 100%;
}

.modal-content {
    position: absolute;
    top: 6em;
    background-color: rgb(45, 45, 45);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--accent-color);
}

.modal-title {
    font-size: 1.5em;
}

.selectable {
    cursor: pointer;
}

.thumbcontainer {
    overflow: hidden;
    display: block;
}

.thumbnail {
    width: 256px;
    height: 144px;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
    border-radius: 8px;
    transition: all .2s ease-in;
}

.thumbnail-rec {
    width: 135px;
    height: 75px;
    margin-top: 0.8em;
    margin-bottom: 0.5em;
    border-radius: 2px;
    transition: all .15s ease-in;
}

.thumbnail:hover {
    transition: all .15s ease-in;
    filter: brightness(120%);
}

.thumbnail-list {
    width: 144px;
    height: 80px;
    margin-top: 0.6em;
    margin-bottom: 0.6em;
    border-radius: 2px;
}

.centermsg {
    width: content-width;
    margin-top: 20%;
    text-align: center;
}

.wrapper {
    margin: auto;
    margin-bottom: 5%;
    margin-top: 1%;
    max-width: 90%;
    transition: all .25s ease-in;
}

.login-wrapper {
    margin: auto;
    margin-top: 10%;
    max-width: 420px;
    transition: all .25s ease-in;
}

.admin-title {
    font-weight: bold;
    font-size: 1.5em;
    color: var(--accent-color);
    padding-bottom: 1em;
    z-index: -1;
}

.admin-list {
    list-style-type: none;
    padding-left: 0;
}

.btn {
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
}

.btn.navbtn {
    transition: all .2s ease-in;
    font-size: 1.2em;
}

.noHover:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.playButton {
    cursor: pointer;
    filter: brightness(80%);
}

.channel-table {
    width:100%;
}

.channel-title {
    font-size: 1.4em;
    transition: all .15s ease-in;
}

.channel-title:hover {
    filter: brightness(130%);
}

#channelList {
    transition: all .2s ease-in-out;
}

#player-wrapper {
    display: block;
    padding: 0.3em;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
    width: 100%;
    transition: all .4s ease-in;
}

.ovenplayer {
    transition: all .2s ease-in;
}

.list {
    list-style-type: none;
    padding-left: 0;
}

.logo-login {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 10em;
    max-width: 360px;
}

.bordered-btn {
    font-size:1.3em;
    border-radius: 6px;
    color: white;
    background-color:rgb(40,40,40);
    border: 1px solid white;
    padding:0.6em;
}

.bordered-btn:hover {
    filter: brightness(120%);
}

#dbModalContent {
    text-align: center;
}
.login-btn {
    position: absolute;
    right: 0;
    width: 20%;
    border: 1px solid white;
}

.license-warning {
    text-align: center;
    color: rgb(247, 67, 67);
    width: 100%;
    bottom: 20px;
    display: none;
}

.logo-main {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    max-height: 10em;
    max-width: 360px;
}

.title {
    font-size: 1.5em;
    width: fit-content;
}

.customizationBox {
    border-top: 2px solid grey;
    padding-top: 1em;
}

.advancedInfo {
    font-size: 0.8em;
    word-wrap: normal;
    border: none;
    display: none;
}

.login {
    max-width: 480px;
}

.versionString {
    font-size: 0.8em;
    font-style: italic;
    filter: brightness(50%);
    bottom: 10px;
    position: fixed;
    right: 14px;
}

input[type="color"] {
    border: none;
    height: 60px;
    width: 160px;
}

label {
    width: 100%;
}

.animate__animated.animate__fadeIn {
    --animate-duration: 600ms;
    --animate-delay: 0.25s;
}

.spinner {
    width: 45px;
    text-align: left;
}

.spinner>div {
    width: 9px;
    height: 9px;
    background-color: var(--accent-color);
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

.navbar {
    height: 6em;
}

.navbar-toggler {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.navbar-logo {
    height: 4.5em;
    position: relative;
    transition: all .3s;
}

.navbar-nav {
    text-align: right;
    /* position: absolute; bottom: 0.5em; right:1em; */
}

.navtitle {
    padding-top: 1em;
}

@media screen and (max-width: 575px) {

    .thumbnail-list {
        width: 80px;
        height: 45px;
        margin-top: 0.6em;
        margin-bottom: 0.6em;
        border-radius: 2px;
    }

    td {
        padding: 0.5em;
        width: auto;
    }
    tr {
        font-size: smaller;
        padding-bottom: 0.5em;
        width: auto;
    }

    .navbar-nav {

        position:unset;
    }
    .navbar-logo {
        height: 3.5em;
    }
    .navbar-brand {
        position: absolute;
        margin-top: 0;
    }
    .navbar-toggler {
        position: absolute;
        top: 0.6em;
        right: 1em;
        z-index: 20;
    }
    .navbar-collapse {
        margin: 4em;
        background-color: var(--secondary-accent-color);
        z-index: 10;
    }
    .nav-item {
        font-size: 1.3em;
        border: 1px solid white;
        text-align: center;
    }
    .login-wrapper {
        max-width: 380px;
    }
}

@media screen and (min-width: 576px) {
    .btn.navbtn {
        font-size: 1.2em;
    }
    .navbar-logo {
        height: 3.5em;
    }
}

@media screen and (min-width: 780px) {
    .btn.navbtn {
        font-size: 1.2em;
    }
    .navbar-logo {
        height: 4.5em;
    }
}


@media screen and (min-width: 1440px) {
    body {
        font-size: 1.2em;
    }
    .navbar-logo {
        height: 6em;
        transition: all .3s;
    }
    .btn.navbtn {
        font-size: 1.4em;
    }
    .wrapper {
        max-width: 85%;
    }
}

@media screen and (min-width: 1920px) {
    .btn.navbtn {
        font-size: 1.7em;
    }
    .wrapper {
        max-width: 80%;
    }
}