@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

body {
  background: url('prh_tausta.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  font-size: 14px;
  line-height: 1.2rem;
  font-family: "Crimson Text", serif;
  color: #6c5b45;
  padding: 0 1em;
}

a {
  color: #6c5b45;
}

a:hover {
  color: #b5a38c;
  text-decoration: none;
}

.papers, .papers:before, .papers:after {
  background: url('old_paper.jpg');
	box-shadow: inset 0 0 30px rgba(108,91,69,0.4), 1px 1px 3px rgba(108,91,69,0.5);
	box-shadow: 0 0 30px rgba(108,91,69,0.4), 1px 1px 3px rgba(108,91,69,0.5);
}

.papers {
	position: relative;
  max-width: 800px;
	width: 90%;
	padding: 2em;
	margin: 50px auto;
}

.papers:before, .papers:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-webkit-transform: rotateZ(2.5deg);
	-o-transform: rotate(2.5deg);
	transform: rotateZ(2.5deg);
	z-index: -1;
}

.papers:after {
	-webkit-transform: rotateZ(-2.5deg);
	-o-transform: rotate(-2.5deg);
	transform: rotateZ(-2.5deg);
}

h1, h2, h3 {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

header > p {
  margin-top: -1em;
  text-align: center;
}

.cardright {
  float: right;
  width: 50%;
}

.cardleft {
  float: left;
  width: 50%;
}

.basics {
  font-size: 1.2rem;
  line-height: 1.4rem;
}

.pedigree {
  margin: 3em 0 0 0;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.lines {
  float: left;
  width: 50%;
  overflow: hidden;
}

.second {
  float: left;
  width: 50%;
  padding: 1.5em 0;
}

.label {
  font-size: 0.8rem;
  color: #b28330;
  font-weight: normal;
  text-transform: uppercase;
}

.name {
  font-size: 1.6em;
  line-height: 1em;
}

.specs {
  font-size: 0.8em;
  line-height: 1.2em;
  margin: 0.5em 0;
}

.info {
  text-align: center;
  font-size: 0.8em;
  color: #f0dfc9;
}

.info a {
  color: #f0dfc9 !important;
}

.date {
  margin: 0 2em 1em 0;
  float: left;
  width: 4.5rem;
  text-align: center;
  border: 1px solid #c1b29f;
}

.ddmm {
  margin: 0.6em 0 0.2em 0;
  font-size: 2rem;
  color: #b28330;
}

.yyyy {
  margin: 0 0 0.6em 0;
  font-size: 0.8rem;
}

.flag {
  margin-left: 10px;
  margin-right: 10px;
	width: 16px !important;
	height: 11px !important;
}

.flag2 {
  margin-left: 10px;
  margin-right: 15px;
	width: 11px !important;
	height: 11px !important;
}

.noflag {
  padding-left: 36px;
}

.comp {
  margin-right: 0.5em;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.8rem;
  color: #b28330;
}

.prizes {
  height: 100px;
}

.text-center {
  text-align: center;
}

@media screen and (max-width: 700px) {
  body {
    padding: 0 0.5em;
  }

  .papers {
  	width: 75%;
  	margin: 20px auto;
  }

  .cardright, .cardleft {
    float: none;
    width: 100%;
  }

  .lines {
    float: none;
    width: 100%;
  }
}
