@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF69B4;
}
.wrapper {
    height: 390px;
    background-color: white;
    padding: 16px 25px;
    max-width: 410px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: height 0.2s ease;
}
.wrapper.active{
    height: 570px;
}
header h1 {
    font-size: 28px;
    color: #FF69B4;
}
header p {
    font-size: 16px;
    color: #474747;
}
.form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 10px 0;
}
.form :where(input, button){
    width: 100%;
    height: 55px;
    outline: none;
    border: none;
    border-radius: 4px;
}
.form input {
    border: 1px solid #ccc;
    padding: 0 17px;
    margin-bottom: 5px;
}
.fa-heart{
    margin: 10px 0;
    color: #FF69B4;
    font-size: 55px;
    text-align: center;
}
.form button{
    background-color: #FF69B4;
    color: white;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.5s ease;
}
.form button:hover{
    background-color: #FF00BF;
}
.result{
    opacity: 0;
    height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 25px;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.wrapper.active .result {
    pointer-events: auto;
    opacity: 1;
}
.result h1{
    font-size: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF69B4;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid #ccc;
}
.detail{
    margin-bottom: -20px;
    text-align: center;
    font-size: 20px;
    margin-left: 4px;
}