* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

body {
    background-color: whitesmoke;
}

#header {
    display: flex;
    flex-flow: row wrap;
    border-bottom: 2px solid lime;
    margin-bottom: 2%; margin-top: 2%;
    height: 15vh;
}

#header div {
    flex: 1 0 30%;
    min-height: 50px;
    margin-bottom: 2%;
}

div img {
    width: 100px; height: 80px;
}

.dropbtn {
    color: gray;
    padding: 16px;
    font-size: 16px;
    border-bottom: 1px solid gray;
    cursor: pointer;
  }

.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 70%;
    margin-top: -100px;
  }
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
      display: block;
      color: orange;
      text-decoration: none;
      text-align: right;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content a:hover {
      text-decoration: underline;
  } 

div #link a {
    display: flex;
    margin-left: 82%; width: 70px;
    text-decoration: none;
    color: orange;
    margin-top: -80px;
}

form {
    margin-left: 20%;
    border: 1px solid gray;
    width: 900px; height: 560px;
}

label {
    color: #343a40; font-weight: bold;
    float: left;
    margin-left: 10%;
    width: 25em;
    display: block;
    margin-top: 1%;
}

form label span {
    font-size: 12px;
    color: gray;
    display: block;
    margin-left: 36%;
    width: 23em;
}

form label span a {
    text-decoration: none;
    color: orange;
}

form #submit {
    margin-left: 26%; margin-top: 2%;
    background-color: orange;
    background-image: linear-gradient(#FEA95E, darkorange);
    color: white;
    width: 120px; height: 40px;
    font-size: 18px; font-weight: bold;
    margin-top: 5%;
    box-shadow: 2px 1px 2px 1px gray;
    text-shadow: 1px 1px gray;
    text-align: center;
}

input {
    width: 10em; height: 40px;
    border-radius: 5px;
    font-size: 2em;
    border: 1px solid gray;
    margin-left: 26%;
    text-align: left;
    margin-top: -5%;
}

h2 {
    color: orange; font-size: 32px;
    padding: 1em;
}

#main div {
    background-color: lightblue;
    border: 1px solid skyblue;
    width: 900px; height: 50px;
    margin-left: 20%; margin-bottom: 3%;
}

#main div p {
    padding: 1em;
    color: darkblue;
}

#main div p a {
    color: orange;
    text-decoration: none;
}

div #box {
    border: 1px solid lightgray;
    background-color: whitesmoke;
    width: 230px; height: 170px;
    margin-left: 70%; margin-top: -42%;
}

div #box ul h3 {
    background-color: green;
    margin: auto; text-align: center;
    color: white;
    height: 30px;
}

div #box li {
    margin-left: 10%; margin-top: 4%;
    color: darkslategrey;
}

footer {
    height: 15vh;
    background-color: gray;
    margin-top: 10%;
}

footer::after {
    content: ""; display: block;
    width: 100%; height: 120px;
    background-color: gray;
    transform: skew(0deg, -3deg);
    position: absolute; bottom: -400px; left: 0px;
    transform-origin: left;
} 

