#main {
    background-color: #121212;
    height: 2200px;
}

.card-wrapper {
    background-color: bisque;
    height: 800px;
    overflow: hidden;
}

.card-overview {
    background-color: #222222;
    height: 800px;
    width: 60%;
    float: left;
    display: flex;
    flex-direction: column;
    justify-content: center;   
    align-items: center;       
    text-align: center;
}

.overview-title {
    color: #fefefe;   
    font-size: 50px;
}

.overview-text {
    color: #fefefe;
    font-size: 18px;
    margin: 10px 130px 10px 130px;
    
}

.overview-vote-average {
    color: #fefefe;
}

.card-poster {
    background-color: blueviolet;
    height: 800px;
    width: 40%;
    float: left;
}

.poster-img {
    height: 800px;
    width: 100%;
}

.movie-list-wrapper {
    height: 230px;
    margin: 200px 50px 200px 50px;
}

.movie-list-title {
    color: #f7f7f7;
    font-size: 30px;
}

.anime-movie-list,
.action-movie-list,
.sf-movie-list {
    overflow-x: auto;       
    white-space: nowrap;
    margin-top: 20px;
}

.movie-card {
    display: inline-block;
    float: none;  
      
}

.movie-card img {
    width: 280px;
    height: 150px;
    object-fit: fill;
    border-radius: 7px;
}

.movie-title {
    color: #f7f7f7;
    font-size: 16px;
    margin-bottom: 10px;
}

.movie-card:nth-child(1),
.movie-card:nth-child(2),
.movie-card:nth-child(3),
.movie-card:nth-child(4),
.movie-card:nth-child(5) {
    margin-right: 40px;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 1000px;
    height: 700px;
    background-color: #121212fa;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.modal-content-wrapper {
    position: relative;
    width: 1000px;
    height: 700px;
}

.modal-poster img{
    width: 1000px;
    height: 500px;
    border-radius: 15px 15px 0 0;
}

.modal-voteAverage {
    position: absolute;
    top: 60;
    left: 50px;
    font-size: 20px;
    color: #f7f7f7;
}

.modal-title {
    position: absolute;
    top: 100px;
    left: 50px;
    font-size: 40px;
    color: #f7f7f7;
}

.modal-overview {
    position: absolute;
    top: 300px;
    left: 50px;
    font-size: 20px;
    color: #f7f7f7;
    width: 500px;
}

.modal-mini-poster img {
    position: absolute;
    top: 150px;
    left: 750px;
    border-radius: 15px;
    box-shadow: 1px 1px 5px #121212;
}

.modal-exit {
    width: 50px;
    height: 50px;
    background-color: #101010aa;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
}
