*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#efe8df;
    font-family:'Montserrat',sans-serif;
    color:#5d4b43;
}

/* HERO */

.hero{
    width:100%;
    height:330px;
    overflow:hidden;
}

.hero img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* CARD */

.card{
    background:#faf7f2;
    margin-top:-45px;
    border-radius:40px 40px 0 0;
    position:relative;
}

.curve{
    width:100%;
    height:70px;
    display:block;
    margin-top:-69px;
}

.content{
    padding:10px 24px 60px;
}

/* TEXT */

.ornament{
    text-align:center;
    color:#b8897f;
    font-size:30px;
    margin-bottom:10px;
}

h1{
    font-family:'Cormorant Garamond',serif;
    text-align:center;
    font-size:58px;
    font-weight:400;
    line-height:.95;
    color:#614b42;
    margin-bottom:20px;
}

.date{
    text-align:center;
    letter-spacing:4px;
    font-size:15px;
    color:#8b7167;
    margin-bottom:8px;
}

.venue-name{
    text-align:center;
    font-family:'Great Vibes',cursive;
    font-size:34px;
    color:#9a756c;
    margin-bottom:35px;
}

/* IMAGE */

.venue{
    width:100%;
    border-radius:18px;
    margin-bottom:40px;
}

/* RSVP */

.divider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin-bottom:25px;
    font-family:'Cormorant Garamond',serif;
    font-size:34px;
}

.divider span{
    flex:1;
    height:1px;
    background:#d7c4bb;
}

.intro{
    text-align:center;
    color:#77635b;
    line-height:1.8;
    margin-bottom:35px;
}

/* FORM */

form{
    display:flex;
    flex-direction:column;
}

label{
    margin-top:18px;
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
}

input[type=text],
select{
    width:100%;
    padding:16px;
    border:1px solid #ddd2cb;
    border-radius:14px;
    background:white;
    font-size:15px;
}

.radio-group{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.radio{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:15px;
}

.radio input{
    accent-color:#b8897f;
}

button{
    margin-top:35px;
    border:none;
    background:#b8897f;
    color:white;
    padding:18px;
    border-radius:14px;
    font-size:16px;
    cursor:pointer;
    transition:.25s;
}

button:hover{
    background:#a47369;
}

/* SUCCESS */

#success{
    display:none;
    text-align:center;
    padding:40px 20px;
}

#success h2{
    font-family:'Cormorant Garamond',serif;
    font-size:42px;
    margin-bottom:15px;
}

/* DESKTOP */

@media(min-width:700px){

.card{
    max-width:500px;
    margin:-60px auto 80px;
    border-radius:45px;
}

.hero{
    height:520px;
}

}