@font-face {
    font-family: 'EVN';
    src: url('../fonts/evn-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'EVN';
    src: url('../fonts/evn-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'EVN';
    src: url('../fonts/evn-regular-italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'EVN';
    src: url('../fonts/evn-bold-italic.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
}

body {
    margin: 0;
    padding: 0;
    /* background-image: url('../images/bg-1-colored.jpg'); */
    /* background-size: cover;
    background-position: top center;
    background-repeat: no-repeat; */
    color: #ffffff;
    font-family: 'EVN', Arial, sans-serif;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('../images/bg-1.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

/* .background-container::before,
.background-container::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
} */

.background-container::before {
    z-index: 2;
    background-image: url('../images/bg-1.jpg');
    opacity: 1;
    transition: opacity ease;
}

.bground-container::after {
    z-index: 1;
    background-image: url('../images/bg-1-colored.jpg');
}

.background-container.color::before {
    opacity: 0;
}

.content {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    text-align: center;
    background-image: url('../images/bg-1-colored.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.f-screen {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('../images/bg-1-colored.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.invitation-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 0;
}

.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
}

.arrow {
    display: block;
    width: 30px;
    height: 30px;
    border-right: 4px solid #ffffff;
    border-bottom: 4px solid #ffffff;
    transform: rotate(45deg);
    margin: -10px;
    margin-bottom: 30px;
    animation: arrow 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

h1 {
    font-size: 1.5em;
    margin-bottom: 30px;
    margin-left: -100%;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 2em;
    margin: 20px 0;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


.decorative-line {
    width: 50%;
    height: 2px;
    background-color: #ffffff;
    margin: 30px auto;
    position: relative;
    /* transition: backgro-color 1.5s ease-in-out; */
}

.decorative-line::before {
    left: -20px;
    transform: rotate(-45deg);
}

.decorative-line::after {
    right: -20px;
    transform: rotate(45deg);
}

.color .decorative-line,
.color .decorative-line::before,
.color .decorative-line::after {
    background-color: #ffd700;
}

.invitation-text {
    font-size: 1.4em;
    margin: auto;
    margin-bottom: 40px;
    margin-top: 40px;
    max-width: 800px;
    line-height: 1.6;
}

.time {
    font-style: italic;
    font-size: 3em;
    margin: 0 auto;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 40px auto;
    width: 100%;
    max-width: 800px;
}

.ceremony, .reception {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
}

.directions-link {
    display: inline-block;
    margin-top: 15px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
}

.directions-link:hover {
    border-bottom: 2px solid #ffffff;
}

.rsvp-section {
    position: relative;
    z-index: 2;
    padding: 150px 20px;
    text-align: center;
    
}

.rsvp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.7); */
    background-image: url('../images/bg-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.rsvp-section > * {
    position: relative;
    z-index: 2;
}

.rsvp-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.rsvp-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: transform 0.2s;
}

.rsvp-btn:hover {
    transform: scale(1.05);
}

.rsvp-btn.yes {
    background-color: #4CAF50;
    color: white;
}

.rsvp-btn.no {
    background-color: #f44336;
    color: white;
}

.contact-info {
    margin-top: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
}

.phone {
    font-size: 1.5em;
    margin: 15px 0;
}

.working-hours {
    margin-top: 20px;
}

.working-hours p {
    margin: 10px 0;
}

.names {
    font-family: 'EVN', Arial, sans-serif;
    font-size: 4.5em;
    margin: 40px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.double-hearts {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.heart {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    position: relative;
    transform: rotate(45deg);
    animation: heartbeat 1.5s ease-in-out infinite;
}

.heart:last-child {
    left: -20px;
    top: -5px;
}

.heart:before,
.heart:after {
    content: '';
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
}

.heart:before {
    left: -10px;
}

.heart:after {
    top: -10px;
    left: 0;
}

.heart:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes heartbeat {
    0% {
        transform: rotate(45deg) scale(1);
    }
    25% {
        transform: rotate(45deg) scale(1.1);
    }
    50% {
        transform: rotate(45deg) scale(1);
    }
    75% {
        transform: rotate(45deg) scale(1.1);
    }
    100% {
        transform: rotate(45deg) scale(1);
    }
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 5rem 0;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.5em;
    font-style: italic;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    .invitation-text {
        font-size: 1em;
    }
    
    .rsvp-buttons {
        flex-direction: column;
    }
    
    .rsvp-btn {
        width: 100%;
    }
    
    .names {
        font-size: 3em;
        margin-top: 4rem;
    }

    .f-screen {
        justify-content: start;
    }
    
    .countdown {
        font-size: 1.5em;
    }
    
    .countdown-number {
        font-size: 1.2em;
    }
    
    .countdown-label {
        font-size: 0.7em;
    }
} 
