/* gng pls do not vibe code pls */

body {
    font-family: 'Courier New', Courier, monospace;
}

#searchResults {
    display: none;
}

header {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    background-color: #f2f2f2;
    padding: 10px 5px;
    align-items: center;
    border-radius: 15px;
    border: solid black 3px;
}

header input[type="text"] {
    width: 50%;
    height: 30px;
    border-radius: 5px;
    border: 1px solid black;
}

header a:hover {
    transition: all 0.1s ease-in-out;
    text-decoration: underline;
    cursor: pointer;
    transform: scale(1.1);
    text-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.headerButtons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.headerButtons a {
    border: solid black 1px;
    padding: 10px;
    border-radius: 10px;
    gap: 10px;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

img {
    display: block;
    width: 500px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 10px 0;
}

#homeContent {
    display: flex;
    width: 100%;
    gap: 50px;
}

.leftside {
    flex: 2 1 0;
    min-width: 0;
}

.rightside {
    display: grid;
    grid-template-columns: 200px 200px;
    gap: 10px;
    justify-content: start;
    align-content: start;
    flex: 1 1 0;
    min-width: 0;
}

.cards.filterScroll {
    border: solid black 2px;
    border-radius: 12px;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    gap: 12px;
    overflow-x: scroll;
    overflow-y: hidden;
    padding: 6px 2px 12px;
    scrollbar-width: auto;
}

.filterScroll .card {
    flex: 0 0 min(320px, 80vw);
    min-width: 220px;
    scroll-snap-align: start;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.card {
    position: relative;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    transition: .25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
}

.filterContainer {
    position: relative;
}

#filterButton {
    border: solid black 1px;
    padding: 10px;
    border-radius: 10px;
    background-color: #f2f2f2;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
}

.rcard {
    border: solid black 2px;
    border-radius: 12px;
    margin: 5px;
    padding: 5px 20px;
    width: 200px;
    box-sizing: border-box;
    margin: 0;
}

.filterMenu {
    display: none;

    position: absolute;
    top: 45px;
    left: 0;

    background-color: white;
    border: 1px solid black;
    border-radius: 10px;

    padding: 10px;

    z-index: 10;
}

.filterMenu button {
    display: block;
    width: 150px;

    padding: 8px;
    margin: 5px 0;

    background-color: white;
    border: 1px solid black;
    border-radius: 5px;

    font-family: 'Courier New', Courier, monospace;
}

.filterMenu button:hover {
    background-color: #f2f2f2;
    cursor: pointer;
}

.show {
    display: block;
}

.filterOption {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 150px;
    padding: 8px;
    margin: 5px 0;
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    cursor: pointer;
}


.checkbox {
    font-size: 18px;
}

.homeButton {
    color: black;
    text-decoration: none;
}