
html,body{height:100%;}
body{
	margin:0;
	font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Serif', serif;
	color:var(--dark);
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
}
.zadnifon1{
    position:relative;
    top:-30%;
    left:55%;
    width:100%;
    rotate: 270deg;
    z-index:-1;
}
.zadnifon1block{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
}

.card{
    position:relative;
    width:100%;
    height:100%;
}
.askar{
    font-family: i;
    font-size:70px;
    font-weight: 100;
    letter-spacing:2px;
    margin:0;
	text-align:center;
    position: relative;
    top:30%;
}
    
.uilenu{
    font-size:18px;
    margin-top:6px;
    font-weight:600;
    text-transform:uppercase;
	text-align:center;
    position: relative;
    top:30%;
}
.date{
    position: relative;
    margin-top:12px;
	text-align:center;
    position: relative;
    top:30%;
    
}
.zadnifon4{
    position:absolute;
    top:0%;
    left:0%;
    width:60%;
    rotate: 0deg;
    z-index:-1;
}
.zadnifon4block{
    position:absolute;
    top:70%;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
}

.tilek{
    position: relative;
    top: 20%;
    text-align: center;
}

.kurmet{
    font-size: 50px;
    font-family: i;
    font-weight: 100;
}
.sizder{
    font-size: 35px;
    font-family: i;
    padding-left: 10%;
    padding-right: 10%;
}

.zadnifon2{
    position:absolute;
    width:60%;
    rotate: 90deg;
    z-index:-1;
}
.zadnifon2block{
    position:absolute;
    top:170%;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
}

.info{
    position: relative;
    top: 60%;
}
.toi{
    font-size: 38px;
    font-family: i;
    font-weight: 100;
    text-align: center;
    margin-top: 12px;
}
.time{
    font-weight:700;
	text-align:center;
    position: relative;
    font-size: 15px;
    top:30%;
    font-weight: 100;
    top: 100%;
}
.meken{
    font-size: 38px;
    font-family: i;
    font-weight: 100;
    text-align: center;
}
.kala{
    font-size: 15px;
    font-weight: 100;
    text-align: center;
    margin-top: -12px;
}

.map{
    position: relative;
    top: 60%;
    height: 50%;
}
.map iframe {
    width: 90%;
    height: 100%;
    border: none;
    padding: 7%;
}

.rsvp{
    position: relative;
    top: 70%;
    text-align: center;
    padding: 40px 16px;
    max-width: 920px;
    margin: 60px auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 12px;
    background: transparent;
}

.rsvp form{
    display:flex;
    flex-direction:column;
    gap:12px;
    align-items:center;
}
.rsvp .rsvp-row{
    display:flex;
    gap:12px;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
}
.rsvp .name{
    font-size:20px;
    margin-bottom:6px;
}
.rsvp textarea,
.rsvp select{
    width:80%;
    max-width:720px;
    padding:10px 12px;
    border:1px solid #e6e6e6;
    border-radius:8px;
    resize:vertical;
    font-family:inherit;
    font-size:15px;
}
.rsvp .palen{width:80%; max-width:720px;}
.rsvp input[type="radio"]{
    accent-color:#b88b6b;
    width:18px;
    height:18px;
}
.rsvp button{
    background:#b88b6b;
    color:#fff;
    padding:10px 18px;
    border:none;
    border-radius:8px;
    font-size:16px;
    cursor:pointer;
    box-shadow:0 6px 14px rgba(184,139,107,0.18);
}
.rsvp button:hover{opacity:0.96}
.rsvp-success{display:none;margin-left:12px;color:#2d8a4a;font-weight:700}
.name{
    position: relative;
    font-size: 30px;
    font-weight: 100;
    text-align: center;
    margin-top: 12px;
}
.palen{
    position: relative;
    top: 20%;
}
.zadnifon3{
    position:absolute;
    top: -25%;
    width:100%;
    z-index:-1;
}
.zadnifon3block{
    position:absolute;
    top:400%;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
}

@font-face{
font-family:a;
src:url("shrift/KZ_Sign_Painter.ttf");
}

@font-face{
font-family:b;
src:url("shrift/KZ_Andantino_script.ttf");
}

@font-face{
font-family:c;
src:url("shrift/KZ_Mon_Amour_One.ttf");
}

@font-face{
font-family:d;
src:url("shrift/kzbalmoral_regular.ttf");
}
@font-face{
font-family:e;
src:url("shrift/werty.ttf");
}

@font-face{
font-family:f;
src:url("shrift/Cassandra.ttf");
}

@font-face{
font-family:g;
src:url("shrift/_KZ\ Margarita\ script_.ttf");
}

@font-face{
font-family:i;
src:url("shrift/_AsylbekM02Shelley.kz_\ \(1\).ttf ");
}

/* Scroll reveal animation */
.reveal{
    opacity:0;
    transform:translateY(18px);
    transition:opacity 600ms cubic-bezier(.2,.8,.2,1), transform 600ms cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
}
.reveal.active{
    opacity:1;
    transform:none;
}

/* Optional directional reveals */
.reveal-left{transform:translateX(-18px)}
.reveal-right{transform:translateX(18px)}
.reveal-left.active,.reveal-right.active{transform:none}

