@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body,
#start-container {
    margin: 0;
    font-family: "Pixelify Sans", serif !important;
    transition: opacity 0.5s ease-in-out;
}

h1 {
    text-align: center;
    font-family: 'Press Start 2P', sans-serif;
    font-size: 32px;
    color: rgb(31, 31, 31);
    font-weight: 900;
}

#bg {
    position: relative;
    background-image: url(./images/wallpaper.jpg);
    background-repeat: repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.486);
    z-index: 1;
}

.card-container {
    position: relative;
    perspective: 1000px;
    width: 500px;
    height: 600px;
    z-index: 2;
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.card-front {
    height: fit-content;
    width: 500px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #ffebf4;
    border-radius: 10px;
    border: 5px solid #8B0000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-back {
    background-color: #ffebf4;
    border-radius: 10px;
    border: 5px solid #8B0000;
    transform: rotateY(180deg);
}

#btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin: 20px;
}

.btn.pixel-button{
    margin: 50px;
}
.pixel-button.pink {
    display: flex;
    flex-direction: column;
    background-color: pink;
    border-color: #B0005B;
    box-shadow: 4px 4px 0px #B0005B, -4px -4px 0px #FF94C2;
    color: rgb(31, 31, 31);
}

.pixel-button.pink:hover {
    background-color: #ff6ead;
    box-shadow: 6px 6px 0px #B0005B, -2px -2px 0px #FF94C2;
    color: white;
}

.pixel-button.pink:active {
    background-color: #ff6ead;
    box-shadow: 2px 2px 0px #B0005B, -2px -2px 0px #FF94C2;
    color: white;
}

#pixel-heart {
    height: 300px;
    width: 300px;
}

.pixel-button {
    font-size: 24px;
    font-weight: 500;
    color: white;
    background-color: #D62839;
    padding: 10px 40px;
    border: 4px solid #8B0000;
    position: relative;
    text-transform: uppercase;
    font-family: 'Press Start 2P', sans-serif;
    cursor: pointer;
    outline: none;
    box-shadow: 4px 4px 0px #8B0000, -4px -4px 0px #FF4747;
    transition: all 0.1s ease-in-out;
}

.pixel-button:hover {
    background-color: #FF4747;
    box-shadow: 6px 6px 0px #8B0000, -2px -2px 0px #FF4747;
}

.pixel-button:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0px #8B0000, -2px -2px 0px #FF4747;
}

h2 {
    font-family: 'Press Start 2P', sans-serif;
    font-size: 24px;
    color: rgb(31, 31, 31);
    text-align: center;
    margin-top: 40%;
}
#us {
    width: 450px;
}

.fade-out {
    opacity: 0;
}