/* Common styles */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

.heroic-font {
    font-family: 'Press Start 2P', cursive;
    /* Other styling properties like size, color, etc. */
}


.game-panel {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    background-color: #f2f3f4;
    border-radius: 10px;
    border: solid grey 1px;
}

.dashboard-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px; /* Adjust the max width as needed */
}

.quest-panel {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Adjust the max width as needed */
}

.quest-divider {
    width: 100%;
    margin: 20px 0;
    border: none;
    border-top: 2px solid #555;
}

.quest-content {
    margin-top: 20px;
}

.reward-boxes {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px; /* Spacing between reward boxes */
}

/* Add additional styling as needed */



.quest-header {
    display: flex;
    align-items: center;
}

.quest-image {
    margin-right: 10px;
    width: 30px; /* Adjust the image width as needed */
}

.quest-points {
    font-size: 50px;
    margin: 0;
}

.quest-divider {
    width: 50%;
    margin: 20px 0;
    border: none;
    border-top: 2px solid #555;
}


.quest-alert {
    font-size: 24px;
}

.quest-card {
    display: flex;
    align-items: center;
}

.quest-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.quest-list {
    list-style: none;
    padding-left: 0;
}

.quest-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.quest-label {
    margin-left: 10px;
}

.quest-card-image {
    margin-right: 20px; /* Spacing between image and details */
    width: 50px; /* Adjust the image width as needed */
    height: auto;
}

.quest-details {
    flex: 1;
}

/* Define the styles for the green box */
.green-box {
    background-color: #ffffff; /* White background */
    padding: 15px;
    border-radius: 5px;
    border: 2px solid #00ff00; /* Green border */
}

/* Set the width of each image to 20% of the screen width */
.locked-reward {
    opacity: 0.1; /* Set the opacity value to make the image slightly transparent */
}

/* Style for the reward images */
.success-icon-img-dash {
    border-radius: 50%;
    overflow: hidden; /* Ensure the image stays within the circle */
    height: 120px;
    width: auto;
}


/* Style for the reward-line */
.reward-line-dash {
    display: flex;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.quest-image{
    width: 150px;
    height: auto;
    margin-right: 10px;
}

/* Style for the success-info */
.success-info-dash {
    display: flex;
    align-items: center;
    padding: 20px; /* Add padding for spacing */
    background-color: #f2f2f2; /* Add background color */
    border-radius: 10px; /* Add border-radius for rounded corners */
    margin-bottom: 20px; /* Add margin to create spacing between rows */
}

/* Style for the success-icon */
.success-icon-dash {
    margin-right: 20px; /* Adjust spacing between success icon and text */
}

/* Style for the reward images */
.reward-image-dash {
    width: 20%;
    height: auto;
    display: inline-block;
    margin: 0 10px; /* Adjust the margin spacing between images */
    opacity: 1; /* Set opacity for the first image */
}

/* Style for the progress bar */
.progress-bar-container {
    flex-grow: 1;
    height: 10px; /* Adjust this value as needed */
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0;
    height: 100%;
    background-color: #00FF00; /* Change the progress bar fill color */
    transition: width 0.5s ease; /* Transition animation */
}


/* Style for the reward-icon */
.reward-icon {
    margin-right: 10px; /* Adjust spacing between reward icons */
}



/* Style for the success-rows container */
.success-rows {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Style for the column */
.column {
    flex-basis: calc(50% - 10px); /* Adjust the flex basis as needed */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the left */
}

/* ... (same styles as before) ... */


/* Style for the success-rows container */
.success-rows {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Style for the column */
.column {
    flex-basis: calc(50% - 10px); /* Adjust the flex basis as needed */
}

/* Style for the success-row */
.success-row {
    margin-bottom: 20px;
}

/* Style for the success-entry */
.success-entry {
    display: flex;
    align-items: center;
}

/* Style for the success-icon */
.success-icon {
    margin-right: 10px;
}

/* Style for the success-info */
.success-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Style for the success-title */
.success-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 5px;
    max-width: 200px; /* Set a fixed width for the title */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style for the success-progress */
.success-progress {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    width: 200px; /* Set a fixed width for the progress bars */

}


/* Style for the success-icon */
.success-icon {
    display: flex;
    align-items: center;
}

/* Style for the success-icon-img */
.success-icon-img {
    width: 50px;
    height: auto;
    border-radius: 50%;
}






/* Define the pop-up animation */
@keyframes popup {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.popup {
    animation: popup 0.5s ease-in-out;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    color: #fff; /* Text color */
    padding: 20px;
    border-radius: 10px;
    z-index: 9999; /* Ensure the pop-up is on top of other content */
}

.popup-content {
    text-align: center;
}