.header{
  background: linear-gradient(to top, #3b709f97, #3b709f97), url("https://static.igem.wiki/teams/5311/header-videos/models.jpeg") no-repeat center/cover;
}

.arrow ul {
    list-style-type: '\2192';
    padding: 20px;
    justify-content: center;
    margin: 0;
}

.arrow li {
    margin-bottom: 15px;
    padding-left: 10px;
}

.space-ordered-list ol{
    padding: 20px;
    justify-content: center;
    margin: 0;
}

.space-ordered-list li {
    margin-bottom: 15px;
    padding-left: 10px;
}

/*collapsible*/

.collapsible {
    background-color: #3b719f;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    border-radius: 5px;
    font-family: 'Epilogue', sans-serif;
  }
  
.collapsible:hover {
    background-color: #5a8dc1;
  }
  
.collapsible:after {
    content: '\002B';
    color: #efebdf;
    font-weight: bold;
    float: right;
    margin-left: 5px;
  }
  
.collapsible.active:after {
    content: "\2212";
  }
  
.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #efebdf;
  }

.active + .content {
    padding: 18px 18px; 
    border-radius: 5px;
    max-height: none;
}

/* PLOTS */

.plot { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; }
.plot-container { width: 100%; margin-bottom: 40px; }
.sliders { display: flex; justify-content: space-around; width: 100%; margin-bottom: 20px; flex-wrap: wrap; }
.slider-plot { display: flex; flex-direction: column; align-items: center; margin: 10px; }
canvas { width: 100%; max-height: 400px; min-height: 300px; }

#sis_skinbait_plot_container canvas,
#stochastic_sis_plot_container canvas,
#stochastic_sis_skinbait_plot_container canvas{
  width: 100%; max-height: 600px; min-height: 400px;
}

button{
  font-family: 'Epilogue', sans-serif;
  padding: 3px;
}

@media (max-width: 768px) {
  canvas { width: 100%; max-height: 300px; min-height: 300px; }
}

@media (max-width: 576px) {
  canvas { width: 100%; max-height: 300px; min-height: 300px; }
}

/* MATH */
@media (max-width: 768px) {
  .MathJax_Display { font-size: 0.75em; }
}

@media (max-width: 376px) {
  .MathJax_Display { font-size: 0.5em; }
}

.image-center {
  text-align: center;
  margin: 20px auto;
  max-width: 100%; /* Ensures responsiveness */
}
.image-center img {
  width: 30%;
  max-width: 600px; /* Set a max-width for the image */
  height: auto; /* Maintain aspect ratio */
  border-radius: 5px; /* Optional rounded corners */
}
.image-center-big {
  text-align: center;
  margin: 20px auto;
  max-width: 100%; /* Ensures responsiveness */
}
.image-center-big img {
  width: 100%;
  max-width: 600px; /* Set a max-width for the image */
  height: auto; /* Maintain aspect ratio */
  border-radius: 5px; /* Optional rounded corners */
}
.image-center-big-footer {
  text-align: center;
  font-size: 0.9em; /* Smaller font for footer */
  color: #555; /* Grey color for footer */
  margin-top: 8px;
  font-style:italic;
}
.image-right{
  float:right;
  height:200px;
  padding-left:10px;
}
.image-left{
  float:left;
  height:200px;
  padding-right:10px;
}
.image-right img, .image-left img{
  object-fit: contain;
  width: 100%;
  height: 100%;
}

