/* todo: custom fonts? */

/* overall style */

:root {
    --bgcolour:#eeeeee;
    --bgcolour2:#bbbbbb;
    --body:#000000;
    --body2:#888888;
    --accent:#f07c87;
    --accent2:#f07c87;
    --accent3:#f07c87;
    scroll-behavior: smooth;
    background: var(--bgcolour);
}

main {
    width:80%;
    align-items:center;
    margin: 3em auto 6em;
}

img {
    max-width:100%;
    height:auto;
}

a {
    color: var(--accent);
}

/* header */
header {
    width:90%;
    align-items:center;
    margin: 0 auto;
    text-align:center;
}

h1.title {
    font-size:8em;
    margin: 0.8em auto 0.2em;
    line-height: 0.8em;
}

img.logo {
    height:128px;
    display:inline-block;
    padding-right: 0.1em;
    vertical-align: top;
}

hr.header{
    width:90%;
    border:2px solid var(--body2);
}

/* navigation */
nav {
    width:90%;
    align-items:center;
    margin: 0 auto 1em;
    font-size: 1.2em;
}

nav ul {
    display: flex;
    align-items:center;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    width: 60%;
}

nav li{
    display: inline-block;
    margin: 0 1em;
}

/* project cards */
div.project_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:1em;
}

div.project_container {
    gap:1em;
}

section.project {
    flex-basis:25%;
    gap:1em;
}

h2.project {
    margin-top:0;
}
h3.project {
    style:italic;
}

p.project {
}

p.project_links {
    font-style:italic;
    color: var(--body2);
}

section.project_v {
    gap: 1em;
    display: flex;
    margin-bottom:4em;
}

div.projectdesc_v {
    flex:80%;
}

/* member cards */

section.member {
    display: flex;
    gap:1em;
    margin-bottom:2em;
}

hr.member{
    color: var(--body2);
    margin-bottom:1em;
}

aside.member{
    width:128px;
}

img.member{
    max-width:100%;
    height:auto;
    border-radius: 50%;
}

div.member_profile{
    flex:80%;
}

h2.member{
    margin-top: 0;
}

/* footer */
footer {
    width:90%;
    align-items:center;
    margin: 0 auto;
    text-align:center;
    color: var(--body2);
    font-style:italic;
}

/* plugins */
.eleventy-plugin-youtube-embed {
    margin-bottom:1em;
}

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

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

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

.columns-container{
    display:flex;
    gap:1em;
}

.columns-66{
    flex: 66%;
    flex-grow: 0;
}

.columns-33{
    flex: 33%;
    flex-grow: 0;
}

.columns-50{
    flex: 50%;
    flex-grow: 0;
}

.columns-fill{
    flex: 1;
}

.sidenote-left{
    color:var(--body2);
    padding-right:1em;
    border-right-style:solid;
    border-right-width:0.2em;
    border-right-color:var(--body2);
}

.sidenote-right{
    color:var(--body2);
    padding-left:1em;
    border-left-style:solid;
    border-left-width:0.2em;
    border-left-color:var(--body2);
}

@keyframes exampleAnimation {
    0%   {color: red;}
    12%  {color: orange;}
    25%  {color: yellow;}
    37%  {color: green;}
    50%  {color: cyan;}
    62%  {color: blue;}
    75%  {color: purple;}
    87%  {color: pink;}
    100% {color: red;}
}

.exampleattr{
    color:blue;
    font-family: monospace;
    font-weight: bold;
    animation-name: exampleAnimation;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

/* todo: responsive layout? */

