body {
    font-family: Arial;
    padding: 10px;
    background: grey;

}


.title {
 font: Times;

}
*{ box-sizing: border-box;
}

/*------------------------------Table style*/
.field_button {
  padding: 23px 25% 0px;

}

.field {
  height: 550px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 30px;
  border-radius: 10px;
  color: black;
  background-color: lightgrey;
  text-align: center;
}

.fieldleft {
  background-color: lightgrey;
  width: 47%;
  padding: 20px 20px;
  margin: 8px 10px 10px;
  border-radius: 5px;
  text-align: left;
  float: left;
}
.fieldleft p {
  background-color: white;
  width: 100%;
  padding: 20px 20px;
  margin: 8px 10px 10px;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid grey;
  box-sizing: border-box;
  text-align: left;
  font-size: 13px;
}
.fieldright {
  background-color: lightgrey;
  width: 47%;
  padding: 20px 20px;
  margin: 8px 10px 10px;
  border-radius: 5px;
  text-align: left;
  float: right;
}
.fieldright p {
  background-color: white;
  width: 100%;
  padding: 20px 20px;
  margin: 8px 10px 10px;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid grey;
  box-sizing: border-box;
  text-align: left;
  font-size: 13px;
}


/* ------------------------------Header/Blog Title */
.header {
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: white;
    background-image: url("http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/dark_embroidery.png");

}
.header h1 {
    font-size: 50px;
}





/* ------------------------------Style the login*/
.login {
    width: 50%;
    margin: auto;
    margin-top: 20px;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    background: lightgrey;
}
input[type=text], input[type=password] {
  width: 100%;
  padding: 20px 20px;
  margin: 8px 10px 10px;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  &:focus {
    border: 1px solid #3498db;
  }

  &.change {
    width: 50%;
  }
}

input[type=change], input[type=password2]{
  width: 50%;
  padding: 20px 20px;
  margin: 8px 10px 10px;
  border-radius: 5px;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
  &:focus {
    border: 1px solid #3498db;
  }
}

.login_button {
    opacity: 0.6;
    background-color: #4CAF50; /* Green */
    border-radius: 10px;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;

}
.button_hover:hover {
  opacity: 1;
}
/* ------------------------------Style the logout*/
.logout {
  text-align: right
}


/* ------------------------------Style the register navigation bar */
.registernav {
  margin: 20px 300px 300px;
  overflow: hidden;
  border-radius: 10px;
  background-color: #333;
}
.registernav a {
    float: center;
    display: block;
    color: lightgrey;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.registernav a:hover {
    background-color: lightgrey;
    color: black;
}



/* ------------------------------Style the top navigation bar */
.topnav {
    overflow: hidden;
    border-radius: 10px;
    background-color: #333;
}
/* ------------------------------Style the topnav links */
.topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.topnav b {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    cursor: not-allowed;
}
/* ------------------------------Change color on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Create two unequal columns that floats next to each other */
/* ------------------------------Left column */
.leftcolumn {
    float: left;
    width:75%;
}

.header2 {
    float: left;
    width:100%;
}
.lamp {
    float: left;
    width: 25%;
}

/* ------------------------------Add a card effect for articles */
.card {
    background-color: white;
    padding: 20px;
    margin-top: 20px;
}

.button {
    background-color: #778899;
    color: black;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 3px 10px 0 rgba(0,0,0,0.19);
    transition-duration: 0.4s;
    }


.button:hover {
    background-color: #555555;
    color: white;
}
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* ------------------------------Footer */
.footer {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #ddd;
    margin-top: 20px;
}
/* ------------------------------Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
    .leftcolumn, .rightcolumn {
 width: 100%;
 padding: 0;
    }
}

/* ------------------------------Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
    .topnav a {
 float: none;
 width: 100%;
    }
