
.box {
  padding: 1.0rem;
  border: rgb(89, 89, 89);
  border-style: dotted;
}

/* ==================================================
    Code from Kirby
===================================================== */

.grid-test {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid-test > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid-test {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid-test > .column {
    grid-column: span var(--columns);
  }
}

.portfolio-project-gallery {
	line-height: 0;
	columns: 1;
	column-gap: 1.5rem;
}

.portfolio-project-gallery li {
	display: block;
	margin-bottom: 1.5rem;
	break-inside: avoid;
}

@media screen and (min-width: 60rem) {
	.portfolio-project-gallery {
		columns: 2;
	}
}

video,
.img {
	position: relative;
	display: block;
	--w: 1;
	--h: 1;
	aspect-ratio: var(--w) / var(--h);
	border-radius: var(--rounded);
}
.img img,
.video iframe {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	border-radius: var(--rounded);
}
.img[data-contain] img {
	object-fit: contain;
}
.img-caption,
.video-caption {
	color: gray;
	padding-top: .75rem;
	line-height: 1.5em;
}

/* button */

.button_base {
    margin: 0;
    border: 0;


    width: 200px;
    height: 50px;
    text-align: center;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;

    cursor: default;
}

.button_base:hover {
    cursor: pointer;
}

.b01_simple_rollover {
    color: #000000;
    border: #000000 solid 1px;
    border-radius: 2em;
    padding: 10px;
    background-color: #ffffff;
}

.b01_simple_rollover:hover {
    color: #ffffff;
    background-color: #000000;
}

/* ==================================================
    Navigation by https://codepen.io/alvic/pen/arYbBK
===================================================== */

#navbar {
  display: grid;
  min-height: 100px;
  grid-auto-flow: column;
  /* background-color: #fcfcfc; */
  grid-gap: 1.5em;
  padding: 0 40px;
  /* -webkit-box-shadow: -1px 4px 5px 0px rgba(209, 205, 209, 1);
  -moz-box-shadow: -1px 4px 5px 0px rgba(209, 205, 209, 1);
  box-shadow: -1px 4px 5px 0px rgba(209, 205, 209, 1); */
}

#logo {
  display: grid;
  justify-content: start;
  align-content: center;
  font-family: "Open Sans", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}

.logo span {
  color: #0474bc;
}

#links {
  display: grid;
  justify-content: right;
  align-content: center;
  grid-auto-flow: column;
  grid-gap: 1.5em;
  font-family: "Open Sans", sans-serif;
}

#links a {
  text-decoration: none;
  color: #333;
  text-transform: uppercase;
  font-weight: bold;
}

#links a:hover {
  color: #878687;
}

/* =======================
******* Mobile Menu ******
========================*/
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 80px;
  text-align: center;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #fff;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

a {
  font-family: "Open Sans", sans-serif;
}

/* Mobile to Tablet  */
@media (min-width: 320px) and (max-width: 767px) {
  #links,
  .mobile-menu {
    display: none;
  }
  #logo {
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-gap: 70px;
  }
}

/* Tablet to Desktop */
@media (min-width: 768px) {
  .mobile-btn {
    display: none;
  }
}


