/*My CSS code page*/
html{
font-size:10px;
font-family: "Gelasio", serif;
}
h1{
font-size:40px;
text-align:center;
letter-spacing:1px;
text-height:2px;
color:black;
text-shadow:3px 3px 1px blue;
text-transform: upperCase;
}

h2, h3{
font-size:32px;
text-align:center;
letter-spacing:1px;
text-height:2px;
color:brown;
text-shadow:3px 3px 1px purple;
text-transform: uppercase;
}

p,
li{
font-size:20px;
text-height:1px;
letter-spacing:1px;
color:black;
}
body{
font-size:20px;
width:1200px;
margin: 0 auto;
padding:0 20px 20px 20px;
border:10px purple;
background-color: brown;
  
}
html{
background-color:blue;
}
/* || header layout */

nav, article,footer {
  background-color: orange;
  padding: 1%;
}

nav {
  font-size:20px;
  height: 30px;
    display: flex;
  margin-bottom: 10px;
  text-align: center;
}

nav ul {
    padding: 0;
  list-style-type: none;
  flex: 2;
  display: flex;
}

nav li {
    display: inline;
  text-align: center;
  flex: 1;
}

nav a {
    display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  
}

nav form {
  flex: 1.5;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 2px;
}

input {
  font-size: 20px;
  height: 50px;
}

input[type="search"] {
  flex: 1;
}

input[type="submit"] {
  flex: 0.25;
  margin-left: 1px;
  background: purple;
  border: 10px blue;
  color: yellow;
}

/* My table data*/

table {
  border-collapse: collapse;
  border: 2px solid rgb(200,200,200);
  letter-spacing: 1px;
  font-size: 18px;
}

td, th {
  border: 1px solid rgb(190,190,190);
  padding: 10px 20px;
}

th {
  background-color: purple;
text-transform:uppercase;
color:orange;
}

td {
  text-align: center;
}

#non{
font-size:24;
background-color:green;
color:orange;
}

#fat{
font-size:24;
background-color:purple;
color:yellow;
}

#digit{
font-size:20;
background-color:orange;
color:purple;
}
tr:nth-child(even) td {
  background-color: rgb(250,250,250);
}

tr:nth-child(odd) td {
  background-color: rgb(245,245,245);
}

caption {
  padding: 10px;
}

script [type="text/javascript"]{
  font-size:24;
  flex: 2;
  margin-left: 1px;
  background: purple;
  border: 0;
  color: white;
}

/* || main layout */

main {
  display: flex;
}
article {
  flex: 2;
}

footer {
  margin-top: 10px;
text-align: center;
}

