:root {
  --green: #66D57A;
  --purple: #A185EB;
  --yellow: #EBCC47;
  --blue: #8B9FEB;
  --black: #000;
  --error: red;
  --grey: #747070;
}
@font-face {
  font-family: "Nexa Bold";
  src: url(/fonts/NexaBold.ttf.woff);
}

body {
  background-image: url('https://static.igem.wiki/teams/4720/wiki/groningen/home-page-img/group-home-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  margin-top: 100px;
}

a {
  text-decoration: none !important;
  font-weight: 600;
  color: black;
}

.container-wrapper {
  position: relative;
}
.section-wrapper {
  max-width: 90em;
  width: 90%;
  margin: 0 auto !important;
}
.home-wrapper {
  max-width: 100em;
  margin: 0 auto !important;
}
.home-project-wrapper {
  display: flex;
  flex-direction: column;
}
.home-left {
  align-items: start;
}
.home-right {
  align-items: end;
}
.home-box {
  max-width: 75%;
}


.notebook-wrapper {
  max-width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  
}
.left-wrapper {
  max-width:30%;
}
 
.right-wrapper {
  max-width: 60%;
}

.note-box-right {
  padding: 50px 0px;
}
.left-article {
  padding: 30px 40px;
}
.right-article {
  margin: 0 70px 30px 70px;
}
.note-heading-right {
  text-align: right;
  padding: 0;
  margin-top: 0 !important;
}
.notebook-text {
  text-align: left;
  margin: 0 !important;
  padding: 0 !important;
}

/* Nebojsa Jeremics bollocks code, blame me all u want */

.nj-box {
  background-color: #000;
  border-radius: 1.5rem;
  position: relative;
}

.nj-box::before {
  content: "";
  background-color: white;
  position: absolute;
  z-index: 0;
  border-radius: 1rem;
  left: 1.5rem;
  top: 0.5rem;
  right: 0.5rem;
  bottom: 1.5rem;
  width: auto;
}

.nj-box * {
  z-index: 1;
}

.box-flip::before {
  content: "";
  background-color: white;
  position: absolute;
  z-index: 0;
  border-radius: 1rem;
  left: 0.5rem;
  top: 0.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  width: auto;
}

.nj-box.box-green {
  background-color: var(--green);
}

.nj-box.box-purple {
  background-color: var(--purple);
}

.nj-box.box-yellow {
  background-color: var(--yellow);
}

.nj-box.box-blue {
  background-color: var(--blue);
}

.nj-box.box-red {
  background-color: var(--red);
}

.nj-box.box-gray {
  background-color: var(--gray);
}
.nj-box.box-green a{
  color: var(--green);
}

.nj-box.box-purple a{
  color: var(--purple);
}

.nj-box.box-yellow a{
  color: var(--yellow);
}

.nj-box.box-blue a{
  color: var(--blue);
}

.nj-box.box-red a{
  color: var(--red);
}

.nj-box.box-gray a{
  color: var(--gray);
}

.nj-right
{
  margin-left: 3rem !important;
}
.nj-left
{
  margin-left: 1rem !important;
}

.unlisted {
  list-style-type: none;
}

.unlisted > * {
  margin-bottom: 1rem !important;
}

.team-1 {
  margin-top: 6rem;
}
.team-2 {
  margin-top: 14.5rem;
}
.team-3 {
  margin-top: 0;
}
.team-4 {
  margin-top: 4rem;
}

.group-photo {
  border-radius: 1rem;
  display: block;
  width: calc(100% - 2rem);
  margin-bottom: 2rem;

  object-fit: cover;

  position: relative;
  left: -0.5rem;
  top: 0.5rem;
}

.image {
  width: 100%;
  border-radius: 1rem;
}

.image-big {
  min-width: 40rem;
}

.figure {
  text-align: center;
}

.figure > p {
  margin-top: 1rem;
}

.flex-h {
  display: flex;
  flex-direction: row;
  gap: 5.75rem;
}

.flex-v {
  display: flex;
  flex-direction: column;
}

.flex-center{
  justify-content: center;
  align-items: center;
}

.flex-h .flex-h {
  gap: 1rem;
}

.flex-even > *{
  flex-basis: 50%;
}

.flex-up {
  align-items: start;
}

.flex-down {
  align-items: end;
}

/* HOME PAGE */
.hero-img {
  max-width: 100%;
  display: block;
}
.hero {
  padding: 100px 50px 100px 50px;
}
.bg-1 {
  top: 200px;
  left: 0;
}
.bg-2 {
  top: 6200px;
  left: 0;
}
.home-bg-img {
  width: 100%;
  height: 100% !important;
  position: absolute;
  z-index: -10;
  overflow-x: hidden !important;
  object-fit: cover;
  object-position: top;
}
/* FOOTER */
.footer-bg {
  background-image: url('https://static.igem.wiki/teams/4720/wiki/groningen/footer/group-footer-bg-black.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  margin-top: 100px;
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 400px;
}
.footer-links {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

footer {
  margin-bottom: 0 !important;
}
.footer-item {
  width: 300px;
  max-width: 300px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footer-item-line {
  border-right: 4px solid var(--green);
}
.footer-logo {
  padding: 10px;
}
.footer-item-wrapper {
  height: 80%;
  max-height: 80%;
  width: 80%;
  max-width: 80%;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}
.footer-item-wrapper p {
  font-family: 'Nexa', sans-serif;
  font-size: 37px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}
.footer-item-wrapper > ul {
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: space-evenly;
}
.footer-email {
text-decoration: none !important;
font-family: 'Nexa-Bold', sans-serif;
font-size: 26.999px;
font-style: normal;
font-weight: 400;
line-height: normal;
}
.footer-line {
  margin-top: 150px;
  margin-bottom: 120px;
  width: 100%;
  max-width: 100%;
  border: 1px solid white;
}
.footer-licens {
  margin-bottom: 250px;
}
.footer-licens p {
  text-align: center;
  color: white;
  font-family: 'Metropolis', sans-serif;
  /* font-size: 28px; */
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.footer-licens p > a {
  /* color: #264B95; */
  text-decoration: none;
}
/* HOME BOXES */


/* BOX LEFT */
.box-container {
  display: flex;
  flex-direction: row;
  justify-content:space-between;
}
.box-container-reverse {
  flex-direction: row-reverse !important;
}
.box-item-1 {
  max-width: 40%;
  align-items: center;
  justify-content: center;
}
.box-item-2 {
  width: 50%;
  max-width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-item-2 > div {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}
.box-item-2 > div > img {
  max-width: 100%;
}

/* SAFETY */
.safety-box-sm {
  width: 300px;
  max-width: 300px;
  height: auto;
}
.safety-fig-container {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.safety-fig {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-evenly;
}
.safety-img-wrapper {
display: flex;
justify-content: space-between;
}

.safety-img {
  max-width: 48%;
  object-fit: contain;
}
.safety-box-container {
  display: flex;
  flex-direction: column;
}
.safety-grid-img {
  width: 380px;
  max-width: 380px;
}
.safety-fig-box-1 {
  width: 90%;
  max-width: 90%;
  display: flex;
  flex-direction: column;
}
.safety-grid-box-1 {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr) );
  gap: 1em;
}
.safety-grid-box-1 > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.safety-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr) ) ;
  gap: 1em;

}
.safety-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* SUMMARY PAGE */

.summary-heading {
  margin: 213px 0 0 0;
}


/* Project Description page */
.desc-fig-container {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-desc-fig {
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
 .proj-desc-img {
  max-width: 90%;
}
.proj-desc-fig > figcaption {
  max-width: 90%;
}

/* Sponsors */
.sponsors-img-wrapper {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsors-img {
  max-width: 90%;
}
/* NOTEBOOK */



 /* BOX-1 */

.box-1-text {
  text-align: right;
  padding-right: 40px;
  padding-left: 20px;
  margin-bottom: 20px;
}
.box > article > :last-child {
  margin-bottom: 40px;
}
.box > article > :first-child {
  margin-top: 20px;
}
 /* BOX-2 */


/* References box */

.ref-box {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  background-color: white;
  border-radius: 50px;
}

/* Product Design */
.design-fig-box-1 {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;

}
.design-grid-img-1 {
  height: 400px;
  width: 100%;

}
.design-grid-img-2 {
  height: 400px;
  width: 100%;
}

.design-grid-box-1 {
  display: grid !important;
  grid-template-columns: 4fr 1fr;
  gap: 1em;
}
.design-grid-box-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}
.design-grid-box-3 {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

/* Team Page */
.grid-wrapper {
  height: max-content;
}
.card-container-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 2fr) ) ;
  gap: 2em;
  row-gap: 0;
}
.coache-grid {
  grid-template-columns: repeat(auto-fill, minmax(350px, 2fr) ) ;
}
.grid-card {
  height: 40rem;
  display: flex;
  justify-content: center;
}
.card-flex {
  width: 320px;
  max-width: 320px;
  height: 580px;
}
.t50 {
  margin-top: 50px;
}
.t100 {
  margin-top: 100px;
}
.t150 {
  margin-top: 150px;
}
.card-content {
  width: 80%;
  height: auto;
  margin: 20px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
.content-img{
  width: 250px;
  min-width: 250px;
  display: flex;
  justify-content: center;
}
.content-img > img {
  width: 230px;
  min-width: 230px;
}
.card-margin-l {
  margin-left: 45px;
  margin-right: 10px;
}
.card-margin-r {
  margin-right: 45px;
  margin-left: 10px;
}
.card-desc {
  margin-top: 50px;
  padding-right: 20px;
}
.card-n {
  text-align: right;
  font-family: "Nexa Bold", sans-serif;
  font-size: 36px !important;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.card-line {
  width: 100%;
  height: 1px;
  border: 1px solid;
  margin: 15px 0;
}
.name-desc {
  text-align: right;
  font-family: "Nexa-Bold", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}
.card-desc > ul {
  padding: 0 !important;
}
.card-desc > ul > li {
  list-style-position: inside !important;
}
.card-desc > ul > li::marker {
 font-size: 13px;

}
.purple-marker {
  list-style-type: circle !important;
  list-style: var(--purple) !important;
}
.purple-marker::marker {
  color: var(--purple);
}
.green-marker {
  list-style-type: circle !important;
  list-style: var(--green) !important;
}
.green-marker::marker {
  color: var(--green);
}
.yellow-marker {
  list-style-type: circle !important;
  list-style: var(--yellow) !important;
}
.yellow-marker::marker {
  color: var(--yellow);
}
.black-marker {
  list-style-type: circle !important;
  list-style: var(--black) !important;
}
.black-marker::marker {
  color: var(--black);
}



.grid-section {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}
.grid-item {
  margin: 30px;
}
.grid-col-span-2 {
  grid-column: span 2;
}
.grid-img-container{
  margin-top: 50px;
  padding: 0 45px 45px 45px;
  height: 100%;
  background-repeat: no-repeat !important;
  border-radius: 25px;
}
.grid-img {
  width: 100%;
  height: auto;
}

/**** UTILITIES ****/

/* -COLORS- */
.green {
  color: var(--green);
}
.purple {
  color: var(--purple);
}
.blue {
  color: var(--blue);
}
.yellow {
  color: var(--yellow);
}
.black {
  color: var(--black);
}
.red {
  color: var(--error);
}
.grey {
  color: var(--grey);
}

/* LINE COLORS */
.green-line {
  border-color: var(--green);
}
.purple-line {
  border-color: var(--purple);
}
.yellow-line {
  border-color: var(--yellow);
}
.black-line {
  border-color: var(--black);
}
.blue-line {
  border-color: var(--blue);
}

.margin-top-large {
  margin-top: 6rem !important;
}


/* -TEXT- */
.title-text {
  font-family: 'Nexa', sans-serif;
  font-size: 6.25rem;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}
.heading-text {
  font-family: 'Nexa', sans-serif;
  font-size: 3.125rem;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}
.box-text {
  color: #000;
  font-family: 'Metropolis', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
figcaption {
color: #000;
font-family: 'Nexa-Bold', sans-serif;
font-size: 1.1rem;
font-style: normal;
font-weight: bold;
line-height: normal;
}
.sub-heading {
  font-family: 'Nexa', sans-serif;
  font-size: 2.9rem;
  font-style: normal;
  font-weight: normal;
  line-height: normal;
  margin-bottom: 40px;
}
.sm-heading-right {
  font-family: 'Metropolis', sans-serif;
  font-size: 1.9rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: right;
  margin: 40px 0;
}
.sm-heading-left {
  font-family: 'Metropolis', sans-serif;
  font-size: 1.9rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: left;
  margin: 40px 0;
}
.bio-span {
  font-family: 'Nexa-Bold', sans-serif;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: bold;
  line-height: normal;
}
.sub-heading-left {
  text-align: left;
  padding-left: 40px;
}
.sub-heading-right {
  text-align: right;
  padding-right: 40px;
}



/* -BOX-BORDER- */
.box {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
}
.box-img {
  position: absolute;
  z-index: -5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}




/* -MARGINS- */
.heading-margins {
  margin-top: 40px;
  margin-bottom: 40px;
}
.margins {
  padding: 30px;
  margin: 30px;
}
.safety-margin {
  margin-left: 1em;
}

/* PADDING */
.extra-padding {
  padding: 5rem;
}
.ref-extra-padding {
  padding: 50px 30px;
}
.medium-padding {
  padding: 50px 70px;
}
.sm-padding {
  padding: 30px 40px;
}


.btn-wrapper {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-btn {
margin-top: 150px;
 padding: 16px 140px;
 color: #fff;
 background-color: var(--purple);
 cursor: pointer;
 text-decoration: none;
font-family: "Nexa-Bold",sans-serif; /* tipografija */
font-style: normal;
font-weight: 400;
line-height: normal;
border-radius: 30px;
font-size: 25px;
}
.home-btn:hover {
  background-color: #8866ede5;
  color: #fff !important;
}
/* WORKING SVG-BG BLOK

.border-bg {
  background-image: url("/img/Group-box-1.svg");
  background-repeat: no-repeat;
  background-size: cover;
} */

/* TEST WITH IMG END*/
/* 
@media  screen and (max-width: 1395px) {
  .box-text {
    font-size: 1rem;
  }
  .box-1-text {
    padding-bottom: 20px;
  }
}
@media  screen and (max-width: 1200px) {
  .section-wrapper {
    width: 95%;
    max-width: 95em;
    margin: 0 auto !important;
  }
  .margins {
    padding: 10px;
    margin: 15px;
  }
  .box-text {
    font-size: 1rem;
  }
  .box-1-text {
    padding: 25px 20px 0 20px;
  }
} */

/* @media  screen and (max-width: 900px) {
  .box-img {
    display: none;
  }
  .box {
    background-color: white;
    border-radius: 50px;
    opacity: 0.8;
    border: 5px solid var(--blue);
    border-top: 3px solid var(--blue);
    border-right: 3px solid var(--blue);
    border-bottom: 20px solid var(--blue);
    border-left: 20px solid var(--blue);
  }
 
} */

/* DYLLAN */

.figure-big img {
  object-fit: cover;
}

.figure-centre {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 50%;
}

p.figure-description {
  text-align: center;
}

a {
  color: rgb(37, 124, 255);
}

.toc ul {
  list-style-type: none;
  padding: 0;
}

.toc li {
  margin: 5px 0;
  padding: 5px; 
}

.toc a {
  text-decoration: none; /* Remove underlines from links */
  color: #66D57A;/
}

.back-to-toc {
  text-align: center;
}

.back-to-toc a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #66D57A;
  color: #fff !important;
  text-decoration: none;
  border-radius: 5px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #66D57A;
  color: #fff;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

.experiment-sections {
  width: 100%;
}

.orange-table th {
  background-color: #EBCC47;
  color: #fff;
}

.purple-table th {
  background-color: #a185eb;
  color: #fff;
}

.blue-table th {
  background-color: #8a9eea;
  color: #fff;
}

.card-container-grid-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; 
}

.grid-card-2 {
  padding: 0 50px 0 50px;
}

.footer-logo-2 {
  width: 230px;
  height: auto;
}

#footer-dyl a {
  font-size: 16px !important; /* Adjust the font size as needed */
  color: #fff;
}

#footer-dyl p {
  font-size: 16px !important; /* Adjust the font size as needed */
  color: #fff;
}
