@import url('https://fonts.googleapis.com/css2?family=Rouge+Script&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gift-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gift-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.gift-card img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.gift-card h3 {
    white-space: nowrap;
    margin: 15px 0;
    color: #2c3e50;
}

.gift-card .price {
    color: #999;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

#pix-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    text-align: center;
}

.qrcode {
    width: 20em;
    height: 20em;
    background-color: #ddd;
    margin: 20px auto;
}

.qrcode img {
    width: 100%;
    height: 100%;
}

.btn-copy-pix {
    background-color: #aaa;
}

.btn-close-modal {
    margin-top: 2em;
}

#span-copy-pix {
    background: #eee;
    display: block;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.rouge-script-regular {
    font-family: "Rouge Script", cursive;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 5em;
    font-family: "Rouge Script", cursive;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;
    line-height: 1em;
    margin-bottom: 0.5em;
}

header .date {
    font-size: 1.2em;
}

header .local {
    font-size: 1.4em;
}

header .message {
    font-size: 1.4em;
    font-style: italic;
}
.icon {
    width: 1em;
    height: 1em;
    vertical-align: text-top;
    display: inline-block;
    margin-right: 0.4em;
    background-size: contain;
    background-position: center;
}
.icon-calendar {
    background-image: url('../assets/calendar.png')
}
.icon-location {
    background-image: url('../assets/location.png')
}
.icon-message {
    background-image: url('../assets/chat_love_1.png')
}

.couple-photo {
    width: 10em;
    height: 10em;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    margin: 0 auto;
    border: 2px solid #3498db;
}

#carousel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.carousel-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    position: relative;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-images img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.carousel-content .btn-close {
    margin: 20px auto 0;
    display: block;
}

#confirm-invite-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

.confirm-invite-modal-content {
    background-color: #fff;
    padding: 1.2em;
    border-radius: 8px;
    max-width: 90%;
    position: relative;
    display: inherit;
    padding-bottom: 5em;
}

.confirm-invite-modal-close {
    top: -3.5em;
    position: relative;
}

footer {
    padding: 1em 0;
    text-align: center;
    font-size: 1.2em;
}

.sign {
    font-size: 1.2em;
    font-style: italic;
}