﻿/* ----------------------------------------------------------------------------
 * CSS Normalize
 * ------------------------------------------------------------------------- */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
    display: block;
}

audio, canvas, video {
    display: inline-block;
}

    audio:not([controls]) {
        display: none;
        height: 0;
    }

[hidden] {
    display: none;
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

a:focus {
    outline: thin dotted;
}

a:active, a:hover {
    outline: 0;
}

h1 {
    font-size: 2em;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: 700;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

code, kbd, pre, samp {
    font-family: monospace, serif;
    font-size: 1em;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: \201C \201D \2018 \2019;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -.5em;
}

sub {
    bottom: -.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button, input {
    line-height: normal;
}

    button, html input[type=button], /* 1 */
    input[type=reset], input[type=submit] {
        -webkit-appearance: button;
        cursor: pointer;
    }

        button[disabled], input[disabled] {
            cursor: default;
        }

    input[type=checkbox], input[type=radio] {
        box-sizing: border-box;
        padding: 0;
    }

    input[type=search] {
        -webkit-appearance: textfield;
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box;
        box-sizing: content-box;
    }

        input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
            -webkit-appearance: none;
        }

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body, figure {
    margin: 0;
}

legend, button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* ----------------------------------------------------------------------------
  * Box-sizing border-box
  * ------------------------------------------------------------------------- */
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* html element 62.5% font-size for REM use */
html {
    font-size: 62.5%;
    height: 100%;
    min-height: 100%;
}

body {
    font: 400 11px/1.4 sans-serif;
    margin: 0;
    height: 100%;
    min-height: 100%;
    word-break: break-word;
    -webkit-word-break: break-word;
    position: relative;
    --tw-bg-opacity: 1;
    background-color: rgb(254 240 138 / var(--tw-bg-opacity));
}

.filters {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 3rem;
}

.main {
    height: 100%;
    min-height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.head {
    display: flex;
}

.head-left {
    width: 33.3%;
}

.head-right {
    width: 33.3%;
}

.title {
    text-align: center;
    font-size: xx-large;
    width: 33.3%;
}

.stars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 4rem;
    row-gap: 1rem;
    font-size: large;
}

.buttons {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    align-items: center;
    width: 100%;
}

.checkboxes-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 1rem;
}

.checkboxes {
    display: grid;
    grid-template-columns: 6fr 6fr;
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    justify-items: stretch;
    align-items: stretch;
}

.input-container {
    display: flex;
    column-gap: 1rem;
}


.btn-primary {
    --tw-bg-opacity: 1;
    background-color: rgb(59 130 246 / var(--tw-bg-opacity));
    border-radius: 0.75rem;
    font-size: large;
    width: 90%;
    height: 50px;
}

    .btn-primary:hover {
        filter: brightness(150%);
    }

.hidden {
    display: none;
}

.text {
    font-size: large;
    font-weight: bold;
}

.input-box {
    box-sizing: border-box;
    width: 4rem;
    border: none;
    overflow: 0;
}

    .input-box:focus {
        border: 1px solid rgb(59 130 246 / var(--tw-bg-opacity));
    }

.mt-auto {
    margin-top: auto;
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: large;
}

.star{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.drop-down {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: whitesmoke;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.322);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 9999px;
    width: fit-content;
    margin-top: 4px;
    margin-left: 4px;
}

.arrow {
    font-size: 30px;
}

.wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.list {
    background-color: whitesmoke;
    position: absolute;
    top: 45px;
    left: 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.322);
    cursor: pointer;
    max-height: 150px;
    overflow-y: scroll;
    width: max-content;
    display: none;
}

    .list::-webkit-scrollbar {
        display: none;
    }

.item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
}

    .item:hover {
        background-color: rgb(211, 211, 211);
    }

.show {
    display: inline-block;
}

.dropdown-text {
    width: fit-content;
    white-space: nowrap;
}
