@charset "utf-8";

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 22px 0;
  background: #272727;
  color: #2f3437;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

a:link,
a:visited {
  color: #1f6f78;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #7a3f13;
  text-decoration: underline;
}

#container {
  width: min(900px, calc(100% - 24px));
  margin: 0 auto;
}

#wrapper {
  margin: 0;
  padding-top: 5px;
  border: 0;
  border-radius: 4px;
  background: #23636d;
  box-shadow: 0 10px 30px rgba(42, 52, 59, 0.13);
  overflow: hidden;
}

#banner {
  position: relative;
  margin: 0;
  padding: 24px 70px 20px 28px;
  color: #1f2b31;
  border-right: 1px solid #cfd6dc;
  background: #f7f8f5;
  border-bottom: 1px solid #d9dfde;
  border-left: 1px solid #cfd6dc;
}

.language-switch:link,
.language-switch:visited {
  position: absolute;
  top: 16px;
  right: 20px;
  display: block;
  text-decoration: none;
}

.language-switch img {
  display: block;
}

#banner h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.2;
}

#banner p {
  margin: 7px 0 0;
  padding-left: 0;
  color: #58656a;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#nav {
  border-right: 1px solid #cfd6dc;
  background: linear-gradient(#f1f4f0, #e6ebe7);
  border-bottom: 1px solid #d9dfde;
  border-left: 1px solid #cfd6dc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

#nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 38px;
  margin: 0;
  padding: 5px 22px;
  list-style: none;
}

#nav a:link,
#nav a:visited {
  display: block;
  min-height: 28px;
  padding: 5px 8px;
  border-bottom: 2px solid transparent;
  color: #3d4a4f;
  font-family: "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 18px;
}

#nav a.current:link,
#nav a.current:visited {
  border-color: #c56f2a;
  color: #111;
  font-weight: 700;
}

#page {
  overflow: auto;
  padding: 24px 0;
  border-right: 1px solid #cfd6dc;
  background: #fffefa;
  border-left: 1px solid #cfd6dc;
}

#content {
  margin: 0 28px;
  font-size: 16px;
  line-height: 1.68;
}

#content p {
  margin-top: 0;
}

#content h2 {
  margin: 28px 0 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid #dde3e2;
  color: #26464d;
  font-size: 25px;
  font-weight: 400;
}

.project {
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 3px solid #d7a15c;
}

.project-list {
  max-width: 760px;
}

.project h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 400;
}

.project p {
  margin: 0;
}

.sidebar-column {
  float: right;
  width: 240px;
  margin: 0 28px 18px 24px;
}

#sidebar {
  border: 1px solid #d7dedc;
  border-top: 4px solid #c56f2a;
  background: #f1f5f3;
  line-height: 1.4;
}

#sidebar h2 {
  margin: 0;
  padding: 0 14px;
  color: #26464d;
  font-size: 18px;
  font-weight: 400;
}

#sidebar p {
  margin: 10px 0 14px;
  padding: 0 14px;
  overflow-wrap: break-word;
  font-family: "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 10px 0 0;
}

.social-links a:link,
.social-links a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.social-links a:hover,
.social-links a:focus {
  text-decoration: none;
}

.social-links img {
  display: block;
  width: 34px;
  height: 34px;
}

#fac_photo {
  display: block;
  width: 190px;
  height: 240px;
  margin: 14px auto 12px;
  border: 1px solid #c8d1d0;
  object-fit: cover;
  object-position: center 35%;
}

#footer {
  padding: 14px 4px 0;
  color: #d7dde0;
  font-family: "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-align: right;
}

#footer p {
  margin: 0;
}

#footer a:link,
#footer a:visited {
  color: #9bcbd0;
}

@media (max-width: 650px) {
  body {
    padding: 0;
  }

  #container {
    width: 100%;
  }

  #wrapper {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  #banner {
    padding: 18px 56px 18px 16px;
  }

  #banner p {
    font-size: 12px;
  }

  #nav ul {
    padding: 5px 10px;
  }

  #nav a:link,
  #nav a:visited {
    font-size: 13px;
  }

  #page {
    padding-top: 16px;
  }

  .sidebar-column {
    float: none;
    width: auto;
    margin: 0 16px 20px;
  }

  #content {
    margin: 0 16px;
    font-size: 15px;
  }

  #footer {
    padding: 12px 16px;
    text-align: left;
  }
}
