@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Dangrek&family=Exo:wght@500;700&family=Gruppo&family=Jura:wght@600&family=K2D&family=Red+Hat+Text:wght@500&family=Roboto&family=Roboto+Flex:opsz,wght@8..144,500&display=swap');
:root {
  --md-sys-color-background: #000000;
  --md-sys-color-primary: #ec1c24;
  --md-sys-color-secondary: #ad8884;
}
@-webkit-keyframes moveDown { 0% {top: 0;}
100%{top:367px; }
}
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100%;
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-primary);
    font-family: 'Roboto Flex', sans-serif;
}

p {
    margin: 0;
    padding: 0;
}
.error-msg {
  margin: 10px 0;
  padding: 10px;
  border-radius: 3px 3px 3px 3px;
  color: #D8000C;
  background-color: #FFBABA;
}
i {
font-size: 0.73em;
}
a {
    color: inherit;
    text-decoration: none;
}

#wrapper {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100%;
    position: relative;
}



p.title {
    margin: 0;
    padding: 0;
    text-align: center;
    font-variant: small-caps;
    font-size: 60px;
}

.titleImg {
    height: 50px;
    margin: 20px 20px 0 20px;
}

p.center {
    text-align: center;
}

#content {
    margin: 0;
    padding-bottom: 40px;
    width: 100%;
}

#clock {
    background-color: var(--md-sys-color-background);
    text-align: center;
    font-size: 10vh;
    margin: 0;
    padding: 0;
    font-weight: 200;
      position: sticky;
  color: var(--md-sys-color-secondary);
}

#centerbox {
    z-index: 1;
    position: relative;
    font-weight: 400;


    left: 50%;
    transform: translate(-50%, 0%);
    font-family: 'Roboto Flex', sans-serif;
    width: 100%;
}
#weekend {
visibility: hidden;
  font-family: 'Roboto Flex', sans-serif;
  text-align: center;
  font-size: 2.5vh;
  color: var(--md-sys-color-primary);
}
.hide {
  visibility: hidden;
}

.center {

    z-index: 1;
    position: fixed;
    font-weight: 400;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Roboto Flex', sans-serif;
    width: 100%;  
    -webkit-animation-name: moveDown;
  -webkit-animation-timing-function: ease-in;
  -webkit-animation-duration: 1s;
}

#date {
    background-color: var(--md-sys-color-background);
    text-align: center;
    font-size: 3.5vh;
    margin: 0;
    padding: 0;
  color: var(--md-sys-color-secondary);
}

#schedTitle {
    color: var(--md-sys-color-secondary);
    background-color: var(--md-sys-color-background);
    text-align: center;
    font-variant: normal;
    font-size: 4.5vh;
    margin: 0;
    padding: 0;
}

#studentMessage {
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-secondary);
    text-align: center;
    font-variant: normal;
    font-size: 25px;
    margin: 0;
    padding: 0;
}

#message {
    background-color: var(--md-sys-color-background);
    border-radius: 10px;
    margin: 0;
    padding: 0;
    color: var(--md-sys-color-primary);
    text-align: center;
    font-size: 5vh;
    border: solid;
    font-weight: 500;
  

}

#center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#next-message,
#plus-next-message {
    background-color: var(--md-sys-color-background);
    padding: 0;
    color: var(--md-sys-color-secondary);
    text-align: center;
    font-size: 4vh;
    
}
#next-message {
  border-radius: 10px 10px 5px 5px;
  border: solid;
  margin: .5;
  margin-top: 0;
}
#plus-next-message {
  border-radius: 5px 5px 10px 10px;
  border: solid;
  margin: .5;
}

#cd {
    border-radius: 10px;
    background-color: var(--md-sys-color-background);
    margin: .5;
    padding: 0;
    color: var(--md-sys-color-secondary);
    text-align: center;
    font-size: 4vh;
    border: solid;
}
#cdcd {
      font-size: 1.5em;
}

#schedulebox {
    width: 80vw;

    float: center;
    text-align: center;
    margin: 0 0 1% 10%;
    padding: 0;
    font-size: 1.5vh;
}

#message {
    font-size: 5vh;
    border-radius: 10px;
    color: var(--md-sys-color-primary);
}

#countdown {
    font-size: 5.5vh;
    color: green;
    font-weight: 200;
  line-height: 5.5vh;
  margin-top: 10px;
}
#battery-status {
  border-radius: 5px;
  font-weight: 200;
  font-size: 2vh;
  margin-left: 86vw;
  margin-top: 86vh;
  position: fixed;
  z-index: 99998;
  height: 1.5em;
}
#w {
  color: var(--md-sys-color-secondary);
  font-weight: 200;
  font-size: 2vh;
  margin-left: 7vw;
  margin-top: 86vh;
  position: fixed;
  z-index: 99999;
  display: block;
  text-align: center;
  height: 1.5em;

}
#temp {
   display: inline-block;
  padding-top: auto;
  padding-bottom: auto;
  height: 2em;
}
#con {
   display: inline-block;
  padding-top: auto;
  padding-bottom: auto;
  height: 2em;
}
.wicon {
  height: 2em;
  vertical-align: middle;
  padding-left: .02vw;
  padding-right: .01vw;
  display: inline-block;
}
.high {
color: green;
}
.mid {
color: orange;
}
.low {
color: red;
}
.high i{
color: green;
}
.mid i{
color: orange;
}
.low i{
color: red;
}
.modal {
  display: none;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  justify-content: center;
}
.modal-content {
  background-color: var(--md-sys-color-background);
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  overflow: 10vh auto;
  border-radius: 10px;
}

.close {
  background-color: var(--md-sys-color-background); 
  color: var(--md-sys-color-secondary);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modal-content .btn .top {
  border-radius: 5px 5px 2px 2px;
  margin-bottom: 5px;
}
.modal-content .btn .bottom {
 border-radius: 2px 2px 5px 5px;
 margin-top: 5px;
}
.top {
  border-radius: 10px 10px 5px 5px;
}
.modal-content .btn {
    display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  font-family: Arial;
  color: var(--md-sys-color-secondary); /*secondary*/
  background-color: var(--md-sys-color-background); /*Background*/
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  cursor: pointer;
  border: solid #292929 2px;
  margin-top: 5px;
  margin-bottom: 5px;
  
}

#Tdefault { 
  color: #ec1c24;  /*Primary*/
  background-color: #000000; /*Background*/
  border-color: #ad8884; /*Secondary*/
}
#Tdev { 
  color: #3c7add; /*Primary*/
  background-color: #1b1b1d; /*Background*/
  border-color: #bec6dc; /*Secondary*/
}
#Tdiscord { 
  color: #5865F2; /*Primary*/
  background-color: #313338; /*Background*/
  border-color: #dbdee1; /*Secondary*/
}
#Tfrost { 
  color: #4CDADA; /*Primary*/
  background-color: #191C1C; /*Background*/
  border-color: #B0CCCB; /*Secondary*/
}
#Tforest { 
  color: #54b75f; /*Primary*/
  background-color: #001a00; /*Background*/
  border-color: #6c989f; /*Secondary*/
}
vl {
  -webkit-border-radius: 5;
  -moz-border-radius: 5;
  border-radius: 5px;
  background-color: var(--md-sys-color-secondary); /*primary*/
  margin: 10px 90% 10px 90%;
  padding:1px 2px 1px 2px;
  width:2px;
}

hr {
  -webkit-border-radius: 5;
  -moz-border-radius: 5;
  border-radius: 5px;
  background-color: var(--md-sys-color-secondary); /*primary*/
}


