/* ----- COLOR THEMES ----- */
:root {
    /* --background-color: #fff; */
    --background-color: #e0e0e0;
    /* --text-color: #121416d8; */
    --text-color: #121416;
    --link-color: #543fd7;
}

html[data-theme='light'] {
    /* --background-color: #fff; */
    --background-color: #e0e0e0;
    --text-color: #121416;
    --link-color: #543fd7;
}

html[data-theme='dark'] {
    --background-color: #212a2e;
    /* --text-color: #F7F8F8; */
    --text-color: #e0e0e0;
    --link-color: #828fff;
}
/* ----- END ----- */

html {
    font: 1rem/1.5 sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Source Code Pro", Monaco, "Consolas", "Lucida Console","DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
    /* padding: 10px */
    display: flex;
    flex-direction: column;
    background: var(--background-color);
}

html, body {
  height: 100%;
  margin: 0;
  color: var(--text-color);
}

h2 {
    margin-bottom: 0.1rem;
}

p {
    margin-top: 0.4rem;
    margin-bottom: 1.6rem;
}


p a {
    text-decoration: underline;
}

p a:link {
    color: var(--link-color);
}

p a:visited {
    color: var(--link-color);
}

p code {
    /*TODO define --code-background-color */
    background-color: var(--code-background-color);
}


body.dark-mode {
    /* color: #ffffff; */
}

@media (max-width: 960px) {
  .desktop { display: none; }
  .mobile   { display: inline-block; }
  /* nav select { display: inline-block; } */
}

@media (min-width: 960px) {
  .desktop { display: inline-block; }
  .mobile  { display: none; }
}

img {
    height: inherit;
    width: inherit;
    object-fit: cover;
}

.text-center {
    text-align: center;
}

.small-text {
    font-size: 0.8em;
}

.large-text {
    font-size: 1.5em;
}

.rotate90 {
    transform: rotate(-90deg);
}

#content {
  /* min-height: 90%; */
  /* margin-bottom: -50px; */
    margin: auto;
    padding-top: 4rem;
    padding-left: 0.6rem;
    /* padding-right: 0.6rem; */
    /* max-width: 1000px; */
    max-width: 60rem;
    width: 100%;
    /* max-width: 90%; */
}

.content-container {
    /* margin-left: 2rem; */
    margin-top: 4rem;
}

.wrapper {
    /* min-height: 100%; */
  flex: 1 0 auto;
}

.content-inside {
  padding: 20px;
  padding-bottom: 50px;
}

.footer {
    flex-shrink: 0;
    min-height: 2rem;
  /* height: 50px; */
  /* margin-top: -50px; */
  /* font-size: 0.8em; */
}

.nav-container {
    margin-top: 1rem;
}

/* .nav::before { */
/*     content: "☽"︎ */
/* } */
/* .nav::after { */
/*     content: "☽"︎ */
/* } */

.nav-container > a.nav-link {
    all: unset;
    cursor: pointer;
}

.spacing-1rem {
    height: 1rem;
    width: 100%;
}

/* .nav-link:first-child:after { */
/*     content: "\00a0\00a0" */
/* } */

.nav-link:first-child:before {
    content: "☽︎\00a0\00a0"
}

.active:first-child:before, .nav-link:hover:first-child:before {
    content: "☽\00a0☉";
}

.nav-link:last-child:after {
    content: "\00a0\00a0☾"
}
.active:last-child:after, .nav-link:hover:last-child:after {
    content: "☉\00a0☾";
}

.nav-link::before {
    content: "|\00a0\00a0";
}

.nav-link::after {
    content: "\00a0\00a0";
}

.active::before, .nav-link:hover::before {
    content: "|\00a0☉";
}

.active::after, .nav-link:hover::after {
    content: "☉\00a0";
}

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

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex1 {
    flex: 1;
}

.message {
    max-width: 100%;
    /* min-height: 16rem; */
    height: 16rem;
    margin-bottom: 1.4rem;
}

.form-group {
    text-align: left;
}

.form-row {
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

textarea {
    width: 100%;
    height: 100%;
    webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box; 
}

.contact-form {
    width: 100%;
}

.underline {
    text-decoration: underline;
}

/* ----- CARDS ----- */
.cards {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, 600px); */
    gap: 2.2rem;
    justify-content: start;
    margin-bottom: 6rem;
    margin-right: 2rem;
}


.cards h3 a {
    text-decoration: underline;
}

.projects-title {
    /* transform: rotate(-90deg); */
    margin-bottom: 1.4rem;
    font-weight: bold;
}

.card_item {
    border: 3px solid var(--text-color);
    max-height: 30rem;
    /* max-width: 22rem; */
    /* width: 600px; */
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px var(--text-color);
}

.card_item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px var(--text-color);
}

.card_item:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px var(--text-color);
}

.card_top {
    background: gray;
    flex: 1;
    height: 18rem;
    width: 100%;
}

.card_bottom {
    margin: 0.6rem;
    /* margin-bottom: 0.2rem; */
    flex: 1;
}
.card_bottom > h3 {
    margin: 0rem;
}

/* .card_top { */
/*     width: 100%; */
/*     height: 16rem; */
/*     background: #111; */
/* } */

.icon-row {
    text-align: right;
}

.icon-row a:hover {
    border-bottom: 2px solid var(--text-color);
}

.feather {
    height: 20px;
    width: 20px;
}

/* ----- BOIDS ----- */
.boid-container {
    position: absolute;
    left: 60%;
    text-align: center;
    /* width: 100%; */
    height:10rem;
}

.abs-pos {
    position: absolute;
}

.inlineblock {
    display: inline-block;
}

#boid-chars {
    width: 18rem;
    height: 100%;
    overflow-wrap: anywhere;
}

/* ----- END ----- */

/* ----- LANDING PAGE ----- */
.title_container {
    border: 2px solid var(--text-color);
    background-color: var(--background-color);
    padding: 10px;
    padding-top: 4rem;
    padding-bottom: 0.5rem;
    max-width: 15rem;
    box-shadow:
	inset 0 0 0 2px var(--background-color),
	inset 0 0 0 4px var(--text-color);
    /* inset 0 0 0 8px #ddd, */
    /* inset 0 0 0 12px #ccc, */
    /* inset 0 0 0 16px #bbb, */
    /* inset 0 0 0 20px #aaa, */
    /* inset 0 0 0 20px #999, */
    /* inset 0 0 0 20px #888; */
}

a {
    color: inherit;
    text-decoration: none;
}

a:visited {
  text-decoration: none;
}

ul {
  list-style-type: none;
  margin: 0;
  margin-top: 6px;
  padding: 0;
}

ul li::before {
    content: "╞\00a0" ;
    font-size: 20px;
	    
}
ul li:last-child::before {
   content: "╘\00a0" 
}

ul li {
    margin-top:-7px;
    margin-left: 0.5rem;
}

/* source-code-pro-regular - latin */
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/source-code-pro-v22-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/source-code-pro-v22-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-code-pro-v22-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-code-pro-v22-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-code-pro-v22-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-code-pro-v22-latin-regular.svg#SourceCodePro') format('svg'); /* Legacy iOS */
}

/* source-code-pro-700 - latin */
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/source-code-pro-v22-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/source-code-pro-v22-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/source-code-pro-v22-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/source-code-pro-v22-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/source-code-pro-v22-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/source-code-pro-v22-latin-700.svg#SourceCodePro') format('svg'); /* Legacy iOS */
}

.toggle-container {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
font-size: 1.2rem;
}

.toggle-option {
    cursor: pointer;
}

.toggle-option::before {
    content: "\00a0"
}

.selected::before {
    content: "→ "
}

/* ----- ABOUT PAGE ----- */
.center-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* text-align: left; */
    margin: auto;
    max-width: 38rem;
}

.post-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* text-align: center; */
    /* text-align: left; */
    align-items: flex-start;
    margin: auto;
    max-width: 40rem;   
    padding-left: 2rem;
    padding-right: 2rem;
}

.about-content {
    
}

.about-avatar {
    border-radius: 50%;
    height: 400px;
    width: 400px;
    background: #b3b3b3;
    position: relative;

    margin-bottom: 10rem;
}

.face {
    /* margin: auto; */
    /* position: absolute; */
    /* left: 50%; */
    font-size: 3rem;
}

#left-eye {
    position: absolute;
    top: 140px;
    left: 110px;
}
#right-eye {
    position: absolute;
    top: 140px;
    right: 110px;
}
#right-ear {
    position: absolute;
    top: 150px;
    right: 60px;
}
#left-ear {
    position: absolute;
    top: 150px;
    left: 60px;
}
#nose {
    position: absolute;
    bottom: 140px;
    left: 180px;
}
#mouth {
    position: absolute;
    bottom: 70px;
    left: 180px;
}


