@font-face {
    font-family: "Roboto";
    font-weight: 700;
    src: url("../fonts/Roboto-Black.ttf");
}

@font-face {
    font-family: "Roboto";
    font-weight: 500;
    src: url("../fonts/Roboto-Regular.ttf");
}

@font-face {
    font-family: "Roboto";
    font-weight: 600;
    src: url("../fonts/Roboto-Medium.ttf");
}

@font-face {
    font-family: "Roboto";
    font-weight: bold;
    src: url("../fonts/Roboto-Bold.ttf");
}



html {
    scrollbar-gutter: stable;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

body,
ul,
p {
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
}

img {
    -webkit-user-drag: none;
}

:root {
    --color-theme-white: #ffff;
    --color-theme-black: #000000;
    --color-text-primary: #FFFFFF;
    --color-bg-primary: #232C3E;
    --color-bg-secondary: #2B354B;
}

body {
    overflow-x: hidden;
    font-family: "Roboto", sans-serif;
    background-color: var(--color-bg-primary);
}

ul {
    list-style: none;
}

main {
    margin-top: 30px;
    margin-inline: 60px;
    min-height: 100vh;
}

.logo-title {
    display: flex;
    margin-right: 45px;
}

.logo-title img {
    width: 170px;
    object-fit: contain;
}

.logo-title.logo-phone {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px;

}

.menu-top {
    width: 100%;
    height: 70px;
    padding-inline: 40px;
    color: white;
    display: flex;
    align-items: center;
    top: 0;
    z-index: 99;
    position: -webkit-sticky;
    position: sticky;
    background: linear-gradient(to bottom, #2B354B, transparent)
}

.menu-top ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.menu-top ul a li {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.1px;
    display: flex;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu-top ul a li::after {
    content: "";
    width: 110%;
    height: 4px;
    bottom: -7px;
    border-radius: 5rem;
    transition: 0.3s ease background-color;
    position: absolute;
    background-color: transparent;
}

.menu-top ul a li:hover::after {
    background-color: #6f6f6f;
}

.menu-top ul a li.active::after {

    background-color: #5672A8;
}



/* Channels List */

.channels-list {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.channel-item {
    width: 245px;
    height: 140px;
    transition: 0.3s ease border;
    border: 3.5px solid #5D6D8D;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    -webkit-animation: Move 0.4s ease forwards;
    animation: Move 0.4s ease forwards;
    background-color: var(--color-bg-secondary);
}


@-webkit-keyframes Move {
    from {
        transform: translateX(5px);
        opacity: 0;
    }

    to {
        transform: translateX(0px);
        opacity: 1;
    }

}


@keyframes Move {
    from {
        transform: translateX(5px);
        opacity: 0;
    }

    to {
        transform: translateX(0px);
        opacity: 1;
    }

}

.channel-item:hover {
    border-color: #7a90bb;
}

.channel-item:hover img {
    transform: scale(1.05);
}

.channel-item img {
    width: 100%;
    height: 100%;
    transition: 0.3s ease transform;
    -o-object-fit: contain;
    object-fit: contain;
    aspect-ratio: 16 / 9;
}


/* Search */
.search-container {
    width: 250px;
    height: 40px;
    margin-left: auto;
}

.search-container input {
    width: 100%;
    height: 100%;
    padding-inline: 15px;
    border: none;
    outline: none;
    color: white;
    border-radius: 6px;
    border: 2px solid #566483;
    background-color: #2B354B;
}

.search-container input::-webkit-input-placeholder {
    color: #525C6E;
}

.search-container input::-moz-placeholder {
    color: #525C6E;
}

.search-container input:-ms-input-placeholder {
    color: #525C6E;
}

.search-container input::-ms-input-placeholder {
    color: #525C6E;
}

.search-container input::placeholder {
    color: #525C6E;
}

/* Player */

.player-container {
    width: 65%;
    /*width: 850px;*/
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
    overflow: hidden;
    border-radius: 10px;
    background-color: #2B364B;
}

.player-container > img {
    aspect-ratio: 16 / 9;
    width: 100%;
}

.content-container {
    display: flex;
    gap: 20px;
}

/* Others */

.menu-extra {
    display: flex;
    gap: 25px;
    margin-left: auto;
}

.button-primary {
    padding: 5px 15px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease background;
    background: #37435C;
    border: 2px solid #5D6D8D;
    position: relative;
}

.button-primary:hover {
    background: #445271;
}

.button-primary.button-energeek:hover {
    background-clip: 50px;
}

.button-primary.button-energeek {
    border: transparent;
    background-size: 120%;
    background: linear-gradient(to right, #AE4872, #CB0D46);
}

.button-primary.button-energeek::after {
    content: "";
    top: -1px;
    left: -1.5px;
    right: -2px;
    bottom: -1.2px;
    position: absolute;
    z-index: -99;
    background: linear-gradient(to right, #DF80A8, #FF588A);
    border-radius: 4px;
}

.more-channels {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 7px 40px;
    margin: auto;
    margin-top: 25px;
    cursor: pointer;
    transition: 0.3s ease background-color;
    border: 1px solid #5D6D8D;
    background-color: #2B354B;
    border-radius: 5rem;
}

.more-channels p {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 14px;
}


.more-channels:hover {
    background-color: #3b4967;
}

.msg-important {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #2B354B;
}

.msg-important p {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #ffff;
}

.title {
    width: 100%;
}

.title p {
    font-size: 22px;
    font-weight: 600;
    color: white;
}

.unit-margin {
    width: fit-content;
    margin: 90px;
    display: block;
}

.more-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.android-container {
    width: 250px;
    height: 78px;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 20px;
    cursor: pointer;
    transition: 0.3s ease background-color, 0.3s ease box-shadow;
    border-radius: 9px;
    background-color: #2B354B;
}

.android-container:hover {
    box-shadow: 0px 0px 0px 2px #697eac;
    background-color: #3b4967;
}

.googleplay-logo {
    width: 35px;
}

.googleplay-logo svg {
    width: 100%;
    height: 100%;
}


.android-app {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.android-app span {
    color: #ffff;
    font-weight: 600;
}

.android-app p {
    color: #CDCDCD;
}

.content-title {
    width: 100%;
    padding: 50px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.content-title.tag-error {
    margin-top: 140px;
}

.content-title.post-legal ol {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.content-title.post-legal ol li {
    color: #BABABA;
    text-wrap: balance;
}

.content-title span {
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 600;
}

.content-title img {
    position: absolute;
    z-index: -99;
    margin-right: 14rem;
}


.content-title p {
    color: #BABABA;
}

.message-terms {
    border-radius: 5px;
    border: 2px solid #5D6D8D;
    background-color: #313D57;
    left: 0;
    bottom: 0;
    display: none;
    padding: 10px 20px;
    margin: 40px;
    position: fixed;
    z-index: 99;
}

.message-terms p {
    color: #FFFFFF;

}

.message-terms p span {
    color: #6A98FF;
    text-decoration: underline;
    -webkit-text-decoration-color: #6A98FF;
    text-decoration-color: #6A98FF;
}

.message-terms p span:hover {
    color: #5175c3;
    -webkit-text-decoration-color: #5175c3;
    text-decoration-color: #5175c3;
}

.message-terms.terms-active {
    display: block;
}

.terms-flex {
    display: flex;
    gap: 10px;
}

.terms-button {
    width: fit-content;
    padding: 5px 15px;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s ease background-color, 0.3s ease border;
    border: 2px solid transparent;
}

.terms-button.terms-accept {
    background-color: rgb(2 111 194);
}

.terms-button.terms-accept:hover {
    border: 2px solid #209aeb;
    background-color: rgb(3, 95, 165);
}

.terms-button.terms-cancel {
    background-color: rgb(189, 4, 47);
}

.terms-button.terms-cancel:hover {
    border: 2px solid #e44f73;
    background-color: rgb(165, 3, 41);
}

.terms-button span {
    color: #fff;
}

/* Recommends channels */

.recommend-channels {
    width: 100%;
    margin-top: 40px;
    padding: 20px 0px;
    position: relative;
}

.recommend-channels::after {
    content: "";
    width: 119%;
    height: 100%;
    left: -60px;
    right: 0;
    bottom: 0;
    top: 0;
    position: absolute;
    background-color: #2B364B;
    z-index: -99;
}

/* Footer */

footer {
    width: 100%;
    margin-top: 70px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-inline: 70px;
    background-color: #2B364B;
}

.footer-info {
    padding: 10px;
    border-top: 2px solid #405075;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-info span {
    color: #7286AC;
}

.other-info {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 10px;
}

.menu-info {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 10px;
    justify-content: flex-end;
}

.menu-info.left-flex {
    align-items: flex-start;
}

.menu-info.right-flex {
    align-items: flex-end;
}

.menu-info p {
    color: #A4A4A4;
}

.menu-info span {
    color: #FFFFFF;
    font-weight: 600;
}

.menu-info p:hover {
    color: #6A98FF;
    text-decoration: underline;
    -webkit-text-decoration-color: #6A98FF;
    text-decoration-color: #6A98FF;
    text-underline-offset: 1px;
}

.menu-info.link p {
    color: #6A98FF;
    text-decoration: underline;
    -webkit-text-decoration-color: #6A98FF;
    text-decoration-color: #6A98FF;
    text-underline-offset: 1px;
}

.menu-info.link p:hover {
    color: #5175c3;
    -webkit-text-decoration-color: #5175c3;
    text-decoration-color: #5175c3;
}

/* Info channel */

.info-container {
    width: 400px;
    height: 100%;
    padding: 10px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    background-color: #2B364B;
    border-radius: 10px;
    position: relative;
}


.info-logo {
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #232C3E;
}

.info-logo img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.title-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding-left: 15px;
    position: relative;
    color: #ffff;
    font-size: 13ps;
}

.title-info::after {
    content: "";
    width: 6px;
    height: 18px;
    left: 0;
    position: absolute;
    border-radius: 5rem;
    background-color: #232C3E;
}

.title-name p {
    color: #ffff;
    font-size: 14px;
    font-weight: 500;
    margin-left: 15px;
    text-wrap: balance;
}

.title-name.channel-name {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 5rem;
    padding: 5px 30px;
    margin-left: 15px;
    background-color: #303B54;
}

.title-name.channel-name p {
    font-weight: 600;
}

.title-name a {
    margin-left: 15px;
    color: #8CB3FF;
    text-decoration: underline;
    text-underline-offset: 1.5px;
    -webkit-text-decoration-color: #8CB3FF;
    text-decoration-color: #8CB3FF;
}

.menu-bottom-phone {
    width: 100%;
    height: 80px;
    bottom: 0;
    position: fixed;
    border-radius: 10px 10px 0px 0px;
    background-color: #2f3c55;
    display: none;
    z-index: 99;
}

.menu-bottom-phone ul {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 55px;
    width: 100%;
    padding: 0;
}

.menu-bottom-phone ul li {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu-bottom-phone ul li.active::after {
    content: "";
    width: 115%;
    height: 4px;
    bottom: -22px;
    border-radius: 5rem;
    background-color: #209aeb;
    position: absolute;
}

.menu-bottom-phone ul li svg {
    width: 100%;
    height: 100%;
    stroke: #7a92bf;
}


.menu-bottom-phone ul img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.warn-title {
    color: #d6d6d6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.breadcrumb a {
    text-decoration: underline;
    text-decoration-color: #9db7e9;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.breadcrumb p {
    color: #9db7e9;
}

.breadcrumb span {
    font-size: 17px;
    font-weight: 600;
    color: #209aeb;
}

/* Share icon*/

.share-title {
    top: 0;
    right: 0;
    font-size: 14px;
    font-weight: 500;
    margin: 10px;
    color: #FFFFFF;
    position: absolute;
}

.share-container {
    top: 0;
    right: 0;
    margin: 40px 20px;
    display: flex;
    gap: 10px;
    padding: 5px 15px;
    position: absolute;
    background-color: #232C3E;
    border-radius: 5rem;
}

.share-icon {
    width: 25px;
    height: 25px;
}

.share-icon svg {
    width: 100%;
    height: 100%;
}

.share-icon.share-twitter svg {
    stroke: transparent;
    fill: #5D6D8D;
}

.share-icon.share-facebook svg #path29 {
    stroke: transparent;
    fill: #5D6D8D;
}

/**/

@media screen and (max-width:870px) {
    .menu-top {
        display: none;
    }

    .menu-bottom-phone {
        display: block;
    }

    main {
        margin-inline: 10px;
    }

    footer {
        margin-bottom: 80px;
        padding-inline: 30px;
    }

    .content-container {
        flex-direction: column;
    }

    .player-container {
        width: 100%;
    }

    .info-container {
        width: 100%;
    }

    .unit-margin {
        margin: auto;
        margin-top: 60px;
    }

    .channels-list {
        align-items: center;
        justify-content: center;
    }

    .message-terms {
        bottom: 50px;
    }

    .logo-title.logo-phone {
        display: flex;
    }

    .breadcrumb {
        justify-content: center;
        align-items: center;
    }
}