@import url(common.css);
@import url(animate.css);

body {
	font: normal 14px helvetica, arial, sans-serif;
	background: pink radial-gradient(white, pink);
	background-size: 100% 100%;
	filter: drop-shadow(0 0 10px #ff3e60)
}

label {
	display: block;
}

.wow { visibility: hidden; }

h2.title {
	margin: 15px 0;
	color: #FFF;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.container {
	max-width: 988px;
	padding: 0 0 64px;
	margin: 0 auto;
	/* overflow: hidden; */
	position: relative;
}

.imageBlock {
	position: relative;
}

.imageBlock ul {
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}

.imageBlock ul li {
	width: 320px;
	height: auto;
	vertical-align: top;
	border: 2px solid #C71585;
	margin: 2px;
}
.imageBlock ul li img {
	width: 100%;
	height: 100%;
}

.downloadBlock a {
	display: block;
}

.textBlock {
	text-align: center;
    background: rgba(255,255,255, .5);
    border: 2px solid #C71585;
    color: #C71585;
    max-width: 320px;
    padding: 8px 8px 8px 12px;
    position: sticky;
    overflow: hidden;
    box-sizing: border-box;
	visibility: none;
	width: 90px;
	z-index: 101;
    width: 50px!important;
}

.textBlock.textBlock1 {
	top: 68px;
	left: 0;
	margin: 0;
}

.textBlock.textBlock2 {
	top: 33%;
	left: calc(100% - 8px);
	padding: 0;
	width: 75px!important;
}

.textBlock.textBlock4 {
	padding: 0;
	left: 0;
    top: 50%;
	width: 75px!important;
}

.textBlock.textBlock3 {
	top: calc(100% - 220px);
	left: calc(100% - 8px);
}


.textBlock2 .wishImg, .textBlock4 .wishImg {
	width: 100%;
	height: auto;
}

.innerTitle {
	font-size: 12px;
	font-style: italic;
	padding: 0;
	line-height: 16px;
}

.infoTitle.innerTitle {
    padding: 0;
    line-height:16px;
}

.innerTitle span {
	font-size: 11px;
}

.downloadBlock a {
	display: inline-block;
	text-decoration: underline;
	padding: 0 8px;
	color: #311b92;
	font-size: 11px;
}

.block {
	margin-bottom: 40px;
}

.audio {
	width: 100%;
}
.audioBlock {
	background: pink;
	border-bottom: 2px solid #C71585;
	position: sticky;
	top: 0;
	left: 0;
	padding: 4px 12px;
	width: 100%;
	z-index: 102;
}

.imgAnniversary {
	width: 95%;
	max-width: 500px;
	display: block;
	margin: 0 auto;
	aspect-ratio: 1;
	object-fit: cover;
	--_m: radial-gradient(#000 69%,#0000 70%) 84.5%/50%;
	-webkit-mask-box-image: var(--_m);
			   mask-border: var(--_m);
	clip-path: polygon(-41% 0,50% 91%, 141% 0);
  }
  
  /* fallback until better support for mask-border */
  @supports not (-webkit-mask-box-image: var(--_m)) { 
	img {
	 --_m:
	   radial-gradient(at 70% 31%,#000 29%,#0000 30%),
	   radial-gradient(at 30% 31%,#000 29%,#0000 30%),
	   linear-gradient(#000 0 0) bottom/100% 50% no-repeat;
	 -webkit-mask: var(--_m);
			 mask: var(--_m);
	}
  }


.heart {
	fill: red;
	position: relative;
	top: 5px;
	width: 50px;
	animation: pulse 1s ease infinite;
  }
  
  @keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.3); }
	100% { transform: scale(1); }
  }

/* Responsive Block */
@media (min-width: 1024px) {
	.container {
		width: 988px;
	}
}

@media (max-width: 959px) {
	.imageBlock ul li {
		width: calc(33.33% - 4px);
	}
}
@media (min-width: 320px) and (max-width: 767px) {
	body {
		background-size: auto;
	}
	.audio {
	    display: block;
	}
	.imageBlock ul li {
		width: calc(100% - 4px);
		height: auto;
	}
}	