/* Main div styling */
body {
    background-image: url("../images/tempgrass.1eeb843d7189.jpg");
    padding: 20px;
}

.navbar {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: whitesmoke;
}

#grow-view {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    margin-top: 20px;
    text-align: center;
}

#fair-view {
    justify-content: center;
    margin: auto;
    text-align: center;
}

#market-view {
    justify-content: center;
    margin: auto;
    text-align: center;
}

#seed-selection {
    color: whitesmoke;
    justify-content: center;
    font-size: 16px;
}

/* Element styling */
.flex-row {
    display: flex;
    flex-direction: row;
}

.font-hand {
    font-family: "Patrick Hand", cursive;
    font-weight: bold;
}

.nav-link {
    color: whitesmoke;
}

.navbar-toggler-icon {
    background-image: url("../images/burger.cf6c10777868.png");
    border: 3px solid black;
    border-radius: 2px;
}

/* Buttons */
.btn-header {
    display: flex;
    align-items: center;
}

.btn {    
    background-color: #236A32;
    outline: 2px solid #edf2ef;
}

.btn-fair-div {
    justify-content: space-between;
    margin: auto;
    width: 50%;
}

.btn-fair-buy {
    margin-right: 10px;
}

/* Cards */
.card {
    background-color: transparent;
    border: 5px solid #1D1718;
    border-radius: 5px;
}

.card-label {
    background-color: #edf2ef;
    border-radius: 2px;
    font-family: "Patrick Hand", cursive;
    font-weight: bold;
    margin-top: 30px;
    text-decoration: underline;
    padding: 5px 10px 10px 10px;
}

.variety-label {
    background-color: #edf2ef;
    border-radius: 3px;
    font-family: "Patrick Hand", cursive;
    font-weight: bold;
    margin-bottom: 2px;
    text-decoration: underline;
}

/* Alerts */
.alert {
    background-image: url("../images/cardbkg.6ce0217e0706.jpg");
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.alert-btn {
    margin-top: 10px;
}

/* Images */
.img-seed-packet {
    background-color: transparent;
    height: 20px;
    width: 20px;
}

.icon {
    height: 40px;
}

.plant {
    height: 50px;
    width: 50px;
}

.welcome-img {
    object-fit: contain;
    padding-left: 15px;
}

/* Grow View */
#grow-harvest-info {
    background-color: whitesmoke;
    border: none;
    border-radius: 5px;
    justify-content: center;
}

#grow-center {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.seed-packet-top {
    align-items: start;
}

/* Garden */
#grow-garden {
    margin: 0px 10px 0px 10px;
}

#grow-inspect {
    background-image: url("../images/cardbkg.6ce0217e0706.jpg");
    color: #1D1718;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

#grow-left {
    background-image: url("../images/dirt.70ef01765720.png");
    color: whitesmoke;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    max-height: 450px;
    max-width: 300px;
    min-width: 150px;
}

.grow-plant-list {
    overflow-y: auto;
}

/* Full right-side info box (w/ alert div) */
#grow-right {
    align-items: center;
    border: none;
    display: flex;
    flex: 1;
    max-height: 450px;
    max-width: 300px;
    min-width: 150px;
}

/* Seed card info box */
#grow-stats { 
    background-image: url("../images/cardbkg.6ce0217e0706.jpg");
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    height: 100%;
    width: 100%;
}

#grow-stats-top:only-child {
    justify-content: center;
}

.grow-btn {
    margin-left: 5px;
    margin-right: 5px;
}

.grow-btn-div {
    padding-top: 5px;
}

.grow-save-btn {
    margin: 10px;
}

.grow-traits {
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
}

.grow-traits-half {
    display: flex;
    flex-direction: column;
}

/* User header box */
#header-div > * {
    align-items: center;
    border: none;
    color: whitesmoke;
    display: flex;
    justify-content: space-between;
    margin: auto;
}


/* Market view */
.inventory-box {
    align-items: center;
    border-left: 2px solid #1D1718;
    display: flex;
    justify-content: center;
    padding-left: 5px;
    padding-right: 5px;
}

.inventory-div {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.inventory-footer {
    justify-content: center;
    width: 25%;
}

.inventory-footer-bar {
    background-color: #edf2ef;
    border-top: 2px solid #1D1718;
    justify-content: right;
}

.inventory-header {
    display: flex;
    justify-content: center;
}

.inventory-header-bar > *{
    background-color: #edf2ef;
    width: 33.33%;
}

.inventory-img {
    background-image: url("../images/dirt.70ef01765720.png");
    height: 100%;
    width: 100%;
}
.inventory-line {
    border-top: 2px solid #1D1718;
    display: flex;
    flex-wrap: wrap;
}

.inventory-line-div {
    display: flex;
}

.inventory-line > * {
    width: 25%;
}

.inventory-window {
    align-self: start;
    background-image: url("../images/cardbkg.6ce0217e0706.jpg");
    display: inline-block;
    min-width: 150px;
    max-width: 300px;
    margin-bottom: 15px;
}

.line {
    align-items: center;
    display: flex;
    justify-content: center;
}

#market-booth {
    border: none;
    min-width: 200px;
    text-align: left;
    width: 475px;
}

.market-booth-img {
    object-fit: contain;
    width: 100%;
}

#seed-display {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.selection-div {
    display: flex;
    flex-direction: column;
}

.selection-img {
    width: 100px;
}

.selection-title {
    color: white;
}

.selected {
    background-color: rgba(0, 0, 0, 0.5);
}

.speech-bubble {
    align-items: center;
    background-color: #edf2ef;
    border-radius: 20px;
    display: inline-block;
    margin-right: 20px;
    padding: 5px 10px 10px 10px;
}

.speech-header {
    margin-top: 20px;
}

.stash-box {
    border: none;
    display: flex;
    font-weight: underline;
    margin: auto;
    padding-top: 10px;
    width: 95%;
}

.stash-count-box {
    justify-content: space-between;
    margin: auto;
    width: 95%;
}

.square {
    height: 70px;
    width: 70px;
    background-image: url("../images/dirt.70ef01765720.png");
    position: relative;
}

.square.highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
}

.square.ready::after {
    border: 1px solid whitesmoke;
    border-radius: 15px;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.square img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.text-small {
    font-size: 10px;
}

#user-stats {
    color: #1D1718;
    margin-bottom: 15px;
}

/* Harvest Festival (Fair) View */
.sale-item-info {
    border-left: 2px solid #1D1718;
    border-right: 2px solid #1D1718;
}

.sale-item-line {
    align-items: center;
    justify-content: space-between;
}

.variety-box {
    overflow-y: auto;
}

.variety-data-box {
    border-bottom: 2px solid #1D1718;
    line-height: 1;
}

.variety-data-level {
    justify-content: space-between;
    margin-top: 5px;
    margin-bottom: 5px;
}

.variety-div {
    width: 100%;
}

.variety-img {
    background-image: url("../images/dirt.70ef01765720.png");
    display: flex;
    object-fit: contain;
    height: 100%;
    width: 100%;
    max-height: 100px;
    max-width: 100px;
}

.variety-footer-bar {
    background-color: #edf2ef;
    border-top: 2px solid #1D1718;
    justify-content: right;
    width: 100%;
}

.variety-footer-total {
    justify-content: right;
    padding-right: 15px;
}

.variety-sell-line {
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.variety-sell-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.variety-line {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.variety-window {
    align-self: start;
    background-image: url("../images/cardbkg.6ce0217e0706.jpg");
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
    min-width: 150px;
    max-width: 300px;
    width: 100%;
}

/* About View */
.about-text {
    align-items: center;
    background-image: url("../images/cardbkg.6ce0217e0706.jpg");
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    min-width: 300px;
}
.about-credits {
    display: flex;
    flex-direction: column;
    justify-content: left;
    padding: 10px;
}

/* Media */
@media (max-width: 1000px) {

    body {
        font-size: 10pt;
    }

    .btn {
        font-size: 10pt;
    }

    /* Grow View */
    #grow-view {
        align-items: stretch;
        height: 300px;
        font-size: 10px;
        overflow-y: auto;
    }

    #grow-left {
        align-items: stretch;
        height: 100%;
        max-width: 250px;
    }

    #grow-right {
        height: 100%;
        max-width: 250px;
    }

    #grow-inspect {
        align-items: stretch;
    }

    .selection-img {
        width: 50px;
    }

    .seed-title {
        font-size: 10px;
    }

    .square {
        height: 48px;
        width: 48px;
    }

    .grow-info {
        overflow-y: auto;
    }

    /* Fair View */
    #fair-view {
        align-items: center;
        flex-direction: column;
    }

    #market-booth {
        width: 250px;
    }

    #market-booth-img {
        object-fit: contain;
        width: 100%;
    }

    .variety-img {
        object-fit: contain;
        width: 50px;
    }

    .variety-window {
        width: 250px;
    }

    .vendor-trade-box {
        width: 250px;
    }

    /* Market View */
    .inventory-img-box {
        object-fit: contain;
        width: 50px;
    }

    #market-view {
        align-items: center;
        flex-direction: column;
    }

    .inventory-window {
        width: 250px;
    }
}