body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #B0413E;
    background: linear-gradient(90deg, rgba(210,210,212,0.7203256302521008) 24%, rgba(144,132,132,0.4430147058823529) 55%, rgba(99,92,92,0.4430147058823529) 83%);

}

.title-container-allo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 17rem;
}

.title-main {
    font-size: 3rem;
    font-weight: bold;
}

.sub-title-main{
    font-size: 1rem;
    font-style: italic;
}

.box-main-button{
    margin: 0 33%;
}

.center-bottom{
    margin: 7%;
}

.no-decoration{
    text-decoration: none;
    color: black;
}
.bg-body-tertiary {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: black;
}

.text-white {
    color: white !important;
}

footer{
    font-size: 0.8rem;
    font-family: Arial;
    background: rgb(210,210,212);
    background: linear-gradient(90deg, rgba(210,210,212,0.7203256302521008) 24%, rgba(144,132,132,0.4430147058823529) 55%, rgba(99,92,92,0.4430147058823529) 83%);
}

footer li {
    list-style-type: none;
}

.carousel {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slides img {
    width: 100%;
    height: auto;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.btn-light-custom{
    background-color: #e1e1e1;
}
.btn-light-custom:hover{
    background-color: #28a538;
}

.register-form{
    display: flex;
    width: 35rem;
    height: 25rem;
    margin: 10px auto;
    padding: 20px;
    background-color: gray;
}

.div-register {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 28rem;
    height: 20rem;
    margin: 10px auto;
    padding: 20px;
    background-color: gray;
}

.div-login {
    display: flex;
    justify-content: center;
    align-items: center;
}


/*.d-flex-center {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    flex-direction: column;*/
/*}*/

.test-register{
    display: flex;
    justify-content: center;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover{
    color: black;
}

.random-film-btn {
    background-color: #ff6f61;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

/* Effet hover */
.random-film-btn:hover {
    background-color: #ff4f41;
}

.img-film{
    transition: transform 0.5s ease;
}


.img-film:hover{
    transform: scale(1.1);
    /*filter: grayscale(45%);*/
    /*filter(blur(3px));*/
    filter: brightness(10%);
    z-index: 9999999999;
}

.dropdown-menu-left {
    right: auto;
    left: 0;
}

.star{
    font-size: 2em;
    cursor: pointer;
}

.rating-note{
    font-size: 1.5em;
    font-weight: bold;
    display: block;
}

.film-section {
    margin-top: 10px;
}

.note-moyenne {
    padding: 0.5em 1em;
    border: 2px solid #333333;
    border-radius: 8px;
    background-color: #fffbea;
    color: #333;
    font-weight: bold;
    display: inline-block;
    margin: 0.5em 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.uniform-img-size {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.uniform-text {
    font-size: 1rem;
    line-height: 1.5;
}

.card-body-custom {
    display: flex;
    flex-direction: column;
}

.card-text-custom {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 100px;
}

.card-footer-custom {
    margin-top: auto;
}

