

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(216, 216, 216);
}

#navbar {
    font-size: larger;
    width: 100%;
    height: 90px;
    background-color: rgb(9, 13, 54);
    margin: auto;
    padding-top: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

#navbar a {
    text-decoration: none;
    color: white;
    padding: 10px;
    float: right;
}

#navbar a:first-child {
    float: left;
}

#main_body {
    width: 70%;
    height: 100%;
    background-color: white;
    margin: auto;
    text-align: center;
}

#create_list_heading {
    clear: both;
    padding-top: 30px;
    text-align: center;
}

.search {
    width: 70%;
    margin: auto;
    margin-top: 30px;
}

.btn {
    display: block;
    font-weight: bold;
    margin: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 300px;
    margin-top: 20px;
}

.movieContainer {
    margin-bottom: 20px;
    padding-left: 2%;
    margin-right: 2%;
}

.movie_card {
    width: 300px;
}

.message {
    margin: auto;
    background-color: grey;
    width: 300px;
    height: 50px;
    font-size: large;
    color: white;
    padding: 10px;
    border-radius: 0 0 10px 10px;
}

.addSuccess {
    background-color: #86cf5b;
    color: black;
}

#invalid {
    color: white;
    border-radius: 5px;
}

#invalid {
    background: rgba(255, 82, 82, 1);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
    animation: pulse-red 2s infinite;
  }
  
  @keyframes pulse-red {
    0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }
    
    70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
    }
    
    100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
  }
  

#modal-footer {
    border-top: 1px solid rgb(233, 233, 233);
    padding: 20px;
    /* margin: auto; */
    text-align: center;
}

.modalBtn {
    float: left;
    margin: 2px;
    width:49%;
}

/* RATINGS - STAR & COST */
.ratings-group {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.ratings-group>input {
    display: none;
}

.ratings-group>label {
    position: relative;
    width: 1.5em;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.ratings-group--star>label {
    color: rgba(255, 255, 255, 0.5);
}

.ratings-group--star>label::before {
    content: url(../images/star_filled.svg);
}

.ratings-group--cost>label {
    color: #86cf5b;
}

.ratings-group--cost>label::before {
    content: url(../images/dollar_filled.svg);
}

.ratings-group>label::before {
    position: absolute;
    opacity: 0;
}

.ratings-group>label:hover:before,
.ratings-group>label:hover~label:before {
    opacity: 1;
}

.ratings-group>input:checked~label:before {
    opacity: 1;
}

.ratings-group:hover>input:checked~label:before {
    opacity: 0.8;
}

#modal-body {
    padding: 20px;
}

#modalImage {
    width: 150px;
    float: left;
}

.bold, #modal-title {
    font-weight: bold;
}

#overview {
    clear: both;
    padding-top: 20px;
    margin: auto;
    text-align: left;
}

#personalRating {
    float: right;
    width: 200px;
    margin-right: 3.5em;
    border-radius: 10px;
}

#submit-movie-list {
    margin: auto;
    bottom: 20px;
    right: 20px;
    position: fixed;
    color: #fff;
}

#search_btn {
    width: 100px;
     margin-left: 3%;
     margin-top: -2px;
}

.search {
    display: flex;
    height: 4.5vh;
}

#movies {
    margin-bottom: 30%;
    padding-bottom: 10%;
}



 
  @media only screen and (max-width: 500px) {
    .search {
        width: 90%;
        margin: auto;
        margin-top: 30px;
    }

    #filter {
        width: 60%; 
    }

    .movie_card, .message, .add_button {
        width: 100%;
    }
  }
  
  