@import url("https://fonts.googleapis.com/css?family=Cairo&display=swap");
html {
    font-family: "Cairo", sans-serif;
    height: 100%;
    width: 100%;
    min-height: 620px;
    min-width: 500px;
}
html body {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    background-color: #222;
    margin: 0;
}

.gameWrapper {
    box-sizing: border-box;
    height: 600px;
    width: 400px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 12;
    background-image: url(https://i.imgur.com/h3pV9JT.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 10px;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.5);
    position: relative;
}
.gameWrapper .coop-buy {
    position: absolute;
    top: 16px;
    left: 132px;
    background-image: url(https://i.imgur.com/uZu6dxm.png);
    height: 180px;
    width: 140px;
    background-size: initial;
    background-repeat: no-repeat;
    transform: scale(1);
    cursor: pointer;
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: -moz-crisp-edges;
    image-rendering: pixelated;
    transition: transform 0.1s ease-out;
}
.gameWrapper .coop-buy:hover {
    transform: scale(1.1);
}
.gameWrapper .coop {
    background-image: url(https://i.imgur.com/rGVqMYL.png);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    display: none;
}
.gameWrapper .coop.show {
    display: block;
}
.gameWrapper .confirm-wrapper {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    width: 90%;
    box-sizing: border-box;
    background: #576f46;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s linear;
    align-content: flex-start;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: absolute;
    padding: 40px 20px 20px 20px;
    color: white;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.4em;
    transform: scale(0);
}
.gameWrapper .confirm-wrapper span {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}
.gameWrapper .confirm-wrapper .close {
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 800;
    cursor: pointer;
    padding-top: 15px;
    padding-right: 15px;
}
.gameWrapper .confirm-wrapper .close svg {
    height: 20px;
    width: 20px;
}
.gameWrapper .confirm-wrapper .close svg polygon:last-of-type {
    fill: #ffd515;
}
.gameWrapper .confirm-wrapper .close svg polygon:first-of-type {
    fill: rgba(0, 0, 0, 0.5);
}
.gameWrapper .confirm-wrapper .close svg:hover polygon:last-of-type {
    fill: #ff4345 !important;
}
.gameWrapper .confirm-wrapper .text {
    width: 100%;
    margin-bottom: 10px;
}
.gameWrapper .confirm-wrapper .buttons {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.gameWrapper .confirm-wrapper .buttons .button {
    background: white;
    padding: 5px 20px;
    color: #415234;
    font-weight: bold;
    font-size: 15px;
    border-radius: 20px;
    border: 2px solid #415234;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}
.gameWrapper .confirm-wrapper .buttons .button:hover {
    background: #68a73c;
    color: white;
    border: 2px solid white;
}
.gameWrapper .confirm-wrapper.show {
    transform: scale(1);
}
.gameWrapper .crop-chooser {
    display: flex;
    flex-wrap: wrap;
    height: 320px;
    width: 320px;
    box-sizing: border-box;
    background: #92c96c;
    border-radius: 10px;
    overflow: hidden;
    transform: scale(0);
    transition: all 0.2s linear;
    align-content: flex-start;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.3);
    z-index: 999;
}
.gameWrapper .crop-chooser .header {
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: #69240a;
    font-weight: 700;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.gameWrapper .crop-chooser .footer {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}
.gameWrapper .crop-chooser .close {
    color: red;
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 800;
    cursor: pointer;
    padding-top: 15px;
    padding-right: 15px;
}
.gameWrapper .crop-chooser .close svg {
    height: 20px;
    width: 20px;
}
.gameWrapper .crop-chooser .close svg polygon:last-of-type {
    fill: #904b2f;
}
.gameWrapper .crop-chooser .close svg polygon:first-of-type {
    fill: rgba(0, 0, 0, 0.5);
}
.gameWrapper .crop-chooser .close svg:hover polygon:last-of-type {
    fill: #ff422c !important;
}
.gameWrapper .crop-chooser .crop-type-option {
    height: 80px;
    width: 80px;
    background: #73450c;
    position: relative;
    cursor: pointer;
}
.gameWrapper .crop-chooser .crop-type-option .crop-type-descriptions {
    color: black;
    font-size: 13px;
    position: absolute;
    bottom: -85px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    font-weight: 600;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.gameWrapper .crop-chooser .crop-type-option .crop-type-descriptions .name {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 3px;
    margin-top: 3px;
}
.gameWrapper .crop-chooser .crop-type-option .crop-type-descriptions div {
    padding-bottom: 5px;
    width: 100%;
}
.gameWrapper .crop-chooser .crop-type-option.corn {
    background-image: url("https://i.imgur.com/T7oQsTN.png");
    background-position: -200px;
    background-position: -400px;
    background-size: auto 80px;
}
.gameWrapper .crop-chooser .crop-type-option.corn.hide {
    opacity: 0.5;
}
.gameWrapper .crop-chooser .crop-type-option.blueberry {
    background-image: url("https://i.imgur.com/0XbDbXt.png");
    background-position: -200px;
    background-position: -400px;
    background-size: auto 80px;
}
.gameWrapper .crop-chooser .crop-type-option.blueberry.hide {
  opacity: 0.5;
}
.gameWrapper .crop-chooser .crop-type-option.watermelon {
    background-image: url("https://i.imgur.com/ocsKyLS.png");
    background-position: -200px;
    background-position: -400px;
    background-size: auto 80px;
}
.gameWrapper .crop-chooser .crop-type-option.watermelon.hide {
    opacity: 0.5;
}
.gameWrapper .crop-chooser .crop-type-option:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.45);
}
.gameWrapper .crop-chooser.show {
    transform: scale(1);
}
.gameWrapper .plotWrapper {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    height: 320px;
    width: 320px;
    box-sizing: border-box;
    position: absolute;
    bottom: 75px;
    transform: scale(0.9);
}
.gameWrapper .plotWrapper .tutorial {
    background: white;
    padding: 5px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 0;
    display: flex;
    position: absolute;
    top: -40px;
    left: 0;
}
.gameWrapper .plotWrapper .tutorial:before {
    content: "";
    width: 0px;
    height: 0px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 11px solid #fff;
    position: absolute;
    left: 10px;
    bottom: -11px;
}
.gameWrapper .plotWrapper .plotBox {
    border: 2px solid #a05b4a;
    position: relative;
    box-sizing: border-box;
    height: 80px;
    width: 80px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url("https://i.imgur.com/T7oQsTN.png");
}
.gameWrapper .plotWrapper .plotBox.available {
    background-position: 0px;
    background-size: auto 80px;
    -webkit-animation: availablePlotAnim 0.8s linear infinite alternate;
    animation: availablePlotAnim 0.8s linear infinite alternate;
}
.gameWrapper .plotWrapper .plotBox.ready {
    -webkit-animation: plotReadyAnim 0.7s linear alternate infinite;
    animation: plotReadyAnim 0.7s linear alternate infinite;
}
.gameWrapper .plotWrapper .plotBox.plot {
    background-position: 0px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.seed-corn {
    background-position: -80px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.seedling-corn {
    background-position: -160px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.adolescent-corn {
    background-position: -240px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.mature-corn {
    background-position: -320px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.adult-corn {
    background-position: -400px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.seed-blueberry {
    background-image: url("https://i.imgur.com/0XbDbXt.png");
    background-position: -80px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.seedling-blueberry {
    background-image: url("https://i.imgur.com/0XbDbXt.png");
    background-position: -160px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.adolescent-blueberry {
    background-image: url("https://i.imgur.com/0XbDbXt.png");
    background-position: -240px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.mature-blueberry {
    background-image: url("https://i.imgur.com/0XbDbXt.png");
    background-position: -320px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.adult-blueberry {
    background-image: url("https://i.imgur.com/0XbDbXt.png");
    background-position: -400px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.seed-watermelon {
    background-image: url("https://i.imgur.com/ocsKyLS.png");
    background-position: -80px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.seedling-watermelon {
    background-image: url("https://i.imgur.com/ocsKyLS.png");
    background-position: -160px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.adolescent-watermelon {
    background-image: url("https://i.imgur.com/ocsKyLS.png");
    background-position: -240px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.mature-watermelon {
    background-image: url("https://i.imgur.com/ocsKyLS.png");
    background-position: -320px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox.adult-watermelon {
    background-image: url("https://i.imgur.com/ocsKyLS.png");
    background-position: -400px;
    background-size: auto 80px;
}
.gameWrapper .plotWrapper .plotBox:hover {
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border: 2px solid white;
    background-color: #4f1507;
}
.gameWrapper .plotWrapper .plotBox:hover .tooltip {
    opacity: 0.95;
}

.UIWrapper {
    box-sizing: border-box;
    width: 100%;
    padding-top: 25px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.UIWrapper .money,
.UIWrapper .seeds {
    position: relative;
    padding-right: 20px;
    display: flex;
    align-items: center;
}
.UIWrapper .money .emblem,
.UIWrapper .seeds .emblem {
    height: 40px;
    width: 40px;
    background-color: #823c3d;
    background-image: url(https://art.pixilart.com/7736b1d30d303e4.gif);
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: 50% 20%;
    border-radius: 40px;
    border: 2px solid #351a1a;
    z-index: 2;
}
.UIWrapper .money .text,
.UIWrapper .seeds .text {
    background: linear-gradient(180deg, #b2875a 80%, #705135 80%);
    height: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 40px;
    padding: 0px 20px 0px 54px;
    margin-left: -40px;
    border: 2px solid #351a1a;
}
.UIWrapper .money .text span,
.UIWrapper .seeds .text span {
    color: white;
    font-weight: 800;
    font-size: 20px;
}
.UIWrapper .money .message,
.UIWrapper .seeds .message {
    position: absolute;
    bottom: -20px;
    right: 30px;
    color: white;
    font-size: 14px;
    text-shadow: 3px 4px 4px black;
    opacity: 0;
}
.UIWrapper .seeds {
    display: none;
}
.UIWrapper .seeds .emblem {
    border-color: #35e835;
    background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQQqoSo3DNWGMOk5Hy6diLHRpE6h3o_Uw7qT5m3UMvcZZbt3DGv);
    background-size: 90px;
    background-position: 50% 50%;
}
.UIWrapper .seeds .text {
    border-color: #35e835;
}
.UIWrapper .seeds .text span {
    color: #03a703;
}

.UIMessageWrapper {
    width: 100%;
    position: absolute;
    top: 162px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 100;
}
.UIMessageWrapper .messsage {
    background: white;
    padding: 5px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 25px;
    opacity: 0;
}

@-webkit-keyframes availablePlotAnim {
    from {
        opacity: 0.5;
    } to {
        opacity: 0.5;
    }
}

@keyframes availablePlotAnim {
    from {
        opacity: 0.5;
    } to {
        opacity: 0.5;
    }
}
@-webkit-keyframes plotReadyAnim {
    from {
        background-color: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        border: 2px solid #a05b4a;
        background-color: #4f1507;
    } to {
        background-color: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        border: 2px solid white;
        background-color: #4f1507;
    }
}
@keyframes plotReadyAnim {
    from {
        background-color: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        border: 2px solid #a05b4a;
        background-color: #4f1507;
    } to {
        background-color: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        border: 2px solid white;
        background-color: #4f1507;
  }
}
.reset {
    position: fixed;
    top: 0;
    left: 0;
    padding: 5px;
    opacity: 0.5;
    font-size: 11px;
    cursor: pointer;
}

.hidden {
    display: none !important;
}