<style>
* {
  box-sizing: border-box;
}
html {
	background: #ECF0F1;
	margin: 0;
	padding: 0;
}
body {
	font-family: Arial, Helvetica, sans-serif, WinWingDings;
	line-height: 1.5em;
	padding: 0.8em;
	max-width: 30em;
	margin: 1em auto;
	background: #fff;
	border: 4px solid #BDC3C7;
	box-shadow: 0 0 10px #ddd;
}
a {
	color: #2980B9;
	text-decoration: none;
	border-bottom: 1px dotted #2980B9;
}
a:hover, a:active {
	color: #3498DB;
	border-bottom: 1px solid #2980B9;
}
header {
	text-align: center;
	margin-bottom: 1em;
}
.des {
	display: block;
	font-size: 0.8em;
}
.logo {
	font-size: 5em;
	color: #E74C3C;
	display: block;
	margin: 0.5em 0;
}
h1 {
	margin: 0;
	color: #555;
	font-family: Georgia;
	font-weight: normal;
	font-size: 1.1em;
}
h2 {
	font-size: 1em;
	color: #555;
	font-weight: normal;
	margin: 0;
}
h3 {
	font-size: 0.8em;
	color: #555;
	font-weight: normal;
	margin: 0;
}
nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
nav li {
	margin: 0 1px 1px 0;
	float: left;
	width: 49.6%;
}
nav li a {
	font-size: 0.9em;
	display: block;
	color: #fff;
	background: #E74C3C;
	text-align: center;
	border: 0 none;
	padding: 0.5em 0;
}
nav li a:hover, nav li a:active {
	border: 0 none;
	background: #C0392B;
	color: #fff;
}
.content {
	margin: 1em 0;
	height: 220px;
}
article {
	margin: 0.5em;
	height: 80px;
	background: #34495E;
}

/* Style the header */
.header {
  background-color: #f1f1f1;
  padding: 30px;
  text-align: center;
  font-size: 35px;
}

/* Container for flexboxes */
.row {
  display: -webkit-flex;
  display: flex;
}
footer {
	text-align: center;
	color: #34495E;
	font-size: 0.8em;
}
td {
  vertical-align: top;
}

/* Create three unequal columns that sits next to each other */
.column {
  padding: 10px;
  height: 300px; /* Should be removed. Only for demonstration */
}

/* Left and right column */
.column.side {
   -webkit-flex: 1;
   -ms-flex: 1;
   flex: 1;
}

/* Middle column */
.column.middle {
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2;
}

/* Style the footer */
.footer {
  background-color: #f1f1f1;
  padding: 10px;
  text-align: center;
}
    /* Dialog */
    #overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0.8;
        display: none;
    }
    #dialog {
        position: absolute;
        top: 16%;
        left: 35%;
        width: 30%;
        border: 4px solid #ccc;
        background: #fff;
        display: none;
    }
    #dialog h2 {
        margin: 0;
        padding: 8px;
        background: #ddd;
        font-size: 17px;
    }
    #dialog h2 span {
        display: block;
        float: right;
        padding: 0 5px;
        color: #c22;
        cursor: pointer;
    }
    #dialog form {
        padding: 20px;
    }
    input[type=text] {
        padding: 6px;
        width: 90%;
    }
    textarea {
        padding: 6px;
        font-family: Arial, Helvetica, sans-serif;
        width: 90%;
        height: 140px;
    }
    input[type=submit] {
        padding: 8px 18px;
        margin-top: 10px;
    }
    #btn {
        position: absolute;
        top: 50%;
        left: 45%;
        width: 20%;
        border: 4px solid #ccc;
        text-align: center;
        background: #fff;
        opacity: 0.6;
        display: none;       
        }


    
    /* Style the header */
    .header {
      background-color: #f1f1f1;
      padding: 30px;
      text-align: center;
      font-size: 35px;
    }

    /* Container for flexboxes */
    .row {
      display: -webkit-flex;
      display: flex;
    }

    /* Create three equal columns that sits next to each other */
    .column {
      -webkit-flex: 1;
      -ms-flex: 1;
      flex: 1;
      padding: 10px;
      height: 300px; /* Should be removed. Only for demonstration */
    }

    /* Style the footer */
    .footer {
      background-color: #f1f1f1;
      padding: 10px;
      text-align: center;
    }

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .row {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}
@media (min-width: 33em) {
	body {
		padding: 1.6em;
		max-width: 60em;
	}
	header {
		overflow: hidden;
		text-align: left;
	}
	.logo {
		float: left;
	}
	hgroup {
		float: left;
		margin: 1.6em 0 0 1em;
	}
	.des {
		float: right;
		margin-top: 3em;
	}
	h1 {
		font-size: 1.6em;
	}
	nav {
		background: #E74C3C;
	}
	nav ul li {
		width: auto;
		border-right: 1px solid #C0392B;
	}
	nav ul li a {
		font-size: 1em;
		padding: 0.5em 3em;
	}
	.content {
		overflow: hidden;
	}
	article {
		height: 200px;
		width: 100%;
		float: left;
	}
	footer {
		border-top: 1px solid #BDC3C7;
		padding-top: 0.5em;
	}
}
@media (min-width: 30em) and (max-width: 60em) {
	body {
		width: 36em;
	}
	.des {
		display: block;
		float: none;
		text-align: center;
		margin-top: 0;
	}
	nav {
		background: transparent;
	}
	nav ul li {
		width: 33%;
		border: 0 none;
	}
	article {
		width: 46%;
	}
 }

</style>
<style>
    /* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
    @media (max-width: 600px) {
        
      .row {
        -webkit-flex-direction: column;
        flex-direction: column;
      }
    }
       input {
            width: 100%;
            padding: 6px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            margin-top: 6px;
            margin-bottom: 6px;
        }

        /* Style the submit button */
        input[type=submit] {
          background-color: #4CAF50;
          color: white;
        }

        /* Style the container for inputs */
        .container {
          background-color: #f1f1f1;
          padding: 20px;
        }

        /* The message box is shown when the user clicks on the password field */
        #message {
          display:none;
          background: #f1f1f1;
          color: #000;
          position: relative;
          padding: 20px;
          margin-top: 10px;
        }
        
        #message2 {
          display:none;
          background: #f1f1f1;
          color: #000;
          position: relative;
          padding: 20px;
          margin-top: 10px;
        }

        #message p {
          padding: 10px 35px;
          font-size: 18px;
        }

        /* Add a green text color and a checkmark when the requirements are right */
        .valid {
          color: green;
        }

        .valid:before {
          position: relative;
          left: -35px;
          content: "✔";
        }

        /* Add a red text color and an "x" when the requirements are wrong */
        .invalid {
          color: red;
        }

        .invalid:before {
          position: relative;
          left: -35px;
          content: "✖";
        }
    

</style>
