* {
  box-sizing: border-box;
}

/* Utility */

.marg-0 {
  margin: 0 auto;
  display: block;
}

/* Layout */

.body-main {
  background-color: #fffff8;

  max-width: 960px;
  margin: 60px auto 60px;

  padding-left: 30px;
  padding-right: 30px;

  display: flex;
}

/* Layout - Left col */

.content-left {
  width: 240px;
}

.content-left-logo {
  width: 180px;
  margin-bottom: 40px;
}

.content-left-selfie {
  width: 128px;
  border-radius: 100%;

  margin-top: 40px;
  margin-bottom: 20;
}

.sm-list {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
}

.sm-icon {
  width: 30px;
}

.sm-icon-email {
  width: 42px;
}

/* Layout - Main col */

.content-main {
  margin-top: 16px;
  margin-left: 60px;
  width: 530px;
}

.content-main-body {
  margin-top: 20px;
}

.content-main-body .text-heading-1 {
  margin-top: 30px;
  margin-bottom: 20px;
}

.content-main-banner {
  margin-bottom: 30px;
}

.content-main-banner-image {
  max-width: 100%;
}

.content-main-banner-caption {
  font-size: 11px;
  text-align: right;

  margin-top: 5px;
}

.content-main-section {
  margin-bottom: 40px;
}

.nav-main {
  display: flex;
  justify-content: space-between;

  width: 100%;
  padding-bottom: 15px;
  border-bottom: 1px solid #000;
}

.logo-inline {
  display: inline;
  width: 128px;
  float: right;

  margin-left: 12px;
}

/* Home page */

.project-spotlight-details {
  margin-top: 2px;
}

/* Work page */

.work-history {
  margin-top: 50px;
}

.work-history p {
  margin-top: 24px;
  margin-bottom: 24px;
}

.work-history ul * {
  font-size: 14px;
}

.work-summary .text-heading {
  margin: 30px 0 30px;
}

.work-summary ul {
  margin-top: 0;
  /* margin-bottom: 40px; */
}

/* Gallery */

.construction-area {
  background: white;
  margin: 80px auto 0;
  max-width: 400px;

  > h2 {
    padding: 10px;
    margin: 0 0 0.5rem 0;
  }

  > p {
    padding: 0;
  }
}

.construction-stripes {
  color: white;
  background: repeating-linear-gradient(
    45deg,
    yellow,
    yellow 10px,
    black 10px,
    black 20px
  );
}

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

/* Utility / misc */

/* .no-marg {
  margin: 0;
} */

.marquee-container {
  width: 18em;
  height: 4em;
  margin: 1em auto 0;

  overflow: hidden;
  position: relative;
}

.marquee {
  top: 2.5em;

  position: relative;
  animation: marquee 2s ease-in;
}

.marquee.running {
  animation-play-state: running;
}

.marquee:hover,
.marquee.paused {
  animation-play-state: paused;
}

.marquee.hidden {
  visibility: hidden;
}

@keyframes marquee {
  0% {
    top: 4em;
  }
  50% {
    top: 2.5em;
  }
  100% {
    top: 4em;
  }
}

/* Make it look pretty */
.microsoft .marquee {
  margin: 0;
  padding: 0 1em;
  line-height: 1.5em;
  font: 1em "Segoe UI", Tahoma, Helvetica, Sans-Serif;
}

.microsoft:before,
.microsoft::before,
.microsoft:after,
.microsoft::after {
  left: 0;
  z-index: 1;
  content: "";
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 2em;
  background-image: linear-gradient(top, #fff, rgba(255, 255, 255, 0));
}

.microsoft:after,
.microsoft::after {
  bottom: 0;
  transform: rotate(180deg);
}

.microsoft:before,
.microsoft::before {
  top: 0;
}
