/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
@font-face { font-family: "[opendyslexic]"; src: url(".opendyslexic/compiled/OpenDyslexic-Regular.otf") format("opentype"); } 

.title {
  text-shadow: 5px 5px 3px black;
  text-align:left;
}

body {
  background-color: #330f33;
  color: #c8bfe7;
  font-family: opendyslexic, Trebuchet, Arial;
}

.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.roundbox {
  font-size: 12px;
  text-align: left;
  background-color: black;
  padding: 15px;
  border-radius: 25px;
  box-shadow: 10px 10px;
  margin: 25px;
}

.pagenotfound {
  color: white;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}


#panels {
  display: flex;
  flex-direction: row-reverse;
  height: 305px;
  background-color: black;
  border-radius: 25px;
  overflow-y: auto;
  font-size: 14px;
  border: 1px solid #330f33;
  justify-content: center;
  padding: 10px;
  min-width: 0;
}

#one {
  background-color: black; 
  border: 1px solid #330f33; 
  padding: 10px;
  font-size: 14px;
  flex: 6 1 0;
  transition: flex 0.5s;
  overflow: hidden;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 25px;
  min-width: 0;
  position: relative;
}

#two, #three, #four {
  background-color: black; 
  border: 1px solid #330f33; 
  padding: 10px;
  font-size: 14px;
  flex: 0.3 1 0;
  transition: flex 0.5s;
  overflow: hidden;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 25px;
  min-width: 0;
  position: relative;
}

#panels:hover > div {
  flex: 0.3 1 0;
}

#panels > div:hover {
  flex: 6 1 0;
  overflow-y: auto;
  overflow-wrap: break-word;
}

#one .content {
  display: block;
}

#one .placeholder {
  display: none;
}

#two .content, #three .content, #four .content {
  display: none;
}

#two .placeholder, #three .placeholder, #four .placeholder {
  display: block;
}

#two:hover .content, #three:hover .content, #four:hover .content {
  display: block;
}

#two:hover .placeholder, #three:hover .placeholder, #four:hover .placeholder {
  display: none;
}

#two:hover ~ #one .content, #three:hover ~ #one .content, #four:hover ~ #one .content {
  display: none;
}

#two:hover ~ #one .placeholder, #three:hover ~ #one .placeholder, #four:hover ~ #one .placeholder {
  display: block;
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.placeholder {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* #mymain {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
}

#reddiv, #bluediv, #yellowdiv, #pinkdiv{
  flex: 0 0 250px;
  transition-property: flex-grow;
  transition-duration: 0.5s;
  overflow: hidden;
  text-align: center;
  margin-left: 5px;
  margin-right: 5px;
}

#reddiv:not(:hover), #bluediv:not(:hover), #yellowdiv:not(:hover), #pinkdiv:not(:hover) {
  flex: 0 0 250px;
  overflow: hidden;
}

#reddiv:hover, #bluediv:hover, #yellowdiv:hover, #pinkdiv:hover {
  flex-grow: 0.95;
  overflow-y: scroll;
  overflow-wrap: break-word;
  padding-left: 10px;
  padding-right: 10px;
}
*/
