html {
  color: #222;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1em;
  line-height: 1.4;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
header {
  box-shadow: 0 10px 10px rgba(0,0,0,0.5);
  position: sticky;
  width: 100%;
  top: 0px;
  background: white;
  z-index: 5;
}
#menubutton {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 40px;
}
header nav {
  position: absolute;
  width: 20ch;
  height: 0px;
  overflow-y: hidden;
  -moz-transition: height 0.7s ease-in;
  transition: height 0.7s ease-in;
  z-index: 10;
  top: 80px;
  right: 0px;
}
.nav-open {
  height: 360px;
}
header nav a {
  display: block;
  padding: 0.5em 1em;
  border-bottom: 1px solid #1e75be;
  text-decoration: none;
  color: #222;
  text-align: right;
  background-color: rgba(255, 255, 255, 0.85);
}
header nav a:hover {
  background-color: rgba(158, 216, 255, 0.8);
}
.current {
  background-color: rgb(11, 34, 108);
  color: white;
}
header .col {
  align-content: center;
}
section {
  margin: 3em 0;
}
.banner {
  padding: 2em;
  width: 100%;
  height: 20em;
  background: url('../img/headersky.webp') no-repeat;
  background-size: cover;
  background-position: center;
}
h1 {
  font-weight: 400;
  font-style: italic;
  text-align: center;
  text-wrap-style: balance;
}
h4 {
  font-variant: small-caps;
}
picture {
  margin-bottom: 1.5em;
}
.img100 {
  max-width: 100%;
}
.left-img {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-style: italic;
  font-size: 13px;
  max-width: 30ch;
  img {
    margin-right: 1em;
  }
}
.rush {
  float: right;
  margin-right: 5%;
  rotate: -15deg;
  margin-bottom: 20px;
}
label {
  font-weight: 600;
  font-style: italic;
  color: #1e75be;
}
textarea {
  width: 100%;
  height: 7em;
}
.thanks {
  visibility: hidden;
  font-weight: 600;
  font-style: italic;
  color: #1e75be;
  transition-property: visibility;
  transition-duration: 1s;
  transition-delay: 1s;
}
.col-form {
  flex: 1 0 50%;
}
.contactbox {
  position: relative;
  padding: 1em;
  background-color: rgba(0,0,0,0.05);
  border-radius: 15px;
}
#waiting {
  visibility: hidden;
  background: rgba(0, 0, 0, 0.2);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  & svg {
    animation: 1s linear infinite rotatearrows;
  }
}
@keyframes rotatearrows {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


footer {
  padding: 2em 0; 
  background: #0074c2 url('../img/footersky.webp') no-repeat;
  background-blend-mode: multiply;
  background-size: cover;
  color: white;
  text-shadow: 0 0 2px black;
  a {
    color: white;
    text-decoration: none;
  }
}
footer .col {
  text-align: center;
}

footer nav {
  position: relative;
  height: auto;
}
footer nav a {
  display: block;
  border-color: transparent;
  padding: 0;
  cursor: pointer;
  :hover {
    color: #00d9ff mport !important;
  }
}

/* ================================================*/
.hidden,
[hidden] {
  display: none !important;
}

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}
.invisible {
  visibility: hidden;
}
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/*==================================================
=                Mobile First Method               =
==================================================*/

/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 576px) {
  
}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  section {
    margin: 4em 0;
  }
  header nav {
    position: relative;
    width: auto;
    height: auto;
    overflow-y: unset;
    transition: none;
    top: 0;
  }
  header nav a {
    padding: 0 7px;
    border-radius: 5px;  
    display: inline-block;
    border-color: transparent;
    color: #1e75be;
    text-decoration: none;
    background-color: transparent;
    :hover {
      color: red;
    }
  }
  .col-form, col:has(nav) {
    flex: 1 0 0%;
  }
  #menubutton {
    display: none;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  section {
    margin: 5em 0;
  }
  .contact-crate > * {
    transform-origin: bottom right;
    transform: scale(1.5);
  }
  .contact-box {
    transform: translate(0, -50%);
  }
  .intro-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .intro {
    font-size: 17px;
    line-height: 1.45em;
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media only screen and (min-width: 1400px) {
  
}

@media only screen and (min-width: 35em) {
  
}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

