* {
    margin: 0;
    padding: 0;
}

:root {
    --primary: #d3d0d0;
    --secondary: #4b3955;
    --outline: #624c6e;
}

html {
    min-height: 100%;
}

body {
    background: linear-gradient(rgb(12, 3, 19) 0%, rgb(0, 3, 5) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100%;
    color: var(--primary);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#main-header {
    font-size: 5rem;
    text-align: center;
}

#main-paragraph {
    font-size: 1rem;
    text-align: center;
    font-weight: 300;
}

#search {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
}

#search-bar {
    border-radius: 4px;
    border: 3px solid var(--secondary);
    width: 18rem;
    height: 2rem;
    background-color: rgba(200, 200, 200, 0.1);
    color: var(--primary);
    padding-left: 10px;
}

#search-bar:focus {
    outline: none;
    border: 3px solid var(--outline);
}

#search>button {
    background: transparent;
    border: none;
    height: 2rem;
    width: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */

#main {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    height: auto;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.item {
    background-color: rgba(200, 200, 200, 0.1);
    width: 55rem;
    height: auto;
    box-shadow: 0 0 7px var(--secondary);
    position: relative;
}

.item-header {
    padding: 0.5rem;
}

.item-sub {
    border-style: solid;
    border-width: 1px;
    padding: 0.1rem;
    height: 1rem;
    padding-left: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

.cracked {
    border-color: #1ab814;
}

.uncracked {
    border-color: #b81414;
}

.admin {
    background-color: #b81414;
    box-shadow: 0 0 5px #b81414;
    border-radius: 10px;
    font-size: 1.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    vertical-align: top;
    top: 5px;
    right: 5px;
}

#info {
    background-color: rgb(155, 11, 11);
    border-radius: 0 0 10px 0;
    width: min-content;
    height: auto;
    text-wrap-mode: nowrap;
    padding: 0.2rem;
    opacity: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transition: ease 1s;
    position: fixed;
    box-shadow: 0 0 5px #b81414;
    cursor: pointer !important;
    top: 0;
    z-index: 999;
    left: 0;
}

@media (max-width: 1000px) {
    .item {
        font-size: 0.5rem;
        width: 90%;
    }
    #main-header{
        font-size: 2rem;
        margin-top: 1rem;
    }
    .item-sub {
    padding: 0.1rem;
    height: 0.8rem;
    font-size: 0.8rem;
}
#search {
    transform: scale(0.9);
}
.admin {
    width: 1.75rem;
    height: 1.6rem;
    font-size: 1.3rem;
}
}