@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@100&display=swap');
@import url('https://fonts.googleapis.com/css?family=Merriweather|Nunito&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Balsamiq+Sans&display=swap");

:root {
    --color-1: #f1faee;
    --color-2: #a8dadc;
    --color-3: #457b9d;
    --color-4: #1d3557;
    --color-5: #e63946;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.bodyBackground {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-image: url('../images/rikaBackground.jpg');
    background-repeat: no-repeat;
    background-size: cover;    
}

.container {
    position: relative;
    background-color: var(--color-1);
    width: 600px;
    box-shadow: 30px 0px 40px rgba(0,0,0,0.4), -30px 0px 40px rgba(0,0,0,0.4);
    min-height: 100vh;
}

img.background {
    position: fixed;
    /* margin-left: 405px; */
    right: 0;
    bottom: 0;
    width: 300px;
    height: auto;
}

nav {
    font-family: sans-serif;
    font-weight: 600px;

    background-color: var(--color-4);
    position: sticky;
    top: 0;
    width: 100%;
    height: 50px;

    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
}

nav .option {
    font-size: 1.7em;
    
    color: var(--color-1);
    text-decoration: none;
    opacity: 0.8;
}

nav .option.active {
    opacity: 1;
    text-decoration: underline;
}

nav .fa.fa-angle-left:hover {
    cursor: pointer;
}

a:visited {
    color: var(--color-1);
}

a {
    color: var(--color-1);
    text-decoration: none;
}

.anime-list {
    font-family: 'Balsamiq Sans', cursive;    
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.anime-list .anime-entry {
    position: relative;
    background: var(--color-4);
    border-radius: 6px;
    height: 125px;
    width: calc(inherit - 150px);
    padding: 7px;
    margin-top: 35px;
    display: flex;
}

.anime-list .anime-entry:nth-child(even) {
    background: var(--color-3);
}

.anime-list .anime-entry .cover-area {
    background: var(--color-2);
    width: 120px;
    height: 100%;
    border-radius: 6px;
    padding: 5px;
}

.anime-list .anime-entry .cover-area .anime-cover-container {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.anime-list .anime-entry .cover-area .anime-cover {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.anime-list .anime-entry .anime-title {
    color: var(--color-1);
    margin-left: 20px;
    font-size: 1.1em;
}

.anime-list .anime-entry .extras {
    position: absolute;
    bottom: 0;
    right: 0;

    display: flex;
    align-items: center;
    color: var(--color-2);
    /* background: green; */
}


.anime-list .anime-entry .anilist-icon {
    width: 30px;
    margin-top: 20px;
    height: auto;
    margin-right: 10px;
}

.anime-list .anime-entry .episode-count {
    margin-right: 7px;
    margin-top: 20px;
    font-size: 1.2em;   
}

.anime-list .anime-entry.inactive {
    display: none;
}

@media(min-width: 1000px) {
    .anime-list .anime-entry .anime-title {
        color: var(--color-1);
        margin-left: 20px;
        font-size: 1.4em;
    }
}
