@media only screen and (max-device-width : 1024px) {
    div.grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (min-width : 1025px) {
    div.grid.small { grid-template-columns: repeat(5, 1fr); }
    div.grid.large { grid-template-columns: repeat(2, 1fr); }
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 20px 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.screenshot-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

body, html {
    margin: 0;
    padding: 10px 2%;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
}

div.option-container {
    display: grid;
    grid-template-columns: auto 1fr;
    padding: 5px;
    width: 50%;
    margin: auto;
}

div.option {
    display: flex;
    padding: 5px 10px;
    justify-content: center;
    align-items: center;
}

div.form-container label {
    font-weight: bold;
    font-size: 14px;
    margin-right: 10px;
}

div.form-container .form-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 200px;
}

label {
    font-weight: bold;
    font-size: 14px;
    color: #555;
}

select, input[type="text"] {
    margin-left: 10px;
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

select:focus, input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        gap: 15px;
    }
}

div.screenshot-data {
    margin: auto;
    text-align: center;
}

img.thumbnail.small {
    width: 300px;
    height: auto;
}

img.thumbnail.large {
    width: 800px;
    height: auto;
}

div.showcase {
    width: 95%;
    margin: 50px auto;
    text-align: center;
}

div.showcase img {
    width: 80%;
    height: auto;
}