.tab { margin-left: 40px; }

/* Newsletter Footer Styling */
.newsletter-footer {
    text-align: center;
}
/* Prevent text selection and fix cursor on all non-text elements */
body {
    user-select: none; /* Disables text selection globally */
    -webkit-user-select: none; /* For Safari */
}
.newsletter-container {
    max-width: 45rem; /* 720px */
    margin: 0 auto;
}

.newsletter-heading {
    font-size: 1.8rem;
    color: #574f7d;
    margin-bottom: 0.625rem; /* 10px */
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 3.125rem; /* 50px */
    overflow: hidden;
    box-shadow: 0px 0.25rem 0.1875rem rgb(210, 249, 255); /* 4px 3px */
    background-color: #ffffff;
    padding: 0; /* Remove padding to prevent extra space */
}

/* Newsletter Input Styling */
.newsletter-input {
    flex: 1;
    padding: 0.9375rem; /* 15px */
    border: none;
    font-size: 1.5rem;
    outline: none;
    border-radius: 0;
    background-color: #ffffff;
    color: rgb(46, 0, 0);
    margin: 0; /* Ensure no extra margin */
}

/* Placeholder Styling */
.newsletter-input::placeholder {
    color: rgb(71, 13, 13);
    font-size: 1.5rem;
}

/* Newsletter Button Styling */
.newsletter-button {
    background-color: #ffcbf2;
    color: rgb(54, 15, 15);
    border: none;
    padding: 0.9375rem 1.875rem; /* 15px 30px */
    margin: 0; /* Ensure no extra margin */
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block; /* Ensures it behaves like a button */
    white-space: nowrap; /* Prevents button text from breaking into multiple lines */
}


.newsletter-button:hover {
    background-color: #f5a1c9;
}

/* Responsive Design for Mobile */
@media (max-width: 48rem) { /* 768px */
    .newsletter-form {
        flex-direction: column;
        border-radius: 0.9375rem; /* 15px */
    }
    .newsletter-input, .newsletter-button {
        border-radius: 0;
        flex: none;
        width: 100%;
    }
    .newsletter-button {
        border-top: 0.0625rem solid #e8d7f1; /* 1px */
    }
}


.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.875rem; /* 30px */
}

.header h1 {
    margin: 0 0.625rem; /* 10px */
    font-size: 2.5rem; /* 40px */
    color: #721c24;
}

.line {
    height: 0.1875rem; /* 3px */
    width: 18.75rem; /* 300px */
    background-color: #721c24;
    border-radius: 1.25rem; /* 20px */
}

.animated {
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    animation-name: fadeIn;
    animation-duration: 4s;
}

#small{
    width:30%;
    height:auto;
    object-fit: contain;
    margin:auto;
}
#large{
    width:50%;
    height:auto;
}
.scaled-image {
    width: 7.5rem; /* 120px */
    height: auto;
}

.logo-row {
    display: flex;
    justify-content: center;
    gap: 0.625rem; /* 10px */
    padding-bottom: 1.25rem; /* 20px */
}
body {
    background-color: #fff6d0;
    margin-top: 1.25rem; /* 20px */
    margin-bottom: 1.25rem; /* 20px */
    font-family: "Nanum Pen Script", cursive !important;
    font-weight: 400;
    font-style: normal;
}

nav {
    box-shadow: 0 0.125rem 0.0625rem 0 rgba(0, 0, 0, .2); /* 2px 1px */
}

.nav-border {
    border-radius: 1.875rem; /* 30px */
    background-color: white;
    position: relative;
    z-index: 2;
}

a{
    color: #721c24;
    text-decoration: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 1.25rem; /* 10px 20px */
    font-family: "Nanum Pen Script", cursive;
    font-weight: 400;
    font-style: normal;
    z-index: 2;
}

.navbar-section {
    display: flex;
    align-items: center;
}

.navbar-section a {
    font-size: 2.1875rem; /* 35px */
    color: #721c24;
    padding: 0 0.625rem; /* 10px */
    text-decoration: none;
}

.navbar-section.center {
    justify-content: center;
    flex-grow: 1;
}

.navbar-section a:hover {
    color: hotpink;
    text-decoration: none;
}

.offcanvas {
    background-color: #E2EAF4;
    color: #333;
}

.flip-card {
    background-color: transparent;
    width: 21.875rem; /* 350px */
    height: 22.5rem; /* 360px */
    border: 0.0625rem solid #f1f1f1; /* 1px */
    perspective: 62.5rem; /* 1000px */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    color: #721c24;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.flip-card-front {
    background-color: white;
    color: #721c24;
    border-radius: 1.875rem; /* 30px */
    box-shadow: 0 0.625rem 0.375rem 0 rgba(0, 0, 0, .2); /* 10px 6px */
}

.flip-card-back {
    background-color: #77C66E;
    color: #721c24;
    transform: rotateY(180deg);
    border-radius: 1.875rem; /* 30px */
    box-shadow: 0 0.625rem 0.375rem 0 rgba(0, 0, 0, .2);
}

.card img {
    width: 60%;
    height: auto;
    object-fit: contain;
    margin: auto;
}

.offcanvas-title {
    font-size: 2.1875rem; /* 35px */
    text-decoration: underline;
}

.offcanvas-body a {
    font-size: 1.875rem; /* 30px */
}



footer {
    font-size: 1.3rem !important; /* 30px */
}
footer h5{
    font-size: 1.5rem !important; /* 30px */

}

.center {
    text-align: center;
    align-items: center;
}

#center-card {
    place-items: center;
}

.underline {
    text-decoration: underline;
    text-decoration-color: #721c24;
}

.jumbotron {
    background-color: #f8d7da;
    color: #721c24;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

@media (max-width: 48rem) { /* 768px */
    .jumbotron {
        font-size: 1.25rem;
    }

}

.btn-custom {
    background-color: #BEE5B0;
    border-color: #9ACD32;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 12.5rem; /* 200px */
    gap: 0.3rem;
}


p, footer, h3, i {
    color: #721c24;
}

#welcome-container {
    position: absolute;
    top: calc(100px + 3rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    text-align: center;
}

#welcome-text {
    font-size: 3.125rem; /* 50px */
    color: #721c24;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#deadcenter {
    position: center;
}

.over-img-text {
    color: maroon;
}

.card {
    border-radius: 0.9375rem; /* 15px */
    box-shadow: lightblue -0.625rem 0.625rem; /* -10px 10px */
    margin: 0.625rem; /* 10px */
}

.card-body {
    font-size: 2.5rem; /* 40px */
    display: flex;
    flex-grow: 1; /* Ensures all card bodies grow equally */
    flex-direction: column;
    justify-content: center; /* Centers the content vertically */
    align-items: center; /* Centers the content horizontally */
    text-align: center; /* Centers the text within each card */
    color: #721c24;
}

.custom-margin {
    margin-top: 6.25rem; /* 100px */
    margin-left: 3.125rem; /* 50px */
    margin-right: 3.125rem; /* 50px */
}

h1, h2, h3, h4, h5, h6, p {
    color: #721c24 !important;
}

.white-bg {
    background-color: white;
}