@font-face {
    font-family: "Product Sans";
    font-weight: normal;
    font-display: swap;
    src: url(../../resources/fonts/Product\ Sans/Product\ Sans\ Regular.ttf);
}
@font-face {
    font-family: "Product Sans";
    font-style: italic;
    font-display: swap;
    src: url(../../resources/fonts/Product\ Sans/Product\ Sans\ Italic.ttf);
}
@font-face {
    font-family: "Product Sans";
    font-weight: bold;
    font-display: swap;
    src: url(../../resources/fonts/Product\ Sans/Product\ Sans\ Bold.ttf);
}

* {
    box-sizing: border-box;
    font-family: "Product Sans", Helvetica;
}

@media screen and (max-width: 350px) {
    * {
        font-size: .99em !important;
    }
}

/* Color palette */
:root {
    --background-color-darker: rgb(44, 90, 62);
    --background-color-dark: rgb(56, 102, 65);
    --background-color-medium: rgb(68, 114, 68);
    --background-color: rgb(81, 127, 71);

    --active-color: #6A994E;
    --text-color: #2F281F;
    --hover-color: #BC4749;
    --hover-color-brown: #5E503F;
    --light-hover-color-brown: #786753;
    --highlight-color: #A7C957;
    --outline-color: #C6AC8F;
    --off-white-color: #F2E8CF;
    --light-gray-color: #EFF5F1;
}

/* Body */
body {
    background: url("../../resources/background.jpg");
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    margin: 0px;
    padding-top: 60px;
    padding-bottom: 45px;
    color: var(--text-color);
}

h1 {
    text-align: center;
}

.box {
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,.2);
    border-radius: 10px;
    padding: 20px;
    background: hsla(0, 0%, 100%, .5);
    width: 75%;
    margin: 30px auto;
    overflow-x: auto;
}

@media screen and (max-width: 565px) {
    .box {
        width: 90%;
    }
}

a {
    color: var(--background-color-dark);
    text-decoration: none;
    cursor: pointer;
}
a:hover {
    color: var(--hover-color);
    text-decoration: underline;
}

button {
    min-width: 25%;
    padding: 20px;
    border-style: none;
    box-shadow: 0px 2px 3px 0px #C0C0C0;
    background-color: var(--background-color-dark);
    color: var(--off-white-color);
    font-size: 20px;
    border-radius: 10px;
}

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

#no-result {
    text-align: center;
    transition: all 0.3s, opacity 0.7s;
}
