* {
  box-sizing: border-box;
}

header, contents, footer {   
  display: block;   
}

div#header{
  position: relative;
  top: 5px;
  margin-left: 0px;
  margin-right: 10px;
}


img{
  margin: 10px;
  width: 95%;
}

img.logo{
  position: relative;
  float: left;
  width: 15%;
}

span.feedback{
  color: blue;  
  margin-left: 30px;
  text-align: center;
  font-family: Arial, Arial, Helvetica, sans-serif;
  font-size: 2vw;
  top: 0px;
}

@media only screen and (max-width: 1000px) {
  span.feedback{
    font-size: 20px;
    margin-left: 40%;
  }
}

span.title{
  color: blue;  
  margin-left: 300px;
  text-align: center;
  font-family: Kurale, Arial, Arial, Helvetica, sans-serif;
  font-size: 6vw;
  top: 0px;
}

@media only screen and (max-width: 1000px) {
  span.title{
    font-size: 30px;
    margin-left: 40%;
  }
}

p{
  font-size: 2vw;
  padding-left: 10px;
  padding-right: 5px; 
}

@media only screen and (max-width: 1000px) {
  p{
    font-size: 20px;
  }
}

li{
  font-size: 2vw;
  padding-left: 10px;
  padding-right: 5px; 
}

@media only screen and (max-width: 1000px) {
  li{
    font-size: 20px;
  }
}

h2 {
  font-size: 2vw;
  text-align: center;
  color: blue;  
}

@media only screen and (max-width: 1000px) {
  h2{
    font-size: 20px;
  }
}

h3 {
  font-size: 4vw;
  text-align: center;
  color: black;  
}

@media only screen and (max-width: 1000px) {
  h3{
    font-size: 30px;
  }
}
.error_message {
  font-style: italic;
}

#messages {
  left: 33px;
  position: relative;
  top: 10px;
  width: 698px;
}

#messages div{
  border: 2px solid;
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 0.9em;
  font-style: italic;
  text-align: center;
  padding: 5px 8px;
}

#messages p {
  margin: 0;
}

#messages div.success {
  background: #E6EFC2;
  border-color: #C6D880;
  color: olive;
}

#messages div.error {
  background: #FBE3E4;
  border-color: #FBC2C4;
  color: red;
}

.title {
  float: left;
  margin: 0px 10px;
  width: 40%;
  color: #fff;
  text-align: center;
  font-family: Arial, Arial, Helvetica, sans-serif;
  font-size: 3vw;
  top: 5px;
}


.floatRight{
  float: right;
  margin: 0px 10px;
  width: 40%;

}

form {
  background-color: #CCC;
  border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2vw;
  margin-top: 10px;
  margin-left: 1px;
  padding: 1px 5px 1px 5px;
  -moz-border-radius: 20px;
}

form input{
  font-size: 2vw;
  margin-top: 5px;
  margin-left: 120px;
  margin-bottom: 10px;
  padding-left: 10px;
}

@media only screen and (max-width: 1000px) {
  form input{
    font-size: 30px;
    margin-left: 40px;
  }
}

form textarea{
  font-size: 2vw;
  margin-left: 40px;
  margin-bottom: 10px;
  width: 80%;
  height: 200px;
}

@media only screen and (max-width: 1000px) {
  form textarea{
    font-size: 20px;

  }
}

label {
  display: inline-block;
  margin: 5px 0px;
  text-align: left;
}

div.user_profile {
  background-color: #CCC;
  border-radius: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2vw;
  margin-top: 20px;
  margin-left: 5px;
  margin-right: 5px;
  padding: 20px 10px 20px 0px;
  width: 97%;
  -moz-border-radius: 10px;
}

@media only screen and (max-width: 1000px) {
  div.user_profile{
    font-size: 20px;
  }
}

div.user_profile h1 {
  border-bottom: 1px dotted black;
  font-size: 2.0vw;
  margin-top: 0px;
}

div.user_profile img.PicRt {
  position: relative;
  border: solid;
  border-color: #ddd #aaa #aaa #ddd;
  border-width: 3px 4px 4px 3px;
  float: right;
  width: 40%;
  margin-top: 0px;
  margin-right: 10px;
  padding: 5px;
}

div.user_profile p {
  font-size: 18px;
  color: #333;
  margin: -10px 440px 0px -20px;
  
}

fieldset {
  width: 90%;
  margin: auto;
  padding-left: 25px;
  border-color: #000;
  border-width: 1px;
  border-style: solid;
}

fieldset br {
  clear: left;
}

textarea:required:invalid, input:required:invalid {
  background-color: aqua;
}

.navbar {
  overflow: hidden;
  background-color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 16px;  
  border: none;
  outline: none;
  color: lime;
  padding: 14px 16px;
  background-color: black;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn, .dropbtn:focus {
  background-color: red;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd; 
}

.show {
  display: block;
}