:root {
    --card-blue: #e1edff;
    --cu-blue: #152c52;
    --white: #fff;
}


html {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  font-family: "Segoe UI", Arial, sans-serif;
  max-width: 950px;
  margin: 0px;
  height: 100%;
}
.headerRow {
  display: flex;
  background: var(--cu-blue);
  margin: 0px;

  width: 100%;
  align-items: center;
}

.theBigFlex {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  width: 100%;
  margin: auto;
}

.cardWrapper {
border: 3px solid var(--cu-blue);
    background-color: var(--card-blue);
    border-radius: 10px;
    justify-content: flex-start;
    width: 90%;
    position: relative;
    margin-left: 20px;
    flex-grow: 1;
    margin-right: 20px;
    margin-top: 10px;
    display: flex
;
    flex-direction: column;
    text-align: center;
    align-items: center;
}


#logoOnCard {
    width:80%;
    z-index: 999;
}

.hide {
  display: none;
}

.logo {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

.logo img {
  width: 80px;
}

#cardTitle {
  text-align: center;
  font-size: 1.7em;

  font-weight: bold;
  color: var(--cu-blue);
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 20px;
}

#cardBody {
  padding: 10px;
  z-index: 100;
  font-size: 1.3em;
}

#newCard {
  flex-grow: 1;
  font-weight: bold;
  border-width: 0;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  z-index: 1;
  background-color: var(--cu-blue);
  height: 40px;
  width: 100%;
  margin: auto;
  margin-top: 10px;
}

#newCard i {
  margin-left: 10px;
  margin-right: 10px;
}

.fa-hourglass-start {
  margin-right: 10px;
}

.fa-clock {
  margin-right: 5px;
}

.cuLogo img {
  width: 40px;
  margin-left: 5px;
}

#languageSwitcher, #AboutlanguageSwitcher {
  border: none;
  background: white;
  color: var(--cu-blue);
  font-weight: bold;
  padding: 10px;
}


.aboutWrapper {
  width:100%;
  height:100%;
  background: var(--card-blue);
  padding:5px 20px 5px 20px;
  color: var(--cu-blue);
}

.aTitle {
  font-weight: bold;
  font-size:1.2em;
}


#AboutlanguageSwitcher {
  margin-right:5px;
}

#theTimerGoesHere {
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 16px;
  font-size: 1.2em;
  font-weight: bold;
}

#menuRow {
    width: 100%;
    margin: auto;
    display: flex
;
    height: 50px;
    justify-content: center;
    /* border-bottom: 1px solid var(--cu-blue); */
    background: #e1edff;
}
#menuRow button {
 width: 30%;
    border: none;
    background-color: var(--cu-blue);
    color: white;
    font-weight: bold;
    margin: 5px;
    height: 40px;
    border: 1px solid var(--cu-blue);
    line-height: 15px;
}

#menuBtn, #backBtn {
  width: 50px;
  height: 50px;
  color: white;
  font-weight: bold;
  font-size: 1.5em;
  background-color: unset;
  border: none;
}

.timerRow {
  width: 90%;
  margin-top: 0px;
  text-align: center;
}

.timerButtons {
  display: flex;
  margin-top: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.timerButtons button {
  font-weight: bold;
  border-width: 0;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  z-index: 1;
  background-color: var(--cu-blue);
  height: 40px;
}

#Onemin,
#Twomin,
#Fivemin {
  flex-grow: 1;
}

#StopTimer {
  flex-shrink: 0;
  min-width: 40px;
}

#cardID {
  position: absolute;
  top: 2px;
  right: 8px;
  font-size: 1em;
  font-weight: bold;
  color: #152c52aa;
}

.timeSpacer {
  width: 10px;
}

.MTGName {
  flex-grow: 1;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  margin: 10px;
}

.menuHeader {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--cu-blue);
}

#menuModal {
  padding-bottom: 20px;
  padding-top: 20px;
}

.w3-modal-content {
  height: 100%;
}

#themeBox {
width: 100%;
    margin: auto;
    display: flex
;
    justify-content: center;
    padding-top: 3px;
    background: var(--card-blue);
    padding-bottom: 8px;
    flex-direction: column;
    position: absolute;
    top:100px;
       z-index: 1000;
    border-bottom: 2px solid var(--cu-blue);
    padding-left:20px;
    font-size: 1em;
    max-width: 950px;
}


.themes ul {
    list-style-type: none;
    padding-left:0px;
    margin-top:0px;
}

.themes ul li {
  cursor: pointer;
  font-weight: bold;
  color: var(--white);
margin-top:5px;
padding:8px 5px 8px 10px;
padding-left:10px;
background-color: var(--cu-blue)  ;
max-width: 250px;


}


#themeTitle {
      font-weight: bold;
    color: var(--cu-blue);
}

@media screen and (max-height: 465px) {
  .logo img {
    width: 60px;
  }
}

@media screen and (max-height: 400px) {
  .theBigFlex {
    flex-direction: row;
    align-items: unset;
  }

  .timerRow {
    width: 70%;
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    justify-content: center;
  }

  .timerButtons {
    flex-direction: column;
    margin-top: 0px;
  }

  .timerButtons button {
    margin-top: 10px;
  }

  #newCard {
    flex-grow: 0;
    margin: 0px;
  }

  .cardWrapper {
    margin-bottom: 10px;
  }

  #cardBody {
    margin-top: -10px;
    font-size: 1.2em;
  }

  #cardTitle {
    font-size: 1.5em;
  }
}
