@font-face {
    font-family: Royalty Free;
    src: url("fonts/Royalty Free.otf") format("opentype");
}

@font-face {
    font-family: lmroman12;
    src: url("fonts/lmroman12-regular.otf") format("opentype");
}

@font-face {
    font-family: raustila;
    src: url("fonts/raustila-Regular.otf");
}


html{
    background-color: #d2d0d1;
}

body {
    margin: 0;
    display: flex;
    place-items: center;
    min-width: 320px;
    min-height: 100vh;
    background-color: #d2d0d1;
    font-family: 'lmroman12';
    color: #603D1D;
}

.canvas {
    position: absolute;
    width: 414px;
    height: 736px;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #d2d0d1;
}


.container-mobile {
    background-image: url(/assets/img/bg.jpg);
    background-color: var(--inv-bg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
    width: 100%;
    height: calc(100% - 80px);
    padding: 30px;
    transition: all ease-in-out .5s;
    overflow-y: auto;
}

.first-load{
    height: calc(100% + -0px)
}

.navbar_menu {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #dcc1ae;;
    overflow: hidden;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, .06);
    -webkit-box-shadow: 0px -1px 6px 0px rgba(0, 0, 0, .06);
    -moz-box-shadow: 0px -1px 6px 0px rgba(0, 0, 0, .06);
    transition: all ease-in-out .2s;
}

.navbar_menu .navbar_menu_list {
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    transition: all ease-in-out .5s;
}

.navbar_menu .navbar_menu_item {
    width: 100%;
    height: 100%;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #053a53;
    position: relative;
    transition: all ease-in-out .1s;
    cursor: pointer;
    padding-top: 1px;
}

.active{
    color: #053a53;
    background-color: #fcf5eb;
    border-radius: 1rem;
}

.navbar_menu .navbar_menu_item i {
    font-size: 1.6rem !important;
}

.navbar_menu .navbar_menu_item a {
    text-decoration: none;
    color: #053a53;
}

.navbar_menu .navbar_menu_item span{
    font-size: 12px !important;
}

.invitation-wedding-name{
    font-family: 'Royalty Free';
    color: #c4a574;
    font-weight: 10 !important;
}


.countdown {
    display: flex;
    gap: 6px;
    padding: 10px;
}

.countdown-item {
    width: 100%;
    background-color: #c4a574;
    color: #ffffff;
    padding: 3px;
    border-radius: .4rem
}

.countdown-item .number {
    /*font-size: 1.35rem;*/
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 700
}

/*

.thx-rsvp-popup{
    width:300px;
    height:180px;
    background-color:#ffffff;
    z-index:9999;
    position: absolute; 
    top:calc(100%-90px);  
    left:calc(100%-150px); 
    border-radius: 10px;
    padding: 30px 20px 30px 20px;
    display: none;
}

.thx-rsvp-popup .title{
    font-family: 'Royalty Free';
    color: #c4a574;
    line-height: 0.7;
}

.error-popup{
    width:300px;
    height:180px;
    background-color:#ffffff;
    z-index:9999;
    position: absolute; 
    top:calc(100%-90px);  
    left:calc(100%-150px); 
    border-radius: 10px;
    padding: 30px 20px 30px 20px;
    display: none;
}

.error-popup .title{
    color: #c4a574;
    line-height: 1.2;
}*/

.gallery img{
    border-radius: 5px;
}

#loading{
    display: none;
}

.loading-overlay{
    width:100%;
    height:100%;
    background-color:#000000;
    z-index:9998;
    position: absolute; 
    top:0px; 
    bottom:0px; 
    left:0px; 
    right:0px;
    opacity: 0.5;
}

.loading-icon{
    width:100%;
    height:100%;
    text-align: center;
    z-index:9999;
    position: absolute; 
    top:0px; 
    bottom:0px; 
    left:0px; 
    right:0px;
    vertical-align: middle;
}

.loading-icon img{
    width: 150px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#zoom-gallery{
    display: none;
}

.zoom-gallery-overlay{
    width:100%;
    height:100%;
    background-color:#000000;
    z-index:9998;
    position: absolute; 
    top:0px; 
    bottom:0px; 
    left:0px; 
    right:0px;
    opacity: 0.5;
}


.zoom-gallery{
    left:0px; 
    right:0px;
    vertical-align: middle;

    width:350px;
    min-height:180px;
    background-color:#ffffff;
    z-index:9999;
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*top:calc(100%-90px);  
    left:calc(100%-150px); */
    border-radius: 10px;
    padding: 30px 20px 30px 20px;
}

.zoom-gallery .close-btn{
    bottom: 20px;
    background-color: rgba(255,0,0,.282);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    bottom: 0px;
    width: 45px;
    height: 45px;
    font-size: 30px;
    position: absolute;
    left: 0; 
    right: 0; 
    margin-inline: auto; 
}

.zoom-gallery .close-btn:hover{
    background-color: rgba(255,0,0,.482) !important;
}

.floating-action {
    max-width: 500px;
    margin: auto;
    position: absolute;
    right: 20px;
    bottom: 120px;
    gap: 12px;
}

.btn-float {
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 10rem;
    background-color: #c4a574 !important;
    border-color: #c4a574 !important;
    color: #ffffff;
    opacity: .7;
    font-size: 20px;
}

.btn:hover{
    color: #212529;
}

#rsvp-form{
    display: none;
}

.rsvp-form-overlay{
    width:100%;
    height:100%;
    background-color:#000000;
    z-index:9998;
    position: absolute; 
    top:0px; 
    bottom:0px; 
    left:0px; 
    right:0px;
    opacity: 0.5;
}


.rsvp-form{
    width:calc(100%-10px);
    height:calc(100%-10px);
    background-color:#ffffff;
    z-index:9999;
    position: absolute; 
    top:10px; 
    bottom:10px; 
    left:10px; 
    right:10px;
    border-radius: 10px;
    padding: 30px 20px 30px 20px;
}

.rsvp-form .close-btn{
    bottom: 20px;
    background-color: rgba(255,0,0,.282);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    bottom: 0px;
    width: 45px;
    height: 45px;
    font-size: 30px;
    position: absolute;
    left: 0; 
    right: 0; 
    margin-inline: auto; 
}

.rsvp-form .close-btn:hover{
    background-color: rgba(255,0,0,.482) !important;
}

#message-box{
    display: none;
}

.message-box-overlay{
    width:100%;
    height:100%;
    background-color:#000000;
    z-index:9998;
    position: absolute; 
    top:0px; 
    bottom:0px; 
    left:0px; 
    right:0px;
    opacity: 0.5;
}

.message-box{
    left:0px; 
    right:0px;
    vertical-align: middle;

    width:300px;
    height:180px;
    background-color:#ffffff;
    z-index:9999;
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*top:calc(100%-90px);  
    left:calc(100%-150px); */
    border-radius: 10px;
    padding: 30px 20px 30px 20px;
}

.message-box .title{
    color: #c4a574;
    line-height: 1.2;
}

/*
.loading-popup{
    width:100%;
    height:100%;
    text-align: center;
    z-index:9999;
    position: absolute; 
    top:0px; 
    bottom:0px; 
    left:0px; 
    right:0px;
    vertical-align: middle;
    display: none;
}

.loading-popup img{
    width: 150px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/

.btn-navbar{
    width:77px; 
    height:75px;
}

.btn-navbar .icon{
    padding-top:10px;
}

.btn-navbar .title{
    margin-top: -8px;
}


.large-2::-webkit-scrollbar-track {
    border: 1px solid #000;
    padding: 2px 0;
    background-color: #404040;
}

.large-2::-webkit-scrollbar {
    width: 10px;
}

.large-2::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #737272;
    border: 1px solid #000;
}

.frame {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 80px;
    left: 0;
}

.first-load .frame{
    bottom: 0px;
}

@keyframes wave-left {
    0% {
        transform: rotate(-2deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

@keyframes wave-right {
    0% {
        transform: rotate(2deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}

.animate-right img {
    transform-origin: 50% 100%;
    animation: wave-right 4s ease-in-out infinite alternate;
}

.animate-left img {
    transform-origin: 50% 100%;
    animation: wave-left 4s ease-in-out infinite alternate;
}