@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

body {
    display: grid;
    background: #709ac70f;
    margin: auto;
}

#navbar {
    width: 100%;
    height: 34px;
    font-weight: 500;
    font-size: 22px;
    color: #464457;
    background: white;
    padding: 5px 15px;
    margin: auto;
    position: fixed;
    z-index: 999;
    box-shadow: 0px 0px 20px 5px whitesmoke;
}

#top_padding {
    padding-top: 60px;
}

h1, h2 {
    font-size: 18px;
    margin: auto;
    text-align: center;
    color: rgb(0 0 0 / 75%);
}

h1 {
    padding: 20px 0 10px;
}

h2 {
    padding: 0 0 40px;    
}

#emailSignupForm {
    /*border: 1px solid gray;*/
    background: white;
    margin: auto;
    display: grid;
    text-align: center;
    max-width: 500px;
    border-radius: 5px;
    margin-bottom: 50px;
    box-shadow: 5px 5px 20px 0 #8080802e;
}

#emailSignupForm > b {
    margin: 15px auto 15px auto;
    font-weight: bold;
    color: rgb(0 0 0 / 75%);
}

#emailSignupForm > p {
    font-size: 14px;
    max-width: 75%;
    margin: auto;
    margin-bottom: 20px;
    color: rgb(0 0 0 / 70%);
}

#emailSignupForm > input {
    width: 300px;
    margin: auto auto 20px auto;
    border: 1px solid rgb(0 0 0 / 30%);
    border-radius: 3px;
}

.priceDrops {
    margin: auto;
    display: flex;
    justify-content: space-evenly;
}

.largeBox {
    /*border: 1px solid green;*/
    width: 295px;
    height: 300px;
    padding: 0 5px 5px 0;
}

.largeBox > a, .smallBox > a {
    width: 100%;
    height: 100%;
    display: flex;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.smallBoxes {
    /*border: 1px solid green;*/
    width: 300px;
    height: 300px;
    padding: 0 0 5px 0;
}

.smallBoxRow {
    display: flex;
    height: 150px;
}

.smallBox {
    width: 150px;
    /*height: 150px;*/
    border-radius: 5px;
}

#box1, #box2 {
    padding: 0 5px 5px 0;
}

#box3, #box4 {
    padding: 0 5px 0 0;
}

#box5, #box6 {
    padding: 0 5px 5px 0;
}

#box7, #box8 {
    padding: 0 5px 0 0;
}

#searchSortForm {
    /*border: 1px solid red;*/
    width: 720px;
    height: auto;
    margin: auto;
    margin: auto;
    padding-left: 20px;
    z-index: 1;
    margin-top: 60px;
}

#searchSortForm > #searchTextInput {
    width: 680px;
    border: 1px solid whitesmoke;
    border-radius: 5px;
    padding: 5px;
}

.formInputGroup {
    /*border: 2px solid red;*/
    display: flex;
    margin: auto;
    float: left;
    font-size: 14px;
    align-items: center;
}

.formInputGroup > label {
    padding: 0 5px;
}

.itemSnapshots {
    /*border: 1px solid red;*/
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 720px;
    text-align: center;
    float: left;
}

.itemSnapshot {
    position: relative;
    border: 1px solid whitesmoke;
    border-radius: 5px;
    width: 120px;
    height: 120px;
    margin: 10px;
    max-width: 120px;
    max-height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 5px 5px 20px 0 #8080802e;
    z-index: 0;
}

.itemSnapshots > .itemSnapshot > .url {
    text-wrap: wrap;
}

.itemSnapshot > img {
    max-width: 100%;
    max-height: 100%;
}

.itemSnapshot > p {
    position: absolute;
    border-radius: 0px 5px;
    padding: 0px 7px;
    margin: auto;
    bottom: 0;
    left: 0;
    background: rgb(255 255 255 / 80%);
    color: black;
    font-weight: bold;
}

.pageNavigationDiv {
    display: flex;
    width: 100px;
    margin: auto;
    padding-top: 20px;
}

.pageNavigation {
    margin: auto;
    display: flex;
}

#prevPageButton, #nextPageButton {
    border: none;
    background: transparent;
    color: rgb(0 0 0 / 80%);
}

#prevPageButton, #nextPageButton:hover {
    cursor: pointer;
    transform: scale(1.05);
}

footer {
    height: 150px;
}

.priceDrop {
    color: #FF4136 !important;
}

#opaqueBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background: rgb(235 235 235 / 75%);
    display: flex;
}

#modal {
    background: white;
    display: table;
    padding: 30px 25px;
    border-radius: 5px;
    margin: auto;
    text-align: center;
    position: relative;
    color: white;
    border: 1px solid rgb(128 128 128 / 25%);
    box-shadow: 0px 0px 20px rgb(128 128 128 / 25%);
}

#modal_msg {
    color: rgb(0 0 0 / 75%);
}

#close_btn {
    margin-top: 30px;
    border: none;
    background: transparent;
    color: rgb(0 0 0 / 60%);
}

#close_btn:hover {
    cursor: pointer;
}