:root {
    --primary-color: #db4242;

    --swiper-theme-color: var(--primary-color);
}

body {
    font-size: 14px;
    background: #f1f1f1;
}

.font-tamil {
    font-family: 'Noto Serif Tamil', serif;
}

.header-container {
    background: #fff;
    text-align: center;
    padding: 16px;
    height: calc(64px + 16px);
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 9;
}

.header-container .logo-container {
    height: 128px;
    width: 128px;
    border-radius: 128px;
    position: absolute;
    z-index: 99;
    top: 16px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border: 4px solid #fff;
}

.header-container .logo-txt {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary-color);
}

.banner {
    padding-top: 80px;
    background-image: url('./../images/banner.jpg');
    background-size: cover;
    height: 720px;
    font-size: 32px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
}

.banner .container {
    position: relative;
    z-index: 5;
    font-style: italic;
    line-height: 1.8;
}

.pattern-squares {
    position: relative;
    height: 846px;
    background-image: url('./../images/squares.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.invite-container {
    background: #7E4555;
    border-radius: 10px;
    padding: 16px;
    height: 760px;
    width: auto;
    display: inline-flex;
    max-width: 570px;
}

.invite-container .swiper-slide img {
    height: 100%;
}

/* 
.invite-container .carousel {
    max-width: 530px;
}

.carousel-item img {
    max-height: 720px;
} */

.banner-content {
    text-align: end;
}

.header-flex {
    flex: 1;
}

.web-only {
    display: unset;
}

@media only screen and (max-width: 768px) {
    .invite-container {
        max-width: 100%;
        height: auto;
    }

    .invite-container .swiper-slide img {
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }

    .pattern-squares {
        height: auto;
    }

    .banner {
        font-size: 22px;
        padding: 8px;
    }

    .banner-content {
        text-align: center;
        padding-top: 45px !important;
    }

    .header-flex {
        flex: auto;
    }

    .web-only {
        display: none;
    }
}