﻿@font-face {
    font-family: "ForoSans";
    src: url('../fonts/ForoSans.otf') format("truetype");
}

html, body {
    background-color: #222222;
    color: white;
}

/* Player */
.player {
    width: 100%;
    aspect-ratio: 16/9;
}

    .player video {
        display: block;
        width: 100%;
        height: 100%;
        background: #000;
    }

.search-input {
    width: 300px;
    z-index: 1260;
}

.search-popover {
    width: 300px;
    max-width: calc(100vw - 2rem);
}

/* Responsive */
@media (max-width: 900px) {
    .anime-info-layout {
        flex-direction: column !important;
    }
}

@media (max-width: 500px) {
    .search-input {
        width: 190px;
    }

    .search-popover {
        width: calc(100vw - 3rem) !important;
        max-width: calc(100vw - 3rem) !important;
    }
}

/* #region MudBlazor Overriddes */

/* Nav Menu */
a.mud-nav-link.mud-ripple.active {
    box-shadow: 0px 4px 18px 3px rgba(0, 0, 0, 0.12);
}
/* Nav Link */
.mud-nav-link,
.mud-list-item {
    border-radius: 15px;
    margin-bottom: 2px;
    text-decoration: none;
}
/* Main Content */
.mud-main-content {
    min-height: 0 !important;
    overflow: hidden !important;
}
/* Text Field */
.mud-input > input.mud-input-root-outlined.mud-input-root:-webkit-autofill,
div.mud-input-slot.mud-input-root-outlined.mud-input-root:-webkit-autofill {
    border-radius: 20px !important;
}
/* Chip */
.mud-chip {
    box-shadow: var(--mud-elevation-8);
}
/* List */
.mud-popover .mud-list {
    max-height: unset !important;
}

/* #endregion */
