@import "styles.css";

:root {
    --widget-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    --widget-title: #545454;
    --widget-hover-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.widget-wrapper {
    padding-top: 6px;
    padding-bottom: 6px;
}

.widget-wrapper.padded-lr {
    padding-left: 16px;
    padding-right: 16px;
}

.counter-wrapper {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.counter-wrapper .counter-cont {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 30px;
    border-radius: 3px;
    box-shadow: var(--widget-shadow);
    transition: .25s box-shadow ease;
}

.counter-wrapper .counter-cont:hover {
    box-shadow: var(--widget-hover-shadow);
    cursor: pointer;
}

.counter-wrapper .counter-cont .counter-text {
    font-size: 40px;
    font-weight: bold;
    color: var(--main-color);
    padding-bottom: 3px;
}

.counter-wrapper .counter-cont .counter-title {
    color: var(--widget-title);
    padding-top: 3px;

}

.recent-journals-table {
    width: 100%;
    padding: 30px;
    box-shadow: var(--widget-shadow);
}

.table-title {
    font-size: var(--heading2-fontsize);
    font-weight: bold;
    padding-top: 6px;
    padding-bottom: 6px;
    color: var(--main-color);
}

@media screen and (max-width: 650px) {
    :root {
        --heading2-fontsize: 16px;
    }
}

@media screen and (max-width: 500px) {
    .counter-wrapper {
        flex-direction: column;
    }
}