@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://site-assets.fontawesome.com/releases/v7.1.0/css/all.css');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: "Bruno Ace SC", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    user-select: none;
    background: rgb(30, 30, 30);
}

img {
    display: flex;
    position: fixed;

    left: 50%;
    transform: translateX(-50%);

    width: 200px;
    height: auto;
}

#photo {
    display: flex;
    position: fixed;

    left: 50%;
    top: 50%;
    transform: translateX(-50%);

    width: 350px;
    height: 350px;
    border-radius: 15px;
    border: 2px solid #5a0000;
}

h1 {
    display: flex;
    position: fixed;

    top: 18.5%;
    left: 50%;

    transform: translateX(-50%);

    font-family: 'Orbitron' !important;
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;

    color: red;
}

#settings i {
    font-size: 500px;
}

#buttons-tab {
    display: flex;
    position: fixed;
    top: 30%;
    left: 1.5%;
    flex-direction: column;
}

#deathscreen button,
#buttons-tab .btn {
    margin-top: 15px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #af4c4c, #5a0000);
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

#deathscreen button:hover,
#buttons-tab .btn:hover {
    border: none;
    background:linear-gradient(135deg, #5a0000, #af4c4c);
    transform: scale(1.05);
}

#deathscreen button:active,
#buttons-tab .btn:active {
    transform: scale(0.95);
}

#click-button {
    position: fixed;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
}

#click-button button {
    color: #fff;
    font-size: large;
    text-transform: uppercase;

    width: fit-content;
    padding: 15px 25px;
    text-align: center;

    border: none;
    background: linear-gradient(135deg, #af4c4c, #5a0000);
    border-radius: 10px;
}

#click-button button:hover {
    background: linear-gradient(135deg, #5a0000, #af4c4c)
}

#click-button button:active {
    transform: scale(0.95);
}

#items-container {
    display: none;
    position: fixed;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background: rgba(55, 55, 55, 0.9);
    min-width: 250px;
    width: fit-content;

    min-height: 100px;
    height: fit-content;
    padding: 10px 10px;

    border-radius: 10px;
    border: 2px solid #af4c4c;
}

#items-container .shop-title {
    text-align: center;
    color: white;
    font-size: 1.4rem;
}

#items-container .underline {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, red, transparent);
    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 1px;
}

.single-item {
    display: block;
    position: relative;
    margin-top: -20px;
}

#items-container .btnClose {
    position: absolute;
    top: 20px;
    right: 10px;
    cursor: pointer;
}

#items-container .btnClose i {
    color: red;
    font-size: 20px;
}

#items-container .btnClose i:hover {
    color: #fff;
    font-size: 21px;
}

.single-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.single-item-left {
    padding-left: 10px;
}

.single-item-left h3 {
    font-family: 'Roboto' !important;
    color: #fff;
    font-weight: 600;
}

.single-item-left p {
    color: rgb(150, 150, 150);
    margin-top: -20px;
    font-size: .8rem;
    font-family: 'Roboto' !important;
}

.single-item-right h4 {
    color: #fff;

    background: red;
    width: fit-content;
    padding: 7px 20px;
    margin-left: 50px;

    border-radius: 5px;
}

.single-item-right h4:hover {
    background: rgb(255, 120, 120);
    transform: scale(1.05);
}

.single-item-right h4:active {
    transform: scale(0.95);
}

#clicks {
    display: flex;
    position: fixed;

    top: 42%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
}

#notification {
    display: none;
    position: fixed;

    right: 0.5%;
    top: 5%;

    background: rgba(22, 22, 22, 0.7);
    border-radius: 10px;
    border: 2px solid red;
    padding: 15px 25px;

    width: fit-content;
}

#notification span {
    font-family: 'Roboto' !important;
    color: #fff;
    font-weight: 500;
}

#notification span i {
    color: red;
    margin-right: 15px;
}

#health-bar {
    display: flex;
    position: fixed;

    bottom: 1%;

    width: 300px;
    height: 20px;
    border: 2px solid red;
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    margin: 20px auto;
}

#happiness-bar {
    display: flex;
    position: fixed;

    bottom: 5%;

    width: 300px;
    height: 20px;
    border: 2px solid rgb(0, 153, 255);
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    margin: 20px auto;
}

#happiness-text {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 12px;
    z-index: 2;
    pointer-events: none;
}

#health-text {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 12px;
    z-index: 2;
    pointer-events: none;
}

#happiness-percent {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 12px;
    z-index: 2;
    pointer-events: none;
}

#health-percent {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 12px;
    z-index: 2;
    pointer-events: none;
}

#happiness-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, rgb(0, 140, 255), rgb(0, 81, 255));
    transition: width 0.3s ease;
}

#health-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, red, darkred);
    transition: width 0.3s ease;
}

#deathscreen {
    display: none;
    position: fixed;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 500px;
    height: auto;
    padding: 25px 35px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    background: rgba(22, 22, 22, .7);
    border: 2px solid red;
    border-radius: 15px;
    z-index: 999;
}

#deathscreen h2 {
    color: red;
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 800;
}

#deathscreen p {
    color: #fff;
    text-transform: uppercase;
    font-family: 'Roboto' !important;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-justify: auto;
}

#progress-bar {
    display: none;
    position: fixed;

    bottom: 20%;
    left: 50%;

    transform: translateX(-50%);

    width: 500px;
    height: 40px;
    border: 2px solid red;
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    margin: 20px auto;
}

#progress-text {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 17px;
    z-index: 2;
    pointer-events: none;
}

#progress-percent {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 17px;
    z-index: 2;
    pointer-events: none;
}

#progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, red, darkred);
    transition: width 0.3s ease;
}