/***************************ELEMENT***************************/

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  text-align: left;
  background-image: url('img/bg01.jpeg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  color: #000000;
}

H1 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
  text-align: right;
  vertical-align: middle;
  line-height: 35px;
  margin-right: 10px;
}

H2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
  margin-left: 35px;
  margin-right: 35px;
  color: #888888;
}

H2:after {
  content: ' ';
  display: block;
  border: 2px solid #888888;
  border-radius: 4px;
}
H3 {
	font-size:18px;
	color:black;
	margin-left:50px;
}

HR {
  margin-left: 35px;
  margin-right: 35px;
  border-radius: 4px;
  border: 2px solid #888888;
}

blockquote {
  background: rgba(204, 204, 204, 0.4);
  width: 50%;
  margin: auto;
  padding: 15px 15px 15px 30px;
  font-family: "Courier New", "Lucida Console", monospace;
  text-align: justify;
  quotes: "&#171" "&#187" "&#39" "&#39";
  border-left: 15px solid green;
  -moz-box-shadow: 2px 10px 15px #ccc;
  -webkit-box-shadow: 2px 10px 15px #ccc;
  box-shadow: 2px 10px 15px #ccc;
}

cite {
  font-family: Helvetica, Arial, sans-serif;
  background: rgba(204, 204, 204, 0.4);
  font-style: italic;
  border-left: 3px solid green;
}


/***************************CLASS***************************/

a.body:link,
a.body:visited {
  color: green;
  text-decoration: underline;
  font-size: 18px;
}

a.body:hover,
a.body:active {
  color: rgb(144, 238, 144);
  background-color: green;
  text-decoration: underline;
  font-size: 18px;
}

a.menu:link,
a.menu:visited {
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.menu:hover,
a.menu:active {
  color: black;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

a.h3link:link,
a.h3link:visited {
  color: green;
  text-decoration: underline;
  font-size: 12px;
}

a.h3link:hover,
a.h3link:active {
  color: rgb(144, 238, 144);
  background-color: green;
  text-decoration: underline;
  font-size: 12px;
}

.row {
    display: table;
    table-layout: fixed;
    border-spacing: 20px;
}

.col {
    display: table-cell;
}

a.prenex {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
}

a.prenex:hover {
  background-color: #ddd;
  color: black;
}

.prenex {
  background-color: #f1f1f1;
  color: black;
}

/***************************ID***************************/


/*every page*/

#container {
  margin: auto;
  margin-top: 25px;
  width: 80%;
  min-width: 600px;
  height: 90%;
  min-height: 500px;
}

#con2 {
  height: 250px;
  width: calc(100% - 250px);
  float: left;
}

#pic {
  float: right;
  width: 220px;
  height: 220px;
  margin-top: 25px;
  background: rgb(144, 238, 144);
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  border-style: solid;
  border-width: 15px;
  border-color: rgba(144, 238, 144, 0.5);
  border-radius: 25px 25px 25px 0px;
}

#pic img {
  max-width: 100%;
  height: auto;
}

#pic .round {
  border-radius: 10px 10px 10px 0px;
}

#name {
  width: 100%;
  height: 175px;
}

#title {
  width: calc(100% - 115px);
  height: 70px;
  margin-left: 100px;
  /*
  background: rgb(144, 238, 144);
  */
  background: rgb(200, 225, 180);
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  border-style: solid;
  border-width: 15px 0px 15px 15px;
  border-color: rgba(144, 238, 144, 0.5);
  border-radius: 25px 0px 0px 0px;
}

#body {
  float: left;
  margin-left: 100px;
  width: calc(100% - 225px);
  height: calc(100% - 250px);
  /*
  background: rgb(144, 238, 144);
  */
  background: rgb(200, 225, 180);
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  border-style: solid;
  border-width: 0px 15px 15px 15px;
  border-color: rgba(144, 238, 144, 0.5);
  border-radius: 0px 0px 25px 25px;
  overflow: auto;
}
#body p {
  text-indent: 50px;
  margin: 10px 15px 0px 15px;
}

#body ul {
	margin-left: 50px;
}

#body  img {
  max-width: 100%;
  height: auto;
}

#menu1 {
  width: 65px;
  height: 65px;
  margin-left: 150px;
  line-height: 65px;
  background: green;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  border-style: solid;
  border-width: 10px;
  border-color: rgba(144, 238, 144, 0.5);
  border-radius: 50%;
}

#menu1:hover {
  background-color: rgb(144, 238, 144);
  border-radius: 50%;
}

#menu2 {
  width: 65px;
  height: 65px;
  margin-left: 75px;
  line-height: 32px;
  background: green;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  border-style: solid;
  border-width: 10px;
  border-color: rgba(144, 238, 144, 0.5);
  border-radius: 50%;
}

#menu2:hover {
  background-color: rgb(144, 238, 144);
  border-radius: 50%;
}

#menu3 {
  width: 65px;
  height: 65px;
  line-height: 65px;
  background: green;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  border-style: solid;
  border-width: 10px;
  border-color: rgba(144, 238, 144, 0.5);
  border-radius: 50%;
}

#menu3:hover {
  background-color: rgb(144, 238, 144);
  border-radius: 50%;
}

#menu {
  width: 225px;
  float: left;
}

#logot {
  width: calc(100% - 225px);
  height: 75px;
  float: right;
}

#logob {
  width: calc(100% - 225px);
  height: 100px;
  float: right;
}

#logob img {
  width: 85%;
  max-height: 100%;
  vertical-align: middle;
}

#bodwrap {
	width:100%;
	overflow:hidden;
	position:relative;
}

#links {
	width:94px;
	margin:auto;
	float:left;
	position:relative;
	margin-top:20px;
	line-height:20px;
	float:right;
}

#links p {
	margin:20px 10px 10px 10px;
}

#links img {
	width:60px;
	height:60px;
}
/*portfolio*/

#port1 {
  position: relative;
  width: 135px;
  height: 100px;
  border: 5px solid black;
  background-image: url('img/epub.png');
  background-repeat: no-repeat;
  background-position: left top;
  -webkit-transition: width 2s, height 2s;
  transition: width 2s, height 2s;
  overflow: hidden;
}

#port1:hover {
  width: 300px;
  height: 388px;
}

#port1 img {
  margin-top: 293px;
}

#port2 {
  position: relative;
  width: 135px;
  height: 100px;
  border: 5px solid black;
  background-image: url('img/code.jpg');
  background-repeat: no-repeat;
  background-position: left top;
  -webkit-transition: width 2s, height 2s;
  transition: width 2s, height 2s;
  overflow: hidden;
}

#port2:hover {
  width: 500px;
  height: 394px;
}

#port2 img {
  margin-top: 299px;
}

#port3 {
  position: relative;
  width: 135px;
  height: 100px;
  border: 5px solid black;
  background-image: url('img/cthulhu.jpg');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 469px 709px;
  -webkit-transition: width 2s, height 2s;
  transition: width 2s, height 2s;
  overflow: hidden;
}

#port3:hover {
  width: 469px;
  height: 709px;
}

#port3 img {
  margin-top: 614px;
}

#port4 {
  position: relative;
  width: 135px;
  height: 100px;
  border: 5px solid black;
  background-image: url('img/kadpress2.jpg');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 493px 283px;
  -webkit-transition: width 2s, height 2s;
  transition: width 2s, height 2s;
  overflow: hidden;
}

#port4:hover {
  width: 493px;
  height: 283px;
}

#port4 img {
  margin-top: 188px;
}

/*thumbnails*/

#tn {  
  position:relative;
  height:150px;
  width:128px;
  border: 5px solid black;
  border-radius:10px;
  overflow:hidden;
  font-size: 12px;
  text-align: left;
  
  }

#tn img {
	position:absolute;
	top:0;
	left:0;
	-webkit-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
	margin:0;
}

#tn img.fade:hover {
  opacity:0;
}

#tn span {
	position:absolute;
	bottom:0;
}