/* SLIDER */
.carousel {
    position: relative;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.64);
    margin-top: 10%;
    width: 600px;
    display: flex;
    align-self: center;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    width: 600px;
}

.carousel-open:checked + .carousel-item {
    position: static;
    opacity: 100;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
}

.carousel-item img {
    display: block;
    height: auto;
    width: 600px;
}

.carousel-control {
    background: rgba(0, 0, 0, 0.28);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 40px;
    height: 40px;
    line-height: 35px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    cursor: pointer;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
    width: 40px;
    z-index: 10;
}

.carousel-control.prev {
    left: 2%;
}

.carousel-control.next {
    right: 2%;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #aaaaaa;
}

#carousel-1:checked ~ .control-1,
#carousel-2:checked ~ .control-2,
#carousel-3:checked ~ .control-3 {
    display: block;
}

.carousel-indicators {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 2%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-indicators li {
    display: inline-block;
    margin: 0 5px;
}

.carousel-bullet {
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 35px;
}

.carousel-bullet:hover {
    color: #aaaaaa;
}

#carousel-1:checked ~ .control-1 ~ .carousel-indicators li:nth-child(1) .carousel-bullet,
#carousel-2:checked ~ .control-2 ~ .carousel-indicators li:nth-child(2) .carousel-bullet,
#carousel-3:checked ~ .control-3 ~ .carousel-indicators li:nth-child(3) .carousel-bullet {
    color: var(--blue);
}

/* ARTISTS CARD */
.reves-page-main{
    color: var(--blue);
}

#page-main>.artists-list{
    margin: 5% 15%;
}

/* ARTISTS LIST */
.reves1-tete{
    width: 400px;
    animation: flottement 2s ease-in-out infinite;
}
@keyframes flottement {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.reves1-typo{
    height: 60px;
}

.reves1-left{
    display: flex;
    align-self: flex-start;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

@keyframes décalageGauche {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(10px);
    }
}

@keyframes décalageDroit {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-10px);
    }
}

.reves1-left>.reves1-typo:hover{
    animation: décalageGauche 0.5s ease forwards;
}

.reves1-left>.reves1-typo:not(:hover){
    animation: décalageDroit 0.3s ease forwards;
}

.reves1-right{
    display: flex;
    align-self: flex-end;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.reves1-right>.reves1-typo:hover{
    animation: décalageDroit 0.5s ease forwards;
}

.reves1-right>.reves1-typo:not(:hover){
    animation: décalageGauche 0.3s ease forwards;
}


.typo-mobile{
    display: none;
}

/* VIDEOS BRANDON */
.videos{
    margin-top: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.videos>h1{
    margin-bottom: 0;
}

.videos>p{
    margin-bottom: 2%;
    font-size: 24px;
}

.videos a:hover{
    text-decoration: underline;
}

.videos-reves1 video{
    width: 500px;
    margin: 20px;
}



/*RESPONSIVE*/
@media screen and (max-width: 1400px){
    .artists-list{
        margin: 20%;
    }
    .reves1-tete{
        width: 200px !important;
    }

    .reves1-typo{
        height: 30px !important;
        margin: 20px !important;
    }

    #typo-yev{
        height: 40px !important;
    }

    .videos-reves1 video{
        width: 400px !important;
        margin: 5px !important;
    }
}


@media screen and (max-width: 1024px){
    .carousel{
        width: 500px !important;
    }
    .carousel-inner{
        width: 500px !important;
    }
    .carousel-item img{
        width: 500px !important;
    }

    .videos-reves1{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .videos-reves1 video{
        width: 90% !important;
    }
}

@media screen and (max-width: 900px){
    .reves1-cards{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    .reves1-left{
        align-self: center !important;
    }
    .reves1-right{
        align-self: center !important;
    }

    .typo-mobile{
        display: flex !important;
    }
    .typo-desktop{
        display: none !important;
    }
}

@media screen and (max-width: 500px){
    .carousel{
        width: 300px !important;
    }
    .carousel-inner{
        width: 300px !important;
    }
    .carousel-item img{
        width: 300px !important;
    }


}