
/* Rounded corners, soft shadow, and margins for the homepage profile image */
#profile-photo {
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  margin-left: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  float: right;
}

.visual-hide {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.torshi-project-logo {
  display: block;
  width: 100%;
  max-width: 48rem;
  height: auto;
  margin: 0 auto clamp(1.5rem, 4vw, 3rem);
}

.md-header__button.md-logo img {
  height: 3rem;
  margin: 0rem;
  padding: 0rem;
}

.md-consent__overlay { /** make website useable before cookie consent **/
    display: none;
}

.md-typeset a {
    --md-typeset-a-color: #3B3355;
    font-weight: 600;
}

.md-typeset a:hover {
    color: #3B3355;
    text-decoration:underline;
}

[data-md-color-scheme="slate"] .md-typeset a {
    --md-typeset-a-color: #5d6cc0;
}

[data-md-color-scheme="slate"] .md-typeset a:hover {
    color: #5d6cc0;
}

@media (min-width: 40rem) {
  .right {
    float: right
  }

  .sectionicon {
    float:right;
    font-size:8rem;
    margin-top:0px;
    margin-left:0.25em;
    line-height:0;
    color: var(--md-primary-fg-color);
  }
}

@media (max-width: 40rem) {
  .sectionicon {
    display: none !important;
  }
}

/** Event Admonitions **/

:root {
  --md-admonition-icon--event: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 19H5V8h14m-3-7v2H8V1H6v2H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2h-1V1m-1 11h-5v5h5v-5Z"/></svg>')
}
.md-typeset .admonition.event,
.md-typeset details.event {
  border-color: var(--md-primary-fg-color);
}
.md-typeset .event > .admonition-title,
.md-typeset .event > summary {
  color: var(--md-primary-fg-color);
  background-color: white;
}
.md-typeset .event > .admonition-title::before,
.md-typeset .event > summary::before {
  background-color:  var(--md-primary-fg-color);
  -webkit-mask-image: var(--md-admonition-icon--event);
          mask-image: var(--md-admonition-icon--event);
}


/* Additional styling to fix glitches */

.md-sidebar__inner {
  padding-top: 0.1em;
}
