/* @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
}

html {
    font-family: "Albert Sans", sans-serif;
    /* font-family: "Open Sans", sans-serif */
    /* scrollbar-gutter: stable; */
  }

body {
  padding: var(--padding);
  max-width: 60rem;
  margin: 0 auto;
  /* background-color: lightgray; */
}

.main {
  /* background-color: white; */
}

p:not(:last-child) {
  margin-bottom: 0.5rem;
}

.layout {
  margin-bottom: -1rem;
}

hr {
	border: 0;
	background: grey;
	height: 2px;
	width: 2rem;
	margin: 3rem auto 3rem  0rem;
}

img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
}

h1 {
  font-weight: 500;
  font-size: 1.75rem;
  margin-top: 3rem;
}

.color-grey {
  margin-top: -0.25rem;
  margin-bottom: 3rem;
  font-weight: 500;
  font-size: 1.75rem;
  color: grey;
}

h2 {
  font-weight: 500;
  font-size: 1.75rem;
}

h3 {
  font-weight: 400;
  font-size: 1.25rem;
}

p {
  font-weight: 400;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: currentColor;
  /* white-space: nowrap; */
  overflow-wrap: anywhere;
  transition: 0.25s;
}

a:hover {
  color: gray;
}

.grid {
  --columns: 12;
  /* --gutter: 0.0rem; */
  display: grid;
  column-gap: 1em;
  grid-template-columns: 1fr;
}

.grid > .column {
  margin-bottom: 1em;
}

.header {
  position: relative;
  display:  flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}


.logobox ul {
  list-style: none;
  display: block;
}

.logo {
  font-weight: 300;
  font-style: normal;
  font-size: 1.25rem;
  letter-spacing: 0.025rem;
  word-spacing: -0.1rem;
}

.inst {
  color: gray;
  transition: 0.25s;
}

.inst:hover {
  color: black;
}

.cover-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 3rem;
}

.menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 1rem
}

.menu-footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* margin-top: 4rem; */
  margin-bottom: 2rem;
}

.menu-footer ul {
  color: lightgray;
  list-style: none;
  display: flex;
  gap: 1rem;
  /* margin-left: auto; */
  /* font-size: 0.5rem; */
}




.menu a[aria-current] {
  /* text-decoration: underline; */
  /* font-weight: 200; */
  /* background-color: lightgray; */
  border-bottom: 2px solid grey;
}


@media screen and (min-width: 55rem) {
  
  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

@media screen and (max-width: 55rem) {
  body{
    -webkit-text-size-adjust: 100%;
  }

  img:not(.cover-img, .project-img, .project-coverimg) {
    max-height: 14rem;
    object-fit: cover;
  }

  .menu {
    margin-top: 1rem;
  }

  .grid > .column {
    margin-bottom: 1rem;
  }

}