body {
	margin: 0;			
	width:100vw;			
	height:100vh;			
	display:flex;				
	flex-direction: column;
	
	align-items:center;
	
	justify-content:center; 
	
    background: rgb(180,58,126);
    background: linear-gradient(90deg, rgba(180,58,126,1) 0%, rgba(253,164,29,1) 50%, rgba(252,69,199,1) 100%);
}


#card {
	position:relative;
	perspective: 3000px;
    animation: up 3s linear infinite;
    cursor: pointer;
	
}

section {
	width: 560px;
	height: 400px;
	border-radius: 10px;
	box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

#cover {

	background-color: #0f2342;
	color: #ffffff;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	
	position:absolute;
	top:0;
	left:0;
	z-index:1;
	
}

#cover.animate {
	
	transform: rotateX(180deg);
	
	
	transform-origin: 0% 0%;
	
	transition: transform 2s;

}

#cover.animate > * {
	opacity: 0;
	
	transition: opacity 1s;

}

#cover:not(.animate):hover {
	transform: rotateX(15deg);
	transform-origin: 0% 0%;
	transition: transform 0.5s;
	cursor:grab;
}

#cover img {
	height: 50%
}

#cover h1 {
	font-size:32px;
	margin:0px;
}

#cover h2 {
	font-size:18px;
	margin:0px;
}

#message {

	background-color: rgba(255,255,255,0.5);
	color: #e43397;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: default;
	backdrop-filter: blur(8px);
}

#message h1 {
	margin: 0;
}

#message img {
	height: 60%;
}


#mom{
    border: 5px solid #0f2342;
    border-radius: 50px;
    margin: 15px;

}

#click{
    font-size: 20px;
    color: rgba(252,69,199,1);
    font-weight: bold;
    animation: scale 1s linear infinite;
    margin-top: 20px;
    border: 5px solid yellowgreen;
    padding: 20px;
    border-radius: 50px;
    cursor: pointer;


}

@keyframes up {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

@keyframes scale {

    0%,
    100% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(.85);
    }
}

@media screen and (max-width: 600px) {
    section {
        width: 100%;
        height: 100%;
        text-align: center;
    }
    #mom{
        border: 5px solid #0f2342;
        border-radius: 50px;
        margin: 25px;
        width: 80%;
        height: 50%;
    }

    
}