h2,h4 {
    padding: 0;
    margin: 0;
    font-size: 30px;
}

/* Prevent horizontal scrolling */
html, body {
    font-family: Helvetica;
/*    overflow-x: hidden;*/
    height: 100%;
    margin: 0;
   /* display: flex;
    align-items: center;
    justify-content: center;*/
    background-color: white;
}

.container {
    width: 90vw;
    height: 90vw;
    max-width: 500px;
    max-height: 500px;
    margin: 0 auto;
    position: relative;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    /*max-width: 400px;
    max-height: 400px;*/
    background-color: white;
}

.info-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #333;
    font-size: 20px; /* Use larger relative units for responsive scaling */
}

#tariffName {
    font-weight: bold;
    font-size: 35px;
}
#tariffRange {
    font-size: 25px;
}
#countdown {
    font-size: 25px;
    color: #666;
}

.top-info {
    padding-top: 10px;
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 10px 0;
}

.next-tariff-container {
    text-align: center;
/*    font-size: 1.5vw;*/
    margin-top: 10px;
}

.current-tariff-name {
    font-weight: bold;
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.next-tariff {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5; /* Very light grey background */
    border-radius: 4px; /* Rounded corners */
    padding: 4px 8px; /* Padding for spacing around the text */
    font-size: 18px;
    color: #666;
    max-width: fit-content; /* Adjusts width based on text content */
}

#nextTariffIcon {
    width: 26px;
    height: 26px;
    border-radius: 50%; /* Makes it a circle */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff; /* Black color for the lightning bolt icon */
    background-color: #888; /* Default background color */
    margin-right: 5px;
    padding: 0;
    padding-top: 4px;
    padding-left: 2px;
    line-height: 1;
}




