* {
  font-family: 'Lato', sans-serif;
}

body {
  margin: 0px;
}

#app {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#cont {
  width: 100%;
  max-width: 970px;
  padding-left: 50px;
  padding-bottom: 60px;

  background: #fdfdfd;
  box-shadow: #f1f1f1 0 0 5px 0px;
}

p {
  max-width: 508px;
}

#inp {
  width: 297px;
}

code {
  font-family: monospace;
}

a {
  color: #2775eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.offsets {
  background: #f5f5f5;
  padding: 15px;
  width: 273px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.offset {
  width: 50px;
}

.red {
  color: #860000;
  background: #ecd7d7;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}
.red.cut {
  margin-right: 50px;
}

.red li {
  margin-bottom: 5px;
}

.red li * {
  word-break: break-all;
  -webkit-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
}

.info {
  color: #505050;
  font-size: 15px;
}

.resp-disc {
  display: none;
}

.calculated {
  position: fixed;
  right: 20px;
  top: 130px;

  padding: 10px;
  padding-left: 40px;
  padding-right: 40px;

  background: #eeeeee;
  box-shadow: #bfbfbf 0.5px 0.5px 3px 0px;
  border-radius: 10px;
}

footer {
  margin-top: 30px;
}

@media (max-width: 768px) {
  #cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: initial;
  }
  .calculated {
    position: initial;
    margin: 30px;
    right: initial;
    top: initial;

    box-shadow: none;
  }
  .resp-disc {
    display: initial;
  }

  .red.cut {
    margin-right: initial;
  }

  p,
  h1 {
    text-align: center;
  }
}
