body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #87ceeb, #ffb6c1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    margin-top: 50px;
}

img {
    height: 300px;
}

canvas {
    max-width: 300px;
    max-height: 300px;
}

form {
    margin-top: 30px;
}

.gender-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.gender-option {
    position: relative;
    cursor: pointer;
}

.gender-option input[type="radio"] {
    display: none;
}

.gender-option img {
    height: 200px;
    border: 5px solid transparent;
    border-radius: 10px;
    transition: border-color 0.3s, transform 0.2s;
}

.gender-option input[type="radio"]:checked + img {
    border-color: #333;
    transform: scale(1.05);
}

.custom-button {
    background: linear-gradient(45deg, #0011ff, #ff0088);
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.custom-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
