@font-face {
    font-family: 'Downey';
    src: url('Downey.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    src: url('Inter.ttf') format('truetype');
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 20px;
    text-align: center;
}

.banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
}

.banner-left {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-width: 50vw;
    max-height: 30vh;
}

.banner-right {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    max-width: 50vw;
    max-height: 30vh;
}

header {
    margin-bottom: 40px;
}

#logo {
    width: 150px;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Downey', sans-serif;
    font-size: 3em;
    margin: 0;
    font-weight: normal;
}

.controls {
    margin-bottom: 40px;
}

.size-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.size-buttons button {
    background-color: #333;
    border: 1px solid #555;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    flex: 1;
    min-width: 80px;
    max-width: 120px;
}

.size-buttons button.selected {
    background-color: #009aee;
    border-color: #009aee;
}

.test-columns {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.test-column {
    border: 2px solid;
    padding: 20px;
    width: 300px;
    border-radius: 10px;
}

#test1 {
    border-color: #FF1717;
}

#test2 {
    border-color: #009aee;
}

.controls h2,
.test-column h2 {
    font-weight: normal;
    font-size: 1.5em;
    letter-spacing: 1px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.test-column h2 {
    font-family: 'Inter', sans-serif;
    text-transform: capitalize;
}

.test-area {
    margin-top: 20px;
}

.test-btn {
    background-color: #555;
    border: none;
    color: #fff;
    padding: 15px;
    width: 100%;
    cursor: pointer;
    font-size: 1.1em;
    border-radius: 5px;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.progress-container {
    height: 20px;
    margin-bottom: 10px;
}

.test-progress {
    width: 100%;
    visibility: hidden; /* Hide by default */
}

.results {
    font-size: 1.1em;
    min-height: 4.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive design for size buttons */
@media (max-width: 768px) {
    .size-buttons {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .size-buttons button {
        flex: 0 0 calc(50% - 5px);
        max-width: none;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .size-buttons button {
        flex: 0 0 calc(50% - 5px);
        padding: 8px 12px;
        font-size: 0.9em;
    }
}
