html {
  color: #222;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
body {
  font-family: "Lucida Sans Unicode", "Lucida Grande", ".SF NS", Verdana, sans-serif;
  font-weight: bold;
  font-size: 1em;
}
::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
   ========================================================================== */
body {
  padding-bottom: 202px;
}
.container {
  position: relative;
}
.main {
  scroll-behavior: smooth;
}
header {
  position: fixed;
  z-index: 11;
  background-color: white;
  box-shadow: 0px 20px 15px white;
  padding: 25px 0px;
  width: 100%;
}
.logo {
  width: 100%;
}
.logo img {
  max-width: 300px;
  text-align: center;
}
.welcome {
  display: none;
}
nav {
  position: absolute;
  width: 100%;
  height: 0px;
  left: 0px;
  overflow-y: hidden;
  -moz-transition: height 0.7s ease-in;
  transition: height 0.7s ease-in;
  z-index: 10;
}
.nav-open {
  height: 360px;
}
nav a {
  margin: 0;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 0.5em 1em;
  border-bottom: 1px solid #58b6b8;
  text-decoration: none;
  color: #222;
  font-size: 16px;
  text-transform: uppercase;
}
nav a:hover {
  background-color: rgba( 226, 195, 195, 0.8 );
}
#menubutton {
  fill: #58b6b8;
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline;
  padding: 5px;
  background-color: rgba(255,255,255,0.5);
}
a {
  text-decoration: none;
}
.about a {
  color: #58b6b9;
}
.home {
  padding-top: 50px;
}
.homeintrologo {
  display: none;
}
.col {
  border: 10px solid #58b6b8;
  padding: 15px;
  margin: 50px 18px 0px;
}
h2 {
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: 100px;
  background-image: url('../img/wave.png');
  background-repeat: no-repeat;
  background-position: 10% 50%;
  padding: 10px 0px;
}
p, #offercontent {
  text-indent: 43px;
  margin-top: 40px;
  margin-bottom: 10px;
  line-height: 2.0em;
  font-size: 0.8em;
}
p.byline {
  margin-top: 0px;
  color: #58b6b8;
  text-indent: 0px;
}
p.plain {
  margin-top:0px;
  text-indent: 0px;
}
img {
  text-align: center;
  max-width: 100%;
  height: auto;
}
.samples {
  text-transform: uppercase;
  margin-top: 50px;
}
div[id^="sample"], div[id^="student"] {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.method img, .options img {
  margin-bottom: -50px;
}
.playbutton, .sendbutton, .enterbutton {
  background: url('../img/buttonaudio.png') no-repeat center;
  background-position: top;
  width: 100px;
  height: 33px;
  cursor: pointer;
  mask-image: url('../img/buttonmask.png');
  transition: scale 1s ease-in-out .5s;
}
.playbutton:hover, .sendbutton:hover {
  filter: saturate(120%) brightness(90%);
  transform: scale(1.05);
}
.playing {
  background-position: left -66px;
}
.sendbutton, .enterbutton {
  background: transparent url('../img/button.png') no-repeat;
  font-family: "Arial Black", arial, sans-serif;
  border: 0px;
}
.enterbutton, .sendbutton {
  font-size: 14px;
}
.form-control {
  border: 5px solid #58b6b8;
  border-radius: 0px;
}
.tagline {
  text-align: center;
  font-style: italic;
  padding: 10px 0px;
  text-wrap: balance;
  font-size: 16px;
}
.reward {
  background-color: #58b6b8;
  background-image: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(88,182,185,1) 13%, rgba(88,182,185,1) 87%, rgba(250,250,250,1) 100%);
	color: white;
	text-align: center;
	font-style: italic;
	font-size: 1.1em;
	font-weight: normal;
	padding: 4px 0px;
	text-wrap: balance;
}
#thankyou {
  text-align: center;
  margin: 30px auto;
}
#testimonials {
  margin-top: 70px;
}
.comments {
  padding-left: 0px;
}
.method img, .options img {
  margin-bottom: -55px;
  margin-top: 30px;
}
form {
  margin-bottom: 0.1em;
}
#message {
  text-align: center;
  height: 2em;
  margin: 1em auto 0.3em;
}
.contactalert {
  color: black;
}
input[type=text], input[type=email], textarea.form-control {
  font-weight: bold;
  font-size: 0.8em;
}
.maximum {
  width: 100%;
  position: relative;
}
.maximum::after {
  content: "650 CHARACTERS AND SPACES MAXIMUM.";
  width: 100%;
  font-size: 12px;
  text-align: center;
  font-style: italic;
  position: absolute;
  left: 0px;
  bottom: -22px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden,
[hidden] {
  display: none !important;
}
.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}
.sr-only.focusable:active,
.sr-only.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) {
  .lockscreen {
    overflow: hidden;
  }
  .headergrid {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: space-between;
  }
  .home {
    padding-top: 0px;
    position: relative;
    border: 0px solid white;
    margin: 0px 0px 202px;
    top: 160px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 160px);
    justify-content: space-between;
  }
  .homepics {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  .homepics img {
    object-fit: contain;
    max-width: 940px;
  }
  .homeintrologo {
    position: absolute;
    display: block;
  }
  .logo img {
    max-width: 550px;
  }
  .welcome {
    display: block;
    text-align: center;
  }
  .slogan {
    font-size: clamp(24px, 2.5vw, 36px);
    font-style: italic;
    font-weight: normal;
    display: flex;
    align-items: center;
    margin-bottom: -13px;
  }
  .enter {
    margin: 0.8em 0em;
    text-align: right;
    margin-right: 8px;
  }
  .col {
    padding: 35px;
    margin: 202px 18px 0px;
  }
  nav {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: auto;
  }
  body {
    font-size: 1.60em;
  }
  #menubutton {
    display: none;
  }
  nav {
    font-family: "Arial Black", arial-black, sans-serif;
  }
  nav a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: normal;
    text-align: center;
    color: inherit;
    background: url('../img/button.png') no-repeat top;
    background-position-x: 2px;
    padding: 5px 0px 0px 4px;
    margin: 5px;
    display: inline-block;
    width: 102px;
    height: 32.4px;
    text-decoration: none;
    border: 0px;
  }
  nav a:hover {
     background-position-y: -33.2px;
     color: white;
     background-color: transparent;
  }
  img {
    text-align: start;
  }
  .caricature {
    float: left;
    shape-outside: url('../img/caricature.png');
    width: 200px;
  }
  .about p {
    text-indent: 0px;
  }
  .mb-3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-content: start;
    justify-items: end;
    text-align: right;
  }
  textarea {
    width: 103.5% !important;
    margin-inline-start: -20px;
  }
  label[for="yourcomments"] {
    padding-right: 18px;
  }
  .welcome {
    height: 123px;
    background-color: #58b6b9;
    background-image: linear-gradient(to top, #fff 5%, #58b6b9 35%), linear-gradient(to left, #fff 10%, #58b6b9 20%);
    position: absolute;
    top: 0px;
    width: 98.2%;
    z-index: 12;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-content: center;
    opacity: 1;
  }
  .welcome-out {
    animation: 1s ease-in 1 fadeout;
  }
  @keyframes fadeout {
    100% {
      opacity: 0;
    }
  }
  .greeting {
    font-size: 3rem;
    color: white;
    font-style: italic;
    padding: 0px 0.6em;
    margin: 0.5rem;
    margin-bottom: -5px;
  }
  label[for='yourcomments'] {
    text-wrap: balance;
  }
  #testimonials {
    margin-top: 202px;
  }
  .comments {
    padding-left: 1.5em;
  }
  .bottombar {
    margin-bottom: 25px;
  }
  .tagline {
    font-size: 19px;
  }
  .maximum::after {
    font-size: 14px;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  max-width: 1280px;
}

/* 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 */
}
@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) ")";
  }
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

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

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }

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

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

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

