/*
 * Basic styles for the Canadian Video Game Museum website
 */
@font-face {
    font-family: 'liberation-sans'; 
    
    src: url('fonts/LiberationSans-Regular.ttf') format('truetype');
    
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'liberation-sans'; 
    
    src: url('fonts/LiberationSans-Bold.ttf') format('truetype');
    
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


body {
    margin: 0;
    padding: 0;
    font-family: liberation-sans, sans-serif;
    font-style: normal;
    font-weight: 400;
    background-color: #292929; /* Blackish */
}
header {
    background-color: #292929; /* CVGM Green Base */
    color: white;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 0px 20px 0px;
}

header h1 {
    margin: 0;
    text-align: left;
}

header h1 a {
    color: white;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

header .title-block{
    margin: 0;
    padding: 20px 20px;
    background-color: #007968; /* CVGM Green Base */
    height: 100px;
    width: 200px;
    display: flex;
    align-items: center;
    position: relative;
}

.green-triangle {
    width: 25px; 
    height: auto;
    display: block;

    position:absolute;
    top:-10px;
    left:10%;
}

.red-triangle {
    width: 50px;
    height: auto;
    display: block;

    position: absolute;
    top:-10px;
    left:80%;
}

header .vertical-lines {
    display: flex; /* Makes the two lines sit side-by-side */
    align-items: center; /* Vertically centers the lines within the header */
    height: 100px; /* Inherit the height of the adjacent blocks to ensure vertical centering */
    padding: 0 10px; /* Add space between the title and the social block */
    gap: 10px; /* Spacing between the two lines */
}

header .vertical-lines .line {
    width: 10px; /* Thickness of the line */
    height: 140px; /* Height of the line - adjust as needed */
    background-color: #007968; /* Lighter green color */
}

header .social-block ul {
    margin: 0px;
    padding: 20px;
    list-style: none;
    display: flex;
    gap: 20px;
    height: 100px;
    background-color: #007968; /* Green block background */
    align-items: center;
}

header .social-block ul li a img {
    height: 30px; /* Set a standard size for the icons */
    width: auto;
    vertical-align: middle; /* Ensures proper alignment with text links */
    align-items: left;
}

header .fill-block {
    display: flex;
    align-items: center; 
    height: 140px;
    
    /* ADD these lines: */
    background-color: #007968; /* Apply the green background here */
    flex-grow: 1; /* Make it take all available space */
}

header nav {
    margin-left: auto;
}

header nav ul {
    margin: 0;
    padding: 20px;
    list-style: none;
    display: flex;
    gap: 50px;
    background-color: #007968; /* CVGM Green Base */
    height: 100px;
    align-items: center;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

hr {
    border: none;
    height: 1px; /* The height will serve as the line's thickness */
    background-color: #20cdb6; /* Using the CVGM Green Base color */
}



.main-heading {
    text-align: left;
    font-size: 2em;
    color: #ffffff;
    padding: 0px 0px 20px 20px;
}

/* Make main container fluid and allow horizontal scroll for overflow */
main {
    width: auto;            
    max-width: 100%;
    margin: 0px auto 20px;
    background-color: #fff;
    min-height: 200px;
    position: relative; /* MAKE SURE THIS WORKS OKAY! */
}

h2{
    margin-top: 0;
    margin-bottom: 0;
}

main h2, 
main h3 {
    font-weight: 700; 
}

main h3, main h4{
    margin-top: 10px;
    margin-bottom: 0px;
}

main h2,
form {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.content-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
}

.homepage-image {
    width: 600px; /* Adjust size as needed */
    height: auto;
    display: block;
}

.text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Center the 'Coming Soon' text and the form */
    justify-content: center;
    padding-left: 10px;
    min-width: 200px;
}

.credits-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    min-width: 200px;
}

table {
    width: auto;
    min-width: 1200px; /* Wide enough for all columns - adjust as needed */
    border-collapse: collapse;
    margin-top: 30px;
    table-layout: auto;
    overflow-x: auto;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
    min-width: 150px; /* Keep min width for all cells */
}

/* Button styling */
.correction-btn {
    padding: 8px 12px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.correction-btn:hover {
    background-color: #0056b3;
}

/* Form layout */
form {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

input[type="email"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 250px;
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

footer {
    background-color: #007968ff; /* CVGM Green Base */
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

footer nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
}

.copyright{
    color: white;
    text-align: center;
    padding: 10px;
}