.container {
    padding: 0;
    width: 100vw;
    align-items: center;
}

.movies {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5vw;
    width: 100%;
}

.movie {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2vh;
    height: 100%;
    width: 35%;
}

.movie img {
    height: 45vh;
    /* width: 17vw; */
    width: auto;
    /* object-fit: cover; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vs-image {
    width: 10%;
}

.title {
    background-color: #E83151;
    padding: 1vh 1vw;
    font-family: 'Anton';
    text-transform: uppercase;
    margin: 0;
    font-size: 2rem;
    font-weight: lighter;
    letter-spacing: 1.5px;
    text-align: center;
    color: white;
}

.revenu, .buttons {
    display: flex;
    font-weight: lighter;
    background-color: #F0F0F0;
    width: 10vw;
    font-family: 'Anton';
    border-radius: 8px;
    padding: 1rem;
    height: calc(4vh + 1.5rem);
}

.revenu {
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.revenu p {
    padding: 0;
    margin: 0;
}

.revenu p:first-child {
    font-size: 1rem;
    color: #E83151;
}

.revenu p:last-child {
    font-size: 1.5rem;
    color: black;
}

.buttons {
    gap: 2vw;
    justify-content: space-around;
}

.buttons button {
    cursor: pointer;
}

.cta {
    display: flex;
    padding: 10px 10px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    color: white;
    transition: 1s;;
    border-radius: 50%;
}

.cta-higher {
    background: #26B678;
    border: #26B678 2px solid;
}

.cta-lower {
    background: #E83151;
    border: #E83151 2px solid;
}

.cta span {
    width: 4vh;
    height: 4vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-higher span {
    transform: rotate(270deg);
}

.cta-lower span {
    transform: rotate(90deg);
}

.cta:focus {
    outline: none; 
}

.cta:hover {
    transition: 0.5s;
    background-color: white;
}

.cta span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.cta:hover  span:nth-child(2) {
    transition: 0.5s;
    margin-right: 45px;
}

.cta span:nth-child(2) {
    width: 20px;
    margin-left: 30px;
    position: relative;
    top: 12%;
}

.cta-higher path.one {
    transition: 0.5s;
    transform: translateX(0%);
}

.cta-higher path.two {
    transition: 0.6s;
    transform: translateX(30%);
}

.cta-higher:hover path.one {
    transform: translateX(15%);
    animation: color_anim_green 1s infinite 0.4s;
}

.cta-higher:hover path.two {
    transform: translateX(15%);
    animation: color_anim_green 1s infinite 0.2s;
}

.cta-lower path.one {
    transition: 0.5s;
    transform: translateX(5%);
}

.cta-lower path.two {
    transition: 0.6s;
    transform: translateX(35%);
}

.cta-lower:hover path.one {
    transform: translateX(20%);
    animation: color_anim_red 1s infinite 0.4s;
}

.cta-lower:hover path.two {
    transform: translateX(20%);
    animation: color_anim_red 1s infinite 0.2s;
}

@keyframes color_anim_red {
    0% {
        fill: white;
    }
    50% {
        fill: #E83151;
    }
    100% {
        fill: white;
    }
}

@keyframes color_anim_green {
    0% {
        fill: white;
    }
    50% {
        fill: #26B678;
    }
    100% {
        fill: white;
    }
}

.scoreBox {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: #E83151;
}

.scoreBox p {
    margin: 0;
    padding: 0;
    text-align: center;
}

.scoreBox p:first-child {
    font-size: 1rem;
    color: white;
    font-family: 'Quicksand', sans-serif;
    max-width: 18vw;
    margin-bottom: 1vh;
}

.failed {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3vh;
    height: 60vh;
    width: 10%;
}

.failed img {
    width: 100%;
}

.scoreDiv {
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1vh;
    border: white 2px solid;
    padding: 1rem;
}

.scoreDiv p {
    margin: 0;
    padding: 0;
    font-family: 'Tilt Warp', sans-serif;
    font-size: 1.5rem;
    color: white;
}

.sentence {
    font-size: 1.2rem !important;
}

.replayBtn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1vw;
}

#b-revenu {
    display: none;
}

@media screen and (max-width: 1024px) {

    .scoreBox p:first-child {
        max-width: none;
    }

    .movies {
        gap: 4vh;
        margin-bottom: 5vh;
    }

    .movie {
        width: 100%;
    }

    .movie img {
        width: auto;
        height: 25vh;
    }

    .revenu, .buttons {
        width: auto;
    }

    .vs-image {
        width: 20%;
    }

    .title {
        font-size: 1.5rem;
    }

    .buttons {
        gap: 5vw;
    }

    .failed {
        width: unset;
    }

    .scoreDiv p {
        font-size: 1.2rem;
    }

    .default-btn {
        font-size: 1rem !important;
    }

    .container {
        width: 90vw !important;
    }
}

@media screen and (max-width: 540px) {
    .movies {
        flex-direction: column;
    }

    .scoreBox {
        position: relative;
        transform: none;
        margin: 0;
        top: 0;
        left: 0;
    }

    .failed {
        width: 50%;
        height: unset;
    }

    .replayBtn {
        gap: 2vh;
    }
}