/* Put any custom CSS rules here */

@import url('https://fonts.googleapis.com/css2?family=Hammersmith+One&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

.terms-condition[_ngcontent-lyo-c124] {
    font-size: 16px;
    font-weight: bold;
}

@keyframes Flash {
    0%, 10%  { background-color: rgb(220, 101, 101); color: rgba(255, 255, 255, 1); }
    50% { background-color: rgba(220, 101, 101, 1); color: rgb(220, 101, 101); }
    90%, 100% { background-color: rgb(220, 101, 101); color: rgba(255, 255, 255, 1); }
}

h4 span {
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 5px;
    animation: Flash 2s infinite alternate; /* Smooth flashing animation */
}

.btn-theme {
    transform-style: preserve-3d; /* Ensures 3D space is maintained */
    animation: flipAnimation 5s infinite alternate; /* 12s to accommodate the full loop */
}

@keyframes flipAnimation {
    0%, 70% {
        transform: rotatex(0deg); /* Stay upright for the first 5 seconds */
    }
    100% {
        transform: rotatex(180deg); /* Flip back in 1 second */
    }
}

.custom-card-tab li.tablinks.member-icon span {
    visibility: hidden;  /* Hide the original text */
}

.custom-card-tab li.tablinks.member-icon span::before {
    content: "Donations"; /* Insert the new text */
    visibility: visible;  /* Ensure the new text is visible */
    color: #666; /* Apply the same styles */
    font-weight: bold;
}

.custom-card-tab li.tablinks.member-icon.active span {
    color: var(--checkout-text-color); /* Set your darker color here */
    font-weight: bold;
}

.custom-card-tab {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0; /* Stick to the top */
    max-width: 100%;
    margin: 30px 0 0 0;
    z-index: 100; /* Make sure it's on top of other content */
    background-color: #fff; /* Optional: set a background color so it's visible */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: adds a shadow for better visibility */
}

.btn-theme:hover {
    transform: rotateY(180deg); /* 3D rotation on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Optional: shadow for a more 3D effect */
}
 
@keyframes textChange {
    0% { content: "Welcome to TA!"; }
    50% { content: "Upcoming events at Thetford Academy:"; }
    100% { content: "Welcome to TA!"; } /* Loops back */
}

.main-imgdiv h1 {
    color: transparent; /* Hide the original text */
    position: relative;
}


.main-imgdiv h1::after {
    content: "Upcoming events at Thetford Academy:"; /* Default text */
    color: #223085; /* Match original style */
    position: absolute;
    top: 0;
        position-area: center;
    left: 0;
    animation: textChange 10s infinite; /* 5s looping animation */
}

/*.main-imgdiv h1::after {
    content: "Upcoming events at Thetford Academy:"; 
    color: #223085;  
    position: absolute;
    position-area: center;
    top: 0;
    left: 0;
    font-family: Raleway;
        font-weight: bold;
    text-align: center;
}*/

.upcoming_events .listing-page .list-box a {
        font-family: 'Raleway';
    }

.main-imgdiv img.bannerImageTop {
    margin: 10px auto;
}

.topsection .innerdiv {
border-radius: 40px 40px 40px 40px;
}

.topsection .innerdiv .right-div {
    border-radius: 0 20px 20px 0;
}

.topsection .innerdiv .left-div {
border-radius: 20px 0px 0 20px
}
.ticketprice .value {
    font-weight: 500;
    font-family: Poppins;
}
.top-conetent h1.st_event_title {
    font-size: 70px !important;
  font-family: "Raleway", sans-serif !important;
  font-weight: 800 !important;
  font-style: normal;
  font-optical-sizing: auto;
  color: rgb(0 24 113) !important;
}
.btn-theme {
        border-radius: 10px !important;
}

.event-div .top-conetent ul.st_event_basic_info {
font-family: Trebuchet MS !important;
}

.topsection .head_imagemain {
    background-image: linear-gradient(#000, #223085) !important;
    -webkit-filter: blur(0px) !important;
    filter: blur(0px) !important;
}

.topsection .innerdiv .right-div {
        background: #FFF;
}

.fixed-nav {
        background: #223085 !important;
        font-family: Trebuchet MS !important;
}
.fixed-nav ul li a {
    color: #fff !important;
}

body {
  font-family: Trebuchet MS !important;
}