* {
    padding: 0;
    margin: 0;
    font-family: 'Rubik', sans-serif;
    z-index: 5;
}
.orange-text {
    color: #da2c30;
}
.overflow-y-hidden {
    overflow-y: hidden;
}
.button-1 {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
    border: solid 1px #DA2C30;
    color: #FFF;
    background: #DA2C30;
}
.button-1:hover {
    border-color: #DA2C30;
    color: #DA2C30;
    background: #181818;
}
.button-2 {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
    border: solid 1px #242424;
    color: #FFF;
    background: #242424;
}
.button-2:hover {
    border-color: #DA2C30;
    color: #DA2C30;
    background: #181818;
}
.overflow-y-hidden {
    overflow-y: hidden;
}

/* BODY */

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #121212;
}

/* HEADER */

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    box-sizing: border-box;
    border-bottom: solid 1px #242424;
    background: #181818;
    overflow: hidden;
    transition: 0.3s;
    z-index: 20;
}
header > .content {
    position: relative;
    width: 1000px;
    height: 100%;
    display: flex;
    flex-direction: row;
}
#NavToggle {
    display: none;
    justify-self: flex-end;
    margin: 0 0 0 auto;
}
#Logo {
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 20px;
    user-select: none;
}
#Logo > img {
    height: 40px;
}
header nav {
    height: 100%;
    justify-self: flex-end;
    display: flex;
    flex-direction: row;
    margin: 0 0 0 auto;
}
header nav > a {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 20px 0 0;
    text-decoration: none;
    font-size: 15px;
    color: #CCC;
    transition: opacity 0.3s;
}
header nav > a:hover {
    color: #DA2C30;
}

/* MAIN */

main {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 140px 0 60px 0;
}
main > h1 {
    text-align: center;
    padding: 0 20px;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    color: #FFF;
}
#dle-speedbar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0 20px;
    margin: 0 0 20px 0;
    box-sizing: border-box;
    font-size: 14px;
    color: #EEE;
}
#dle-speedbar > .speedbar {
    display: flex;
    flex-direction: row;
    list-style: none;
}
#dle-speedbar > .speedbar > li {
    margin: 0 3px;
}
#dle-speedbar a {
    text-decoration: none;
    font-size: 14px;
    color: #EEE;
}

/* SELECT SEASON */

#SeasonsNav {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 15px;
    margin: 30px 0 0 0;
}
#SeasonsNav > a {
    width: 100px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: 10px 5px 0 5px;
    border: solid 1px #242424;
    text-decoration: none;
    font-size: 15px;
    color: #CCC;
    background: #181818;
    transition: 0.3s;
}
#SeasonsNav > a:hover {
    border-bottom-color: #DA2C30;
    color: #DA2C30;
}
#SeasonsNav > a.active {
    color: #FFF;
    background: #242424;
}
#SeasonsNav > a.active:hover {
    color: #FFF;
    background: #242424;
    border-bottom-color: #242424;
}

/* SELECT EPISODE */

#ListEpisodes {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0 20px;
    margin-top: 40px;
    box-sizing: border-box;
}
#ListEpisodes > .episode {
    position: relative;
    display: flex;
    box-sizing: border-box;
    border: solid 1px #242424;
    aspect-ratio: 16/9;
    background: #181818;
    cursor: pointer;
    transition: 0.3s;
}
#ListEpisodes > .episode:hover {
    border-bottom-color: #DA2C30;
}
#ListEpisodes > .episode > img {
    width: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 0.3s;
    z-index: 4;
}
#ListEpisodes > .episode > img.lazy-loaded {
    opacity: 0.3;
}
#ListEpisodes > .episode:hover > img {
    opacity: 0.1;
}
#ListEpisodes > .episode > a {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
#ListEpisodes > .episode > a > .num-episode {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    color: #FFF;
    transition: 0.3s;
}
#ListEpisodes > .episode:hover > a > .num-episode {
    color: #DA2C30;
}
#ListEpisodes > .episode > a > .num-season {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #FFFFFFCC;
    transition: 0.3s;
}
#ListEpisodes > .episode:hover > a > .num-season {
    color: #FFF;
}

/* Short Description Block */

#DescriptionShort {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 20px;
    margin-top: 40px;
    box-sizing: border-box;
    border: solid 1px #242424;
    background: #181818;
}
#DescriptionShort > .left {
    display: flex;
    flex-direction: column;
}
#DescriptionShort > .left > .poster {
    width: 320px;
    height: 180px;
    object-fit: cover;
}
#DescriptionShort > .left > .button {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    box-sizing: border-box;
    font-size: 15px;
    text-decoration: none;
}
#DescriptionShort > .right {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-left: 20px;
}
#DescriptionShort > .right > .desc-prop {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
}
#DescriptionShort > .right > .desc-prop > .prop {
    font-size: 12px;
    color: #969696;
}
#DescriptionShort > .right > .desc-prop > .value {
    font-size: 15px;
    color: #FFF;
}
#DescriptionShort > .right > .desc-text {
    display: flex;
    margin-top: 20px;
    line-height: 1.5;
    font-size: 15px;
    color: #CCC;
}
#DescriptionShort > .right > .social {
    display: grid;
    grid-template-columns: repeat(6, 32px);
    grid-template-rows: 32px;
    gap: 10px;
    margin-top: 20px;
}
#DescriptionShort > .right > .social > a {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

/* MAIN CONTENT */

#MainContent {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
    margin-top: 40px;
    box-sizing: border-box;
}
#MainContent > .content-block {
    width: 100%;
}
#MainContent > .content-block > *:last-child {
    margin-bottom: 0;
}
#MainContent > .content-block > h2 {
    margin-bottom: 20px;
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
}
#MainContent > .content-block > img {
    width: 100%;
    height: 300px;
    margin: 0 0 20px 0;
    object-fit: contain;
    object-position: center;
}
#MainContent > .content-block > iframe {
    width: 100%;
    height: 360px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}
#MainContent > .content-block > p {
    width: 100%;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 15px;
    color: #CCC;
}
#MainContent > .content-block > ul {
    width: 100%;
    margin-bottom: 10px;
    list-style-position: inside;
}
#MainContent > .content-block > ul > li {
    width: 100%;
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 15px;
    color: #CCC;
}
#MainContent > .content-block > p.selected-text {
    padding: 10px 20px;
    background: #242424;
    box-sizing: border-box;
}

/* FOOTER */

footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-self: flex-end;
    border-top: solid 1px #242424;
    margin-top: auto;
    background: #181818;
}
footer > .content {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    box-sizing: border-box;
    padding: 20px;
}
footer > .content > p {
    font-size: 12px;
    color: #969696;
    line-height: 1.5;
}
footer > .content > p > a {
    text-decoration: none;
    color: #FFF;
}

#Player {
    width: 100%;
    height: 400px;
    margin: 40px 0 0 0;
    border: none;
    outline: none;
}
#SelectEpisode {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    box-sizing: border-box;
}
#SelectEpisode > a {
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
    user-select: none;
    font-size: 14px;
}
#SelectEpisode > a > img {
    width: 20px;
    height: 20px;
}
#SelectEpisode > a > img:first-child {
    margin-right: 10px;
}
#SelectEpisode > a > img:last-child {
    margin-left: 10px;
}

/* COMMENTS */

#dle-comments-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#AddComment {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 600px;
    padding: 0 20px;
    box-sizing: border-box;
    list-style: none;
}
#AddComment > li {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}
#AddComment > li > label {
    color: #CCC;
    font-size: 14px;
    margin-bottom: 10px;
}
#AddComment > li > input {
    width: 100%;
    display: flex;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 15px;
    background: #242424;
}
#AddComment > li > div {
    margin-bottom: 10px;
}
#AddComment > li textarea {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 140px;
    min-height: 100px;
    max-height: 200px;
    display: flex;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 15px;
    background: #242424;
}
#AddComment > li button {
    display: flex;
    align-self: center;
    padding: 20px 40px;
}
.comments-header {
    margin: 40px 0 20px 0;
    color: #FFF;
    font-size: 24px;
    font-weight: 500;
}
.comment {
    display: flex;
    flex-direction: row;
    padding: 0 20px;
    margin-top: 40px;
    box-sizing: border-box;
}
.comment > img {
    width: 80px;
    height: 80px;
    padding: 20px;
    background: #181818;
    margin-right: 20px;
}
.comment-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
    box-sizing: border-box;
    background: #181818;
}
.comment-user {
    margin-bottom: 20px;
    color: #FFF;
    font-weight: 500;
    font-size: 15px;
}
.comment-text > p {
    color: #CCC;
    font-size: 15px;
}
#dlemasscomments {
    width: 100%;
}

/* MAX TABLET */

@media (max-width: 1000px) {
    main {
        width: 100%;
    }
    #SeasonsNav {
        grid-template-columns: repeat(2, 1fr);
    }
    #DescriptionShort {
        border-width: 1px 0;
    }
    #DescriptionShort > .left > .poster {
        width: 256px;
        height: 144px;
    }
    footer {
        width: 100%;
    }
}

/* MIN TABLE */
@media (max-width: 768px) {
    header > .content {
        width: 100%;
    }

    #NavToggle {
        width: 80px;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #NavToggle > img {
        width: 40px;
        height: 40px;
    }
    header #NavToggle > .nav-open {
        display: flex;
    }
    header #NavToggle > .nav-close {
        display: none;
    }
    header.open #NavToggle > .nav-open {
        display: none;
    }
    header.open #NavToggle > .nav-close {
        display: flex;
    }
    header nav {
        position: absolute;
        top: 80px;
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        border-top: solid 1px #242424;
        padding: 20px;
        transition: 0.3s;
    }
    header nav > a {
        width: 100%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        font-size: 15px;
        color: #FFF;
    }
    header nav > a:hover {
        border-color: #242424;
    }
    header nav > a:last-child {
        border: none;
    }
    header.open nav {
        border-color: #DA2C30;
    }
    header.open {
        height: 100vh;
    }
    #ListEpisodes {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 620px) {
    #ListEpisodes {
        grid-template-columns: repeat(2, 1fr);
    }
    #DescriptionShort {
        flex-direction: column;
    }
    #DescriptionShort > .left > .poster {
        width: 100%;
        max-width: 320px;
        height: auto;
        align-self: center;
        object-fit: contain;
        object-position: center;
    }
    #DescriptionShort > .left > .button {
        width: 100%;
        max-width: 320px;
        align-self: center;
    }
    #DescriptionShort > .right {
        margin-left: 0;
        margin-top: 20px;
    }
    #SeasonsNav {
        grid-template-columns: repeat(2, 1fr);
    }
    #Player {
        height: 300px;
    }
}