#root {
  max-width: 1200px;
  --primary-color: #fff;
  --background-color: #e5e5e5;
  --text-color: #2d2d2d;
  /* margin: 0 auto; */
}

.container {
  display: flex;
  flex-wrap: wrap;
}

.card {
  margin: 1rem;
  border: 1px solid gray;
}

@media screen and (min-width: 600px) {
  .card {
    flex: 1 1 calc(50% - 2rem);
  }
}

@media screen and (min-width: 900px) {
  .card {
    flex: 1 1 calc(33% - 2rem);
  }
}

.parentBody {
  justify-content: center;
  margin-right: 1em;
}

.faviconLink {
  color: black;
}

body {
  background-image: url(pattern-min.svg);
  background-size: 175px 175px;
  background-color: white;
  background-position: right;
}

.mainBody {
  display: flex;
  width: 80%;
  margin: 10% 0 0 10%;
  flex-direction: column;
  text-align: left;
  align-items: center;
  justify-content: center;
  margin-bottom: 5em;
  max-width: 80wd;
}

#mainBodyDiv {
  padding: 2px 16px;
  border: 1px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  border-radius: 1%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  font-family: Verdana,sans-serif;
  background-color: rgba(255, 255, 255, 0.90);
  max-width: 80ch;
}

#mainBodyDiv:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.4);
}

.footerInfoBox {
  position: fixed;
  padding: 1em 0.5em;
  justify-content: left;
  display: flex;
  float: left;
  font-size: 13px;
  color: white;
  height: 50px;
}

.footerMaster {
  display: flex;
  flex-direction: row;
  position: fixed;
  border: 1px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  font-family: Verdana,sans-serif;
  width: 100%;
  height: 50px;
  left: 0;
  bottom: 0;
  background-color: white
}

.footerSocialBox {
  display: flex;
  flex-direction: row;
  position: fixed;
  border: 1px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  font-family: Verdana,sans-serif;
  width: 100%;
  height: 50px;
  left: 0;
  bottom: 0;
  text-align: center;
  justify-content: center;
  background-color: white;
}

.footerSocialBox > .fa {
  color: black;
}

.footerText {
  /* background-color: #cecece; */
  /* background-image: linear-gradient(to right, white, #cecece, white); */
  padding: 0em 1em 0em 1em;
}


@font-face {
  font-family: '8BITWONDERNominal';
  font-style: normal;
  font-weight: normal;
  src: url("./8BITWONDERNominal.woff2") format('woff2');
}

.affirmationBox {
  font-family: '8BITWONDERNominal';
  font-weight: normal;
  font-style: normal;
  color: black;
  background-color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  padding: 0em 1em 0em 1em;
  text-align: center;
}

.affirmationBox.dark-mode {
  color: white;
  background-color: rgba(0, 0, 0, 0.95);
  font-size: 14px;
  padding: 0em 1em 0em 1em;
  text-align: center;
}

#mainBodyDiv.dark-mode {
  background-color: rgba(28, 28, 28, 0.9);
  }

#footerText {
  text-align: center;
}

.fa {
  font-size: 4.0em;
  color: inherit;
  padding: 1em;
}

.fa:hover {
    color: darken(dark-gray, 25%);
    transition: color 0.3s ease-in;
}


.dark-mode {
  background-color: rgba(28, 28, 28, 0.95);
  color: white;
  border-top-color: white;
}

.dark-mode > .faviconLink {
  color: white;
}

a {
  color: inherit;
}

.toggleDarkText {
  display: block;
  float: left;
  font-size: 13px;
}

.footerDarkMode {
  position: absolute;
  padding: 1em 0.5em;
  right: 0;
  justify-content: right;
}


body.dark-mode {
  background-image: url(pattern-min.svg);
  background-size: 175px 175px;
  background-color: #1D1D1D0A;
  background-blend-mode: difference;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}
