* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --scale-value: 1.08;
  --transition-duration: 0.2s;
  --stepped-transition: 0.15s;

  --text: black;

  --border: #9E6A3C;
  --primary: #FFC694;
  --secondary: #EBAA71;

  --me-a: #B2DFE9;
  --me-b: #2C899E;
  --navtext: aliceblue;
  --navtext-selected: #B2DFE9;

  --proj-width: 25%;
  --proj-img-height: 7rem;
  --proj-height: 100%;

  font-size: 16px;
}

.trans {
  transition: var(--transition-duration);
}
.s-trans {
  transition: var(--stepped-transition);
}

.hoverable:hover {
  transform: scale(var(--scale-value));
}

body {
  background-color: var(--secondary);
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.navbar {
  background-color: var(--border);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.navbar-me {
  margin: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--navtext);
}
.navbar-me:hover {
  text-decoration: none;
}

.navbar-me span {
  color: var(--me-a);
}
.navbar-me:hover span {
  color: var(--me-b);
}

.navbar-links ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.navbar-links li {
  margin: 0rem 1rem;
}

.navbar-links a {
  font-size: 1.05rem;
  color: var(--navtext);
}
.navbar-links a:hover {
  color: var(--navtext-selected);
}

.navbar-links span {
  color: var(--navtext-selected);
}

@media screen and (max-width: 300px) {
  .navbar-links {
    display: none;
  }
}

.main-content {
  background-color: var(--primary);
  width: calc(100% - 0.5rem);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  margin: 0.25rem;
  border: 0.15rem solid var(--border);
  border-radius: 1rem;
}

.project-holder {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  list-style: none;
}

.project {
  --scale-value: 1.02;
  position: relative;
  align-self: stretch;
  
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  
  width: var(--proj-width);
  padding: 0.5rem;
  margin: 0rem 0;

  border: 0.13rem solid var(--border);
  border-radius: 10px;
  background-color: var(--secondary);

  overflow: hidden;
  transition-property: transform;
}
.project:hover {
  border: 0.19rem solid var(--border);
  z-index: 1;
}
/*
.project:hover img {
  transform: scale(1.022);
}
*/
.project img {
  position: relative;
  top: -0.5rem;
  width: calc(100% + 1rem);
  object-fit: contain;
  border-radius: 5px 5px 0px 0px;
}

.project span {
  position: relative;
  top: -0.5rem;
  height: 0.15rem;
  background-color: var(--border);
  width: calc(100% + 1rem); 
}

.project a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.footer a {
  width: 100%;
  text-align: center;
  font-size: 1.25rem;
  color: var(--navtext);
}
.footer a::before, .footer a::after {
  font-size: large;
  content: '\0394';
}
.footer a:hover {
  color: var(--navtext-selected);
}

.can-div {
  text-align: center;
}

.can-div h1 {
  margin-bottom: 0.2rem;
}

.gl-canvas {
  border-radius: 1rem;
  border: 0.19rem solid var(--border);
}

.button {
  padding: 0.25rem;
  border-radius: 0.25rem;
}
.button:active {
  transition: 50ms;
  transform: scale(1);
}