@font-face {
  font-family: 'robotoregular';
  src: url('/error_static/font/Roboto-Regular-webfont.eot');
  src: url('/error_static/font/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
  url('/error_static/font/Roboto-Regular-webfont.woff') format('woff'),
  url('/error_static/font/Roboto-Regular-webfont.ttf') format('truetype'),
  url('/error_static/font/Roboto-Regular-webfont.svg#robotoregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'robotolight';
  src: url('/error_static/font/Roboto-Light-webfont.eot');
  src: url('/error_static/font/Roboto-Light-webfont.eot?#iefix') format('embedded-opentype'),
  url('/error_static/font/Roboto-Light-webfont.woff') format('woff'),
  url('/error_static/font/Roboto-Light-webfont.ttf') format('truetype'),
  url('/error_static/font/Roboto-Light-webfont.svg#robotolight') format('svg');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #444;
  --primary-hover: #333;
}

.theme-small-livestock {
  --primary-color: #336899;
  --primary-hover: #2a557d;
}

.theme-pigs {
  --primary-color: #A66768;
  --primary-hover: #8a5556;
}

.theme-horses {
  --primary-color: #05463A;
  --primary-hover: #04382e;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'robotolight', sans-serif;
  background-color: #D9D9D9;
  color: #333;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}

header {
  background-color: #fff;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.error-code {
  font-family: 'robotoregular', sans-serif;
  font-size: 180px;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  color: #2D2926;
}

h1 {
  font-family: 'robotoregular', sans-serif;
  font-size: 32px;
  margin: 20px 0 10px;
  color: #2D2926;
}

.description {
  font-family: 'robotolight', sans-serif;
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.5;
  color: #666;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-family: 'robotoregular', sans-serif;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--primary-hover);
}

footer {
  padding: 40px 20px;
  font-family: 'robotoregular', sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #000;
}
