/* Base Styles for the Announcement Bar */

#gotechark-announcement-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #dd7878;
    color: #000;
    font-family: 'Times New Roman', serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
    /* animation: fadeTopbar 2s infinite; */
    justify-content: center;
}

/* Responsive Content Container */

#gotechark-announcement-bar .content {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
    flex-direction: row;
    text-align: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

#gotechark-announcement-bar .content p {
    margin: 0;
}

#gotechark-announcement-bar .announce-content {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 10px 55px 10px 30px;
}

#gotechark-announcement-bar .close-announce {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    font-size: 0;
}

#gotechark-announcement-bar #close-announcement {
    margin: 0;
}

#gotechark-announcement-bar .content blockquote {
    font-style: italic;
}

/* Heading Styles */

#gotechark-announcement-bar .content h1,
#gotechark-announcement-bar .content h2,
#gotechark-announcement-bar .content h3,
#gotechark-announcement-bar .content h4,
#gotechark-announcement-bar .content h5,
#gotechark-announcement-bar .content h6 {
    margin: 0;
    padding: 0;
}

/* Close Button Styles */
#close-announcement {
    padding: 10px;
    background: transparent;
    border: 2px solid #ff0000;
    border-radius: 2px;
    font-size: 0;
    position: relative;
    cursor: pointer;
}

#close-announcement::before,
#close-announcement::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 2px;
    background-color: #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#close-announcement::before {
    transform: translate(-50%,-50%) rotate(45deg);
}

#close-announcement::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}

#close-announcement:hover::before,
#close-announcement:hover::after {
    background-color: #f00;
    transition: background-color 0.3s;
}

/* Button and Link Styles */

.announcement-button,
.announcement-link {
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
}

.announcement-button {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.announcement-button:hover {
    background-color: #0056b3;
}

.announcement-link {
    color: #007bff;
    text-decoration: underline;
}

.announcement-link:hover {
    color: #0056b3;
}

/* Sticky Bar (if enabled) */

#gotechark-announcement-bar.sticky {
    position: fixed;
    top: 0;
    z-index: 9999;
}

/* Responsive Styles */

@media screen and (max-width: 1200px) {
    #gotechark-announcement-bar {
        font-size: 16px;
    }

    #gotechark-announcement-bar .content {
        font-size: 14px;
    }

    .announcement-button,
    .announcement-link {
        font-size: 14px;
        padding: 8px 15px;
    }
}

@media screen and (max-width: 992px) {
    #gotechark-announcement-bar .content {
        flex-direction: column;
    }

    .announcement-button,
    .announcement-link {
        margin: 5px 0;
    }
}

@media screen and (max-width: 768px) {

    #gotechark-announcement-bar .content {
        font-size: 14px;
    }

    .announcement-button,
    .announcement-link {
        margin: 5px 0;
        font-size: 12px;
        padding: 8px 15px;
    }
}

@media screen and (max-width: 480px) {
    #gotechark-announcement-bar {
        text-align: center;
    }

    #gotechark-announcement-bar .content {
        flex-direction: column;
        text-align: center;
        font-size: 12px;
    }

    .multi-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .announcement-button,
    .announcement-link {
        font-size: 12px;
        padding: 8px 15px;
    }
}