body {
  margin: 0;
  padding: 0;
  background-color: #2f2859;
  color: #fff;
  font-family: "Gotham-Thin", sans-serif;
  text-align: center;
}

@font-face {
  font-family: Gotham-Thin;
  src: url("{{ url_for('static', filename = 'Gotham_Thin.otf') }}");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.main1 {
  display: flex;
  flex-direction: row;
}

@media screen and (max-width: 1080px) {
  .main1 {
    flex-direction: column;
  }
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.middle-column {
  text-align: left;
}

.horizontal-logos {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.horizontal-logos a {
  color: white;
}

.horizontal-logos a:hover {
  color: #b3b3b3;
}

@media (min-width: 320px) and (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .sections {
    margin: 0 1rem;
  }
  .section-4 img,
  .section-5 img {
    height: 250px;
    width: 250px;
  }
  .light img {
    height: 200px;
    width: 100%;
  }
  .section-1 img {
    height: 150px;
    width: 150px;
  }
  .section-1 #overlap-name {
    position: relative;
    font-size: 2rem;
    bottom: 100px;
  }
}

@media (min-width: 640px) and (max-width: 960px) {
  body {
    font-size: 1rem;
  }
  .sections {
    margin: 0 5rem;
  }
  .section-4 img,
  .section-5 img {
    height: 400px;
    width: 500px;
  }
  .light img {
    height: 400px;
    width: 100%;
  }
  .section-1 img {
    height: 300px;
    width: 300px;
  }
  .section-1 {
    height: 300px;
    overflow: hidden;
  }
  .section-1 #overlap-name {
    position: relative;
    font-size: 3rem;
    bottom: 200px;
  }
}

@media (min-width: 960px) and (max-width: 1100px) {
  body {
    font-size: 1.2rem;
  }
  .sections {
    margin: 0 10rem;
  }
  .section-4 img,
  .section-5 img {
    height: 500px;
    width: 650px;
  }
  .light img {
    height: 500px;
    width: 100%;
  }
  .section-1 img {
    height: 400px;
    width: 400px;
  }
  .section-1 #overlap-name {
    position: relative;
    font-size: 4rem;
    bottom: 250px;
  }

}

@media (min-width: 1100px) {
  body {
    font-size: 1.5rem;
  }
  .sections {
    margin: 0 15rem;
  }
  .section-4 img,
  .section-5 img {
    height: 500px;
    width: 700px;
  }
  .light img {
    height: 600px;
    width: 100%;
  }
  .section-1 img {
    height: 400px;
    width: 400px;
  }
  .section-1 #overlap-name {
    position: relative;
    font-size: 5rem;
    bottom: 250px;
  }
  
}

.sections p {
  margin-bottom: 4rem;
}

.section-1 {
  margin-top: 7rem;
}

.section-1 #overlap-name {
  align-items: center;
  /* font-size: 4rem; */
}

.piechart-labels {
  align-self: center;
  width: 300px;
  height: 300px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
}

#sio2 {
  position: relative;
  left: 240px;
}

#fe2o3 {
  position: relative;
  left: 100px;
  top: 130px;
}

#al2o3 {
  position: relative;
  left: -30px;
  top: 50px;
}

#mgo {
  position: relative;
  left: -70px;
  bottom: 20px;
}

#others {
  position: relative;
  left: -80px;
  bottom: 90px;
}

.piechart {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  right: 80px;
  background-image: conic-gradient(
    rgba(254, 242, 148, 0.7) 40.9%,
    rgba(207, 181, 164, 0.7) 0 63.3%,
    rgba(254, 78, 179, 0.7) 0 73.3%,
    rgba(164, 45, 156, 0.7) 0 82.6%,
    rgba(120, 55, 139, 0.7) 0
  );
}

.piechart:hover {
  background-image: conic-gradient(
    rgb(254, 242, 148) 40.9%,
    rgb(207, 181, 164) 0 63.3%,
    rgb(254, 78, 179) 0 73.3%,
    rgb(164, 45, 156) 0 82.6%,
    rgb(120, 55, 139) 0
  );
}
.theme {
  background-color: rgb(251, 116, 19);
  font-size: 1em;
}

.menu-open {
  background-color: rgba(242, 237, 91, 0.855);
}
.light-mode {
  background-color: #2f2859;
  color: #fff;
}

.dark-mode {
  background-color: #080808;
  color: #fff;
}

.light {
  margin-top: 5.4rem;
}

.light #overlap-name {
  align-items: center;
}


body {
  padding-top: 56px;
}
.left-aligned {
  margin-left: auto;
}
.bg-dark {
  background-color: #343a40 !important;
}
.bg-hero {
  background-color: #45b06cff;
}

/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}
.bd-callout h4 {
  margin-bottom: 0.25rem;
}
.bd-callout p:last-child {
  margin-bottom: 0;
}
.bd-callout code {
  border-radius: 0.25rem;
}
.bd-callout + .bd-callout {
  margin-top: -0.25rem;
}
.bd-callout-info {
  border-left-color: #5bc0de;
}
.bd-callout-warning {
  border-left-color: #f0ad4e;
}
.bd-callout-danger {
  border-left-color: #d9534f;
}

/* footer */

footer {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.background {
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
}

.license {
  font-size: 15px;
  height: auto;
  background-color: black;
  position: relative;
  width: 100%;
  margin: 0;
  text-align: center;
  color: white;
}

.license p {
  margin: 0;
}
/*Pages*/

#myVideo {
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
  }

@media screen and (max-width: 640px) {
    .rutuliukas {
        width: 90%;
    }
    .textukas {
        font-size: 10vw;
    }
}

@media (max-width: 800px) {
    .article-container {
        display: flex;
        margin-top: 5rem;
        margin-bottom: 5rem;
        margin-left: 1rem;
        
        box-shadow: 0 0 10px #c4c3c3;
        border-radius: 1.25rem;
        width: 94%;
    }
}
@media (max-width: 1100px) {
    .article-container {
        display: flex;
        margin-top: 5rem;
        margin-bottom: 5rem;
        margin-left: 2rem;
       
        box-shadow: 0 0 10px #c4c3c3;
        border-radius: 1.25rem;
        width: 94%;
    }
}
.main_content {
    display: grid;
    grid-template-columns: auto auto;
    margin-top: -30%;
}

.article-container {
    margin: -5% -1%;
    max-width: 50rem;
    
   
    
    width: 69vw;
}

.table_of_contents {
    margin: 0rem 0rem;
    max-width: 20rem;
    max-height: 20rem;
    
   
    border-radius: 1.25rem;
    width: 20vw;
    position: sticky;
    top: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-content {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 3rem;
}
@media (min-width: 432px) and (max-width: 650px) {
    .paragraph{
        font-size: .8rem;
    }
}
.paragraph, .referenceList, .textUnder {
    font-family: League Spartan;
    font-weight: 300;
    font-size: 1.25rem;
    text-align: justify;
    color: #000;
    padding-bottom: 1.5rem;
    line-height: 1.15;
}
p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
.headerA {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: League Spartan;
    text-align: left;
    /* text-transform: uppercase; */
}
@media (max-width: 650px) {
    .paragraph h1 {
        font-size: 1.5rem;
        font-weight: 800;
        font-family: League Spartan;
    }
}
.paragraph h1 {
    text-align: left;
}
ul, ol {
    padding-left: 1rem;
}
.mobile-agenda {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 0;
    z-index: 35;
    width: 100%;
    box-sizing: border-box;
    transform: all .5s;
    background-color: #180f2e;
}
.mobile-agenda-header {
    display: block;
    width: 100%;
    height: 2rem;
    text-align: center;
    padding-top: 2px;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 -5px 5px #781340e3;
}
.mobile-title {
    text-transform: uppercase;
    margin-top: .25rem;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: League Spartan;
    text-align: center;
    color: #fff;
}
.mobile-closed {
    height: 0;
}
.mobile-agenda-list {
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: all .5s;
}
.mobile-agenda-ul {
    width: 100%;
    padding-bottom: 4px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.mobile-agenda-item {
    display: flex;
    align-items: middle;
    padding-top: 2px;
    padding-left: 1rem;
    padding-right: 2rem;
}

.toc_a {
    text-decoration: none;
    color: #ffb300;
}
.navbar {
  background-color:black;
  padding: 0;
}
.nav-container {
  align-items: center;
}
.navbar-toggler{
  margin-right: 5%;
}
.nav-item{
  text-align: center;
}
.dropdown-menu{
  background-color: rgba(0,0,0,0.85);
  border-radius: 0%;
}
.dropdown-item{
  color: white;
  font-size: 1.2rem;
}
.cosmobiome-logo a img {
  height: 100px;
}

.navbar-text{
  color: white;
  opacity: 1;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

@media screen and (min-width: 1365px){
  .cosmobiome-logo {
        margin-left: 10%;
        margin-right: 8%;
      }
  .nav-container {
      width: 150%;
  }
  .dropdown {
      margin-right: 10%;
  }
}
@media  (min-width: 1180px) and (max-width:1365px){
  .cosmobiome-logo {
    margin-left: 10%;
    margin-right: 8%;
  }
  .nav-container {
      width: 150%;
  }
  .dropdown {
      margin-right: 5%;
  }
}
@media (min-width: 870px) and (max-width:1180px) {
  .cosmobiome-logo {
      margin-left: 5%;
      margin-right: 3%;
  }
  .nav-container {
      width: 150%;
  }
  .dropdown {
      margin-right: 3%;
  }
}
@media (min-width: 768px) and (max-width:870px) {
  .cosmobiome-logo {
      margin-left: 0.5%;
      margin-right: 0.5%;
  }
  .nav-container {
      width: 150%;
  }
  .dropdown {
      margin-right: 0.5%;
  }
  .cosmobiome-logo a img {
  height: 80px;
}
}
@media (min-width: 414px) and (max-width: 768px){
  .cosmobiome-logo a img {
  height: 70px;
}
}
@media (max-width: 414px){
  .cosmobiome-logo a img {
  height: 60px;
}
}
@media (max-width: 767px){
  .dropdown-menu {background-color: rgba(253, 73, 1, 0.76);}
}
.right-arrow {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu li:hover .right-arrow {
    opacity: 1;
}
.dropdown-menu li .dropdown-item{
    position: relative;
}