@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    transition: all ease 500ms;
    scroll-behavior: smooth;
}
body{
    background-color: #212529;
    color: rgb(222, 226, 230) !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
main{
    max-width: 1100px;
    margin: auto;
}

#headerText {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#headerText > a {
    display: flex;
    align-items: center;
}

#headerText > a > img {
    width: 50px;
    transition: all ease .3s;
}

#headerText > a > img:hover {
    transform: translateY(-2px);
}

#piechart_3d, #all-times-stat, #weekstat{
    width: 100%;
    height: 300px;
}

#weekstat{
    grid-column: span 2
}

.grid-table{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.list{
    color: rgb(222, 226, 230);
    align-self: flex-start;
    background-color: #212529;
    display: flex;
    flex-direction: column;
    border:  #ffffff26 1px solid;
    border-radius: 0.375rem;

}

.list-item{
    border-bottom: #ffffff26 1px solid;
    padding: 10px 10px 10px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.list-header{
    font-weight: bold;
    font-size: large;
}

.tl-times{
    color: rgba(222, 226, 230, .6);
}

.hidden{
    opacity: 0;
}

.none{
    display: none;
}

a{
    cursor: pointer;
    color: rgb(110, 168, 254) !important;
    text-decoration: none;
}

#welcomeNumbers{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 30px;
    margin: auto;
}

#welcomeNumbers > .holder{
    display: flex;
    gap: 50px;
    width: 100%;
}

.welcomeNumbersContainer{
    padding: 30px;
    width: 100%;
    border: #ffffff26 1px solid;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
}

.positive-num{
    color: green;
}

.negative-num{
    color: red;
}


.welcomeNumbersContainer:has(.details){
    flex-direction: column;
}

.welcomeNumbersContainer > .details{
    font-size: 13px;
    font-style: italic;
}

@media (max-width: 768px) {
    .grid-table{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px;
    }

    .welcomeNumbersContainer{
        padding: 30px 0;
    }

    #welcomeNumbers > .holder{
        width: 100%;
        flex-direction: column;
    }

    #weekstat{
        grid-column: span 1
    }
    
}