/*
File: rainbowTubeRbtnsStyles.css
Location: p5js Editor
Author: klp
Date: 2/19/25
*/

/*--- google fonts */
.irish-grover-regular {
  font-family: "Irish Grover", serif;
  font-weight: 400;
  font-style: normal;
}

html{
  background-color: darkgray;
}

body{
  background-image: linear-gradient(to bottom, #f3f188, #f7e886, #f9de86, #f9d587, #f8cd88, #f4cd85, #f0ce82, #ecce80, #e0d87c, #cfe27c, #b8ed84, #99f792);
}

/* used on the loading paragraph to force footer to bottom of page */
.stickyFooter{
  min-height: calc(100vh - 70px);
}

main{
  max-width: 1000px !important;
  background-color: #f7fce5;
}

img#mastheadImg{
  width: 80px;
  height: auto;
  margin-right: 10px;
  border-radius: 50%;
  float: left;
  border: 1px solid gray;
}

header{
  background-image: url("../images/bgTile.png");
  height: 100px;
}

div#detailsDiv figure{
  width: 40%;
  max-width: 300px;
}

figure img{
  width: 100%;
  height: auto;
  border: 1px burlywood solid;
}

.clearMe{
  clear: both;
}

div#primaryContent{
  min-height: 800px;
}

canvas {
  display: block;
  border: 1px solid gray;
  margin: auto;
}

/* primaryContent, column1 */
div#pcCol1{
  background-color: rgb(248, 238, 226);
  border-top: 2px solid rgb(245, 219, 187);
}

div#controlsDiv{
  width: 90%;
}

input#alphaSlider{
  width: 70%;
  max-width: 200px;
}

/* primaryContent, column2 */
div#pcCol2{
  font-size: 1.2em;
  background-color: rgb(217, 251, 217);
  border-top: 2px solid rgb(176, 250, 176);
}

td#dCol{
  width: 40%;
}

td#hCol, td#rCol{
  width: 30%;
}


div#footerContent{
  font-size: .8em;
  margin: auto;
  width: 50%;
  max-width: 600px;
}

a{
  text-decoration: none;
  font-weight: bold;
  color: #a96210;
}

code{
  color: green;
  font-size: 1.1em;
  font-weight: bold;
}

/* https://www.geeksforgeeks.org/how-to-change-the-color-of-range-slider-in-css/ */
.accent {
  accent-color: rgb(130, 130, 247);
}

/*--- media queries ---*/
@media (max-width: 990px) {
  div#pcCol1{
    padding-bottom: 10px;
    margin-bottom: 0px;
  }

  div#pcCol2 {
    border-top: 1px solid gray;
    padding-left: 25%;
    padding-right: 25%;
  }
}

@media (max-width: 580px) {
  div#pcCol2 p{
   font-size: .7em;
  }

  table td, table th{
    font-size: .7em;
  }
}
