/* re style this whole thing it is all absolute positioned and is sooooo confusing idk what the hell I was thinking */

#Win-Screen {
    position: absolute;
    width: 80vw;
    aspect-ratio: 4/3;

    max-height: 90vh;
    max-width: 120vh;

    z-index: 999;
    transform: translateY(-150vh);
}

.main {
    width: 100%;
    height: 90%;
    background-color: #9c1919;
    box-shadow: 0px 0px 200px 140px black;

    border-radius: 4vw;
}

@keyframes slideDown {
    0% {
        transform: translateY(-150vh);
    }

    100% {
        transform: translateY(0vh);
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(0vh);
    }

    100% {
        transform: translateY(-150vh);
    }
}

.main button {
    background-color: #811111;
    width: 35%;
    height: 12%;
    border-radius: 20px;
    border: none;

    position: absolute;
    bottom: 12%;
    right: 7%;

    color: white;
    font-family: "Karla", sans-serif;
    font-weight: bold;
    font-size: 3vw;
    transition: 0.3s;
}

.main button:hover {
    background-color: #630e0e;
    cursor: pointer;
}

.coin {
    position: absolute;
    top: 2.5%;
    right: 5%;
    height: 10%;
    width: 25%;
    background-color: #811111;
    border-radius: 1vw;

    display: flex;
    align-items: center;
    justify-content: center;
}

#coin-div {
    height: 60%;
    width: 80%;
    background-color: #630e0e;
    color: whitesmoke;
    border-radius: 0.5vw;

    display: flex;
    align-items: center;
    justify-content: center;
}

#coin-div p {
    font-size: 2vw;
    padding-left: 2%;
    font-weight: bold;
}

.shop-title {
    position: absolute;
    top: 2.5%;
    left: 5%;
    height: 10%;
    width: 40%;
    background-color: #811111;
    border-radius: 1vw;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0px 0px 50px 1px rgba(0, 0, 0, 0.2) inset;
}

.shop-title p {
    font-size: 3vw;
    padding-left: 2%;
    font-weight: bold;
    color: whitesmoke;
}

#shop {
    position: absolute;
    height: 58%;
    width: 100%;
    top: 15%;
    background-color: #811111;

    display: flex;

    box-shadow: 0px 0px 50px 1px rgba(0, 0, 0, 0.233) inset;
}

#temp-shop {
    width: 50%;
    height: 100%;

    display: flex;
    flex-direction: column;
}

#temp-name {
    width: 100%;
    height: 15%;
    background-color: #9c1919;
    box-shadow: 0px 40px 50px 10px rgba(0, 0, 0, 0.1);
}

#temp-name p {
    color: whitesmoke;
    text-align: center;
    font-size: 2vw;
    font-family: "Karla", sans-serif;
    font-weight: bold;
}

#temp-container {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

.card-container {
    width: 25%;
    aspect-ratio: 3/6;
}

.temp-price {
    text-align: center;
    font-size: 1.5vw;
    color: white;
    font-weight: bold;
}

#perm-name {
    width: 100%;
    height: 15%;

    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 50px 1px rgba(0, 0, 0, 0.2) inset;
}

#perm-name p {
    color: whitesmoke;
    text-align: center;
    font-size: 1.8vw;
    font-family: "Karla", sans-serif;
    font-weight: bold;
}

#perm-shop {
    height: 100%;
    width: 50%;

    display: flex;
    flex-direction: column;
}

#perm-container {
    height: 85%;
    top: 20%;
    width: 100%;

    padding-top: 2%;
    padding-bottom: 2%;

    background-color: #630e0e;
    box-shadow: 0px 0px 50px 1px rgba(0, 0, 0, 0.233) inset;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2%;
    overflow-y: auto;

    scrollbar-color: rgb(255, 255, 255) #380808;
}

.perm-card {
    width: 100%;
    height: 20%;
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0.034);
    transition: 0.2s ease-in-out;
    padding-left: 3%;
    padding-right: 3%;

    display: none;
    align-items: center;
    justify-content: space-between;
}

.perm-locked {
    width: 100%;
    height: 20%;
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0.034);
    transition: 0.2s ease-in-out;
    padding-left: 3%;
    padding-right: 3%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.unlock {
    width: 38%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.1);
    color: White;
    border-radius: 1vw;
    font-size: 1.2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 2%;
    padding-right: 2%;
}

.perm-card:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.perm-locked:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.price {
    width: 20%;
    height: 80%;
    background-color: #5c090900;
    border-radius: 1vw;
    font-size: 2vw;
    color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 50px 5px rgba(0, 0, 0, 0.1) inset;
}

.name {
    width: 60%;
    height: 80%;
    background-color: #5c090900;
    border-radius: 1vw;
    font-size: 1.8vw;
    color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 50px 5px rgba(0, 0, 0, 0.1) inset;
}

.checkbox {
    height: 80%;
    aspect-ratio: 1/1;
    background-color: #5c090900;
    border-radius: 1vw;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 50px 5px rgba(0, 0, 0, 0.1) inset;

    border-style: dashed;
    border-width: 2px;
    border-color: whitesmoke;
    transition: 0.2s ease-in-out;

    color: whitesmoke;
    font-size: 1.8vw;
    font-weight: bold;
}

.checkbox:hover {
    cursor: pointer;
    background-color: #380808;
}

@keyframes checkboxChecked {
    0% {
        background-color: #5c090900;
    }

    50% {
        background-color: green;
    }

    100% {
        background-color: #5c090900;
    }
}

@keyframes checkboxFailed {
    0% {
        background-color: #5c090900;
    }

    50% {
        background-color: red;
    }

    100% {
        background-color: #5c090900;
    }
}
