/* ******************************************************************
        Because mobileKit is restricting everything to mobile sizes
        I am redefining my own classses for the front end 
        Lighter of dark blue  0F1C2F used as bg of cards 
        Darker of Dark Blue 0C1624 used as bg of page & header in DARK MODE
    ******************************************************************* */

    .r_chat-container {
        height: 900px; /* Set a fixed height or use max-height for scrolling */
        overflow-y: scroll; /* Enable vertical scrolling */
        border: 1px solid #ccc;
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .r_chat-message {
        background-color: #b3ffb3; /* Pastel green background color */
        border-radius: 5px;
        padding: 15px; /* Increased padding for a bigger font */
        margin: 10px 0; /* Increased margin for spacing */
        word-wrap: break-word;
        color: black;
        font-size: 22px; /* Larger font size */
    }
    
    /* Style for user messages */
    .r_user-message {
        background-color: #007bff;
        color: #fff;
        align-self: flex-end;
    }
    #r_user-input::placeholder {
        font-size: 22px; /* Adjust the font size as needed */
    }
    
    /* Custom CSS for input text */
    #r_user-input {
        font-size: 22px; /* Adjust the font size as needed */
    }


/* Define styles for news feed items */
.news-feed {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adjust alignment as needed */
}

.news-item {
    flex: 0 1 calc(33.33% - 50px); /* Adjust the percentage as needed */
    margin: 50px; /* Add margin between news items */
}



/* Create a custom separator class */

.r-primary {
    background: #b97c56 !important;
    color: #c3c9b2;
  }

.separator {
    text-align: center;
    position: relative;
    margin-top: 20px;
    display: flex; /* Use flexbox */
    align-items: center; /* Vertically center the header and lines */
}

/* Styles for the header text (rh1) */
.separator .rh1 {
    font-family: 'Marko One', sans-serif;
    font-size: 42px;
    color: #c3c9b2;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

/* Create lines to the left and right of the header */
.separator .line {
    flex: 1; /* Distribute remaining space equally between lines and header */
    height: 2px; /* Adjust to set the thickness of the lines */
    background-color: #b97c56; /* Line color */
    margin: 0 20px; /* Adjust as needed for spacing */
}
    
.r_width {
    max-width: 560px;
    margin: auto;
    text-align: center;
}

.r_width .r_width-img
{
    max-width: 400px;
    margin: auto;
    text-align: center;
}

.rh0
{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
    font-family: 'Marko One', sans-serif;
    font-size: 56px;
    color: #c3c9b2;
    display: block;
    line-height: 1.1;
    text-align: center;    
}

.rh1
{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
    font-family: 'Marko One', sans-serif;
    font-size: 42px;
    color: #c3c9b2;
    display: block;
    line-height: 1.1;
}

.rh1d
{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
    font-family: 'Marko One', sans-serif;
    font-size: 42px;
    color: #b97c56;
    display: block;
    line-height: 1.1;
}

.rh2
{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
    font-family: 'Marko One', sans-serif;
    font-size: 32px;
    color: #c3c9b2;
    display: block;
    line-height: 1.1;
}
.rh2d
{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
    font-family: 'Marko One', sans-serif;
    font-size: 32px;
    color: #b97c56;
    display: block;
    line-height: 1.1;
}

.r_refcode_block 
{
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 4px;
    color: #b97c56;    
    background-color: rgb(39, 37, 37);
    font-size: 28px; 
}

.rh5 {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
    font-family: 'Marko One', sans-serif;
    font-size: 16px;
    color: #c3c9b2;
    display: block;
    line-height: 1.6;
    letter-spacing: 2px;
}

.rh5d.dark {
    color: #b97c56;
}


.rp
{
    font-family: 'Marko One', sans-serif;
    color: #c3c9b2; 
}
.rp-highlight
{
    font-family: 'Marko One', sans-serif;
    color: #c3c9b2; 
}

.image-background {
    background-image: url('images/xbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 60%;
}

.image-background_home {
    background-image: url('images/bg_home.png');
    background-size: cover; /* Maintain aspect ratio and cover the container */
    background-position: center top; /* Center the image vertically at the top of the container */
    background-repeat: no-repeat;
    position: relative;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Add a semi-transparent overlay */
    color: #fff; /* Text color on the overlay */
    padding: 20px; /* Add padding as needed */
    /* Add other styles for your text and buttons */
}

.r_primary {
    background-color: #b97c56;
}

.rbutton-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; 
}
/* Dark outline using text-shadow */
.rdark_outline {
    color: #c3c9b2; /* Set the text color to white */
    text-shadow:
      -1px -1px 0 #000, /* Top-left */
      1px -1px 0 #000,  /* Top-right */
      -1px 1px 0 #000,  /* Bottom-left */
      1px 1px 0 #000;   /* Bottom-right */
  }
  
  /* Light outline using text-shadow */
  .rlight_outline {
    color: #b97c56; /* Set the text color to black */
    text-shadow:
      -1px -1px 0 #fff, /* Top-left */
      1px -1px 0 #fff,  /* Top-right */
      -1px 1px 0 #fff,  /* Bottom-left */
      1px 1px 0 #fff;   /* Bottom-right */
  }
  
  /* Media query for screens with a maximum width of 768px (typical for mobile devices) */
  @media (max-width: 1100px) 
  {
        .rh1,
        .rh1d, 
        .rh2,
        .rh2d
        {
            font-size: 20px; /* Adjust the font size for mobile */
        }

        .image-background_home 
        {
            background-size: cover; /* Use 'cover' for smaller screens to maintain aspect ratio */
        }
    }
