@font-face {
  font-family: quicksand;
  src: url(../fonts/quicksand/Quicksand-VariableFont_wght.ttf);
}

* {
  font-family: "quicksand";
  font-weight: normal;
}
body {
  background-image: url(../img/background.jpg);
  /* source: https://www.vecteezy.com/vector-art/20548877-blank-background-watercolor-with-floral-abstract-wet-hand-drawn-for-wallpaper-card-greeting-poster-design-cover-invitation-pastel-color */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

img{
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}

#wrapper {
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-areas:
    "banner"
    "menu"
    "content"
    "footer";
  grid-template-columns: 1fr;
  grid-template-rows: auto auto minmax(650px, auto) auto;
}

.logotext {
  text-align: center;
  border-bottom: 1px solid;
  padding: 16px;
}

header {
  grid-area: banner;
}

nav {
  grid-area: menu;
}

nav ul {
  text-align: center;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
}

h1 {
  text-align: center;
}

nav a {
  color: black;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  padding: 16px;
  vertical-align: middle;
}

nav a:hover {
  color: aliceblue;
  background-color: rgb(130, 135, 170);
  border-radius: 16px;
}

main {
  grid-area: content;
  padding-bottom: 64px;
}

p {
  font-size: 18px;
}

.buttonhtml {
  background-color: darkblue;
  opacity: 80%;
  border: none;
  padding: 8px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  float: right;
  font-size: 14px;
  text-decoration: none;
}

.buttoncss {
  background-color: darkorchid;
  opacity: 80%;
  border: none;
  padding: 8px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  float: right;
  font-size: 14px;
  text-decoration: none;
}

.buttonjs {
  background-color: darkcyan;
  opacity: 80%;
  border: none;
  padding: 8px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  float: right;
  font-size: 14px;
  text-decoration: none;
}

footer {
  grid-area: footer;
  padding: 16px;
  border-top: 1px solid;
}

footer a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 16px;
}

footer a:hover {
  text-decoration: underline;
}

footer li {
  display: block;
  float: left;
  clear: left;
  margin: 8px;
}
.main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.htmltips {
  width: 300px;
  outline-style: solid;
  outline-width: 1px;
  outline-color: blue;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  margin: 8px auto;
}

.csstips {
  width: 300px;
  outline-style: solid;
  outline-width: 1px;
  outline-color: violet;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  margin: 8px auto;
}

.jstips {
  width: 300px;
  outline-style: solid;
  outline-width: 1px;
  outline-color: rgb(0, 212, 212);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  margin: 8px auto;
}

fieldset {
  /* border: none; */
  border-left: none;
  border-right: none;
  border-bottom: none;
  margin-bottom: 64px;
}
aside {
  clear: both;
  padding-top: 10px;
}

aside.two label,
aside.three label {
  font-weight: normal;
  float: left;
  width: 120px;
  text-align: right;
  padding-right: 20px;
  position: relative;
  margin-top: 8px;
}

aside.two input {
  float: left;
  width: 25em;
  min-height: 1.5em;
  text-align: left;
  vertical-align: text-top;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 8px;
}

aside.two input:focus {
  outline: none;
  border: 2px solid rgb(130, 135, 170);
}

aside.three textarea {
  float: left;
  width: 25em;
  min-height: 300px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-top: 8px;
}

aside.three textarea:focus {
  outline: none;
  border: 2px solid rgb(130, 135, 170);
}

aside.one {
  text-align: center;
}

.tooltip {
  display: block;
  position: absolute;
  visibility: hidden;
  left: 27em;
  top: 0;
  width: 15em;
  padding: 0.5em;
  font-weight: normal;
  color: #fff;
  background-color: rgb(130, 135, 170);
  border-radius: 10px;
}

.error {
  color: #e97790;
}
span.error {
  padding-left: 10px;
}

.success {
  color: rgb(93, 189, 233);
}

span.success {
  padding-left: 10px;
}

#submit {
  clear: both;
  width: 125px;
  height: 30px;
  color: aliceblue;
  background: rgb(93, 189, 233);
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 10px;
  border: none;
}

#submit:disabled {
  color: rgb(44, 22, 22);
  background-color: #e97790;
}

.vcard{
  text-align: center;
  margin: 16px;
}

iframe{
  display: block;
  margin: auto;
}

h2 {
  text-align: center;
}

.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
  }

table {
  font-family: arial, sans-serif;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

@media screen and (max-width: 700px) {
  nav ul {
    flex-wrap: wrap;
  }

  aside.two label,
  aside.three label {
    text-align: left;
  }

  span.error,
  span.success {
    padding-left: 0px;
    display: inline-block;
  }

  .tooltip {
    left: 8em;
    top: 2em;
  }

  iframe{
    width: 90vw;
    height: 400px;
  }
}
