/* Générale placement container css */

.container{
    position: absolute;
    top: 250px;
    left: 50%;
    transform:translateX(-50%);
    width: 100%;
    max-width: 1200px;
    color: #fff;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}
.swiper {
    width: 100%;
    height: calc(100vh - 300px);
}
.swiper-pagination{
    right: 15px;
    padding:0 30px ;
}
.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    margin-left: 20px;
    opacity: 1;
    color: #fff;
    background: #ffffff50;
}
.swiper-pagination-bullet-active {
    color: #fff;
    background: #fff;
    box-shadow: 0 0 10px #ffffff;
}

.container-left {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
    transition: all 1s ease-out;
}
.container-left:hover .info {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
}
.container-left .vinyle { 
    width: 30%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-left .info { 
    width: 50%;
    grid-area: info-1; 
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    color: #fff;
    text-align: center;
    transition: all 1s ease-out;
}
.container-left .info h2, .info h3{
    padding-bottom: 10px;
} 


.container-right {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
}
.container-right:hover .info {
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 90px;
}
.container-right .vinyle { 
    width: 30%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container-right .info { 
    width: 50%;
    grid-area: info-1; 
    position: relative;
    display: flex;
    text-align: right;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    color: #fff;
    text-align: center;
    transition: all 1s ease-out;
}

.container-right .info h2, .info h3{
    padding-bottom: 10px;
} 
/* Card */

.card-container{
    position: relative;
    width: 350px;
    height: 350px;
    margin: 10px;
    cursor: pointer;
}

.card-container:hover{
    z-index: 10;
}

/* Disque dans la pochettes du vinyle */

.card-container .disk-container{
    position: relative;
    border-radius: 50%;
    transition: all 1s ease-out;
}

.card-container .disk-container img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Pochettes des vinyles */

.card-container .card {
    position:absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    background: rgba(10, 11, 16,80);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    transition: all 1s ease-out;
}

.card-container .card .imgBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;

}

.card-container .card .imgBx .filter {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(to top, rgb(0, 0, 0),  #ffffff00 50%);
}

.card-container .card .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
    transition: 0.5s;
}

.card-container .card .imgBx img:nth-child(3){
    z-index: 10;
}

/* Placement du texte */

.card-container .card .content {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 10%;
    width: 80%;
    height: 80px;
    transition: 0.5s;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
}

.card-container .card .content h3 {
    margin: 0;
    padding: 0;
    font-size: 20px;
}

.card-container .card .content p {
    margin: 10px 0 0;
    padding: 0;
    opacity: 0;
    transition: 0.5s;
    text-align: center;
}

.card-container .card:hover .content p {
    opacity: 1;
}

/* Affichage contenue en hover */
.card-container .card:hover {
    background-color: #000;
}
.card-container .card:hover .imgBx img {
    opacity: 0.5;
}

.card-container .card:hover .content {
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
}

/* Media query */

@media (max-width:1000px){
    .container {
        top: 190px;
    }
    .swiper {
        margin-top: 50px;
        width: 100%;
        height: calc(100vh - 300px);
    }
    
    .card-container{
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width:1200px){
    .container-left{
        flex-direction: column-reverse;
        padding-bottom: 80px;
    }
    .container-left .vinyle{
        width: 100%;
    }
    .container-left .info {
        text-align: center;
        width: 100%;
        left: 0;
    }

    .container-right{
        flex-direction: column;
        padding-bottom: 80px;
    }
    .container-right .vinyle{
        width: 100%;
    }
    .container-right .info {
        text-align: center;
        width: 100%;
    }
}

/* Comportement cacher par default */
.logo,
.menu,
.info,
.card-container{
    opacity: 0;
}


