@font-face {
  font-family: LucymarSansRegular;
  src: url("/assets/fonts/Lucymar/LucymarSans-Regular.ttf");
}

@font-face {
  font-family: redkostComic;
  src: url("/assets/fonts/Redkost-Comic/Redkost Comic.otf");
}

@font-face {
  font-family: 'Baloo 2 Variable';
  src: url("/assets/fonts/Baloo2/baloo-2-latin-400-normal.woff"),
    url("/assets/fonts/Baloo2/baloo-2-latin-400-normal.woff2");
}

:root {
  --latestColor: mediumaquamarine;
  --confidenceColor: #43334C;
  /*#687196*/
  /*#819A91*/
  --sciFormsColor: #F4EBD3;
  --toolsColor: #57b2ce;
  --DIYsColor: #BAD8B6;
  --interactivesColor: rgb(239, 133, 122);
  --simCardHighlight: #7EACB5;
  --talksColor: #F4EBD3;
  --footerColor: #2f2e2e;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Baloo 2 Variable';
}

body,
html {
  height: 100%;
  line-height: 1.8;
  font-size: 18px;
  scroll-padding-top: 60px;
  overflow-x: auto;
}

.w3-bar .w3-button {
  padding: 16px;
}

canvas {
  margin: 0;
  padding: 0;
}

.logoFA {
  font-family: redkostComic;
  font-size: 18px;
  text-align: center;
}

#home span:hover {
  cursor: default;
}

.sectionHeader {
  font-family: redkostComic;
  width: 100%;
  text-align: center;
}

.sectionDescriptor {
  width: 100%;
  padding: 0 calc((100% - 500px) / 2) 18px;
}

.sectionContainer {
  display: flex;
  /* position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: scroll; */
  flex-wrap: wrap;
  justify-content: center;
  border-radius: 48px 48px 0 0;
  /* padding-bottom: 36px;
  margin-bottom: -36px; */
}

.obsRespoTitle {
  text-align: right;
  padding-right: 24px;
  width: 25%;
}
.obsRespoContent {
  padding-right: 10%;
  width: 75%;
}
.obsRespoCard {
  flex: 1 1 200px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 5px;
  padding: 20px;
  box-sizing: border-box;
  min-width: 350px;
  max-width: 350px;
  height: fit-content;
  align-self: stretch;
}
.obsRespoCard img {
  width: 310px;
}

#FAjumbo,
#FAxxlarge {
  display: contents;
}

/* LATEST */
#latestDiv {
  overflow-y: auto;
  text-align: left;
}

.latestItem {
  display: flex;
  margin: 24px 0;
  align-items: center;
  justify-content: start;
}

.latestItemDate {
  width: 124px;
  text-align: right;
  padding: 8px 24px;
  flex: none;
}

.latestItemText {
  padding: 0 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.7);
}

#latest {
  background-color: var(--latestColor);
  color: rgba(0, 0, 0, 0.7);
  border-radius: 48px 48px 0 0;
}

/* transparentDiv. */
.transparentDiv {
  height: 120px;
}

/* CONFIDENCE 2.0 */
#confidence {
  background-color: var(--confidenceColor);
  /* background: linear-gradient(to top, #a2e684, #00b7ff); */
  color: rgba(255, 255, 255, 0.8);
  border-radius: 48px 48px 0 0;
}

.confidenceCard {
  flex: 1 1 200px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 5px;
  padding: 20px;
  box-sizing: border-box;
  min-width: 300px;
  width: 350px;
  height: fit-content;
  align-self: stretch;
}

/* SCIFORMS */
#sciForms {
  display: flex;
  flex-wrap: wrap;  
  background-color: var(--sciFormsColor);
  color: rgba(0, 0, 0, 0.7);
  border-radius: 48px 48px 0 0;
}

#sciFormsMenu {
  margin: 24px auto;  
  text-align: center;
}
#sciFormsMenu button {
background-color: rgba(0,0,0,0.2);
  color: rgba(0,0,0,0.7);
  border-radius: 8px;
  margin: 4px;
}
#sciFormsGrid {
  width: 80%;
}
#sciFormsGrid .grid-item {
  /* min-width: 200px;  */
  background-color: var(--sciFormsColor);  
  color: rgba(255, 255, 255, 0.8);    
  text-align: center;
  margin: 8px;  
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 12px;
}
.sciFormsTitle {  
  background-color: rgba(0,0,0,0.2);
  color: rgba(0,0,0,0.7);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  width: 200px;    
}




/* TOOLS */
#tools {
  background-color: var(--toolsColor);
  color: rgba(255, 255, 255, 0.8);
}

#tools img {
  max-width: 300px;
  display: block;
  margin: auto;
  margin-top: 24px;
  border-radius: 8px;
}

.toolsCard {
  flex: 1 1 200px;
  /* background-color: rgba(255, 255, 255, 0.1); */
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  margin: 5px;
  padding: 20px;
  box-sizing: border-box;
  min-width: 350px;
  max-width: 350px;
  height: fit-content;
  align-self: stretch;
}

#tools a {
  text-decoration: none;
}

.toolsCard:hover {
  background-color: rgba(255, 255, 255, 0.1);
}


/* DIYs */
#DIYs {
  background-color: var(--DIYsColor);
  color: rgba(0, 0, 0, 0.7);
  border-radius: 48px 48px 0 0;
}

#DIYs img {
  max-width: 300px;
  display: block;
  margin: auto;
  padding-top: 24px;
}

/* INTERACTIVES */
#interactives a {
  text-decoration: none;
}
#interactivesMenu {
  margin: 48px auto 24px;  
  text-align: center;
}
#interactivesMenu button {
background-color: #F4EBD3;
  color: rgba(0,0,0,0.6);
  border-radius: 8px;
}
.grid {
  width: 100%;  
  align-items: center;
  text-align: center;
}
#interactivesGrid .grid-item {
  width: 200px;   
  background-color: #222;
  color: rgba(255, 255, 255, 0.8);    
  text-align: center;
  margin: 8px;  
  border-radius: 8px;
}
.grid-item img {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
.interactiveTitle {  
  background-color: #F4EBD3;
  color: rgba(0,0,0,0.6);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  max-width: 200px;    
}

.grid-item--width2 {
  width: 50%;  
}

#interactives {
  background-color: var(--interactivesColor);
  color: rgba(255, 255, 255, 0.8);
}


/* TALKS */
#talks {
  background-color: var(--talksColor);
  color: #444;
  border-radius: 48px 48px 0 0;    
}

#sims {
  background-color: var(--simsColor);
  color: #444;
}

#talks img {
  width: 100%;
  display: block;
  padding: 16px 16px 0;
  object-fit: scale-down;
  max-height: 225px;
}

.studentsDrop {
  height: 250px;
  background: "pink";
  overflow-y: auto;
  border: 2px solid rgba(0, 0, 0, 0.2);
  padding: 6px;
  text-align: left;
  font-size: 12pt;
}

.studentsDrop ul {
  margin-left: -22px;
}

#projects img {
  width: 100%;
  display: block;
  padding: 16px 16px 0;
  object-fit: scale-down;
}

#sims img {
  width: 200px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.simsContainer {
  height: 150px;
  display: flex;
  align-items: end;
  /* background: white; */
}

.simsContainer a {
  text-decoration: none;
}

.simSlides {
  margin: 0 auto;
  text-align: center;
}

.simCards {
  background-color: white;
  border-radius: 12px;
  border: 2px solid var(--simCardHighlight);
  color: rgba(0, 0, 0, 0.7);
}

.simCardTitle {
  /* background: rgba(0,0,0,0.7); */
  background: var(--simCardHighlight);
  width: 200px;
  color: white;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.indicatorsDiv {
  padding-bottom: 16px;
  color: var(--simCardHighlight);
}

.indicatorsDiv:hover {
  color: black;
}

.simCardCircles {
  border: 1px solid var(--simCardHighlight);
  background-color: white;
}

.simCardCirclesBgActive {
  background-color: var(--simCardHighlight);
}

.simCardCirclesBgWhite {
  background-color: white;
}

.simCardCirclesBgBlack {
  background-color: black;
}

.simCardCircles:hover {
  background-color: black;
  border: 1px solid black;
}

footer {
  background-color: var(--footerColor);
  color: white;
  /* margin-top: 180px; */
  /* margin: 0 34px 12px; */
  border-radius: 48px 48px 0 0;
}

footer a {
  color: white;
}

.mySlides {
  display: none;
}

.w3-left,
.w3-right,
.w3-badge {
  cursor: pointer;
}

.w3-badge {
  height: 13px;
  width: 13px;
  padding: 0;
}

/* pages not homepage */
.mainContent {
  max-width: 1200px;
  margin-top: 18px;
}

.mainContent h1 {
  text-align: center;
}

.toTop {
  position: absolute;    
  bottom: 32px;
  right: 12px;
  background-color: rgba(255,255,255,0.5);
  margin-right: 24px;
  border-radius: 30px;
  width: 30px;
  text-align: center;  
  opacity: 0.5;
}

.toTop:hover {
  cursor: pointer;
  opacity: 1;
}