/* =========================
   БАЗОВЫЕ НАСТРОЙКИ
========================= */


*{
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    margin:0;

    background:#faf7f2;

    color:#51463f;

    font-family:'Montserrat', sans-serif;

    font-weight:300;

}



.hidden{
    display:none !important;
}





/* =========================
   ОБЛОЖКА
========================= */


.cover{

    height:100vh;

    min-height:650px;

    background-image:url("images/couple.jpg");

    background-size:cover;

    background-position:center;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}



.cover-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(255,255,255,.35),
        rgba(255,255,255,.55)
    );

}




.cover-content{

    position:relative;

    text-align:center;

    padding:30px;

}



.small-title{

    letter-spacing:4px;

    text-transform:uppercase;

    font-size:12px;

    margin-bottom:30px;

}





.cover h1{

    font-family:'Cormorant Garamond', serif;

    font-size:90px;

    line-height:.8;

    font-weight:400;

    margin:0;

    color:#4b4039;

}



.cover h1 span{

    font-size:50px;

}




.cover p{

    font-size:22px;

    margin:35px 0;

}





button{

    border:none;

    background:#9c7864;

    color:white;

    padding:16px 40px;

    border-radius:50px;

    font-size:14px;

    cursor:pointer;

    transition:.3s;

}



button:hover{

    transform:translateY(-3px);

}






/* =========================
   ОСНОВНАЯ ЧАСТЬ
========================= */


main{

    max-width:720px;

    margin:auto;

    padding:20px;

}





section{

    text-align:center;

    margin:90px 0;

}




.hero{

    padding-top:40px;

}





.decor{

    font-size:32px;

    color:#b48c78;

}





h2{

    font-family:'Cormorant Garamond',serif;

    font-weight:400;

    font-size:48px;

    color:#4b4039;

    margin-bottom:30px;

}



h3{

    font-family:'Cormorant Garamond',serif;

    font-size:30px;

    font-weight:400;

}





p{

    font-size:16px;

    line-height:1.9;

}





/* =========================
   ФОТО
========================= */


.photo img{

    width:100%;

    border-radius:200px 200px 0 0;

    display:block;

}





/* =========================
   ТАЙМЕР
========================= */


.countdown{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-top:40px;

}



.countdown div{

    background:white;

    width:75px;

    height:75px;

    border-radius:50%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

    font-size:11px;

}



.countdown span{

    font-size:24px;

    font-weight:500;

}





/* =========================
   ТАЙМИНГ
========================= */


.timeline{

    margin-top:40px;

}



.timeline div{

    margin:35px 0;

}



.timeline b{

    display:block;

    font-size:20px;

    font-weight:400;

}



.timeline span{

    display:block;

    margin-top:10px;

}





.note{

    font-size:14px;

    margin-top:40px;

}






/* =========================
   КНОПКА
========================= */


.button{

    display:inline-block;

    padding:15px 35px;

    background:#9c7864;

    color:white;

    border-radius:50px;

    text-decoration:none;

    margin-top:20px;

    transition:.3s;

}



.button:hover{

    transform:translateY(-3px);

}







/* =========================
   КОНТАКТЫ
========================= */


.person{

    margin:40px 0;

}



.person a{

    display:block;

    color:#92705c;

    text-decoration:none;

    margin:12px;

}






/* =========================
   ФИНАЛ
========================= */


.final{

    padding:80px 20px;

}



.final h2{

    font-size:42px;

}





/* =========================
   АНИМАЦИЯ
========================= */


.reveal{

    opacity:0;

    transform:translateY(40px);

    transition:
    opacity 1s ease,
    transform 1s ease;

}



.reveal.active{

    opacity:1;

    transform:none;

}








/* =========================
   МОБИЛЬНАЯ ВЕРСИЯ
========================= */


@media(max-width:600px){



.cover h1{

    font-size:65px;

}



.cover h1 span{

    font-size:40px;

}




main{

    padding:15px;

}




h2{

    font-size:38px;

}



h3{

    font-size:26px;

}



p{

    font-size:15px;

}




.countdown{

    gap:8px;

}



.countdown div{

    width:65px;

    height:65px;

}



.countdown span{

    font-size:20px;

}



}