@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300..800&display=swap');

*{
    box-sizing: border-box;
}

body{
    background-color: rgb(59, 58, 58);
    display: flex;
    flex-direction: column;
    color: #fff;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}


/* movie selector */
.movie-container{
    perspective: 1000px;
}
.movie-container label{
    font-weight: 500;
}
.movie-container select{
    background-color: #fff;
    border-radius: 5px;
    font-size: 10px;
   padding: 5px;
   }


/*  State of seats*/
ul{
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    background-color: rgb(37, 1, 1);
    border: 10px;
    width: 100%;
    padding: 5px;
}
li{
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
li small{
    margin-left: 10px;
}


/* Seats */
.screen{
    background-color: black;
    width: 100%;
    height: 70px;
    margin: 15px 0;
    transform: rotateX(-45deg);
    box-shadow: 0 3px 10px rgba(78, 78, 78, 0.75);
}
.seat{
    background-color: rgb(223, 221, 221);
    width: 15px;
    height: 12px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    margin: 5px 2px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}
.seat.selected{
    background-color: rgb(46, 46, 46);
    scale: 1.2;
}
.seat.occupied{
    background-color: rgb(43, 92, 199);
}
.row{
    display: flex;
}
.row .seat{
    cursor: pointer;
}
.seat:nth-of-type(2){
    margin-right: 10px;
}
.seat:nth-last-of-type(3){
    margin-right: 10px;
}
.show .seat{
    margin: 0;
}

/* Counts and confirm button */
p.text{
    margin: 5px 0;
    color: #fff;
}
p span{
    color: rgb(0, 238, 255);
}

button{
    background-color: rgb(52, 127, 226);
    color: #fff;
    width: 30%;
    padding: 10px;
    border-radius: 10px;
    border-style: none;
    font-weight: 600;
    cursor: pointer;
    margin: 20px 0;
}
button:hover{
    background-color: rgb(250, 246, 246);
    color: #220202;
}

/* Alert Box */
.modal{
    background-color: #fff;
    width: 200px;
    padding: 30px;
    color: rgb(4, 103, 128);
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    top: 20%;
    display: none;
}
.modal  img{
    width: 10px;
    position: absolute;
    top: 15%;
    left: 90%;
}
.close{
    cursor: pointer;
}

/* Tablets  screen sizes */
@media screen and (min-width: 400px) {
    .seat{
        width: 18px;
        height: 15px;
    }
    
    ul{
        width: 60%;
    }
   
    p.text{
        margin: 15px 0;
    }
    .movie-container select{
     font-size: 12px;
    }
}

/* laptop screen sizes */
@media screen and (min-width: 800px) {
    .seat{
        width: 20px;
        height: 17px;
    }
    
    ul{
        width: 40%;
        margin: 20px 0;
    }
   
    p.text{
        margin: 16px 0;
    }
    .movie-container select{
     font-size: 12px;
    }
}

