@font-face {
  font-family: Forum;
  src: url('../fonts/Forum-Regular.woff2') format('woff2'),
       url('../fonts/Forum-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

html {
  height: 100%;
}
body {
  height: 100%;
  background-color: #fffdf7;
  margin: 0px;
  font-family: sans-serif;
}

a:link, a:visited {
  text-decoration: none;
}
a:hover, a:active {
  text-decoration: underline;
}
a:link, a:visited, a:hover {
  color: #796D6D;
}
a:active {
  color: #B2A89A;
}

#page-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}
#title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 64px;
  flex: 1;
  margin: 64px 26px;
}
#title {
  font-family: Forum;
  font-weight: normal;
  text-align: center;
  font-size: 60pt;
  line-height: 1.0em;
  margin: 0px;
}

.email::before {
  content: "\1f44b";
  padding-right: 0.4em;
}

.email span::before {
  content: attr(data-domain) "\0040" attr(data-user);
  unicode-bidi: bidi-override;
  direction: rtl;
}

#footer {
  width: 100%;
  padding: 16px 0px;
  border-top: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 540px) {
  #footer {
    flex-direction: row;
    gap: 26px;
  }
  .copyright {
    margin-left: 26px;
    flex: 1 1 0;
  }
  .address {
    text-align: center;
  }
  .registration {
    text-align: right;
    margin-right: 26px;
    flex: 1 1 0;
  }
}

@media (max-width: 540px) {
  #footer {
    flex-direction: column;
    gap: 0px;
  }
  #footer p {
    text-align: center;
    margin-left: 26px;
    margin-right: 26px;
  }
}

#footer p {
  color: #cccccc;
  font-size: 9pt;
  line-height: 1.6em;
  margin-top: 0px;
  margin-bottom: 0px;
}
#footer a {
  color: #cccccc;
}
