html {
    font-size: 16px;
    position: relative;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
    position: relative;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin-bottom: 60px;
    background-image: url('/Photos/favenoeditIMG_0409.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

#rsvpInformation {
    color: black;
}

label {
    margin-right: 60px;
}

.information-box {
    position: relative;
    width: 30%;
    height: 100vh; 
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

@media (max-width: 480px) {
    .information-box {
        position: relative;
        width: 100%;
        min-height: 100vh;
        height:auto;
        max-height:100dvh;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.98);
        overflow-y: auto;
        display:flex;
        flex-direction:column;
    }

    body {
        background: none !important;
        background-color: #f7f7f7;
    }

    html, body {
        height: 100%;
        overflow: auto;
    }
}

#guestModal .modal-dialog {
    max-width: 1000px; 
    width: 95%; 
    margin: 1.75rem auto;
}

#guestModalBody {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    #guestModalBody {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 728px) {
    input, select, button {
        font-size: 1rem;
        padding: 12px;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 10px;
    }
}

.modal-header .btn-close {
    font-size: 1.5rem;
    padding: 10px;
}

.payment-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    align-items: center;
}

.payment-icon {
    width: 120px;
    height: 120px;
    transition: transform 0.2s ease;
}

.payment-links a:hover .payment-icon {
    transform: scale(1.5);
}

@media (max-width: 768px) {
    .payment-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .payment-icon {
        width: 80px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .payment-icon {
        width: 60px;
    }
}