/** Add your extra/custom CSS classes below */

:root  > * {
  --md-primary-fg-color:        #0099FF;
  --md-primary-fg-color--light: #0099FF;
  --md-primary-fg-color--dark:  #0099FF;
  --md-accent-fg-color:#F03B13;
}

body{background-color: #F7F1ED;}

.md-header {
  --md-default-fg-color: #F7F1ED;
  --md-default-bg-color--light: #0099FF;
}

.md-tabs { 
	--md-default-fg-color: #F03B13;
  --md-default-bg-color--light: #0099FF;
}

/* Style page titles h1, h2, h3 */
.md-typeset{
  color: #1c2226;
}

.md-typeset h1 {
  font-family: monospace;
  margin: 0 0 1.25em;
  font-size: 2.6em;
  line-height: 1.3;
  color: #F03B13;
  font-weight: 600;
  justify-self: center;
}

.md-typeset h2 {
  font-family: monospace;
  color: #F03B13;
  font-weight: 600;
  font-size: 1.75em;
}

.md-typeset h3 {
  font-family: monospace;
  color: #1c2226;
  font-weight: 700;
}

.md-typeset mark {
  background-color: #f03b1381;
}

.md-typeset blockquote {
  color: #1c2226bd;
}

/* Style navigation right */
.md-nav--secondary .md-nav__title {
  font-weight: 500;
  font-family: monospace;
  background: #F7F1ED;
}

.md-nav__link .md-typeset {
  color: inherit;
}

.md-nav__item .md-nav__link--active, .md-nav__item .md-nav__link--active code {
  color: var(--md-accent-fg-color);
}

/* Style box */
.md-typeset .admonition.note, .md-typeset details.note {
  background-color: #f03b1312;
}

.md-typeset .note>.admonition-title:before, .md-typeset .note>summary:before {
  background-color: #f03b13;
}

.md-typeset .note>.admonition-title:after, .md-typeset .note>summary:after {
  color: #f03b13;
}

.md-typeset .admonition.danger, .md-typeset details.danger {
  background-color: #f03b1312;
}

.md-typeset .danger>.admonition-title:before, .md-typeset .danger>summary:before {
  background-color: #f03b13;
}

.md-typeset .danger>.admonition-title:after, .md-typeset .danger>summary:after {
  color: #f03b13;
}

.md-typeset .admonition.abstract, .md-typeset details.abstract {
  background-color: #f03b1312;
}

.md-typeset .abstract>.admonition-title:before, .md-typeset .abstract>summary:before {
  background-color: #f03b13;
}

.md-typeset .abstract>.admonition-title:after, .md-typeset .abstract>summary:after {
  color: #f03b13;
}

/* Style code */
.md-typeset code {
  background-color: #1c2226f5;
}

.md-typeset code, .md-typeset kbd, .md-typeset pre {
  color: #f7f1ee;
}

/* Style blocknote */
[dir=ltr] .md-typeset blockquote {
  border-left: .2rem solid #f03b1312;
}

/* Style navigation bar left */
.md-nav--primary .md-nav__item .md-nav__link--active {
  color: var(--md-accent-fg-color);
  background: #f03b1312;
}

/* Style header */

/* size of header */
.md-header__inner.md-grid{
  padding-top: 0.8rem;
  padding-right: 0.4rem;
  padding-left: 0.4rem;
}  

/* layout of header*/

.md-header__inner{
  display: grid;
  grid-template-columns: 20% 60% 20%;
  grid-template-rows: 50% 50%;
  justify-content: space-between;
}

/* name under icon */

/* placement of text */

.md-header__title {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  position: relative;
  width: 100%;
}

/* center it under icon */

.md-header__topic {
  left: 50%;
  transform: translateX(-50%);
}

/* center transition text under icon */

.md-header__title--active .md-header__topic + .md-header__topic {
  transform: translateX(-50%);
}

/* search bar */

.md-search {
  padding: .2rem 0;
  grid-column: 3;
  grid-row: 1;
  justify-self: flex-end;
}

/* flower icon */

.md-header__button.md-logo img, .md-header__button.md-logo svg {
  display: block;
  width: auto;
  height: 2.2rem;
  fill: currentcolor;
}

.md-header__button.md-logo {
  padding: .4rem;
  margin: .2rem;
  grid-column: 2;
  justify-self: center;
}

/* button for side navigation pannel */

.md-header__button[for=__drawer] {
  display: none;
}

/* option for other display in header*/

.md-header__option {
  display: none;
}

/* Header style when changing screen size */
/* search button */

@media screen and (max-width: 60em) {
  .md-header__button[for=__search] {
    grid-column: 3;
    grid-row: 1;
    justify-self: flex-end;
  }
  }

/* flower icon */

@media screen and (min-width: 76.25em) {
  .md-header__button.md-logo {
    display: block;
    grid-row: 1;
    grid-column: 2;
}
}

@media screen and (max-width: 76.2344em) {
.md-header__button.md-logo {
  display: block;
}
}

/* navigation tabs */

@media screen and (max-width: 76.2344em) {
  .md-tabs {
      display: block;
  }
}

/* Header animation smaller when scrolling */

.md-header {
  animation: smaller-header linear;
  animation-timeline: scroll();
  animation-range: 0 200px;
}

@keyframes smaller-header {
  from {padding-bottom: 5rem;}
  to {padding-bottom: 1rem;}
}

/* Get to know me page */

.get-to-know-me {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

img.\.get-to-know-me-photo {
  width: 800px;
  max-width: 100%;
}

.get-to-know-me-text {
  margin: 0;
}

@media screen and (max-width: 32em) {
  .get-to-know-me{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Assignments page */
.assignments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.assignments-grid .row{
  display: contents;
}
.assignment-link{
  position: relative;
  aspect-ratio: 651 / 477;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.assignment-link:hover{
  opacity: 0.7;
}
.assignment-link img{
  width: 100%;
}
.assignment-link span{
  position: absolute;
  left: 0;
  padding: 6px;
  bottom: 0;
  width: 100%;
  font-weight: bold;
  color: white;
  background: #12121261;
}

@media screen and (max-width: 60em) {
  .assignments-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3D models display in week 02 */

.kinect-models {
  display: flex;
}