@font-face {
    font-family: 'Saira Condensed';
    src: url('res/fonts/Saira_Condensed-Medium.ttf') format('truetype');
}

.header {
    flex-direction: row;
    gap: 2%;
}
.container {
    display: flex;
    height: 100vh;
    overflow: auto;
}

.history-sidebar {
    height: 100%;
    top: 0;
    left: 0;
    background-color: #1D1A20;
    border-right: 2px solid #444;
    display: flex;
    flex-direction: column;
    flex: 0 0 10%;
    overflow-y: auto;
    z-index: 1000;
    position: relative;
    scrollbar-color: #F1F2F4 #1D1A20;
    scrollbar-width: thin;
}

.sidebar-header {
    padding: 10px;
    border-bottom: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #1D1A20;
    color: #F1F2F4;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 80%;
    overflow: hidden;
    height: auto;
}


.right-sidebar {
    flex: 0 0 40%;
    background-color: #1D1A20;
    overflow-y: auto;
    height: 100%;
    width: 80%;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
}

@media (max-width: 1800px) {
    .page-container {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }
    .history-sidebar {
        flex: 0 0 20%;
    }

    .content-container {
        height: 100vh;
    }
}
@media (max-width: 768px) {
    .container {
        height: auto;
        overflow-y: visible;
        width: 100%;
    }

    .history-sidebar {
        display: none;
    }

    /*.main-content,*/
    /*.right-sidebar {*/
    /*    flex: 1 1 auto;*/
    /*    max-width: 100%;*/
    /*}*/

    .right-sidebar {
        min-height: 10vh;
    }

    .chart-container {
        height: 5vh;
    }
}

@media (max-width: 400px) {
    .content-container {
        height: auto;
        overflow-y: visible;
        width: 100%;
    }

    .right-sidebar {
        min-height: 40vh;
    }
}


h1 {
    margin: 0;
    font-size: 2rem;
    text-align: center;
}

input#pointsInput {
    width: 10ch;
    text-align: center;
    font-size: 1.2rem;
    padding: 5px;
    margin: 20px 0;
    font-family: 'Saira Condensed', sans-serif;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

button.btn-custom {
    /*background-color: #444;*/
    /*background-color: #D21F3C;*/
    background-color: #F7BB2B;
    /*color: #F1F2F4;*/
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button.btn-season {
    /*background-color: #D21F3C;*/
    color: #F1F2F4;
    background-color: #444;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

button.s-btn-custom {
    background-color: #444;
    color: #F1F2F4;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}

button.btn-cancel {
    background-color: transparent;
    border: none;
    color: #F7BB2B;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}


button.btn-custom:hover {
    background-color: #fda708;
}
button.s-btn-custom:hover {
    background-color: #555;
}
button.btn-season:hover {
    background-color: #555;
}
button.btn-cancel:hover {
    color: #fda708;
}

.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.columns {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 20px;
}

.column {
    width: 30%;
    text-align: center;
}
.hidden {
    display: none;
}

.header {
    background-color: #000000;
    padding: 10px 20px 10px 30px;
    display: flex;
    position: relative;
    justify-content: left;
    border-bottom: 2px solid #444;
}

.footer {
    background-color: #000000;
    font-size: xx-small;
    padding: 10px 20px;
    min-height: 1vh;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    border-bottom: 2px solid #444;
}

.header .logo {
    max-width: 20vh;
}

.history-log {
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
}

.history-entry {
    margin-bottom: 10px;
    padding: 5px;
    border-bottom: 1px solid #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body {
    margin: 0;
    font-family: 'Saira Condensed', sans-serif;
    background-color: #1D1A20;
    color: #F1F2F4;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.header img {
    max-height: 50px;
}

.header img {
    max-height: 50px;
}
.chart-container {
    justify-content: center;
    overflow-y: hidden;
    width: 100%;
    height: 100%;
}

canvas {
    width: 100%;
    height: 100%;
}


.modal {
     display: none;
     position: fixed;
     z-index: 1000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.5);

 }

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.76);
    padding: 20px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

#inputText {
    padding: 10px 20px;
    text-align: center;
    font-size: 1.2rem;
    margin: 10px 0;
    font-family: 'Saira Condensed', sans-serif;
}
