footer {
  display: none;
}

.footerDiv {
  margin-block: 20px;
}

body {
  margin: 0px;
  padding: 0px;
  overflow-y: scroll;
  overflow-x: clip !important;
}
body > div.container {
  /* display: block; */
  margin: 0px !important;
  padding-inline: 0 !important;
  width: 100% !important;
  max-width: 1400px;
}

.section {
  width: 100vw;
}

.info-text {
  color: white;
  font-size: 36px;
  font-weight: 500;
  margin-inline: 50px;
  line-height: 40px;
  font-family: "Kanit", sans-serif;
}

#overlay {
  background: black;
  opacity: 1;
}

#sec1 {
  height: 200vh;
}

#sec2 .info-text {
  padding-left: 50vw;
}

canvas {
  z-index: -1;
  position: fixed;
  top: 0;
  left: 0;
  background: black;
}

#sec4,
#sec5,
#sec6,
#sec7 {
  /* center items */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  /* background: black; */
}

#sec4 {
  height: 50vh;
}

#cad-states,
#gray-states {
  fill: #a6a6a6;
}

path {
  stroke: black;
}

#se-caption {
  /* width: 0px; */
  font-size: 24px;
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  color: white;
  margin-top: 10px;
  overflow: hidden;
}

#sec7 {
  flex-direction: row;
}

#sec7 .info-text {
  max-width: calc(0.4 * 100vw);
}

#sec6 .info-text {
  position: absolute;
  max-width: calc(0.7 * 100vw);
  /* max-width: 200px; */
  left: 50%;
  background: linear-gradient(270deg, #000000 88.02%, rgba(0, 0, 0, 0) 100%);
  padding: 50px;
  margin: 0px;
  /* padding-right: 200px; */
  padding-block: 250px;
  /* text-align: center; */
}

.sec8 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40%;
}

/* homepage links */
.outlink-container {

  /* display: flex; */
  /* flex-direction: column; */
  /* align-items: center; */
  margin-inline: 10%;
  /* gap: 40px; */
  /* margin-block: 10%; */
}

.link-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 40px;
}

.card {
  flex: 1 1 0px;
  border-radius: 24px;
  max-height: 320px;
  height: 25vh;
  min-height: 150px;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Kanit", sans-serif;
  font-size: 32px;
  font-weight: 500;
  transition: filter 0.3s;
  border: solid 1px #0d0f12;
  filter: brightness(0.7);
  color: white;
  text-align: center;;
}

.card div {
    color: white;

}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: solid 1px #0d0f12;
}

.card:hover {
  text-decoration: none;
  color: white;
  filter: brightness(1);
  transition: filter 0.3s;
}

#rca {
  background: url("https://static.igem.wiki/teams/4245/wiki/headerimages/rca-rct-header.png");
  background-size: cover;
  background-position: center;
}

#modeling {
  background: url("https://static.igem.wiki/teams/4245/wiki/headerimages/modelingheader.png");
  background-size: cover;
}

#description {
  background: url("https://static.igem.wiki/teams/4245/wiki/background/description-header-updated.png");
  background-size: cover;
}
#hp {
  background: url("https://static.igem.wiki/teams/4245/wiki/headerimages/humanpractices.png");
  background-size: cover;
  background-position-y: 20%;
}
#software {
  background: url("https://static.igem.wiki/teams/4245/wiki/headerimages/software.jpg");
  background-size: cover;
}
#measurement {
  background: url("https://static.igem.wiki/teams/4245/wiki/headerimages/microq-header.png");
  background-size: cover;
}

.info-text b {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  color: red;
}
#hrm {
  position: absolute;
  left: 10%;
}

#miRNAs #rando1 {
  transform-origin: 9px 127px;
  rotate: 48deg;
}

#miRNAs #rando2 {
  transform-origin: 220px 400px;
  rotate: 75deg;
  transform: translateY(-20px);
  transform: translateX(-30px);
}

#miRNAs #rando3 {
  transform-origin: 10px 323px;
  rotate: -82deg;
}

#miRNAs #rando4 {
  transform-origin: 420px 320px;
  rotate: -50deg;
}

#miRNAs #rando5 {
  transform-origin: 390px 40px;
  rotate: 130deg;
}

#miRNAs #rando6 {
  transform-origin: 203px 4px;
  rotate: 30deg;
}

/* #miRNAs #nt1 {
  transform-origin: 150px 251px;
  rotate: -5deg;
}

#miRNAs #nt3 {
  transform-origin: 297px 278px;
  rotate: -5deg;
}

#miRNAs #nt4 {
  transform-origin: 321px 166px;
  rotate: 40deg;
}

#miRNAs #nt5 {
  transform-origin: 458px 176px;
  rotate: -48deg;
} */

#se-caption b {
  color: white;
  fill: white;
}

  img {
    max-width: 100% !important;
  }

  .container {
    margin: 0px !important;
    padding: 0px !important;
    margin-right: 0px !important;
  }


  #loading {
    height: 100%;

    z-index: 99;
    text-align: center;
    align-items: center;
    object-fit: contain;
    margin: 0px !important;
  }

.webgl-wrapper {
  overflow: hidden;
  position: fixed;
  top: 96px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: black;
  opacity: 1;
  pointer-events: none;
}

svg path {
  stroke: #0000 !important;
}