﻿* {
  font-family: "Segoe UI", "Arial";
}
a {
  color:black;
  text-decoration:none;
}
#wrapper {
  width:1000px;
  margin: 50px auto;
  min-height: 100px;
  box-shadow: 0px 0px 8px 0px gray;
}
header > h1 {
  text-align:center;
  height:150px;
  border-bottom:1px solid gray;
}
header > img {
  height:150px;
  float:left;
  margin-top:-172px;
}
header > img:last-child {
  float:right;
}
#menu > ul {
  margin-left: auto;
  padding-left:0;
  margin-top: -22px;
  float:right;
  border-bottom: 1px solid gray;
}
#menu > ul > a > li, #menu > ul > li {
  list-style-type: none;
  width:calc(999px / 8);
  text-align: center;
  padding-top:1px;
  padding-bottom:1px;
  display:inline-block;
  color:darkred;
  transition: 0.5s;
  cursor:pointer;
}
#menu > ul > a > li:hover, #menu > ul > li:hover {
  background:darkred;
  color:white;
}
#zap-content {
  width:calc(999px / 8);
  display:none;
  margin-top:1px;
  text-align:center;
  position: absolute;
  box-shadow: 0px 2px 4px 0px gray;
}
#zap-content > a {
  display:block;
  color:darkred;
  background:white;
  transition: all 0.5s;
}
#zap-content > a:hover {
  background:darkred;
  color:white;
}
#zap:hover #zap-content {
  display:block;
}
#menu > ul > li:hover #zap {
  color:darkred;
  background:white;
}
#content {
  margin-left: 50px;
  margin-top: 20px;
  width: 900px;
}
#content > h2 {
  text-align:center;
}
#content > a > aside {
  float:right;
  margin-right: -43px;
  text-align:center;
  background:darkred;
  border-radius: 5px;
  transition: all 0.3s;
}
#content > a > aside:hover {
  transform: scale(1.05);
}
#content > a > aside > h3 {
  padding: 8px 4px 0px 4px;
  height: 40px;
  margin-top: -5px;
  color:white;
}
#content > img {
  border: 2px solid white;
  box-shadow: 0px 0px 4px 0px blacK;
}
#content > #bb {
  float:right;
  margin-bottom: -100px;
  width: 600px;
}
#content > p > a:hover {
  color:darkred;
}
#content > p > br {
  margin-bottom: 10px;
}
#content > p {
  text-align:center;
  line-height: 1.65;
}
#content > p > a {
  text-decoration: underline;
}
footer {
  text-align:right;
  margin-right: -47px;
  font-style: italic;
  font-size: 14px;
  color:#585858;
}
#content > ul {
  padding-left: 0;
}
#content > ul > a > li {
  text-align:center;
  list-style-type: none;
  margin-bottom: 10px;
  width: 170px;
  background: darkred;
  color:white;
  border-radius: 5px;
  padding: 2px 20px 2px 20px;
  transition: all 0.3s;
}
#content > ul > a {
  margin-left: 350px;
  display:block;
  width: 210px;
}
#content > ul > a > li:hover {
  transform: scale(1.05);
}
#content > h3 > a {
  text-decoration: underline;
  color: darkred;
}