@import url('https://fonts.googleapis.com/css2?family=Corinthia:wght@400;700&family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; user-select: text; }

html { font-size: 18px; }

body { min-height: 100svh; background: linear-gradient(150deg, #032580 0%, #01102b 100%); display: flex; text-align: center; justify-content: center; font-family: 'Jost', sans-serif; color: #fff; padding: 20px; overflow-x: hidden; }

main { width: 100%; max-width: 400px; position: relative; z-index: 2; }

.stars { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.stars span { position: absolute; border-radius: 50%; background: #fce390; animation: starTwinkle ease-in-out infinite; }
@keyframes starTwinkle 
{
  0%, 100% { opacity: var(--op); }
  50% { opacity: calc(var(--op) * 0.1); }
}

h1 { font-family: "Corinthia", cursive; text-align: center; font-size: 90px; line-height: .8em; font-weight: 400; color: #ffcf33; margin-bottom: 40px; }
h1 span { display: block; font-size: 240px; font-weight: 700; margin: 60px 0; }

h2 { font-family: "Corinthia", cursive; text-align: center; font-size: 72px; line-height: .8em; font-weight: 400; color: #ffcf33; margin-bottom: 30px; }
h3 { font-family: "EB Garamond", cursive; text-align: center; font-size: 32px; color: #ffcf33; margin: 10px 0; }
h4 { font-family: "EB Garamond", cursive; text-align: center; font-size: 24px; font-weight: 100; color: #fce390; margin-bottom: 10px; }

hr { border: none; margin: 30px 0; height: 1px; background: linear-gradient(90deg, transparent, #ffcf33 20%, #ffcf33 80%, transparent); opacity: 0.6; }

p { margin: 10px 0; }
p.message { font-size: 16px; text-align: justify; }

figure { margin: 30px 0; }
blockquote { display: block; font-family: "EB Garamond", serif; color: #fce390; font-size: 20px; font-style: italic; margin-bottom: 10px; }
figcaption { font-family: "EB Garamond", serif; color: #fce390; font-size: 15px; font-style: italic; }

img.photo { width: 90%; margin: 10px 0; border-radius: 8px; }

.buttons { margin-top: 20px; }
.button.main { display: inline-block; width: 120px; height: 120px; border-radius: 50%; border: 3px solid #fff; font-size: 0; margin: 0 20px; background-position: center center; background-repeat: no-repeat; background-size: 50%; cursor: pointer; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s; animation: buttonGlow 2.8s ease-in-out infinite; }
.buttons .button.main:nth-child(2) { animation-delay: 0.9s; }
.button.main:hover { border-color: #ffcf33; box-shadow: 0 0 18px rgba(255,207,51,.55), 0 0 40px rgba(255,207,51,.2); animation: none; }
.button.main:active { transform: scale(0.95); }
.button.main.message { background-image: url('img/message.png'); }
.button.main.gift { background-image: url('img/gift.png'); }
.button.main.spa { background-image: url('img/spa.png'); }
.button.main.restaurant { background-image: url('img/restaurant.png'); }
@keyframes buttonGlow 
{
  0%, 100% { border-color: rgba(255,255,255,.8); box-shadow: 0 0 0 0 rgba(255,207,51,0); }
  50% { border-color: #ffcf33; box-shadow: 0 0 14px rgba(255,207,51,.45), 0 0 0 5px rgba(255,207,51,.1); }
}

section { margin-bottom: 20px; padding: 20px 0; position: relative; }
section.entering { animation: sectionIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes sectionIn 
{
  from { opacity: 0; transform: translateY(50px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
section .button.back { position: absolute; top: 0; left: 0; width: 50px; height: 50px; font-size: 0; background: url('img/back.png') center center no-repeat; background-size: cover; }
