/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@500&display=swap');

@font-face {
    font-family: 'FuturaCondensedMedium';
    src: url('../fonts/futura/futura\ medium\ condensed\ bt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FuturaCondensedExtraBold';
    src: url('../fonts/futura-condensed-extra/Futura\ Condensed\ Extra\ Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0px;
    display: flex; /* Use flexbox to center content */
    flex-direction: column;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    height: 100vh; /* Set body height to 100% of the viewport height */
    overflow: hidden; /* Prevent scrolling */
}

.letter {
    cursor: pointer;
    display: inline-block;
    margin: 2px;
}
.letter.strike {
    text-decoration: line-through;
    text-decoration-thickness: 3px;
}
.RobotoCondensed {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    font-size: 11.75pt;
}
.FuturaCondensedMedium {
    font-family: 'FuturaCondensedMedium', sans-serif;
    font-size: 14pt;
}
.FuturaCondensedExtraBold {
    font-family: 'FuturaCondensedExtraBold', sans-serif;
    font-size: 11.3pt;
}
.Arial {
    font-family: Arial, sans-serif;
    font-size: 25pt;
}
.text-container {
    width: 70%;
    margin: 10px 0;
    line-height: 1.5;
    text-align: justify;
    max-width: 1500px;
}
button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
}
#timer {
    margin-top: 20px;
}
.test-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.test-list li a {
    text-decoration: none; /* Removes the underline */
    color: #333; /* Change the color to a tester one */
    font-weight: bold; /* Make it bold (optional) */
    margin: 10px; /* Add some margin for a cleaner look */
    padding: 5px 10px; /* Add some padding for a cleaner look */
    display: inline-block; /* Allows padding to take effect */
    border-radius: 5px; /* Add rounded corners */
    transition: all 0.3s ease; /* Smooth hover effect */
}

.test-list li a:hover {
    background-color: #f0f0f0; /* Light gray background on hover */
}

.site-header {
    background-color: #f8f9fa; /* Light gray background */
    padding: 10px 20px;
    text-align: left; /* Align content to the left */
    border-bottom: 1px solid #ddd; /* Optional: Add a light border at the bottom */
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 20px;
    box-sizing: border-box;
}


.header-left,
.header-center,
.header-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-left {
    justify-content: flex-start;
}

.header-right {
    justify-content: flex-end;
}

.header-button {
    display: inline-block;
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: white;
    transition: background-color 0.3s, color 0.3s;
}

.header-button:hover {
    background-color: black;
    color: white;
}

.result-columns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px; /* espace entre les colonnes */
    margin-top: 30px;
    flex-wrap: wrap; /* pour responsive */
}

.column {
    display: flex;
    flex-direction: column;
    max-width: 800px;
}

.table-container {
    display: flex;
    justify-content: center;
    max-height: 50%;        /* Max height of the table container */
    overflow-y: auto;         /* Scroll vertically if content exceeds max height */
    width: 80%;               /* Optional: table width relative to parent */
}

table {
    border-collapse: separate;
    border-spacing: 15px 10px; /* horizontal | vertical spacing */
    width: 60%;
    margin-top: 20px;
}

.form-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: center;
    width: 100%;
}

.autocomplete-wrapper {
    position: relative;  /* important! sets the reference for absolute positioning */
    display: inline-block; /* shrink-wrap to input width */
}

#suggestions {
    position: absolute; 
    background: white;
    max-height: 150px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
    margin-top: 2px; /* small gap under input */
    padding: 0;
}

#suggestions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#suggestions li {
    padding: 5px 8px;
    cursor: pointer;
}

#suggestions li:hover {
    background-color: #eee;
}




