

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Georgia, serif;
background:linear-gradient(#0b0f2b,#000);
color:white;
text-align:center;
overflow-x:hidden;
min-height:100vh;
}


header{
padding:30px 20px;
background:rgba(0,0,0,0.35);
backdrop-filter:blur(8px);
border-bottom:1px solid rgba(255,255,255,0.1);
}

header h1{
font-size:36px;
color:#ffd27f;
margin-bottom:10px;
cursor:pointer;
}

nav{
margin-top:10px;
}

nav a{
margin:15px;
color:#ffd27f;
text-decoration:none;
font-size:18px;
padding:8px 14px;
border-radius:10px;
transition:0.3s;
}

nav a:hover{
background:#ffd27f;
color:black;
}


#intro{
position:fixed;
background:black;
width:100%;
height:100%;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
z-index:100;
}

.introText{
font-size:80px;
color:#ffd27f;
animation:giro 5s linear;
}

@keyframes giro{
0%{transform:rotateY(0)}
100%{transform:rotateY(360deg)}
}


.contador{
margin-top:40px;
}

#timer{
font-size:30px;
margin-top:10px;
color:#ffd27f;
font-weight:bold;
}


.flowers{
font-size:32px;
margin:25px;
}


.gallery{
max-width:1200px;
margin:50px auto;
background:white;
border-radius:20px;
padding:40px;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
box-shadow:
0 20px 60px rgba(0,0,0,0.6),
inset 0 0 30px rgba(0,0,0,0.08);
}

.gallery .photo{
background:white;
border-radius:12px;
box-shadow:0 10px 20px rgba(0,0,0,0.25);
transition:0.4s;
overflow:hidden;
}

.gallery .photo img{
width:100%;
border-radius:12px 12px 0 0;
display:block;
}

.gallery .photo figcaption{
padding:10px;
font-size:16px;
color:#333;
text-align:center;
background:#fff;
}

.gallery .photo:hover{
transform:scale(1.05) rotate(1deg);
box-shadow:0 20px 40px rgba(0,0,0,0.35);
}


.carta{
max-width:850px;
margin:80px auto;
background:linear-gradient(180deg,#fffdf7,#f5ecd9);
padding:60px;
border-radius:15px;
box-shadow:0 25px 60px rgba(0,0,0,0.6);
font-size:20px;
line-height:1.8;
color:#333;
text-align:left;
position:relative;
}

.carta:before{
content:"";
position:absolute;
top:-5px;
left:-5px;
right:-5px;
bottom:-5px;
border-radius:18px;
background:linear-gradient(45deg,#ffd27f,#c98b3a,#ffd27f);
z-index:-1;
filter:blur(10px);
opacity:0.6;
}

.carta p{
white-space:pre-wrap;
font-family:Georgia, serif;
}


.spotify{
margin-top:60px;
display:flex;
justify-content:center;
}


#stars{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
z-index:-1;
}


@media(max-width:900px){
.gallery{
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
padding:30px;
}
.carta{
padding:35px;
font-size:18px;
}
}

@media(max-width:600px){
header h1{
font-size:26px;
}
nav a{
font-size:16px;
margin:10px;
}
.gallery{
grid-template-columns:1fr;
}
.carta{
margin:40px 15px;
}
}
