html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: rgb(222, 248, 244);
}

#header {
  height: 310px;
  background-image: url(./images/kit1.jpg);
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: cover;
  background-attachment: fixed;
}

h1 {
  text-align: center;
  padding-top: 50px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 60px;
  color: #f1b04f;
  letter-spacing: 8px;
  text-shadow: rgb(0, 0, 0) 0 0 2px;
}

p {
  text-align: justify;
}

#header p {
  text-align: center;
  /* width: 250px; 
  margin: 0 auto; */
  color: rgb(207, 125, 2);
    text-shadow: rgb(255, 255, 255) 0 0 2px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

a {
  color: rgb(64, 209, 161);
  text-decoration: none;
}

a:hover {
  color: orange;
  text-shadow: rgb(0, 0, 0) 0 0 2px;
}

a[target="_blank"] {
  color: rgb(255, 203, 161);
}

a[href*="#"] {
  background-color: #ff8b3e;
}

.button,
#nav ul li a {
  display: block;
  background-color: rgb(245, 223, 165);
  padding: 10px;
  text-align: center;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
}

.button:hover,
#nav ul li a:hover {
  color: rgb(255, 235, 198);
  background-color: rgb(160, 225, 255);
}

#header .button {
  margin: 0 auto;
  width: 120px;
}

#nav {
  width: 380px;
  float: left;
  padding: 60px 20px;
  box-sizing: border-box;
}

#nav ul {
  list-style-type: none;
}

#nav ul li a {
  width: 250px;
  margin: 5px;
}

img {
  max-width: 100%;
}

img.side {
  width: 200px;
}

img.main {
  width: 400px;
  float: left;
  padding: 0 20px 15px 0;
}

.clear {
  clear: both;
}

#sidebar {
  width: 300px;
  float: right;
  padding: 30px;
  box-sizing: border-box;
}

#content {
  margin-left: 380px;
  margin-right: 300px;
  padding-bottom: 100px;
}

#footer {
  height: 90px;
  background-color: rgb(189, 189, 189);
  /* clear: both; */
  margin-top: -90px;
}

#footer h3 {
  text-align: center;
  padding-top: 30px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: rgb(255, 180, 83);
  margin: 0;
  text-shadow: rgb(0, 0, 0) 0 0 2px;
}

.wra {
  position: relative;
}

.cat1,
.cat2,
.cat3,
.cat4,
.cat5,
.cat6,
.cat7,
.cat8,
.cat9,
.cat10,
.cat11,
.cat12,
.cat13,
.cat14,
.cat15,
.cat16,
.cat17,
.cat18 {
  position: absolute;
  border: none;
}
.cat1 {
  width: 63px;
  height: 76px;
  top: 0px;
  left: 0px;
}
.cat2 {
  width: 67px;
  height: 76px;
  top: 0px;
  left: 61px;
}
.cat3 {
  width: 67px;
  height: 76px;
  top: 0px;
  left: 130px;
}
.cat4 {
  width: 65px;
  height: 76px;
  top: 0px;
  left: 200px;
}
.cat5 {
  width: 65px;
  height: 76px;
  top: 0px;
  left: 265px;
}
.cat6 {
  width: 65px;
  height: 76px;
  top: 0px;
  left: 332px;
}
.cat7 {
  width: 63px;
  height: 78px;
  top: 78px;
  left: 0px;
}
.cat8 {
  width: 65px;
  height: 76px;
  top: 78px;
  left: 63px;
}
.cat9 {
  width: 67px;
  height: 76px;
  top: 78px;
  left: 130px;
}
.cat10 {
  width: 65px;
  height: 76px;
  top: 78px;
  left: 200px;
}
.cat11 {
  width: 65px;
  height: 76px;
  top: 78px;
  left: 265px;
}
.cat12 {
  width: 65px;
  height: 76px;
  top: 78px;
  left: 332px;
}
.cat13 {
  width: 63px;
  height: 76px;
  top: 159px;
  left: 0px;
}
.cat14 {
  width: 67px;
  height: 76px;
  top: 159px;
  left: 63px;
}
.cat15 {
  width: 67px;
  height: 76px;
  top: 159px;
  left: 130px;
}
.cat16 {
  width: 65px;
  height: 76px;
  top: 159px;
  left: 200px;
}
.cat17 {
  width: 65px;
  height: 76px;
  top: 159px;
  left: 265px;
}
.cat18 {
  width: 65px;
  height: 76px;
  top: 159px;
  left: 332px;
}

.cat1:hover,
.cat2:hover,
.cat3:hover,
.cat4:hover,
.cat5:hover,
.cat6:hover,
.cat7:hover,
.cat8:hover,
.cat9:hover,
.cat10:hover,
.cat11:hover,
.cat12:hover,
.cat13:hover,
.cat14:hover,
.cat15:hover,
.cat16:hover,
.cat17:hover,
.cat18:hover {
  border: none;
}

.cat1 a,
.cat2 a,
.cat3 a,
.cat4 a,
.cat5 a,
.cat6 a,
.cat7 a,
.cat8 a,
.cat9 a,
.cat10 a,
.cat11 a,
.cat12 a,
.cat13 a,
.cat14 a,
.cat15 a,
.cat16 a,
.cat17 a,
.cat18 a {
  display: block;
  width: 100%;
  height: 100%;
}

.forma{
	margin:40px auto;
	width:400px;
}

.input{
	width:300px;
	margin:20px 0;
}

input:focus:invalid {
  background: pink;
  outline: 2px #f00 solid;
}

input:focus:valid {
  background: lightgreen;
  outline: 2px #0f0 solid; 
}

input:valid {
  background: white;
  outline: none; 
}

input:invalid {
  background: white;
  outline: 2px #f00 solid;
}

.validation {		  
  display: none;
}

input:focus + .validation {
  display: inline;
}							
input:focus:invalid + .validation {			
  color: rgb(255, 140, 140);
}
	input:focus:valid + .validation {			
  color: rgb(140, 250, 140);
}

input:focus:valid + .validation .invalid {
  display: none;
}

input:focus:invalid + .validation .valid {
 display: none;
}

#footer {
clear: both;
}