* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #FFF5EE;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

/* Envelope Styles */
#envelope-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.envelope {
    width: 300px;
    height: 200px;
    background-color: #FFB6C1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.envelope:hover {
    transform: scale(1.05);
}

.envelope::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 50px solid #FFB6C1;
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.envelope:hover::before {
    transform: rotateX(30deg);
}

.envelope-content {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

/* Birthday Card Styles */
#birthday-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: opacity 0.5s ease;
}

@media (min-width: 768px) {
    #birthday-card {
        flex-direction: row;
        justify-content: space-between;
    }
}

.hidden {
    display: none !important;
    opacity: 0;
}

#cake-container {
    width: 100%;
    height: 400px;
}

@media (min-width: 768px) {
    #cake-container {
        width: 60%;
    }
}

.wishes-card {
    background-color: white;
    width: 100%;
    max-width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

@media (min-width: 768px) {
    .wishes-card {
        margin-top: 0;
        margin-left: 20px;
    }
}

.wishes-card h1 {
    color: #FF69B4;
    text-align: center;
    margin-bottom: 15px;
}

.wishes-text {
    color: #333;
    line-height: 1.6;
}

.wishes-text p {
    margin-bottom: 10px;
}
