
/* ==========================
   RESET
========================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#111;
    color:#fff;
    font-family:Arial, Helvetica, sans-serif;
}

/* ==========================
   CONTAINER
========================== */

.max-w-7xl{
    max-width:1300px;
    margin:auto;
    padding:4px 4px;
}

/* ==========================
   GRID
========================== */

.grid{
    display:grid;
    gap:6px;
}

.grid-cols-1{
    grid-template-columns:repeat(2,1fr);
}

/* Tablette */
@media(min-width:640px){
.sm\:grid-cols-2{
    grid-template-columns:repeat(2,1fr);
}
}

/* Desktop */
@media(min-width:1024px){
.lg\:grid-cols-4{
    grid-template-columns:repeat(4,1fr);
}
}

/* ==========================
   CARD
========================== */

.group{
    position:relative;
    overflow:hidden;
    background:#222;
    border-radius:15px;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.4);
    transition:.4s;
}

.group:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 35px rgba(0,0,0,.6);
}

.aspect-\[3\/4\]{
    aspect-ratio:3/4;
}

/* ==========================
   IMAGE
========================== */

.group img{
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.0;
    transition:.1s ease;
}

.audrey{
    height: 100%;
}
.group:hover img{
    transform:scale(1.12);
    opacity:1;
}

/* ==========================
   OVERLAY
========================== */

.absolute{
    position:absolute;
    inset:0;
}

.bg-gradient-to-t{
    background:linear-gradient(
        to top,
        rgba(0,0,0,.95) 0%,
        rgba(0,0,0,.35) 45%,
        rgba(0,0,0,0) 100%
    );
}

.flex{
    display:flex;
}

.flex-col{
    flex-direction:column;
}

.justify-end{
    justify-content:flex-end;
}

.p-6{
    padding:0px;
}

/* ==========================
   TITLES
========================== */

h3{
    font-size:24px;
    font-family:Georgia, serif;
    color:#fff;
    margin-bottom:5px;
    transition:.4s;
}

.group:hover h3{
    color:#d4af37;
}

/* ==========================
   DESCRIPTION
========================== */

.text-xs{
    font-size:14px;
}

.text-gray-400{
    color:#d0d0d0;
}

.mb-3{
    margin-bottom:15px;
}

/* ==========================
   PRICE
========================== */

.group p:last-of-type{
    color:#d4af37;
    font-size:24px;
    font-weight:bold;
    margin-bottom:18px;
}

/* ==========================
   GOLD LINE
========================== */

.h-px{
    height:2px;
    background:#d4af37;
}

.w-0{
    width:0;
}

.group:hover .h-px{
    width:100%;
}

.transition-all{
    transition:.5s;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

    h3{
        font-size:20px;
    }

    .group p:last-of-type{
        font-size:20px;
    }

    .p-6{
        padding:8px;
    }

}

@media(max-width:480px){

    h3{
        font-size:18px;
    }

    .text-xs{
        font-size:13px;
    }

    .group p:last-of-type{
        font-size:8px;
    }

}
