 body{
  background-color: #140c34;
 }
 img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
 .fpbody {
    height: fit-content;
    background-image: url("https://static.igem.wiki/teams/4234/wiki/nervebackground.png"); 
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100vm;
    padding: 0;
    margin: 0 auto;
    position: relative;
  } 

  .main-title {
    color: white;
    overflow: visible;
    font-size: 1.5rem;
    font-weight: bold;
    font-style: normal;
  
    margin: auto;
    background-color: #00539B;
    height: fit-content;
    width: fit-content;
    padding-left: 1rem;
    padding-right: 1rem;
  
    border: 6px solid #0577B1;
    border-radius: 1rem;
  
    position: relative;
    text-align: center;

    margin-top: -3rem;
    /* margin-left: 25rem; */
  }
  
  /* Problem Div main page */
  .main-problem {
    color: #1a1e21 !important;
  
    display: flow;
    clear: right;
  
    width: 90%;
    margin-top: 50px;
    margin-left: 0;
    background-color: white;

  
    padding: 1rem;
    border: 6px solid #0577B1;
    border-radius: 200rem;
  
    text-align: center;
  }
  
  .problemshow-container {
    margin: auto;
    margin-top: 3rem;
    margin-bottom: 2rem;
    width: 90%;
    display: block;
  }
  
  .fpstatImage {
    width: 90%;
  }
  
  .main-currentmodel {
    color: #1a1e21 !important;
  
    display: flow-root;
    clear: left;
    position: relative;
  
    margin: auto;
    width: 90%;
    min-width: 636px;
    height: fit-content;
    min-height: 440px;
    margin-top: 50px;
    margin-right: 0;
  
    padding: 1rem;
    border: 6px solid #0577B1;
    border-radius: 200rem;
    background-color: white;
    text-align: center;
  }
  
  .modelImage {
    position:relative;
    width: 85%;
    margin: auto;
    display: block;
    margin-top: 3.5rem;

  }

  .solutionImage {
    position:relative;
    width: 80%;
    margin: auto;
    display: block;
    margin-top: 2rem;
  }
  
  img.fptreatmentImage {
    display: block;
    padding: 1rem;
    width: 60%;
    float: right;
  }
  .fptextTreat {
      font-size: 1.5rem;
      display: block;
    box-sizing: content-box;
      float: left;
  }
  .fpTextTreatWrap {
    display: block;
    width: 35%;
    height: fit-content;
    padding: 1rem;
    padding-bottom: 0rem;
    box-sizing: content-box;
  }
  
  /* Treatment Div main page */
  .main-solution {
    color: #1a1e21 !important;
    width: 90%;
    min-width: 636px;
    max-width: 1440px;
    height: fit-content;
    min-height: 500px;
    background-color: white;

    margin-top: 50px;
    display: flow-root;
  
    padding: 1rem;
    border: 6px solid #0577B1;
    border-radius: 200rem;
  
    text-align: center;
    margin-bottom: 6rem;
  }
  
  
  img.fpImgSol {
    overflow: auto;
    display:block;
    padding: 1rem;
    padding-top: 3rem;
    float:left;
    margin-left: 0;
    width: 60%;
  }
  
  .fptextSol {
    display: block;
    width: 35%;
    height: fit-content;
    padding: 1rem;
    padding-bottom: 0rem;
    box-sizing: content-box;
    float: right;
    font-size: 1.5rem;
  }
  
  .main-sponsor {
    background-color: white; /*#DAF3EF;*/
    color: #1a1e21 !important;
  
    display: block;
    margin: auto;
  
    width: 80%;
    max-width: 1440px;
    height: 225px;
    min-height: 100px;
    max-height: 600px;
    margin-top: 70px;
    padding: 1rem;
    border: 6px solid antiquewhite;
    border-radius: 1rem;
    position: static;
  
    text-align: center;
  }

  .main-sponsor-logo {
    position: relative;
    display: flex;
    width: 25%;
    padding: 2rem;
    max-height: 200px;
    top: 1rem;
    left: 5rem;
    animation: moveleft 2s linear infinite;
  }
  .permas-container {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100%;
    width: 100%;
  }
  #permas {
    height: 150px;
    bottom: 0;
    position: absolute;
    white-space:nowrap;
  
    /* added */
    left: 0;
    animation-name: scroll;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }
  #permas img {
    height: 8%;
    padding: 1rem;
  }
  
  
  
  /* Defining for mobile*/
  @media only screen and (max-device-width: 768px) {
    .bg-hero{
      height: 100%;
    }
    .fpLogoVideo, #LogoGif{
      width: 100% !important;
    }
  
    /* Styles */
    /* About Div main page*/
    .main-about, .main-problem, .main-currentmodel, .main-solution, .main-sponsor, .main-hp, .main-education, .main-social {
  
      display: flow-root;
      margin: auto;
      width: 100% !important;
      min-width: unset !important;
      max-height: unset !important;
      height: fit-content;
      margin-top: 50px;
      flex-direction: row;
  
  
      text-align: center;
    }
    img.fpImgSol {
      width: 100%;
      float: unset;
    }
    img.fptreatmentImage{
      width: 100%;
      float: unset;
    }
    .fpTextTreatWrap {
      width: 90%;
      float: unset;
      margin: auto;
    }
    .fptextSol{
      width: 90%;
      float: unset;
      margin:auto;
    }
    .permas-container {
      height: 200px;
      margin: auto;
    }
    #fpVideo {
      width: 100%;
    }
    .main-block-container {
      width: 90%;
    }
    .main-social-grid {
      width: 80%;
      float: unset;
      margin: auto;
    }
    .fptextCont {
      font-size: medium;
      width: 100%;
      float: unset;
      margin: auto;
    }
  
  }
/* Block reveal code */
.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1.5s all ease;
  }
  
  .reveal.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .active.fade-bottom {
    animation: fade-bottom 1s ease-in;
  }
  
  .active.fade-left {
    animation: fade-left 1s ease-in;
  }
  
  .active.fade-right {
    animation: fade-right 1s ease-in;
  }
  
  @keyframes fade-bottom {
    0% {
      transform: translateY(50px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fade-left {
    0% {
      transform: translateX(-100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes fade-right {
    0% {
      transform: translateX(100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  .main-block-container {
    display: block;
    margin: auto;
    width: 75vw;
    max-width: 1000px;
  }
  
  .source-container {
    color: black;
    border-bottom: beige 2px solid;
    padding-bottom: 10px;
    font-size: 0.75rem;
  }
  
  .source-container:empty {
    display: none;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  @keyframes moveleft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  /* Defining dots*/
.mySlides {
    display: none;
  }
  
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px 0 0;
    background-color: #73A5C6;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .dot.active, .dot:hover {
    background-color: #012169;
  }
  
  /* Fading animation */
  .fadeShow {
    animation-name: fadeShow;
    animation-duration: 1.5s;
  }
  
  @keyframes fadeShow {
    from {
      opacity: 0.4;
    }
    to {
      opacity: 1;
    }
  }
