:root {
  --textColor: #dcf;
  --bgColor: #0D0221;
  --bgGradientOne: #C0C0C0;
  --bgGradientTwo: #303030;
  --headerColor: #2DE2E6;
  --headerBGColor: #241734;
  --subtitleColor: #9c28bf;
  --sectionBGColor: #001;
  --popColor: #FF6C11;
  --dropbtnHover: #023788;
  --linkColor: #165bc5;
  --linkAltColor: #791E94;
  --fadedBG: #000A;
}

body {
  background-color: var(--headerBGColor);
  color: var(--textColor);
  font-family: 'tahoma', sans-serif;
  font-size: 16px;
  line-height: 1.3em;
  padding: 0em;
  margin: 0em;
}
.backgroundImage {
  background-image: url("./images/BackgroundMain.png");
  background-position: center;
  background-size: contain;
  background-attachment: fixed;
  margin: 0em;
}
button {
  font: inherit;
  font-size: inherit;
  line-height: inherit;
}

p {
  text-indent: 2em;
  margin: .5em 2em;
  padding: 0em;
}
p:last-child {margin-bottom:1em;}
p:first-child {margin-top: 1em;}
.noIndent {text-indent: 0em;}

ul {margin-top: .5em;}

.bold {font-weight: bold;}
.italic {font-style: italic;}

a {
  color: var(--linkColor);
  font-weight: bold;
  text-decoration: underline;
}
a:hover {color: var(--linkAltColor);}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--headerColor);
  font-size: 1.2em;
  font-family: georgia, serif;
  font-weight: bold;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-color: var(--popColor);
}
h1, .h1 {font-size: 4em;}
h2, .h2 {font-size: 2.5em;}
h3, .h3 {font-size: 2em;}
h4, .h4 {font-size: 1.5em;}
h5, .h5 {
  font-style: italic;
  font-weight: bold;
  font-size: 1.1em;
}

li {
  list-style-type: none;
  background-image: url('./images/arrow.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 1em;
  text-indent: 1.5em;
  overflow: hidden;
}

.flx-r, .flx-c, .flx-cen {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}
.flx-r {flex-direction: row;}
.flx-cen {
  justify-content: center;
  align-items: center;
}
.spaceAround {
  justify-content: space-around;
  width: 80%;
}
.mar-t {margin-top: 2em;}
.mar-b {margin-bottom: 2em;}
.pad-b {padding-bottom: 7em !important;}

.buttonBar {
  justify-content: space-around;
  align-items: center;
  width: 50%;
  margin: 1em auto 3em;
}

.sectionHeader, .sectionSubtitleLeft, .sectionSubtitleRight {
  background-color: var(--headerBGColor);
  padding: 1em auto .5em 1em;
}
.sectionHeader {
  width: 100%;
  margin: auto 0em;
  padding-top: .25em;
  text-indent: 1em;
}
.sectionSubtitleLeft, .sectionSubtitleRight {
  font-style: italic;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--subtitleColor);
  padding-top: .25em;
  padding-bottom: .5em;
  margin: 0em 2em;
}
.sectionSubtitleLeft {
  border-bottom-right-radius: 2em;
  margin-left: 0em;
  margin-right: 14%;
  padding-left: 2em;
}
.sectionSubtitleRight {
  border-bottom-left-radius: 2em;
  margin-right: 0em;
  margin-left: 2em;
}
.section {
  background-color: var(--sectionBGColor);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 90%;
  background-attachment: fixed;
  margin: 0em auto;
  max-width: 90%;
  min-width: 640px;
}
.sectionText {
  padding: 1em;
}
.sectionLeft {
  margin-left: 0em;
  margin-right: 17%;
  padding-left: 12%;
}
.sectionRight {
  margin-left: 17%;
  margin-right: 0em;
  padding-right: 12%;
}
.middleColumn {
  padding: 1em 12em 1em 7em;
}
.middleColumn a {margin-left: 15em;}
.featuresTitle {
  text-indent: 0em;
  margin: 1em auto 0em 2.5em;
  font-weight: bold;
}
.fadeBG {background-color: var(--fadedBG);}

.logo {
  width: 150px;
  min-width: 150px;
  margin: auto 1em;
}
.github {
  max-height: 1em;
  margin: 0em;
  margin-right: .5em;
  padding: 0em;
}
.lcarts {background-Image: url("./images/LCartsBG.png")}
.atom {background-image: url("./images/AtomBG.png")}
.icooked {background-image: url("./images/iCookedBG.png")}
.profilePic {
  width: 25%;
  margin: 1em auto auto 3em;
  filter: grayscale(0) contrast(1) brightness(1);
}
.JDWLogo {
  height: 5em;
  margin-right: 1em;
}

.gridSpace {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.header {
  max-width: 100%;
  background-color: var(--headerBGColor);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: auto;
  margin: auto;
  margin-left: 2em;
  margin-right: 5em;
}
.mainbody {
  overflow-y: scroll;
}
.backgroundGradient {
  background-image: linear-gradient(to bottom,var(--bgGradientOne),var(--bgGradientTwo));
}
.footer {
  width: 100%;
  background-color: var(--bgColor);
  padding: 1em 0em;
  display: flex;
  justify-content:flex-end;
}
.footer>* {margin: 0em 1em;}

/*Dropdown Menu Classes*/
.dropbtn {
  border: none;
  background-color: var(--headerBGColor);
  color: var(--headerColor);
  font-weight: bold;
  padding: 1em;
  cursor: pointer;
  text-decoration: none;
}
.dropdown {
  margin: auto;
  height: 100%;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--headerBGColor);
  min-width: 10em;
  box-shadow: 0px 8px 16px 0px var(--fadedBG);
}
.dropdown-content a {
  color: var(--headerColor);
  padding: 1em;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {background-color: var(--dropbtnHover);}
.dropdown:hover .dropdown-content {display: block;}
.dropbtn:hover {
  background-color: var(--dropbtnHover);
  color: var(--headerColor);
}

/*Modal form properties*/
.modal {
  display: none;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  outline: 0;
  background-color: var(--fadedBG);
}

.modal h3 {margin: .25em auto;}
.modal p {margin: 0em;}
.modal form {
  margin-top: 2em;
}
.modal form .buttonBar {
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 2em;
}
.modal form p {
  margin: .5em auto .25em 0em;
  text-indent: 1em;
}
.modalBox {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: 90%;
  max-width: 90%;
  background-color: var(--sectionBGColor);
  border: .5em solid var(--headerBGColor);
  padding: 2em 5em;
  max-width: 15em;
}
