.widget {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    padding: 20px;
    border-radius: 15px;
    background-clip: padding-box;
    background-color: var(--card-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.25s ease;
}

.widget:hover {
    cursor: pointer;
    transform: translateY(-3px);
    transition: all 0.25s ease;
}

.widget-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    text-align: center;
}

.widget-content > * {
    color: #fff;
    margin: 0;
}

.widgetbox {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 20px;
}

.widget-search {
    background-color: #e7fdff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
}

.widget-login {
    background-color: #d2defe;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
}

.widget-ranking {
    background-color: #e8daf4;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
}

.widget-article {
    background-color: #e7fdff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
}

.widget-gift {
    background-color: #d2defe;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
}

.widget-team {
    background-color: #e8daf4;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
}
