* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}    

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.row {
    display: flex;
    gap: 50px;
}

.container {
    width: 350px;
    height: 500px;
}



.card {
    height: 100%;
    width: 100%;
    position: relative;
    transition: transform 0.5s;
    transform-style: preserve-3d;
}

/* Sa js */
.flip {
    transform: rotateY(180deg);
}

.front,
.back {
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 2rem;
    box-shadow: 0 0 5px 3px;
    backface-visibility: hidden;
    overflow: hidden;
}

.front {
    /* background-image: url(https://i.pinimg.com/736x/5d/26/1b/5d261b1b19166720e5823e2ea2fde8b8.jpg); */
    background-size: cover;  
}


.back {
    background-color: blue;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    
    
    
}

.info {
    display: flex;
    position: absolute;
    flex-direction: column;
    bottom: 10px;
    align-items: center;
    user-select: none;
}

h1, p {
    color: goldenrod;
}

button {
    background-color: #676767; 
    color: white;
    font-family: 'Arial Black', sans-serif;
    font-size: 18px;
    padding: 15px 40px;
    border: none;
    border-radius: 12px;
    cursor: default; 
    user-select: none; 
    position: relative;
    box-shadow: 0 8px 0 #4B4B4C; 
    transition: all 0.1s;
    outline: none;
    
}

button:hover {
    filter: brightness(1.2);
    box-shadow: 0 8px 0 #4B4B4C, 0 0 20px #4B4B4C;

}

button:active {
    box-shadow: 0 2px 0 #4B4B4C; 
    transform: translateY(6px); 
}


