* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.none {
  display: none;
}

.clear {
  clear: both;
}

a {
  color: #000;
}
a:hover {
  color: #000;
}

img {
  max-width: 100%;
}

body {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
}

h1, h2, h3, h4, p, ol, ul {
  margin-bottom: 8px;
}

h1 {
  font-size: clamp(33.28px, calc(26.88px + 3.24vw), 55px);
  font-family: "Oswald", sans-serif;
}

h2 {
  font-size: clamp(31.04px, calc(23.2px + 2.46vw), 40px);
  font-family: "Oswald", sans-serif;
  font-weight: 400;
}
h2 span {
  font-weight: 100;
  font-size: clamp(21.6px, calc(17.12px + 1.39vw), 25px);
}

h3 {
  font-size: clamp(21.6px, calc(17.12px + 1.39vw), 25px);
  font-family: "Oswald", sans-serif;
  font-weight: 100;
}

h4 {
  font-size: clamp(18px, calc(14.72px + 1.03vw), 21px);
}

p {
  line-height: 150%;
}

ol, ul {
  padding-left: 1.3em;
}
ol li, ul li {
  padding: 0.1em 0;
}

ul {
  list-style: square;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-bottom: 0;
}

.admlink {
  position: fixed;
  left: 0;
  top: 0px;
  color: rgba(0, 0, 0, 0.3);
  font-size: clamp(14px, calc(10.72px + 0.55vw), 16px);
  z-index: 1000;
}

.delimiter {
  margin-top: 32px;
  margin-bottom: 32px;
  border: 1px solid #c3dbf0;
}

.lefted,
.lefted p {
  text-align: left;
}

.centered,
.centered p {
  text-align: center;
}

.righted,
.righted p {
  text-align: right;
}

.space {
  margin-top: 64px;
  margin-bottom: 64px;
}

.space-top {
  margin-top: 32px;
}

.space-bottom {
  margin-bottom: 32px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

body {
  background: #f9f9f9;
  font-weight: 300;
  letter-spacing: 0.05em;
}

img {
  display: block;
}

h1, h2, h3, p {
  margin-bottom: 16px;
}

p + h1, p + h2, p + h3 {
  margin-top: 24px;
}

.anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

.headerWrapper {
  background: #fff;
  position: sticky;
  top: 0;
}

.whiteBg {
  background: #fff;
  padding-block: 32px;
}

.grayBg {
  background: #f4f4f4;
  padding-block: 32px;
}

.header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px;
}

.logo {
  text-transform: uppercase;
  text-decoration: none;
  font-size: 40px;
  color: #222;
}
.logo span {
  font-size: 20px;
  font-weight: 100;
  text-transform: none;
}

.headerBlock {
  display: flex;
  flex-flow: column;
  gap: 16px;
  width: 300px;
  position: fixed;
  background: #fff;
  padding: 24px 16px;
  box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.1);
  right: -300px;
  top: 60px;
  transition: 0.3s;
}
.headerBlock.opened {
  right: 0;
}
@media (min-width: 768px) {
  .headerBlock {
    position: relative;
    flex-flow: row;
    align-items: center;
    background: none;
    width: auto;
    box-shadow: none;
    right: auto;
    top: auto;
    padding: 0;
  }
}

.topmenu {
  display: flex;
  flex-flow: column;
  align-items: flex-end;
  list-style: none;
  gap: 16px;
  margin: 0;
}
.topmenu a {
  text-align: right;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.3s;
  border-bottom: 1px solid transparent;
  letter-spacing: 0.05em;
}
@media (hover: hover) {
  .topmenu a:hover {
    color: #000;
    border-color: #000;
  }
}
@media (min-width: 768px) {
  .topmenu {
    flex-flow: row;
  }
}

.langs {
  padding: 16px 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
@media (min-width: 768px) {
  .langs {
    border-left: 1px solid #ccc;
    padding: 0 0 0 16px;
  }
}
.langs a {
  text-decoration: none;
  color: #999;
}
.langs a.active {
  font-weight: 700;
  color: #000;
}

.mnuopener {
  text-decoration: none;
  font-size: 29px;
}
@media (min-width: 768px) {
  .mnuopener {
    display: none;
  }
}

.about {
  font-weight: 200;
  font-size: 25px;
  max-width: 800px;
  margin-block: 32px 64px 0;
}
.about strong {
  font-weight: 400;
}

.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 16px 64px 16px;
}
@media (min-width: 768px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .projects {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dummyImg {
  background: #ccc;
  height: 400px;
  width: 100%;
}

.project {
  text-decoration: none;
}
.project .info {
  padding: 5px;
}

.contacts {
  display: flex;
  flex-flow: column;
  font-size: clamp(18px, calc(14.72px + 1.03vw), 21px);
  margin-bottom: 64px;
}

.subhl {
  display: block;
  margin-top: -20px;
  font-weight: 400;
  margin-bottom: 20px;
}

.footer {
  padding-block: 24px;
}

.footer .copy {
  font-size: clamp(14px, calc(10.72px + 0.55vw), 16px);
  color: #999;
}
.footer .copy p {
  margin: 0;
}

.footer .smaller {
  font-size: clamp(12px, calc(9.12px + 0.40vw), 14px);
}

.detailBg {
  padding-bottom: 0;
}

.dBack {
  text-align: center;
  padding-block: 64px;
}

.backBtn {
  text-decoration: none;
  transition: 0.3s;
  background-color: #444;
  color: #fff;
  padding: 16px 24px;
}
@media (hover: hover) {
  .backBtn:hover {
    background-color: #222;
    color: #fff;
  }
}

.dGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 8px;
}

@media (min-width: 1024px) {
  .dGrid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .dGrid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
