@font-face {
    font-family: 'Inter';
    font-weight: 100 900;
    font-display: swap;
    font-style: oblique 0deg 10deg;
    src: url("../fonts/Inter.var.woff2?v=3.19") format("woff2");
}

html {
    --maincolor: #FCF7FF;
    --bgcolor: #8A2A83;
    --bgcolor2: #5E1D59;
    --secondcolor: #D1E835;
    /*--thirdcolor: #07A0C3;*/
    --thirdcolor: #FEC0CE;
    --footercolor: #ddd;

    --test: #273668;

    min-height: 100%;
    margin: 0;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: 'Inter', BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    position: relative;

    background: var(--bgcolor);
    color: var(--maincolor);
}

main {
    max-width: 50ch;
    margin: auto;
    display: flex;
    flex-flow: column;
    height: 100%;
    min-height: calc(100vh - 2rem);
}

main a {
    color: inherit;
    text-decoration: none;
}

.title {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: var(--bgcolor);
    margin-top: 2rem;
}

.title svg {
    width: 5rem;
    margin-right: 1rem;
    color: var(--maincolor);
}

.title h1 {
    font-size: 4rem;
    margin-bottom: 0;
    margin-top: 0;
}

.energy {
    margin-top: 6rem;
    display: flex;
    flex-direction: column;
    justify-items: center;
    gap: 2rem;
}

.energy h3 {
    color: var(--thirdcolor);
    font-size: 2rem;
    text-align: center;
    margin: 0;
}

.energy h2 {
    color: var(--secondcolor);
    font-size: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;

}

.energy abbr {
    color: var(--secondcolor);
    text-decoration: none;
    font-size: 2.5rem;
}

footer {
    max-width: 50ch;
    margin: auto;
    height: 2rem;
    color:  var(--footercolor);
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    padding-right: 2rem;
    padding-left: 2rem;
}

footer time {
    color: var(--thirdcolor);
    margin-bottom: .75rem;
    font-size: .75rem;
}

footer .version {
    color: var(--thirdcolor);
    margin-bottom: .75rem;
    font-size: .75rem;
}

footer img {
    height: 1.5rem;
}

.error-panel {
    color: var(--secondcolor);
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 2rem;
    margin-right: 2rem;
}

.error-panel .error-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 0;
}

.error-panel a {
    color: var(--secondcolor);
    text-decoration: underline;
    text-decoration-style: dotted;
}

.error-panel .error-details {
    font-size: 1.25rem;
}
