body {
    margin: 0;
    font-family: sans-serif;
    background-color: #141218;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #2196F3;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px; /*normalTxt */
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions span, .header-actions button {
    font-size: 16px; /* smallTxt */
}

#total-amount-container {
    position: relative;
    cursor: default;
}

.tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: -525%;
    left: 50%;
    margin-left: -110px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px; /* vsmallTxt*/
}

#total-amount-container:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

#join-button {
    background-color: #1d1b20;
    color: #b7a6e0;
    border: none;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

#join-button:hover {
    background-color: #2b2831;
}

main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#start-page {
    text-align: center;
}

#start-image {
    min-width: 300px;
    min-height: 300px;
    max-width: 100%;
    max-height: 70vh;
    cursor: pointer;
    transition: filter 0.3s ease, transform 0.3s ease;
    border-radius: 10px;
}

#start-image:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.image-wrapper:hover{
    border: #222026 25px solid;
    border-radius: 50%;
    background-color: #222026;
}

#main-page {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

#info-section {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
    border: 1px solid #444;
}

#info-text {
    margin: 0;
    line-height: 1.6;
    font-size: 24px; /* normalTxt */
}

#donors-title {
    font-size: 36px; /* normalTxtB */
    font-weight: bold;
}

#donors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    text-align: left;
}

.donor-entry {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #3a3a3a;
    transition: background-color 0.3s ease;
}

.donor-entry:hover {
    background-color: #333333;
}

.donor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.donor-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
}

.donor-name {
    font-size: 24px; /* normalTxt */
}

.donor-date {
    font-size: 22px; /* vnormalTxt */
    color: #b0b0b0;
}

.donor-amount {
    font-size: 24px; /* normalTxt */
    color: #b0b0b0;
}

.proof-image-container {
    position: relative;
}

.proof-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}



@media (max-width: 768px) {
    header h1 {
        font-size: 20px;
    }
    .header-actions span, .header-actions button {
        font-size: 14px;
    }
    header {
        flex-direction: column;
        gap: 10px;
    }
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    #join-button {
        width: 100%;
        text-align: center;
    }
    #info-text {
        font-size: 16px; /* smallTxt */
    }
    #donors-title {
        font-size: 28px; /* smallTxtB */
        font-weight: bold;
    }
    .donor-entry {
        flex-direction: column;
        align-items: flex-start;
    }
    .donor-name {
        font-size: 16px; /* smallTxt */
    }
    .donor-date {
        font-size: 12px; /* vsmallTxt */
    }
    .donor-amount {
        font-size: 16px; /* smallTxt */
    }
    .header-actions span, #total-amount-container {
      width: 100%;
      text-align: left;
      margin-bottom: 5px;
    }
    #total-amount-container .tooltiptext {
        left: 0;
        margin-left: 0;
        width: 100%;
        bottom: auto;
        top: 100%;
    }
}