@import "../_snowpack/pkg/bootstrap/dist/css/bootstrap.min.css";

:root {
    --colors-background: #f0f0ff;
    --colors-background-semitransparent: #f0f0ffd3;
    --colors-accent: lightgray;
    --colors-outline-light: rgba(0, 0, 0, 0.21);
    --colors-img-placeholder: #D9D9D9;
    --colors-text: #000000;
    --colors-text-light: white;
    --pwr-primary: #1F6dd3;
    --pwr-primary-dark: #16519e;
    --pwr-secondary: #e1e1e1;
    --pwr-danger: #ff6600fd;

    --element-specific-header-color: #ffff;
    --element-specific-header-border: #e0e0e0;
    --element-specific-header-shadow-one: rgb(60 64 67 / 30%);
    --element-specific-header-shadow-two: rgb(60 64 67 / 15%);

    --font-size-paragraph: 1rem;
    --font-size-xs: 12px;
    --font-size-s: 14px;
    --font-size-m: 18px;
    --font-size-m-l: 20px;
    --font-size-l: 24px;
    --font-size-xl: 36px;
    --font-size-xxl: 48px;
    --font-size-header: 64px;

    --border-radius-xs: 3px;
    --border-radius-s: 4px;
    --border-radius-m: 5px;
    --border-radius-x: 6px;
    --border-radius-xl: 10px;
    --border-radius-xxl: 15px;
    --border-radius-max: 20px;

    --fw-bold: bold;
}

.loader{
    position:absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color:var(--colors-background);
    border-radius:var(--border-radius-m);

    width:5rem;
    opacity:0;
    z-index:1;
}

*{
    font-family: 'Raleway', sans-serif;
    transition:all 0.1s ease;
}

body{
    background:url("../img/gradient.png");
    background-size:100vw 100vh;
    background-repeat:no-repeat;
    overflow:hidden;
    margin-top: 10px;
    margin-left: 10px;
}

.lineBreak {
    width: 100%;
    height: 1px;
}

.subtext {
    font-size: var(--font-size-s);
}

.page{
    border-radius:var(--border-radius-m);
    position:absolute;
    width:calc(100vw - 1em);
    height:calc(100vh - 1em);
    background:rgba(255,255,255,0.25);
    overflow:hidden;
}

.pageContent{
    border-radius:5px;
    position:relative;
    margin-left:0.5em;
    margin-top:0.5em;
    width:calc(100vw - 2em);
    height:calc(100vh - 2em);
    background:rgba(255,255,255,0.25);
    overflow:hidden;
}

.header{
    background:var(--colors-background);
    border-radius:var(--border-radius-m) 0 r(--border-radius-m) 0;
    width:100%;
    height: 8.5vh;
}

.content{
    position:relative;
    overflow:auto;
    height:calc(92.5vh - 2em);
}

.section{
    min-height:5vh;
    width:80%;
    margin-left:10%;
    margin-right:10%;
    border-top:2px solid #f0f0ff34;
}

.sectionContent{
    background-color:var(--colors-background);
    border-radius:var(--border-radius-m);
    padding:0.5em 1em 1em 2em;
    margin-top:2em;
    margin-bottom:2em;
}

.box-narrow{
    position:relative;
    min-width:50%;
    max-width:800px;
    padding:2em;
    margin:2em auto;
    border-radius:var(--border-radius-m);
    background-color:var(--colors-background-semitransparent);
}

.box-wide{
    position:relative;
    padding:2em;
    margin:2em auto;
    min-height:75vh;
    border-radius:var(--border-radius-m);
    background-color:var(--colors-background-semitransparent);
}

.emphasize{
    background-color:var(--pwr-primary) !important;
    color: var(--colors-background) !important;
}

.emphasize:hover{
    background-color:var(--pwr-primary-dark) !important;
}

.color-danger {
    color: var(--pwr-danger) !important;
}

.color-text-light {
    color: var(--colors-text-light) !important;
}

.color-text {
    color: var(--colors-text) !important;
}

.bg-text-light {
    background-color: var(--colors-text-light) !important;
    border: 1px solid var(--pwr-primary);
}

.fullInput{
    width:calc(100% - 2em);
    margin-left:1em;
    margin-right:1em;
    border-radius:var(--border-radius-x);
    border:2px solid transparent;
    padding:10px;
}

.fullInput:hover, .fullInput:focus{
    border:2px solid var(--colors-accent);
    outline:none;
}

.font-l {
    font-size:var(--font-size-l);
}

.pwr-button {
    text-decoration: none;
    color: var(--colors-text);

    padding: 5px 10px 5px 10px;
    border-radius:var(--border-radius-m);
}

.pwr-button:hover {
    background-color: var(--colors-accent);
    color: var(--color-text);
}

.pwr-button .emphasize {
    background-color:var(--pwr-primary) !important;
    color:var(--colors-background) !important;
}

.pwr-button .emphasize:hover {
    background-color:var(--pwr-primary-dark) !important;
}

@media only screen and (max-width: 895px) {
    .hide-screen-s {
        display: none;
    }
}

@media only screen and (max-width: 400px) {
    .hide-screen-xxs {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .hide-screen-xs {
        display: none;
    }
}

/*SCROLLBAR*/


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    height:100%;
    border-radius:var(--border-radius-m);
}
   
::-webkit-scrollbar-thumb {
    background: var(--pwr-primary); 
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pwr-primary-dark); 
}

abbr {
    font-style: normal;
    position: relative;
  }

  abbr::after {
    content: attr(info);
    display: inline;
    position: absolute;
    top: 0px; left: 90%;
    opacity: 0;
    width: 230px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5em;
    padding: 0.5em 0.8em;
    background: rgba(0,0,0,0.8);
    color: #fff;
    pointer-events: none; /* This prevents the box from apearing when hovered. */
    transition: opacity 250ms, left 250ms;
    border-radius:var(--border-radius-s);
  }
  abbr::before {
    content: '';
    display: block;
    position: absolute;
    top: 0px; left: 90%;
    opacity: 0;
    width: 0; height: 0;
    border: solid transparent 5px;
    border-bottom-color: rgba(0,0,0,0.8);
    transition: opacity 250ms, left 250ms;
    transform:rotate(-90deg)
  }
  abbr:hover {z-index: 99999;} /* Keeps the info boxes on top of other elements */
  abbr:hover::after,
  abbr:hover::before {opacity: 1;}
  abbr:hover::after {left:105%;}
  abbr:hover::before {left:102%; top:50%;}

@media screen and (min-width: 1425px) {
    .box-wide{
        width:calc(70% - 10rem);
    }
}

@media screen and (max-width: 1425px) {
    .box-wide{
        width:calc(100% - 5rem);
    }
}

@media screen and (max-width: 1100px) {
    .box-wide{
        width:calc(100% - 5rem);
    }
}

@media screen and (max-width: 700px) {
    .box-wide{
        width: 100%;
        padding:0;
    }
}

