*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration: none;
    font-family:'Lucida Sans', 'Lucida Sans Regular',
    'Lucida Grande', 'Lucida Sans Unicode', 
    Geneva, Verdana, sans-serif;
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border: 1px solid black; */
}

.cinema-image{
    width: 270px;
    height: 100px;
    margin: 10px auto;
}

.cinema-name{
        /*background-color: yellow;*/
        color: black;
}

.social-media-logos{
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.logos{
    /*background-color: black;*/
    margin: 10px;
}

.navgation-bars{
        display: flex;
        background-color: black;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        height: 50px;
        color: white;
    }

    .nav-menu{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    }

    .hamburger{
        display: none;
        width: 44px;
        height: 44px;
        margin-left: auto;
        background-color: black;
        border: 1px solid white;
        cursor: pointer;
        padding: 9px;
    }

    .hamburger span{
        display: block;
        width: 100%;
        height: 3px;
        margin: 5px 0;
        background-color: white;
    }

.nav-bars a{
    color: white;
    margin: 0 40px 0 40px;
}

.nav-bars a:hover{
    border: 2px solid white;
    padding: 12px 15px 12px 15px;;
    background-color: white;
    color: black;
    /* border-radius: 40px; */
    margin: 0 40px 0 40px;
}

.movie-bar{
    margin-bottom: 200px;
    background-color: black;
    color: white;
}

.movie-header{
    background-color: white;
    display: flex;
    flex-direction: row;
    height: 60px;
    justify-content: end;
    align-items: center;
    /* border: 1px solid black; */
}

.movie-text{
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.checkout-container{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    /* grid-template-rows: 40% 40% 20%; */
    gap:20px;
    padding:20px;
    background-color: black;
}

.card{
    background: rgba(20, 19, 19, 0.81);
    color:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(20, 19, 19, 0.81);
}

.bank-cards{
    margin-bottom: 20px;
}

.cards{
    width: 60px;
    height: 30px;
}

.checkbox{
    display: flex;
    justify-content: flex-start;
}

.card h3{
    background: black;
    color:white;
    padding:10px;
    margin-bottom:15px;
}

input,
textarea,
select{
    width:100%;
    padding:12px;
    margin:10px 0;
}

.row{
    display:flex;
    gap:10px;
}

.summary-row{
    color:red;
}

.payment-btn{
    text-align:center;
    margin:30px;
}

.payment-btn button{
    background:black;
    color:white;
    border:none;
    padding:15px 40px;
    font-size:18px;
    border-radius:5px;
}

.payment-btn button:hover{
    transform:scale(1.1);
    background-color: white;
    color: black;
    border: 1px solid black;
}

.newsletter{
    text-align:center;
    padding:40px;
    background:white;
}

.newsletter input{
    width:300px;
}

.newsletter button{
    background:black;
    color:white;
    padding:12px 20px;
    border:none;
    height: 44px;
}

.subscribe:hover{
    background-color: white;
    color: black;
    border: 1px solid black;
    transform:scale(0.9);
}

.footer-section{
    display: flex;
    flex: 1;
    flex-direction: row;
    text-align: center;
    background-color: black;
    color: white;
    height:60px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.successful{
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

 /* RESPONSIVE */

        @media (max-width:1024px){

    .header{
        padding:20px;
        gap:20px;
    }

    .checkout-container{
        grid-template-columns:1fr 1fr;
    }

    .card{
        width:100%;
    }

    .row{
        flex-direction:column;
    }

    .newsletter input{
        width:100%;
        max-width:350px;
    }

}


@media (max-width:768px){

    .header{
        display:flex;
        justify-content:space-between;
        align-items:center;
        flex-direction:row;
        padding:10px 15px;
    }

    .header > div:first-child{
        flex:1;
        display:flex;
        justify-content:flex-start;
    }

    .header > div:last-child{
        flex:1;
        display:flex;
        justify-content:flex-end;
    }

    .cinema-image{
        width:130px;
        height:auto;
        margin:0;
    }

    .cinema-name{
        display:none;
    }

    .logos{
        display:flex;
        gap:8px;
        margin:0;
    }

    .social-media-logos{
        width:30px;
        height:30px;
    }

    /* Navigation */

    .navgation-bars{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: black;
    height: auto;
    }

    .hamburger{
        display:block;
        margin:10px 15px 10px auto;
    }

    .nav-menu{
    display: none;
    flex-direction: column;
    width: 100%;
    background: black;
    position: static;   /* Change from relative/absolute */
    }

    .nav-menu.active{
    display: flex;
    }

    .nav-bars{
        width:100%;
        text-align:center;
        border-bottom:1px solid rgba(255,255,255,.2);
    }

    .nav-bars a{
        display:block;
        margin:0;
        padding:15px;
    }

    .nav-bars a:hover{
        margin:0;
        padding:15px;
    }

    /* Checkout */

    .checkout-container{
        grid-template-columns:1fr;
        padding:15px;
    }

    .card{
        width:100%;
    }

    .row{
        flex-direction:column;
    }

    input,
    textarea,
    select{
        width:100%;
    }

    .cards{
        width:55px;
        height:auto;
    }

    .payment-btn button{
        width:100%;
        max-width:320px;
    }

    .newsletter{
        padding:20px;
    }

    .newsletter input,
    .newsletter button{
        width:100%;
        max-width:320px;
        margin:10px auto;
        display:block;
    }

    .footer-section{
        height:auto;
        padding:20px;
    }

}

        @media (max-width:480px){

    .cinema-image{
        width:110px;
    }

    .cinema-name h1{
        font-size:24px;
    }

    .movie-text h1{
        font-size:22px;
    }

    .card h3{
        font-size:18px;
    }

    .payment-btn button{
        font-size:16px;
        padding:15px;
    }

}


