@charset "UTF-8";
:root {
  --bgcolor: #fff;
  --textcolor: #073642;
  --transition-speed: 0.5s;
  --border-radius: 12px;
  --accent: #f25a38;
  --accent-alt: #f2b544;
  --accent-lighter: #ceae84;
  --link-col: #8F0E22;
  --font-size: 1.2rem;
  --h1-size: 2.5rem;
  --h2-size: 2rem;
  --h3-size: 1.5rem;
  --h4-size: 1.2rem;
  --h5-size: 1rem;
  --h6-size: 0.8rem;
  --p-size: 1rem;
  --text-primary: #b6b6b6;
  --text-secondary: #ececec;
  --bg-primary: #23232e;
  --bg-secondary: #141418;
  --transition-speed: 0.5s;
  --mat-1: #FFEBEE;
  --mat-2: #FCE4EC;
  --mat-3: #F3E5F5;
  --mat-4: #EDE7F6;
  --mat-5: #E8EAF6;
  --mat-6: #E3F2FD;
  --mat-7: #E1F5FE;
  --mat-8: #E0F7FA;
  --mat-9: #E0F2F1;
  --mat-10: #E8F5E9;
  --mat-11: #F1F8E9;
  --mat-12: #F9FBE7;
  --mat-13: #FFFDE7;
  --mat-14: #FFF8E1;
  --mat-15: #FFF3E0;
  --mat-16: #FBE9E7;
  --mat-17: #EFEBE9;
  --mat-18: #FAFAFA;
  --mat-19: #ECEFF1;
  --font: Manrope, Montserrat, Momcake, Sugo, sans-serif;
  scrollbar-color: var(--textcolor) var(--accent);
  scrollbar-width: thin;
  --accent1: #f05751;
  --swiper-theme-color: var(--accent1) !important;
}

h1 {
  text-align: center;
  font-weight: bold;
  color: var(--text-secondary);
  padding: 3% 5%;
  font-size: var(--h1-size);
  display: block;
  font-family: Sugo;
}
h1 span {
  font-family: inherit;
}

#main-title {
  width: 100vw;
  background-color: black;
  background: url("https://static.igem.wiki/teams/4382/wiki/wikiinternal/fire.gif");
}

h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
}

h2 {
  padding: 2% 0;
  padding-top: 10vh;
  font-weight: normal;
  font-size: var(--h2-size);
}

h3 {
  font-weight: normal;
  font-size: var(--h3-size);
  padding: 1% 0;
  padding-top: 2em;
}

h2 > span,
h3 > span,
h4 > span,
h5 > span,
h6 > span {
  font-family: inherit;
  font-weight: normal;
}

h4 {
  font-weight: normal;
  font-size: var(--h4-size);
  padding: 1% 0;
}

h5 {
  font-weight: normal;
  font-size: var(--h5-size);
  padding: 1% 0;
}

h6 {
  font-weight: normal;
  font-size: var(--h6-size);
  padding: 1% 0;
}

p {
  font-size: var(--p-size);
  padding: 1% 0;
  /* Don't break words */
  word-break: keep-all;
  /* line spacing to 1.1 */
  line-height: 1.5;
  font-family: Manrope;
}

strong {
  font-family: ManropeB;
}

ol,
ul {
  margin: 0 10px;
  font-family: var(--font);
}

li {
  margin: 4px;
}

a:hover {
  background-color: var(--accent);
  color: var(--bgcolor);
}

strong {
  font-weight: 800;
}

body {
  overflow-x: hidden;
}

main {
  background-color: white;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "“" "”" "‘" "’";
}
blockquote::before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}
blockquote::after {
  color: #ccc;
  content: close-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-left: 0.25em;
  vertical-align: -0.4em;
}

/*------------------------------------Search----------------------------------*/
.search-area {
  margin: 10px;
  z-index: 2;
  position: absolute;
  position: static;
  right: 10px;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 2px solid var(--accent);
}

.searchIcon {
  width: 1em;
  height: 1em;
}

.searchplace {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 20em;
  padding: 0 10px;
}

#searchField {
  border: 3px solid transparent;
  text-align: center;
  height: 2em;
  width: 90%;
  margin: 0 7%;
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

#searchField:focus {
  outline: none;
}

#searchFieldContainer {
  flex: 3;
  align-items: center;
  justify-content: center;
}

#searchResults {
  backdrop-filter: blur(10px);
}

#searchResults > li {
  list-style: none;
  transition: var(--transition-speed);
}

#searchResults > li a {
  color: var(--accent);
  display: block;
  text-decoration: none;
  padding: 10px;
}
#searchResults > li a:hover {
  color: var(--bgcolor);
  background-color: var(--link-col);
  border-radius: var(--border-radius);
}

.search-area a {
  color: var(--accent);
}
.search-area a:hover {
  color: none;
  background-color: transparent;
}

/*************************/
tbody,
th,
td {
  border: 1px solid;
}

table {
  font-size: 1.2rem;
  max-width: 90vw;
  margin: 10px auto;
  overflow-y: auto;
  display: block;
  overflow-x: auto;
  border-spacing: 0;
}

tbody {
  white-space: nowrap;
}

th,
td {
  padding: 5px 10px;
  border-top-width: 0;
  border-left-width: 0;
}

th {
  position: sticky;
  top: 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  vertical-align: bottom;
  background: var(--accent1);
  color: var(--text-secondary);
}

th:last-child,
td:last-child {
  border-right-width: 0;
}

tr:last-child td {
  border-bottom-width: 0;
}

/*-----------------------------------------------------------*/
.graycolor {
  filter: grayscale(100%) opacity(0.7);
  transition: var(--transition-speed);
}

.graycolor:hover {
  filter: grayscale(0%) opacity(1);
}

/*---------------------------Home page-----------------------------*/
#block-head {
  position: fixed;
  z-index: 2;
  width: 100vw;
  transition: 1s;
  backdrop-filter: blur(5px);
}

.page-container {
  scroll-snap-type: y proximity;
  scroll-padding-top: 0;
  width: 100%;
}

.page-1 {
  position: relative;
  top: 0;
}

.bg-img {
  background-image: url("https://static.igem.wiki/teams/4382/wiki/imgs/homepage/1.jpg");
  padding-left: 50vw;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
}

.h20vh {
  height: 20vh;
}

.h60vh {
  height: 60vh;
}

.dark {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

.nav-title {
  -webkit-text-stroke: 2px rgb(0, 0, 0);
}

.nav-logo img {
  filter: drop-shadow(0 0 0.01rem #000);
}

@media screen and (max-width: 1000px) {
  #main-title {
    margin-top: 13vh;
  }
  .grid-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 5px;
    height: 100%;
    width: 100%;
  }
  .grid-2 .text-half {
    width: 100%;
  }
  .grid-2 .img-half {
    width: 100%;
    height: 100%;
  }
  .nav-logo {
    grid-column: 1/2;
    grid-row: 1;
  }
  .nav-logo img {
    height: 18vh;
  }
  .nav-title {
    grid-column: 1/2;
    grid-row: 2;
  }
  .nav-title h1 {
    font-size: 5vh;
    padding: 0;
  }
  .nav-search {
    grid-column: 1/2;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-search .search-area {
    margin: 0;
  }
  .grid-5 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    height: 100%;
    width: 100%;
  }
  .grid-5 .grid-5-in {
    width: 10vh;
    height: 13vh;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin: 5px;
  }
  .grid-5 .grid-5-in:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
  }
  .grid-5 .grid-5-in .icon-5 {
    height: 9vh;
  }
  .grid-5 .grid-5-in .icon-5 img {
    height: 100%;
    width: 100%;
  }
  .grid-5 .grid-5-in .text-5 {
    text-align: center;
  }
  .right-slit {
    padding-left: 0;
  }
  .video-container {
    height: 50vh;
  }
  .page-container {
    height: unset;
  }
}
@media screen and (min-width: 1000px) {
  #block-head {
    height: 13vh;
  }
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 10px;
    padding: 10px;
    grid-auto-rows: minmax(20vh, 20vh);
  }
  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-gap: 10px;
    padding: 10px;
  }
  .grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-gap: 5px;
    height: 100%;
    width: 100%;
  }
  .grid-5-in {
    margin: 2vh 10%;
    height: 15vh;
    width: 15vh;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }
  .grid-5-in:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
  }
  .grid-5-in .icon-5 {
    height: 10vh;
  }
  .grid-5-in .icon-5 img {
    height: 100%;
    width: 100%;
  }
  .grid-5-in .text-5 {
    text-align: center;
  }
  .nav-logo {
    grid-column: 1/2;
    grid-row: 1;
  }
  .nav-logo img {
    height: 10vh;
    margin-left: auto;
    margin-right: auto;
  }
  .nav-title {
    grid-column: 2/3;
    grid-row: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .nav-title h1 {
    font-size: 7vh;
    padding: 0;
  }
  .nav-search {
    grid-column: 3/4;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-search .search-area {
    margin: 0;
  }
  .right-slit {
    padding-left: 5rem;
  }
  #bu-5-container {
    padding: 0 10%;
  }
}

/*# sourceMappingURL=root.css.map */
