/* Reset styles */
html {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    background: white;
    font-size: 1.0em;
}

/* Container styles */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
}

/* Paragraph styles */
p {
    font-size: 1.5em;
    color: #666;
}

.linkAsButton {
    width: 100%;
    padding: 10px;
    background: #007BFF;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    padding: 15px 30px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.linkAsButton:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.button-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* QR code styles */
.qr-code {
    width: 100px;
    height: 100px;
}

ol {
    list-style: none;
    /* Remove default numbering */
    counter-reset: item;
    /* Initialize counter */
    padding-left: 0;
    /* Remove default left padding */
}

li {
    text-align: left;
    margin-bottom: 6px;
    counter-increment: item;
    /* Increment counter */
    position: relative;
    /* Required for positioning the circle */
    padding-left: 30px;
    /* Adjust spacing between circle and text */
    margin-bottom: 10px;
}

li::before {
    content: counter(item);
    /* Display the counter value */
    background-color: #007bff;
    /* Circle background color */
    color: white;
    /* Circle text color */
    width: 32px;
    /* Circle width */
    height: 32px;
    /* Circle height */
    border-radius: 50%;
    margin-right: 10px;
    /* Make it a circle */
    display: inline-block;
    /* Ensure the circle is inline */
    text-align: center;
    /* Center the number within the circle */
    line-height: 32px;
}

.action {
    color: #007BFF;
    font-size: 110%;
}

/* Language selector styles */
.top-left-corner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: start;
}

.top-left-corner select {
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
}

.linkAsButton:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}


.social-btn {
    width: 130px;
    display: flex;
    border: 1px solid black;
    background-color: white;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    color: black;
    font-weight: bold;
    background: white;
    transition: 0.3s ease;
    height: 32px;
    /* Ensure a consistent height */
    line-height: 32px;
    /* Vertically center text */
}

.social-btn img {
    width: 20px;
    height: 20px;
    padding-right: 10px;
}

.social-btn:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
}


#app {
    padding: 20px;
    max-width: 480px;
    margin: auto;
}

h1 {
    text-align: center;
    color: #333;
}


#idTreasuresList {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

#idRewards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    grid-auto-rows: 15px;
    margin-top: 20px;
    justify-content: center;
}

.reward {
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reward button {
    background: #28a745;
}

@media (max-width: 600px) {
    body {
        padding: 0px;
    }
}

/* Responsive styles */
@media (max-width: 900px) {
    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1.2em;
    }

    li {
        margin-bottom: 20px;
    }

    #idLogo {
        width: 120px;
    }

    .button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .qr-code {
        width: 80px;
        height: 80px;
    }
}