@import 'fonts.css';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

:root {
    --CR: 'Comfortaa-Regular';
    --CB: 'Comfortaa-Bold';
    --MR: 'Montserrat-Regular';
    --MB: 'Montserrat-Bold';
    --RR: 'Roboto-Regular';
    --RM: 'Roboto-Medium';
    --white: #fff;
    --orange: #F18128;
    --black: #000;
}

.container {
    max-width: 1110px;
    width: 100%;
    margin: 0 auto;
}

body {
    background: #040D1F;
}



/* HEADER START */


.header__prenav {
    background: linear-gradient(90.09deg, #3800AF 0%, #BF7204 97.52%, #C27500 100%, #C27500 100%);
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.header__prenav-icon {
    color: var(--white);
    font-size: 50px;
}

.header__prenav-link {
    display: flex;
    align-items: center;
}

.header__prenav-span {
    font-size: 16px;
    line-height: 18px;
    color: var(--white);
    font-family: var(--CR);
    margin-left: 24px;
    width: 166px;
}


.header__nav {
    background: rgba(1, 3, 5, 0.8);

}


.header__nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__nav-list {
    display: flex;
}

.header__nav-link {
    color: var(--white);
    font-size: 14px;
    line-height: 17px;
    font-family: var(--MR);
    margin-left: 30px;
    height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: 0.5s;
}


.header__nav-logo {
    color: var(--white);
    font-size: 18px;
    line-height: 20px;
    font-family: var(--CB);
}

.header__nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ED8E00;
    border-radius: 23px 23px 0px 0px;
    position: absolute;
    bottom: 0;
    transition: 0.5s;
}


.header__nav-link:hover::after {
    width: 100%;
}


.header__nav-link:hover {
    color: #ED8E00;
}


.header__content-img {
    width: 100%;
}


.header__content-info {
    background: rgba(7, 15, 25, 0.75);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.header__content {
    position: relative;
}

.header__content-title {
    color: var(--white);
    font-size: 64px;
    line-height: 78px;
    font-family: var(--MB);
}

.header__content-description {
    color: #C8C8C8;
    font-size: 16px;
    line-height: 24px;
    font-family: var(--MR);
    max-width: 570px;
    width: 100%;
    text-align: justify;
    margin-top: 30px;
    margin-bottom: 50px;
}

.header__content-btn {
    display: flex;
    background: var(--orange);
    width: 166px;
    border-radius: 4px;
    color: var(--black);
    font-size: 14px;
    line-height: 12px;
    font-family: var(--RM);
    padding: 17px 0;
    justify-content: center;
    transition: 0.5s;
}

.header__content-buttons {
    display: flex;
}

.header__content-btn:nth-of-type(1) {
    margin-right: 30px;
}

.header__content-btn:hover {
    background: #040D1F;
    color: var(--white);
}

/* HEADER END */

/* MAIN START */

.main {
    padding-top: 60px;
    padding-bottom: 63px;
}

.main__title {
    color: var(--orange);
    font-size: 36px;
    line-height: 40px;
    font-family: var(--CR);
    margin-bottom: 55px;
    width: max-content;
}

.main__title::after {
    content: '';
    display: block;
    background: var(--orange);
    width: 100%;
    height: 2px;
    margin-top: 10px;
}

/* .films__title {
    width: 98px;
} */


.main__films-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 40px;
    transition: 0.5s;
    cursor: pointer;
}

.main__films-time {
    color: var(--white);
    font-size: 14px;
    line-height: 10px;
    font-family: var(--MR);
    border: 1px solid #FFFFFF;
    border-radius: 9px;
    width: 100px;
    padding: 7px 0;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 31px;
}


.main__films-title {
    font-size: 22px;
    line-height: 27px;
    color: var(--white);
    font-family: var(--MR);
    margin-bottom: 12px;
}

.main__films-description {
    color: var(--white);
    font-size: 14px;
    line-height: 21px;
    font-family: var(--RR);
    max-width: 226px;
    width: 100%;
    text-align: justify;
}


.main__films-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, rgba(241, 129, 40, 0.35) 0%, rgba(0, 0, 0, 0.71) 51.04%, rgba(7, 15, 25, 0.8) 100%);
    border-radius: 6px;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.main__films-item {
    position: relative;
    max-width: 255px;
    width: 100%;
}

.main__films-items {
    display: flex;
    justify-content: space-between;
}


.main__films-icon:hover {
    transform: scale(1.2);
}

.main__videoblock-content {
    background: linear-gradient(90deg, #DEF7FF 0%, #F4FCFF 45.64%, rgba(255, 255, 255, 0) 100.72%);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.main__videoblock {
    position: relative;
    margin-top: 78px;
    margin-bottom: 61px;
}

.main__videoblock-video {
    margin-left: auto;
    display: block;
    width: 50%;
}

.main__videoblock-description {
    font-size: 18px;
    line-height: 27px;
    text-align: justify;
    color: var(--black);
    font-family: var(--RR);
    max-width: 558px;
    width: 100%;
    margin: 55px 0;
}

.main__videoblock-btn {
    display: flex;
    background: var(--orange);
    width: 166px;
    border-radius: 4px;
    color: var(--black);
    font-size: 14px;
    line-height: 12px;
    font-family: var(--RM);
    padding: 17px 0;
    justify-content: center;
}

.main__collections-content {
    background: linear-gradient(270deg, rgba(7, 15, 25, 0.56) 0%, rgba(49, 114, 9, 0.56) 100%);
    border-radius: 6px;
    position: absolute;
    top: 0;
    width: 100%;
    height: 194px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main__collections-card {
    position: relative;
    max-width: 350px;
    width: 100%;
    overflow: hidden;
}

.main__collections-title {
    font-size: 20px;
    line-height: 22px;
    color: var(--white);
    font-family: var(--CB);
    margin-top: 25px;
}


.main__collections-content::before {
    content: '';
    display: block;
    background: url('../images/boxes.png') no-repeat;
    width: 20px;
    height: 100%;
    position: absolute;
    left: 7px;
    top: 8px;
    transition: 0.5s;
}

.main__collections-content::after {
    content: '';
    display: block;
    background: url('../images/boxes.png') no-repeat;
    width: 20px;
    height: 100%;
    position: absolute;
    right: 7px;
    top: 8px;
    transition: 0.5s;
}

.main__collections-cards {
    display: flex;
    justify-content: space-between;
}

.main__collections-card:hover .main__collections-content::before {
    transform: scale(1.5) translate(-150%);
    /* transform: translate(-150%); Можем позиционировать элемент по горизонтали и вертикали */
}

.main__collections-card:hover .main__collections-content::after {
    transform: scale(1.5) translate(150%);
}

.main__series-content {
    background: linear-gradient(95.68deg, rgba(35, 35, 35, 0.8) 10.86%, rgba(11, 11, 11, 0.6) 110.86%);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.main__series-item {
    position: relative;
}

.main__series-img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

.main__series-item:nth-of-type(1) .main__series-icon {
    display: none;
}

.main__series {
    margin-top: 64px;
}

.main__series-title {
    color: var(--white);
    font-family: var(--CB);
    line-height: 45px;
    font-size: 24px;
}

.main__series-item:nth-of-type(1) .main__series-title {
    font-size: 40px;
}

.main__series-description {
    color: var(--white);
    font-size: 16px;
    line-height: 24px;
    font-family: var(--CR);
    text-align: center;
    max-width: 1069px;
    width: 100%;
    margin-top: 27px;
    margin-bottom: 30px;
    display: none;
}

.main__series-btn {
    background: var(--orange);
    width: 166px;
    border-radius: 4px;
    color: var(--black);
    font-size: 14px;
    line-height: 12px;
    font-family: var(--RM);
    padding: 17px 0;
    justify-content: center;
    display: none;
}

.main__series-item:nth-of-type(1) .main__series-description {
    display: block;
}

.main__series-item:nth-of-type(1) .main__series-btn {
    display: flex;
}

.main__series-icon {
    margin-bottom: 30px;
}

.main__series-items {
    display: grid;
    gap: 30px;
}

.main__series-item:nth-of-type(1) {
    grid-column: span 4;
}


.main__series-item:nth-of-type(2)  {
    grid-column: span 2;
    grid-row: span 2;
}




/* MAIN END */



/* FOOTER START */


.footer {
    background: linear-gradient(90deg, #FF8C30 0%, #9F4700 100%);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
    padding: 24px 0;
}

.footer__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.footer__info-link:nth-of-type(1) {
    margin-right: 50px;
}

.footer__info-text {
    font-size: 18px;
    line-height: 20px;
    color: var(--white);
    font-family: var(--CB);
    letter-spacing: 0.01em;
}


/* FOOTER END */


::-webkit-scrollbar {
    width: 10px;
    background: linear-gradient(90deg, #FF8C30 0%, #9F4700 100%);
}


::-webkit-scrollbar-thumb {
    background: linear-gradient(90.09deg, #3800AF 0%, #BF7204 97.52%, #C27500 100%, #C27500 100%);
    border-radius: 30px;
}