@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Libre+Baskerville&display=swap" rel="stylesheet');
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap" rel="stylesheet');

body {
    height: 100vh;
    margin: 0;
    background-color: #99BC85;
    display: grid;
    place-items: center;
    overflow-y: hidden;
}


.container{
    position: absolute;
}
.container .envolop{
    transform: rotateZ(80deg);
    height: 200px;
    position: relative;
    border-radius: 5%;
    transition: all 0.3s ease;
}

.container:hover{
    top: 200px;
}

.container:hover .envolop{
    transform: rotateZ(10deg);
    height: 275px;
}
.flower{
    height: 300px;
    display: none;
    top: -200px;
    right: 100px;
    transition: all 0.3s ease;
}

.container:hover .flower{
    display: block;
    position: relative;
    top: -350px;
    right: -300px;
}

.textL{
    font-size: 12px;
}

.letterbox{
    display: none;
    animation-name: letteropen;
    animation-duration: 1s;
    animation-timing-function: ease;
    height: 90vh;
}
.Letter{
    height: 750px;
    transform: rotateZ(-5deg);
}

.Lettertext{
    font-family: 'Indie Flower',sans-serif;
    position: relative;
    top: -730px;
    transform: rotateZ(-5deg);
}
.clicked{
    animation-name: letteropen;
    animation-duration: .5s;
    animation-timing-function: ease;
    animation-direction: reverse;
}

@keyframes letteropen {
    from{
        transform: translateY(800px);
    }

    To{
        transform: translateY(0);
    }
}

.butterfly{
    height: 150px;
    position: relative;
    top: -800px;
    right: -330px;
}

.butterfly2{
    height: 150px;
    position: relative;
    top: -700px;
    right: -15px;
    transform: rotateZ(50deg);
}
.flowers{
    height: 250px;
    position: relative;
    top: -300px;
    right: 131px;
    transform: rotateZ(-5deg);
}
.audio{
    height: 0px;
}

.credit{
    position: absolute;
    top: 700px;
    right: 5px;
    font-family: 'Indie Flower',sans-serif;
}

