
* {
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
  padding: 0;
  margin: 0;
}

a {
  color: #01146d;
}

a:hover {
  text-decoration: none;
}

.header {
  padding: 1em 1em 1em 10px;
  display: grid;
  grid-template-columns: min-content auto;
  grid-template-rows: auto auto;
  gap: 0 2vw;
}

.body {
  padding: 0 10px;
}

.logo {
  grid-row: span 2;
}

.logo img {
  width: 130px;
  height: auto;
}

.slogan {
  color: #808080;
  font-variation-settings: "opsz" 20, "GRAD" 400, "YAXS" 400;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
}


.header h1 {
  font-size: 28px;
  margin: 0;
  font-variation-settings: "opsz" 20, "GRAD" 600, "YAXS" 400;
  font-weight: 250;
}

a:hover {
  text-decoration: none;
}

td,
th {
  border: 0;
  text-align: center;
  border-bottom: 1px solid #2d6696;
}
th {
  padding: 5px;
}

td.left {
  text-align: left;
}
td.right {
  text-align: right;
}

dt {
  font-weight: bold;
}
blockquote {
  border-left: 8px solid #eee;
  margin-left: 2em;
  padding-left: 1em;
}
code,
pre,
var {
  border: 1px solid #eee !important;
  padding: 2px;
  border-radius: 2px;
  background: #f8f8f8;
  font-family: Consolas, Monaco, Courier, monospace;
}
pre {
  overflow: auto;
  padding: 5px !important;
}

@media only screen and (min-width: 1024px) {
  .header,
  .body {
    width: 1024px;
    margin: 0 auto;
  }

  .header h1 {
    font-size: min(5vw, 60px);
    line-height: 1;
  }

  .slogan {
    font-size: min(4vw, 50px);
    font-weight: 250;
  }

  .logo img {
    width: min(180px, 13vw);
  }
}

aside {
  border-left: 8px solid #6173b4;
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f8f8f8;
}

.center {
  width: 80%;
  margin: 0 auto;
}
.footer {
  background: #01146d;
  color: white;
  padding: 54px;
  text-align: center;
  margin-top: 20px;
}
.footer a {
  color: white;
}
.card {
  border: 1px solid #dadada;
  border-radius: 8px;
  position: relative;
  padding: 0 10px;
}
.page {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, max-content));
  grid-gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

textarea,
input {
  width: 100%;
  font-size: inherit;
  padding: 7px;
}

.error {
  border-left-color: red;
}

.pastul p {
  display: inline;
}

@media (max-width: 700px) {
  .page {
    padding: 0px;
    display: block;
  }
  .body {
    display: block;
  }
  .card {
    margin-bottom: 1rem;
  }
  .logo img {
    width: 130px;
  }

  .slogan {
    font-weight: 400;
    font-size: 1.1em;
    line-height: 0.9;
  }

  .header h1,
  .card h1 {
    font-size: 1.3em;
    line-height: 1.2;
  }
  .card h2 {
    font-size: 1.1em;
  }
  .body {
    padding-top: 0;
  }
  .center {
    width: 92%;
  }
}
