*,
:after,
:before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --outterRim: 20px;
  --blue: #303c53;
  --beige: #f0e1c5;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: var(--beige);
  color: var(--blue);
}

.beige {
  display: none;
}

main {
  padding: var(--outterRim);
  width: 100vw;
  height: 100dvh;
  overflow-x: hidden;
  display: grid;
  place-items: center;
}

section > * {
  margin: 40px 0;
}
figure {
  width: calc(inherit - (var(--outterRim)));
}
figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.kluci {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.kluci > * {
  width: 70%;
}
p,
a {
  margin: 10px 0;
}
.bold {
  font-weight: 700;
}
.socky a {
  display: block;
  text-decoration: none;
  color: var(--blue);
}
.socky p,
.socky a {
  text-align: center;
}
@media screen and (min-width: 520px) {
  section > * {
    margin: 80px 0;
  }
  .kluci {
    flex-direction: row;
    gap: 20px;
  }
  .pata {
    text-align: right;
  }
  .socky {
    margin-top: 80px;
  }
}
