/* Banner CSS */

.banner_mask 
{
    height: 32px;
    background-color: #2e303e; 
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0; 
    z-index: 999; /* Ensure the masking bar is above other content */
}


.banner 
{
    position: relative; 
    height: 180px;
    overflow: hidden; /* Prevent stuff from overflowing */
    border-radius: 10px;
    background-image: url('/assets/images/coderkachi_background.png'); /* Placeholder image */
    background-repeat: repeat; /* Prevent the background from repeating */
    background-size: 90%; 
    background-position: center 30%; 
    display: flex;
    align-items: center; 

    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 32px;
    z-index: 1000; /* Make banner above other content */
}


/* Overlay for dimming */
.banner::after 
{
    content: ""; /* Pseudo-Element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 0; 
}

.banner-content 
{
    position: relative;
    z-index: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100%; 
    padding-left: 32px; 
    padding-right: 32px; 
    color: white;
}

.banner-text h1 
{
    font-size: 40px; 
    letter-spacing: 16px;
    margin-bottom: 6px;
}

.banner-text p
{
    letter-spacing: 8px;
    margin: 0;
}

.subtext 
{
    font-size: 16px;
    font-weight: normal;
}

.social-icons
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon 
{
    width: 32px;
    height: auto; 
    fill: white;
    margin-left: 32px;
}

.banner_upper 
{
    display: flex; 
    justify-content: space-between;
    width: 100%;
}

.banner_lower 
{
    width: 200%; 
    flex: 1; 
    display: flex;
    justify-content: center; 
    align-items: center; 
}