* {
    --font-color: #f7f7f7;
    --background-color: rgb(17,17,17);
    --searchbox-width: clamp(10px, 620px, calc(100% - 1.5rem));
    --searchbox-height: 44px;
    --searchbox-radius: 0.5rem;
    --searchbox-background-color: #333;

    --button-color: rgb(114,149,246);
    --button-color-hover: rgb(85,127,243);
}

body {
    font-family: sans-serif;
    background-color: var(--background-color);
    color: var(--font-color);
    margin: 0;
}

.frontpage {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100dvh;
}

/* Overview Button */

.overview-button {
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;

    display: flex;
    justify-content: center;
    align-items: center;

    align-self: flex-end;
    margin: 2rem;
}

.overview-button:hover {
    background-color: var(--searchbox-background-color);
}

/* Main View Container */

.main {
    flex-grow: 1;
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
}

.logo {
    margin-top: 130px;
    margin-bottom: 40px;
}

/* Searchbar */

.searchbar {
    width: var(--searchbox-width);
    height: var(--searchbox-height);
    border-radius: var(--searchbox-radius);
    background-color: var(--searchbox-background-color);
    box-shadow: 0 1px 3px rgb(0,0,0,0.5);
    display: flex;
    font-weight: 600;
    overflow: hidden;
    /*
    position: relative;
    bottom: 8rem;
    */
}

.searchbar:hover button[type=reset] {
    visibility: visible;
}

.searchbar:hover button[type=submit] {
    background-color: var(--button-color);
}

.searchbar:hover button[type=submit] img {
    filter: invert(80%);
}

.searchbar input[type=text] {
    background: none;
    border: none;
    margin-left: 1rem;
    color: var(--font-color);
    flex-grow: 1;
}

.searchbar input[type=text]:focus {
    outline: none;
    outline-width: 0;
}

.searchbar button {
    background: none;
    border: none;
    width: 3rem;
    display: flex;
    
    justify-content: center;
    align-items: center;
}

.searchbar button img {
    filter: invert(40%);
}

.searchbar button[type=reset] {
    visibility: hidden;
}

.searchbar button[type=reset]:hover img {
    filter: invert(20%);
} 

.searchbar button[type=submit]:hover {
    background-color: var(--button-color-hover);
} 

/* Down Arrow Icon */

.downarrow {
    margin: 1rem;
}

/* Secondary content */

.secondary {
    margin-top: 2rem
}