/* Import Monserrat font */
@import url("../vendor/montserrat/montserrat.css");
/* Variables and basic elements */
/* ----------------- Base HTML elements ----------------- */
/* Default styling of all elements */
* {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

/* Structure elements ----------------- */
html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: none !important;
  font-size: 1rem;
  line-height: 1.3rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  color: rgb(23, 55, 79.5);
}

main {
  display: flex;
  flex-direction: column !important;
  align-items: none !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: 100%;
}

/* Headings ------------- */
h1 {
  color: #2e6e9f;
  font-size: 1.5rem;
  line-height: 1.95rem;
  font-weight: 600;
}

h2 {
  color: #2e6e9f;
  font-size: 1.4rem;
  line-height: 1.82rem;
  font-weight: 600;
}

h3 {
  color: #2e6e9f;
  font-size: 1.3rem;
  line-height: 1.69rem;
  font-weight: 600;
}

h4 {
  color: #2e6e9f;
  font-size: 1.2rem;
  line-height: 1.56rem;
  font-weight: 600;
}

h5 {
  color: #2e6e9f;
  font-size: 1.1rem;
  line-height: 1.43rem;
  font-weight: 600;
}

p .warn {
  color: #9f2e6e;
  font-size: 0.75rem;
  line-height: 0.975rem;
}

/* Importance ----------------- */
em,
strong {
  color: #2e6e9f;
}

strong {
  font-weight: 600 !important;
}

/* No hyperlink colour change ---- */
a,
a:visited,
a:hover,
a:active {
  outline: none;
  color: inherit;
}

/* Lists ------ */
li::marker {
  color: #2e6e9f;
}

/* Hide elements -------- */
.hidden {
  display: none !important;
}

/* Limit the max width of the website */
.limit-box {
  max-width: 1024px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: inherit !important;
  margin-left: auto;
  margin-right: auto;
  background-color: inherit;
}

.page-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(238.28, 243.4, 247.32);
  opacity: 1;
  z-index: 1000;
  animation: load-out 0.7s 0.1s;
  animation-fill-mode: forwards;
}
@keyframes load-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    z-index: -1000;
  }
}
/* ------------------------ header structure element ------------------------ */
header {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
  text-align: left;
  background-color: #fff;
  border-bottom: 1px solid #cccccc;
}
header #header_left_side {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: left !important;
  flex-wrap: wrap-reverse !important;
  margin: 1rem 0;
}
header #header_left_side h1,
header #header_left_side .site-title {
  font-size: 1.3rem;
  line-height: 1.69rem;
  align-self: center;
  margin: 0.5rem 1rem 0.5rem 1.75rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
header #header_right_side {
  display: flex;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  margin: 1rem;
}
header #header_right_side #about_us_link {
  transition: all 0.3s ease;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  display: inline-block;
}
header #header_right_side #about_us_link span {
  transition: all 0.3s ease;
}
header #header_right_side #about_us_link iconify-icon {
  transition: all 0.3s ease;
}
header #header_right_side #about_us_link:hover {
  color: #61ace0 !important;
  background-color: inherit !important;
  transform: none;
}
header #header_right_side #about_us_link:hover span {
  color: #61ace0 !important;
  background-color: inherit !important;
}
header #header_right_side #about_us_link:hover iconify-icon {
  color: #61ace0 !important;
  background-color: inherit !important;
}
header #header_right_side #about_us_link {
  text-align: right;
  margin-top: 1rem;
  cursor: help;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
header #header_right_side #language_box {
  display: inline-flex;
}
header #header_right_side #language_box #world_icon {
  width: 39px;
  color: #2e6e9f;
}
header #header_right_side #language_box #language_switch {
  position: relative;
  margin-right: 0.25rem;
}
header #header_right_side #language_box #language_switch span {
  position: absolute;
  top: 25%;
  width: 50%;
  pointer-events: none;
  text-align: center;
}
header #header_right_side #language_box #language_switch span.FR {
  left: 0;
  padding-left: 2px;
  color: #2e6e9f;
  font-weight: 600;
}
header #header_right_side #language_box #language_switch span.EN {
  right: 0;
  padding-right: 4px;
  color: rgb(183.94, 205.7, 222.36);
  font-weight: 400;
}
header #header_right_side #language_box #language_switch input.check-toggle-round-flat:checked ~ .FR {
  color: rgb(183.94, 205.7, 222.36);
  font-weight: 400;
}
header #header_right_side #language_box #language_switch input.check-toggle-round-flat:checked ~ .EN {
  color: #2e6e9f;
  font-weight: 600;
}
header #header_right_side #language_box #language_switch .check-toggle {
  display: none;
}
header #header_right_side #language_box #language_switch .check-toggle + label {
  display: block;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
header #header_right_side #language_box #language_switch input.check-toggle-round-flat + label {
  background-color: #2e6e9f;
  width: 97px;
  height: 35px;
  padding: 2px;
  border-radius: 30px;
}
header #header_right_side #language_box #language_switch input.check-toggle-round-flat + label:after {
  position: absolute;
  content: "";
  width: 48px;
  top: 4px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  border-radius: 30px;
  transition: margin 0.2s;
}
header #header_right_side #language_box #language_switch input.check-toggle-round-flat:checked + label:after {
  margin-left: 44px;
}
header {
  /* Language toggle ------------------------------ */
}
header input.check-toggle-round-flat:checked ~ .FR {
  color: rgb(183.94, 205.7, 222.36);
  font-weight: 400;
}
header input.check-toggle-round-flat:checked ~ .EN {
  color: #2e6e9f;
  font-weight: 600;
}
header .check-toggle {
  display: none;
}
header .check-toggle + label {
  display: block;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
header input.check-toggle-round-flat + label {
  background-color: #2e6e9f;
  width: 97px;
  height: 35px;
  padding: 2px;
  border-radius: 30px;
}
header input.check-toggle-round-flat + label:after {
  position: absolute;
  content: "";
  width: 48px;
  top: 4px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  border-radius: 30px;
  transition: margin 0.2s;
}
header input.check-toggle-round-flat:checked + label:after {
  margin-left: 44px;
}

/* ----------------------- hgroup structure element ------------------------- */
hgroup {
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
hgroup h1,
hgroup h2 {
  margin-bottom: 1.5rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
hgroup p {
  font-size: 1.1rem;
  line-height: 1.43rem;
  max-width: min(700px, 92vw);
}
hgroup .highlight {
  transition: all 0.3s ease;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  display: inline-block;
}
hgroup .highlight span {
  transition: all 0.3s ease;
}
hgroup .highlight iconify-icon {
  transition: all 0.3s ease;
}
hgroup .highlight:hover {
  color: #61ace0 !important;
  background-color: inherit !important;
  transform: none;
}
hgroup .highlight:hover span {
  color: #61ace0 !important;
  background-color: inherit !important;
}
hgroup .highlight:hover iconify-icon {
  color: #61ace0 !important;
  background-color: inherit !important;
}
hgroup .isolated {
  margin-top: 1.25rem;
}

/* --------------------- Section structure elements  -----------------------  */
section {
  padding: 4rem 2rem;
}

#big_button_section {
  background-color: rgb(238.28, 243.4, 247.32);
  padding-bottom: 0;
}
#big_button_section hgroup {
  max-width: min(600px, 100vw);
}
#big_button_section {
  /* https://prismic.io/blog/css-hover-effects#39-inward-shadow */
}
#big_button_section #big_button {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  border: 1px solid #2e6e9f;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  font-size: 1.5rem;
  line-height: 1.95rem;
  text-align: center;
  color: white;
  box-shadow: inset calc(-1 * mult-text(11)) calc(-1 * mult-text(11)) 0 #3f92cf, inset mult-text(11) calc(-1 * mult-text(11)) 0 #7db123, inset calc(-1 * mult-text(11)) mult-text(11) 0 #a72778, inset mult-text(11) mult-text(11) 0 #dfc81c, 0 0 20px transparent;
  transition: all ease 0.6s;
  width: mult-text(11);
  height: mult-text(11);
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
#big_button_section #big_button:hover, #big_button_section #big_button:active {
  box-shadow: inset 0 0 0 transparent, inset 0 0 0 transparent, inset 0 0 0 transparent, inset 0 0 0 transparent, 0 0 30px rgb(150.5, 182.5, 207);
  transform: scale(1.05);
  color: #61ace0;
  font-weight: 550;
  border: 1px solid transparent;
}

#experiment_section {
  background-color: rgb(238.28, 243.4, 247.32);
  padding-bottom: 7rem;
}
#experiment_section #experiment_box {
  display: flex;
  flex-direction: initial !important;
  align-items: none !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  margin-top: 1.5rem;
}

#about_us hgroup p {
  color: rgb(98.25, 146.25, 183);
}
#about_us #trombinoscope_box {
  display: flex;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  max-width: min(1200px, 92vw);
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
}

/* Cards for the experiment and about sections */
.card {
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: 275px;
  margin: 0.667rem;
  background-color: white;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.card .card-bottom .title {
  color: #2e6e9f;
  font-weight: 600;
  transition: all 0.3s ease;
}
.card .card-bottom .desc {
  font-size: 0.9rem;
  line-height: 1.17rem;
  max-width: 225px;
  color: rgb(23, 55, 79.5);
  text-align: center;
}

.card-expe {
  border: 1px solid #cccccc;
  border-radius: 3px;
  transition: all 0.25s ease;
}
.card-expe .card-bottom {
  display: flex;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  height: 200px;
  padding: 1.5rem 1rem;
}
.card-expe .card-bottom .time {
  font-size: 0.85rem;
  line-height: 1.105rem;
  color: rgb(129.6, 168, 197.4);
}
.card-expe img {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid #cccccc;
  border-radius: 0px;
}
.card-expe:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
}
.card-expe:hover .title {
  transform: scale(0.9975);
  color: #61ace0;
}

.card-about {
  cursor: auto;
  align-self: flex-start;
  margin: 1.5rem;
}
.card-about .card-bottom {
  display: contents;
  justify-content: flex-start;
}
.card-about .card-bottom .card-text {
  margin: 0.667rem 0;
}
.card-about .card-bottom .title {
  font-size: 1.1rem;
  line-height: 1.43rem;
}
.card-about .card-bottom .links-row {
  padding-bottom: 0.667rem;
}
.card-about .image-cropper {
  overflow: hidden;
  height: 200px;
  border-radius: 50%;
}
.card-about .image-cropper img {
  width: 200px;
  height: auto;
}

/* ----------------------- footer structure element ------------------------- */
footer {
  display: flex;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  width: 100%;
  width: -moz-available;
  width: -webkit-fill-available;
  width: stretch;
  max-width: 100vw;
  min-height: 3.5rem;
  background-color: rgb(238.28, 243.4, 247.32);
  border: 1px solid #cccccc;
  border-radius: 0px;
}
footer a {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  height: 100%;
}
footer .sub-footer {
  background-color: inherit;
  height: 100%;
  flex: 1;
}
footer #left_footer {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: left !important;
  flex-wrap: nowrap !important;
  text-align: left;
}
footer #center_footer {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
}
footer #center_footer .circle-icon-box {
  height: 70%;
  aspect-ratio: 1/1;
  position: relative;
  margin: 0 0.75rem;
}
footer #center_footer .circle-icon-box span {
  border: 1px solid #cccccc;
  border-radius: 50%;
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  background-color: white;
  color: #2e6e9f;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
footer #center_footer .circle-icon-box span:hover {
  border: 1px solid transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1.05);
  background-color: #2e6e9f !important;
  color: white !important;
}
footer #right_footer {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: right !important;
  flex-wrap: nowrap !important;
  text-align: right;
  transition: all 0.3s ease;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  display: flex;
}
footer #right_footer span {
  transition: all 0.3s ease;
}
footer #right_footer iconify-icon {
  transition: all 0.3s ease;
}
footer #right_footer:hover {
  color: #61ace0 !important;
  background-color: inherit !important;
  transform: none;
}
footer #right_footer:hover span {
  color: #61ace0 !important;
  background-color: inherit !important;
}
footer #right_footer:hover iconify-icon {
  color: #61ace0 !important;
  background-color: inherit !important;
}
footer #right_footer {
  cursor: pointer;
}
footer #right_footer #legal_info {
  font-size: 0.85rem;
  line-height: 1.105rem;
  color: #2e6e9f;
  margin-top: 0.25rem;
}
footer #right_footer .icons {
  color: #2e6e9f;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
footer {
  /* Dialog boxes -------------- */
}
footer dialog {
  max-width: min(500px, 92vw);
  text-align: center;
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
  padding: 1.667rem;
  border: 1px solid #cccccc;
  border-radius: 0px;
  transition: all 0.3s ease;
}
footer dialog::backdrop {
  background: rgba(46, 110, 159, 0.2);
}
footer dialog h3.mtop {
  margin-top: 1rem;
}
footer dialog p {
  margin-top: 0.5rem;
}
footer dialog p.justified {
  text-align: justify;
}
footer dialog p #o2switch {
  color: #2e6e9f;
  transition: all 0.3s ease;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  display: inline;
}
footer dialog p #o2switch span {
  transition: all 0.3s ease;
}
footer dialog p #o2switch iconify-icon {
  transition: all 0.3s ease;
}
footer dialog p #o2switch:hover {
  color: #61ace0 !important;
  background-color: inherit !important;
  transform: none;
}
footer dialog p #o2switch:hover span {
  color: #61ace0 !important;
  background-color: inherit !important;
}
footer dialog p #o2switch:hover iconify-icon {
  color: #61ace0 !important;
  background-color: inherit !important;
}
footer dialog p #cc_by {
  transition: all 0.3s ease;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  display: inherit;
}
footer dialog p #cc_by span {
  transition: all 0.3s ease;
}
footer dialog p #cc_by iconify-icon {
  transition: all 0.3s ease;
}
footer dialog p #cc_by:hover {
  color: #61ace0 !important;
  background-color: inherit !important;
  transform: none;
}
footer dialog p #cc_by:hover span {
  color: #61ace0 !important;
  background-color: inherit !important;
}
footer dialog p #cc_by:hover iconify-icon {
  color: #61ace0 !important;
  background-color: inherit !important;
}
footer dialog p #cc_by {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  color: #2e6e9f;
  margin-top: 0.25rem;
}
footer dialog p #cc_by #icon_1 {
  margin-left: 0.5rem;
}
footer dialog .blue-button {
  font-size: 1.05rem;
  line-height: 1.365rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #2e6e9f;
  color: white;
  outline: none;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.5rem 1rem;
  margin-top: 1.5rem;
  transition: all 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}
footer dialog .blue-button:hover {
  color: white;
  background: #61ace0;
  border: 1px solid transparent;
  border-radius: 4px;
}
footer dialog #close_or_email {
  display: inline-flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
}
footer dialog #close_or_email a {
  display: inline;
  margin-left: 1rem;
}
footer dialog #close_or_email a button {
  background-color: #61ace0;
  transition: all 0.3s ease;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  display: inline-flex;
}
footer dialog #close_or_email a button span {
  transition: all 0.3s ease;
}
footer dialog #close_or_email a button iconify-icon {
  transition: all 0.3s ease;
}
footer dialog #close_or_email a button:hover {
  color: #3f92cf !important;
  background-color: white !important;
  transform: none;
}
footer dialog #close_or_email a button:hover span {
  color: #3f92cf !important;
  background-color: white !important;
}
footer dialog #close_or_email a button:hover iconify-icon {
  color: #3f92cf !important;
  background-color: white !important;
}
footer dialog #close_or_email a button {
  align-items: center;
}
footer dialog #close_or_email a button:hover {
  font-weight: 600;
  border: 1px solid #3f92cf;
  border-radius: 4px;
}
footer dialog #close_or_email a button .smol-icon {
  margin-left: 0.5rem;
}

/* EMC logos --------------------- */
.logo-box {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: 125px;
  margin: 0.5rem 0px 0.5rem 1rem;
}
.logo-box img {
  width: 125px;
  height: auto;
  transition: all 0.3s ease;
}
.logo-box img:hover {
  transform: scale(1.05);
}

/* ----------------- Icons ----------------- */
.icons {
  width: 24px;
}

.big-icon {
  width: 36px;
}

.smol-icon {
  width: 20px;
  margin: 0.1rem;
}

.pro {
  color: #2e6e9f;
  margin: 0 0.15rem;
  transition: all 0.3s ease;
}
.pro:hover {
  color: #61ace0;
  transform: scale(1.05);
}

/* ----------------- Social Media ----------------- */
/* Container for hover animation */
.social-bg {
  display: flex;
  flex-direction: initial !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.social-bg:hover {
  transform: scale(1.05);
}

/* SM colours and colour animations*/
.univ-logo {
  background: #fff;
  color: #2e6e9f;
  border: 1px solid #cccccc;
}
.univ-logo:hover {
  background: #4c313e;
  color: #fff;
  border: 1px solid transparent;
}

.facebook {
  background: #fff;
  color: #3b5998;
  border: 1px solid #cccccc;
}
.facebook:hover {
  background: #3b5998;
  color: #fff;
  border: 1px solid transparent;
}

.linkedin {
  background: #fff;
  color: #0a66c2;
  border: 1px solid #cccccc;
}
.linkedin:hover {
  background: #0a66c2;
  color: #fff;
  border: 1px solid transparent;
}

:focus-visible {
  outline: 3px solid #61ace0;
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: #61ace0;
  color: #fff;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#language_switch {
  display: flex;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 0.5rem;
  color: #2e6e9f;
}
#language_switch svg {
  width: 1.4rem;
  height: 1.4rem;
  flex: 0 0 auto;
  color: #3f92cf;
}
#language_switch select {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  line-height: 1.235rem;
  font-weight: 600;
  color: #2e6e9f;
  background-color: #fff;
  border: 2px solid #61ace0;
  border-radius: 999px;
  padding: 0.35rem 2.1rem 0.35rem 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232e6e9f'%3E%3Cpath d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 1rem;
}
#language_switch select:hover {
  border-color: #3f92cf;
  background-color: rgb(247.35, 247.35, 247.35);
}
#language_switch select:focus-visible {
  outline: 3px solid #61ace0;
  outline-offset: 2px;
}
#language_switch select option {
  color: #2e6e9f;
  background-color: #fff;
}

.card-badge {
  font-size: 0.85rem;
  line-height: 1.105rem;
  font-style: italic;
  font-weight: 600;
  color: #9f2e6e;
  background-color: rgb(247.32, 238.28, 243.4);
  border-radius: calc(0.5 * min(3vmax, 1rem));
  padding: 0.35rem 0.6rem;
  margin: 0 0 0.5rem 0;
  text-align: center;
}
.card-badge[hidden] {
  display: none;
}

.card-other-language img {
  filter: saturate(0.75);
}

.card-langs {
  font-size: 0.78rem;
  line-height: 1.014rem;
  margin: 0.75rem 0 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid #cccccc;
  color: rgb(140.05, 175.25, 202.2);
  width: 100%;
}
.card-langs .card-langs-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 0.7rem;
  line-height: 0.91rem;
}
.card-langs .card-langs-list {
  display: inline-flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.15rem;
}
.card-langs .lang-chip {
  font-weight: 600;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgb(192.3, 211.5, 226.2);
  color: rgb(108.7, 153.5, 187.8);
}
.card-langs .lang-chip.is-current {
  background-color: #61ace0;
  border-color: #61ace0;
  color: #fff;
}

.card-other-language .card-langs {
  color: #9f2e6e;
}
.card-other-language .card-langs .card-langs-label {
  color: #9f2e6e;
}

#language_switch select option {
  color: #2e6e9f;
  background-color: #fff;
  font-weight: 500;
}
#language_switch select option:checked {
  color: #fff;
  background-color: #3f92cf;
}

@supports ((-webkit-appearance: base-select) or (-moz-appearance: base-select) or (appearance: base-select)) {
  #language_switch select,
  #language_switch select::picker(select) {
    -webkit-appearance: base-select;
       -moz-appearance: base-select;
            appearance: base-select;
  }
  #language_switch select {
    background-image: none;
    padding-right: 0.9rem;
    gap: 0.5rem;
  }
  #language_switch select::picker-icon {
    color: #2e6e9f;
    transition: transform 0.25s ease;
  }
  #language_switch select:open::picker-icon {
    transform: rotate(180deg);
  }
  #language_switch select::picker(select) {
    border: 2px solid #61ace0;
    border-radius: calc(1.2 * min(3vmax, 1rem));
    background-color: #fff;
    padding: 0.3rem;
    margin-top: 0.35rem;
    box-shadow: 0 6px 18px rgba(46, 110, 159, 0.35);
    opacity: 0;
    transition: opacity 0.18s ease, overlay 0.18s allow-discrete, display 0.18s allow-discrete;
  }
  #language_switch select:open::picker(select) {
    opacity: 1;
  }
  @starting-style {
    #language_switch select:open::picker(select) {
      opacity: 0;
    }
  }
  #language_switch select option {
    font-size: 0.95rem;
    line-height: 1.235rem;
    color: #2e6e9f;
    background-color: transparent;
    border-radius: calc(0.9 * min(3vmax, 1rem));
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  #language_switch select option:hover, #language_switch select option:focus, #language_switch select option:active {
    background-color: rgb(215.5, 234.25, 247.25);
    color: rgb(32.2, 77, 111.3);
  }
  #language_switch select option:checked {
    background-color: #61ace0;
    color: #fff;
    font-weight: 600;
  }
  #language_switch select option::checkmark {
    display: none;
  }
}
#experiment_box,
#trombinoscope_box {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, 275px);
  grid-auto-rows: 1fr;
  justify-content: center;
  align-items: stretch;
  gap: 1.334rem;
}

#experiment_box .card,
#trombinoscope_box .card {
  height: 100%;
  margin: 0;
}

.card-expe .card-bottom {
  height: auto;
  min-height: 200px;
  flex: 1 1 auto;
}

.card-media {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.card-ribbon {
  position: absolute;
  top: 1.55rem;
  left: -4.5rem;
  width: 20rem;
  padding: 0.28rem 0;
  transform: rotate(-20deg);
  transform-origin: center;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
  color: #2e6e9f;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.148rem;
  text-align: center;
  letter-spacing: 0.01em;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.card-ribbon:empty {
  display: none;
}