/* CSS styles moved from the <style> tag in the HTML file */
:root {
    --primary-color: #D8EB6A;
    --secondary-color: #222326;
    --light-color: #F4F5F8;
    --dark-color: #051412;
    --text-color: #C1C1C1;
    --background-color: #1A1A1A;
    --button-background-hover: #232323;
    --button-color: rgba(0, 0, 0, 0.7);
    --button-radius: 8px;
    --transition-time: 0.3s;
    --color-alpha: 255;
}

header {
    background-color: var(--dark-color);
    padding: 10px 20px;
}

.header-container {
    background-color: var(--dark-color);
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.logo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%; /* Slightly wider than the page content */
}

.logo-header__left, .logo-header__right {
    display: flex;
    align-items: center;
}

.logo-header__right {
    flex-grow: 1; /* Allows the right side to expand as needed to avoid wrapping */
    justify-content: flex-end; /* Aligns buttons to the right */
}

.logo-header__icon {
    margin-right: 3px;
    height: 22px; /* Adjust the height of the SVG icons */
    fill: #BDBDBD; /* SVG fill color, can be adjusted if needed */
    vertical-align: -5px;
}

.logo-header__button:hover .logo-header__icon {
    fill: #F6F6F6; /* Change the fill color on hover */
}

.logo-header__button {
    font-size: 16px;
    font-weight: 700;
    color: #F6F6F6;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
    height: 30px;  /* Adjusted height */
    align-content: center;
    display: flex;  /* Ensure the buttons are flex containers */
    align-items: center;  /* Center align items */
    text-decoration: none;
}

.logo-header__button:hover {
    background-color: #1d2b29;
}

.logo-header img.logo {
    height: 40px; /* Logo height set as requested */
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--light-color);
    background-color: var(--dark-color);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 0px;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center; /* Center the title */
}

.header-content {
    text-align: center; /* Center the content within the header */
    margin-bottom: 20px; /* Add margin below the header content */
}

.separator {
    height: 2px;
    width: 100%;
    --direction: to right;
    --color: rgba(var(--color-alpha), var(--color-alpha), var(--color-alpha), 0.1);
    background: linear-gradient(var(--direction), transparent, var(--color) 50%, transparent);
    margin: 20px 0;
}

h2 {
    color: var(--light-color);
    font-size: 24px;
    margin: 96px 0 16px;
    line-height: 28px;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 16px;
}

.download-link {
    display: inline-block;
    margin: 10px auto; /* Center the button by setting margin to auto */
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: var(--button-radius);
    transition: background-color var(--transition-time);
    text-align: center; /* Ensure the text inside the button is centered */
}

.download-link:hover {
    background-color: #4b57b5;
}

.note {
    background-color: #081c19;
    padding: 12px 16px;
    border-radius: var(--button-radius);
    margin-bottom: 20px;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    border: 1px solid #23252a;
}

.note svg {
    margin-right: 15px;
    height: 18px;
    width: 18px;
    flex-shrink: 0;
}

.note p {
    margin: 0;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(33.333% - 20px);
    padding: 20px;
    background-color: var(--background-color);
    border: 1px solid #112523;
    border-radius: var(--button-radius);
    box-sizing: border-box;
    height: 300px;
    overflow: hidden;
    flex-direction: column;
}

.box img {
    max-height: 200px;
}

.full-width-box {
    width: 100%;
    margin: 20px 0;
}

.button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: var(--button-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: var(--button-radius);
    font-size: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-time) ease-in-out, visibility var(--transition-time) ease-in-out;
}

.box:hover .button {
    display: flex;
    opacity: 1;
}

/* .button:hover {
    background-color: var(--button-background-hover);
}  */

.button svg {
    margin-right: 5px;
}

.color-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.color-code {
    font-family: monospace;
    color: rgba(255, 255, 255, 0.7);
}

footer {
    background: #051412;
    color: #d8eb6a;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
  }

/* #two19-press-releases {
  text-align: center;
} */

/* #two19-press-releases h2 {
  text-align: left;
  width: 55%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-bottom: 0.5rem;
} */

/* Additional CSS for press release borders */
.press-release {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem 1rem;
    transition: background-color 0.3s;
    cursor: pointer;
    margin: 0 auto;
    position: relative; /* Added to enable positioning of the border */
  }
  
  .press-release:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    --direction: to right;
    --color: rgba(var(--color-alpha), var(--color-alpha), var(--color-alpha), 0.1);
    background: linear-gradient(var(--direction), transparent, var(--color) 50%, transparent);
  }
  
  .press-release:last-child:after {
    display: none; /* Hide the border for the last child */
  }
  
  .press-release:hover {
    background-color: #0a2926;
  }
  
  .press-date {
    width: 100px;
    text-align: right;
    margin-right: 2rem;
    color: #c0c0c0;
    font-size: 18px;
  }
  
  .press-title {
    text-align: left;
    flex: 1;
    color: #d8eb6a;
    font-size: 18px;
    line-height: 1;
  }

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #051412;
  }
  
  .popup-content {
    background-color: #051412;
    margin: 0 auto;
    padding: 30px 30% 50px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    color: #f6f6f6;
    font-size: 20px;
  }
  
  .popup-content-inner {
    padding-bottom: 20px;
  }
  
  .popup-header {
    width: 100%;
    height: 50px;
    background-color: #0a2926;
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
    box-sizing: border-box;
    z-index: 2;
  }
  
  #download-link {
    margin-right: auto;
    padding: 10px 15px;
    color: #f6f6f6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
  }
  
  #download-link:hover {
    color: #d8eb6a;
    text-decoration: none;
  }
  
  .close-btn {
    color: #f6f6f6;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close-btn:hover,
  .close-btn:focus {
    color: #d8eb6a;
    text-decoration: none;
  }
  
  /* Specific Markdown Styles */
  .popup-content h1,
  .popup-content h2,
  .popup-content h4,
  .popup-content h5,
  .popup-content h6 {
    color: #d8eb6a;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-size: 42px;
    text-align: left;
    padding-top: 0px;
  }
  
  .popup-content h3 {
    font-size: 20px;
    color: #f6f6f6;
    margin-top: 1rem;
    margin-bottom: 3rem;
    line-height: 1.2;
    font-weight: 400;
  }
  
  .popup-content p {
    margin: 1rem 0;
    line-height: 1.6;
  }
  
  .popup-content a {
    color: #d8eb6a;
    text-decoration: underline;
    word-break: break-all;
  }
  
  .popup-content a:hover {
    color: #b0c95a;
  }
  
  .popup-content ul,
  .popup-content ol {
    margin: 1rem;
    padding-left: 1.5rem;
  }
  
  .popup-content li {
    margin: 0.5rem 0;
  }
  
  .popup-content blockquote {
    margin: 2rem;
    padding: 0.5rem 1rem;
    background-color: #0a2926;
    border-left: 5px solid #d8eb6a;
    color: #c0c0c0;
  }
  
  .popup-content code {
    background-color: #333;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
  }

  @media (max-width: 767px) {
    .box {
        width: calc(90% - -60px); /* Adjusted width calculation for mobile with a gap of 20px */
        height: 130px;
    }
    .box img {
        max-height: 150px;
    }
}
  