/*changable variables*/
:root {
    --bg-color: #fff;
    --font-color: #222222;
    --accent-color: #A73909;
}

/*fonts*/
.font-regular {
    font-family: "Jost", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.font-semibold {
    font-family: "Jost", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

/*font sizes*/
.font-size-16 {
    font-size: 16px;
}

.font-size-20 {
    font-size: 20px;
}

.font-size-24 {
    font-size: 24px;
}

.font-size-32 {
    font-size: 32px;
}

.font-size-96 {
    font-size: 96px;
}

.font-size-128 {
    font-size: 128px;
}

/*colors*/
.font-accent-color {
    color: var(--accent-color);
}

.font-color-white {
    color: #fff;
}

.font-color {
    color: var(--font-color);
}

/*images*/
.orange_icon {
    height: 40px;
    width: 40px;
}

/*elements*/
body {
    /* overflow-x: hidden; */
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/*header*/
header {
    margin: -10px;

    display: flex;
    position: fixed;
    width: 101%;
    height: 29px;
    overflow-y: visible;
    position: fixed;
}

.left-header {
    width: 190px;
    height: 102%;

    display: flex;
    flex-direction: column;
}

.light_mode {
    padding-top: 16px;
    padding-bottom: 2px;
    padding-left: 12px;
    margin-right: -6px;

    display: flex;
    justify-content: space-between;

    /*light mode*/
    color: #fff;
    background-color: #222222;
    /*border-right: 2px solid #fff;*/
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.toggle-switch {
    position: relative;
    margin-top: 4px;
    margin-right: -4px;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    background-color: #A73909;
    border-radius: 24px;
    width: 26px;
    height: 16px;
    transition: background-color 0.3s;
}

.switch-slider::before {
    content: "";
    position: absolute;
    height: 11px;
    width: 11px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch input:checked+.switch-slider {
    background-color: #8E8E8E;
}

.toggle-switch input:checked+.switch-slider::before {
    transform: translateX(8px);
}

.left-header-orange {
    display: flex;
    flex-direction: column;

    padding-top: 20px;

    background-color: #A73909;
    border-radius: 12px;
    height: 160px;

    margin-bottom: 20px;
    margin-right: 12px;
    margin-left: 8px;
    margin-top: 12px;

    padding-left: 12px;
    padding-right: 15px;
    padding-bottom: 10px;
    gap: 4px;
}

.left-header-orange>a {
    text-align: left;

    margin-left: 4px;
    color: #fff;
}

.left-header-orange>a:nth-of-type(2) {
    margin-top: 4px;
}

#header-logo {
    height: 34px;
    width: 133px;
    object-fit: cover;
    margin-left: -4px;
}

.left-header-white {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;

    background-color: var(--bg-color);
    border: 2px solid var(--font-color);
    border-radius: 12px;
    height: 100px;
    width: 160px;

    margin-right: 12px;
    margin-left: 8px;
}

.left-header-white>button:last-child {
    border-top: 2px solid var(--font-color);
}

.left-header-white>button {
    padding: 8px 12px 8px 8px;
    text-wrap: nowrap;

    background-color: transparent;
    border: none;
    color: var(--font-color);
}

.search_row {
    width: 100%;
    height: 29px;

    margin: -1px;
    margin-left: -2px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    padding-top: 14px;
    padding-bottom: 4px;
    padding-left: 2px;
    background-color: #222222;

    display: flex;
    justify-content: center;
    position: relative;
}

.search_row>input {
    width: 98%;
    border: none;
    background-color: #222222;
    outline: none;
    color: #fff;
}

/*side menus elements*/
#menu {
    position: absolute;
    top: 47px;
    left: -182px;
    margin-left: 1px;
    background-color: var(--bg-color);
    border-right: 2px solid var(--font-color);
    border-top: 2px solid white;
    width: 300px;
    height: 800px;
    padding: 80px;
    display: none;
}

#menu>div>div>input {
    width: 98%;
    border: none;
    background-color: var(--bg-color);
    outline: none;
    color: var(--font-color);
}

#menu>div>div {
    border: 2px solid var(--font-color);
    border-radius: 12px;
    background-color: var(--bg-color);
    width: 100%;
    height: 30px;
    padding-top: 6px;
    padding-left: 4px;
}

#sign-in, #registration-desc {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#account-desc,
#backet-desc {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#account-desc>button {
    margin-top: 37px;
}

#backet-desc>ul {
    margin-left: -20px;
    height: 220px;
    width: 285px;
    padding: 20px;
    overflow-y: scroll;
    scrollbar-color: var(--font-color) var(--bg-color);
    scrollbar-width: thin;
}

#backet-desc>ul>li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#backet-desc>ul>li::marker {
    color: transparent;
}

#backet-desc>ul>li>div>span:nth-of-type(1),
#backet-desc>ul>li>div>span:nth-of-type(3) {
    cursor: pointer;
}

.go_back {
    display: flex;
    justify-content: space-between;
    align-content: end;
    justify-self: end;
    width: fit-content;
    padding: 10px 8px 6px 8px;
    border-radius: 12px;
    margin-left: 270px;
    margin-right: -10px;
    background-color: #222222;
}

.go_back:hover {
    opacity: 0.8;
}

.go_back>.arrow {
    height: 30px;
    width: 30px;
    margin-top: -5px;
}


/*pages content*/

main {
    margin: -8px;
}

/*main-page*/
.main-banner {
    padding-top: 36px;
    height: fit-content;
    width: 100%;
    background-color: #222222;
}

.main-banner>.border {
    margin-left: 179px;
    width: calc(100%-179px);
    border-left: 2px solid #fff;
    border-bottom: 2px solid var(--font-color);
}

.main-banner-word {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.main-banner-word:nth-of-type(1)>span {
    text-align: center;
    margin-left: 40px;
}

.main-banner-word:nth-of-type(2)>span {
    text-align: center;
    margin-right: 30px;
}

.main-banner-word:nth-of-type(3)>span {
    text-align: center;
    margin-right: 40px;
}

.main-banner-word>a>div>div>span {
    color: white;
}

.film_banner {
    background-size: contain;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: end;
    padding: 10px;
}

.main-banner-word:nth-of-type(1)>a>.film_banner {
    width: 669px;
    height: 279px;
    background-image: url('../images/main1.png');
}

.main-banner-word:nth-of-type(2)>a>.film_banner {
    width: 520px;
    height: 294px;
    background-image: url('../images/main2.png');
}

.b_w_icon {
    margin-left: 100px;
}

.main-banner-word:nth-of-type(3)>a>.film_banner {
    width: 456px;
    height: 256px;
    background-image: url('../images/main3.png');
}

.banner_name {
    height: 72px;
    text-align: left;
    display: flex;
}

.banner_name>span {
    align-self: flex-end;
}

.arrow {
    width: 72px;
    height: 72px;
}

.subheading {
    margin-left: 179px;
    width: calc(100%-179px);
    border-left: 2px solid var(--font-color);
    background-color: var(--bg-color);

    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 40px;

    display: flex;
    flex-direction: row;
    justify-items: center;
    gap: 20px;

    border-bottom: 2px solid var(--font-color);
}

.mini-catalog {
    margin-left: 179px;
    width: calc(100%-179px);
    height: 350px;
    border-left: 2px solid var(--font-color);
    background-color: var(--bg-color);

    display: flex;
    flex-direction: row;
    padding: 20px;

    gap: 30px;
}

/*poster_card*/
.poster_card {
    width: 210px;
    height: 290px;
    border: 2px solid var(--font-color);
    border-radius: 12px;
    padding: 15px;
}

.poster_card:hover {
    border: 2px solid #A73909;
    background-color: #A73909;
    transition: .2s ease;
}

.poster_card:hover>a>.prices>.price,
.poster_card:hover>a>.prices>.old_price,
.poster_card:hover>a>.font-color {
    color: white;
    text-decoration-color: white;
}

.poster {
    height: 200px;
    width: 200px;
    background-image: url('../images/card.svg');
    color: transparent;
    background-color: var(--bg-color);
    background-position: center;
    background-size: cover;
    margin-bottom: 4px;
}

.poster_title {
    height: 50px;
    width: 200px;
    text-align: left;
    text-wrap: pretty;
}

.prices {
    height: 25px;
    width: 200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.price {
    width: 80px;
    justify-self: left;
}

.old_price {
    width: 80px;
    text-align: right;
    text-decoration: line-through solid var(--font-color);
}

/*catalog*/
.empty {
    height: 36px;
}

.catalog {
    margin-left: 179px;
    width: calc(100%-179px);
    height: fit-content;
    border-left: 2px solid var(--font-color);
    background-color: var(--bg-color);

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px;

    gap: 30px;
}

.catalog>.poster_card {
    width: 200px;
}

.filter {
    margin-top: 200px;
    height: fit-content;
}

.filter>div {
    border-top: 2px solid var(--font-color);
    display: flex;
    flex-direction: row;
    padding: 0 10px;
}

.filter>div:nth-of-type(1) {
    padding-top: 10px;
    margin-left: -2px;
    border: none;
}

.filter>div>input {
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--font-color);
    margin-left: 4px;
    width: 80%;
}

/*film-page*/
.film-page-banner {
    height: 800px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: right;

}

.film-page-right {
    width: 258px;
    height: 768px;
    border-top: 2px solid white;
    border-left: 2px solid var(--font-color);
    border-bottom: 2px solid var(--font-color);
    padding: 10px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
}

.film-page-right>span:nth-of-type(4) {
    margin-top: 10px;
    height: 550px;
}

.buy {
    display: flex;
    justify-content: space-between;
    align-content: end;
    justify-self: end;
    width: 238px;
    padding: 10px 20px 10px 20px;
    border-radius: 12px;
    background-color: #A73909;
}

.buy:hover {
    opacity: 0.8;
}

.buy>span {
    margin-top: 8px;
}

.buy>.arrow {
    height: 45px;
    width: 45px;
    margin-top: -5px;
}

.film-page-left {
    height: 800px;
    width: 100%;
    background-image: url('../images/film_showcase1.svg');
    background-position: center;
    background-size: cover;
    display: flex;
    border-bottom: 2px solid var(--font-color);
}

.film-page-left-line {
    margin-left: 179px;
    width: 100%;
    border-left: 2px solid #fff;
    display: flex;
    flex-direction: row;
}

.mini-showcase {
    position: absolute;
    bottom: -125px;
    right: 258px;
    justify-items: end;
    align-self: flex-end;
    display: flex;
    flex-direction: row;
    padding: 20px;
    gap: 10px;
}

.mini-show {
    width: 90px;
    height: 64px;
    cursor: pointer;
    opacity: 1;
}

.mini-show:hover {
    opacity: 0.8;
}

.mini-show:nth-of-type(1) {
    background-image: url('../images/mini_show1.svg');
}

.mini-show:nth-of-type(2) {
    background-image: url('../images/mini_show2.svg');
}

.mini-show:nth-of-type(3) {
    background-image: url('../images/mini_show3.svg');
}

.mini-show:nth-of-type(4) {
    background-image: url('../images/mini_show4.svg');
}

.mini-show:nth-of-type(5) {
    background-image: url('../images/mini_show5.svg');
}

.play {
    margin: auto;
    background-image: url('../images/play.svg');
    background-size: contain;
    height: 72px;
    width: 61px;
    cursor: pointer;
    display: block;
}

.with-bottom-border {
    align-items: center;
    height: fit-content;
    padding-top: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--font-color);
}

#description {
    display: flex;
}

#characteristics {
    display: none;
}

#ratings {
    display: none;
}

/*trailer-overlay*/
#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.trailer {
    margin: auto;
    margin-top: 35px;
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
}

#exit {
    padding-top: 10px;
    height: 50px;
    width: 100%;
    text-align: right;
    cursor: pointer;
}

/*about us page*/
#about-title {
    margin-top: 620px;
    margin-left: 20px;
}

#about-screen {
    background-image: url('../images/about.png');
}

.about-pic {
    width: 417px;
    height: 321px;
    background-image: url('../images/about-pic.svg');
    margin-left: 80px;
    background-size: contain;
    background-repeat: no-repeat;
}

#now {
    flex-direction: column;
    align-items: start;
    display: none;
}

/*contacts page*/
.contacts {
    margin-left: 179px;
    margin-bottom: 5px;
    /**/
    width: calc(100%-179px);
    height: fit-content;
    border-left: 2px solid var(--font-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
}

.contacts>div:nth-of-type(1) {
    padding: 20px;
    padding-right: 0;
    width: calc(100%-2px);
    border-bottom: 2px solid var(--font-color);
}

.map {
    width: fit-content;
}

.contact-info {
    display: flex;
    flex-direction: row;
    margin-bottom: 1px;
}

.info {
    width: 590px;
    border-left: 2px solid var(--font-color);
}

.info>div {
    width: 100%;
}

.info>div:nth-of-type(1),
.info>div:nth-of-type(3) {
    height: 60px;
    padding-top: 30px;
}

.info>div:nth-of-type(4) {
    height: 138px;
}

.contact-info>div>div {
    padding: 20px;
    border-bottom: 2px solid var(--font-color);
}

.map-pic {
    padding: 0;
    width: 671px;
    height: 590px;
    margin-bottom: 2px;
    background-image: url('../images/map.png');
    background-repeat: no-repeat;
    background-size: cover;
}

/*payment page*/
.pay-head {
    width: 100%;
    height: 30px;
    background-color: #A73909;
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 20px;
}

.pay-head>a>img {
    margin-left: -55px;
}

.pay-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 180px;
}

.pay-main>div:nth-of-type(1) {
    width: 100%;
    padding-top: 20px;
    padding-right: 20px;
    text-align: center;
    border-bottom: 2px solid var(--font-color);
}

.pay-info {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: fit-content;
}

.pay-info-column {
    width: 50%;
    height: fit-content;
}

.pay-info-column:nth-of-type(1) {
    border-right: 2px solid var(--font-color);
}

.pay-info-column:nth-of-type(2)>div {
    padding-left: 20px;
}

.pay-info-column>div {
    padding: 20px 0px;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 10px;
}

.pay-info-column>div>div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: auto;
}

.pay-info-column>div>span {
    justify-self: left;
    align-self: flex-start;
    text-align: left;
}

.pay-info-column>div>div>input {
    border: 2px solid var(--font-color);
    border-radius: 12px;
    background-color: var(--bg-color);
    width: 60%;
    height: 30px;
    padding-top: 6px;
    padding-left: 4px;
    margin-right: 60px;
    outline: none;
    font-size: 16px;
    color: var(--font-color);
}

.pay-info-column>.pay-buttons {
    display: flex;
    width: 100%;
    padding: 20px 0;
    flex-direction: row;
    justify-content: space-between;
}

.pay-buttons>div:nth-of-type(1) {
    width: 50%;
}

.pay-info-column>div>.pay-button {
    width: 18%;
    height: 44px;
    background-image: url('../images/pay.svg');
    background-repeat: no-repeat;
    cursor: pointer;
}

.pay-info-column>div>.pay-button:hover {
    opacity: 0.8;
}

.pay-info-column>#backet-desc>ul {
    width: 90%;
}

.pay-info-column>.buy {
    margin-top: 30px;
    margin-right: 15px;
    width: 90%;
}

/*admin*/
.admin {
    width: 100%;
    height: fit-content;
}

.admin>div:nth-of-type(3),
.admin>div:nth-of-type(5) {
    padding-left: 20px;
}
.admin>div:nth-of-type(4){
    height: fit-content;
    padding-bottom: 150px;
}

.admin>div {
    width: 100%;
}

.admin>#backet-desc>ul,
.admin>#backet-desc>ol {
    width: 80%;
    height: 800px;
    margin: 0;
    margin-left: -200px;
    padding-left: 40px;
}

.admin>#backet-desc>ol>li {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding-bottom: 20px;
}

.admin>#backet-desc>ul>li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.admin>#backet-desc>ul>li>div,
.admin>#backet-desc>ol>li>div {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.admin>#backet-desc>ul>li>div>input,
.admin>#backet-desc>ol>li>div>input,
.admin>#backet-desc>ul>li>div>textarea,
.admin>#backet-desc>ol>li>div>textarea {
    width: 80%;
}

.admin>#backet-desc>ul>li>div>textarea,
.admin>#backet-desc>ol>li>div>textarea {
    resize: vertical;
}

.admin>#backet-desc>ul>li>a {
    color: var(--font-color);
    width: fit-content;
}
#backet-desc>.buy:nth-of-type(2){
        background-color: #222222;
        border: 2px solid white;
}
.admin>button {
    margin-left: -150px;
    margin-top: -200px;
    width: 80%;
}

.order-list,
.order-list>ol {
    width: 100%;
}

.order-list>ol>li>a {
    color: var(--font-color);
}

/*footer*/
footer {
    background-color: #222222;
    width: calc(100%+179px);
    margin: -8px;
}

footer>.border {
    margin-left: 179px;
    width: calc(100%-179px);
    border-left: 2px solid #fff;
    border-top: 2px solid var(--font-color);
    padding: 60px;
    padding-top: 90px;
    padding-right: 50px;
    color: #fff;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.footer_column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-left: -200px;
}

.footer_column:nth-of-type(3) {
    margin-top: -36px;
}

#footer-logo {
    height: 57px;
    width: 227px;
    object-fit: cover;
    margin-left: 0px;
}

/*interactions*/
button {
    border: none;
    background-color: transparent;
    text-align: left;

    cursor: pointer;
}

a {
    text-decoration: none;
}