body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--background);
}

@font-face {
    font-family: Futura;
    src: url("fonts/Futura\ Bold.otf") format("opentype");
}

:root {
    --text: #030202;
    --background: #f2e9e3;
    --primary: #b88465;
    --secondary: #ec9a6a;
    --accent: #a14534;
}

#header {
    top: 0;
    left: 0;
    position: fixed;
    height: fit-content;
    background-color: var(--secondary);
    width: 100vw;
    z-index: 100;
}

#header-container {
    width: 100vw;
    height: fit-content;
    display: flex;
    justify-content: space-between;
}

#home-page-link {
    position: relative;
    font-size: 2.5vw;
    color: var(--text);
    font-weight: normal;
    z-index: 10;
    padding: 1vh;
    height: fit-content;
    font-weight: bold;
    font-family: Futura;
    letter-spacing: 0vh;
    transition: letter-spacing 0.15s;
}

#home-page-link:hover {
    cursor: pointer;
    letter-spacing: 0.15vw;
}

#home-page-link:after {
    content: "";
    background-color: var(--primary);
    position: absolute;
    width: calc(100% + 1vh);
    height: 0px;
    left: -1vh;
    top: -1vh;
    transition: height 0.5s;
    z-index: -1;
}

#home-page-link:hover:after {
    height: calc(100% + 1vh);
}

#page-button-container {
    display: flex;
    width: fit-content;
    align-items: center;
}

.page-button {
    position: relative;
    font-size: 2.25vw;
    color: var(--text);
    font-weight: normal;
    z-index: 10;
    padding: 1vh;
    height: 100%;
    margin-right: 2vh;
    transition: color 0.4s;
}

.page-button:hover {
    cursor: pointer;
    color: var(--background);
}

.page-button::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 7.5%;
    background-color: var(--accent);
    left: 0;
    bottom: 0;
    transition: height 0.2s cubic-bezier(0.75, 0.01, 0.005, 1);
    z-index: -1;
}

.page-button:hover::after {
    height: 100%;
}

button {
    background-color: transparent;
    border: none;
}

h1 {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18vh;
    width: fit-content;
    font-size: 2.5vw;
    transition: color 0.15s;
    z-index: 10;
}

h1:hover {
    cursor: pointer;
    color: var(--background);
}

h1::after {
    content: "";
    background-color: var(--text);
    position: absolute;
    width: 100%;
    height: 5%;
    bottom: 0;
    left: 0;
    transition: height 0.15s;
    z-index: -1;
}

h2 {
    position: relative;
    margin: 0;
    width: fit-content;
    font-size: 2.25vw;
    transition: color 0.15s;
    z-index: 10;
    color: var(--text);
}

h2:hover {
    cursor: pointer;
    color: var(--background);
}

h2::after {
    content: "";
    background-color: var(--accent);
    position: absolute;
    width: 100%;
    height: 5%;
    bottom: 0;
    left: 0;
    transition: height 0.15s;
    z-index: -1;
}

h2:hover::after {
    height: 100%;
}

h1:hover::after {
    height: 100%;
}

p {
    white-space: pre-line;
    font-size: 1.75vw;
    margin: 5vh;
    display: block;
    width: fit-content;
}

a {
    color: var(--accent);
    text-decoration: none;
    position: relative;
    z-index: 10;
    transition: color 0.15s;
    font-size: 2.95vw;
}

a:hover {
    cursor: pointer;
    color: var(--background);
}

a::after {
    content: "";
    background-color: var(--accent);
    position: absolute;
    width: 100%;
    height: 7.5%;
    bottom: -5%;
    left: 0;
    transition: height 0.15s, bottom 0.15s;
    z-index: -1;
}

a:hover::after {
    height: 105%;
}

.horizontal-container {
    display: flex;
    justify-content: center;
}

select {
    font-size: 1.75vw;
    background-color: transparent;
    border: 0.5vh solid var(--secondary);
    transition: colro 0.15s, background-color 0.15s;
    color: var(--text);
    padding: 0.5vh;
}

select:hover {
    cursor: pointer;
    background-color: var(--secondary);
    color: var(--text);
}

option {
    background-color: var(--background);
    color: var(--text);
}

label {
    font-size: 2vw;
    margin-right: 1vw;
}

input {
    width: 5vw;
    font-size: 1.5vw;
    text-align: center;
    background-color: var(--background);
}





/* Finder Styles */

#home-run-finder-container {
    width: 90vw;
    margin-left: 5vw;
    height: fit-content;
    display: flex;
    justify-content: space-around;
    margin-top: 5vh;
}

#home-run-finder-filter-container {
    width: 30vw;
    background-color: rgb(211, 198, 198);
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding-top: 2vh;
    padding-bottom: 2vh;
    gap: 3vh;
    transition: background-color 1s;
    border: 0.15vw solid transparent;
    margin-bottom: 5vh;
}

#home-run-finder-filter-container:hover {
    background-color: rgb(185, 174, 174);
    border: 0.15vw solid var(--text);
}

#home-run-search-button {
    font-size: 2.5vw;
    border: 0.5vw solid var(--accent);
    padding: 1vw 1.5vw 1vw 1.5vw;
    color: var(--text);
    transition: color 0.6s;
    position: relative;
    z-index: 5;
}

#home-run-search-button:hover {
    cursor: pointer;
    color: var(--background);
}

#home-run-search-button::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 0%;
    height: 0%;
    background-color: #a14534;
    transition: width 0.25s, height 0.25s, left 0.25s, top 0.25s, border-radius 0.4s;
    border-radius: 10vw;
}

#home-run-search-button:hover::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #a14534;
    border-radius: 0;
}

#home-run-finder-output-container {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 55vw;
    border: solid 0.5vh var(--secondary);
    height: fit-content;
    align-items: center;
    gap: 1vw;
    padding-top: 1vw;
    padding-bottom: 1vw;
}

.home-run-result-container {
    background-color: rgb(211, 198, 198);
    height: fit-content;
    width: 92.5%;
    padding: 0.75vw;
    font-size: 1.25vw;
    border: solid 0.15vw transparent;
    transition: border 0.15s;
}

.home-run-result-container:hover {
    border: solid 0.15vw var(--text);
}