/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
  box-sizing: border-box;
}

html, body {
  scroll-padding-top: 160px; /* height of sticky header */
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

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

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.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 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */



@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: transparent !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;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h1, h2, h3, .etsytop, li, button[submit], a.mainheaders {
  font-family: 'Quicksand', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #1E0042;
  text-decoration: none;
}

h2 {
  font-size: 2vw;
  display: inline;
  border-bottom: 1px solid #1E0042;
  padding-bottom: 20px;
}

p, figure, input, textarea, b {
  font-family: 'laila', serif;
  line-height: 1.8em;
  color: #1E0042;
  margin-top: 20px;
}

a {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.8em;
  color: #80ade4;
  text-decoration: none;
}

figcaption {
  font-size: 0.8em;
  max-width: 28em;
  text-align: left;
  line-height: 1.5em;
  margin: 0.4em 0 3em 0;
}

#reach-us {
  margin-right: 100px;
  height: 50px;
}

#reach-us-header {
  margin: auto;
}

.section-text a:hover {
  color: #3969a3;
  text-decoration: underline;
}

#button, input[type=submit] {
  /*background-color: rgba(144, 141, 219, 0.30);*/
  background-color: rgba(184, 184, 204, 0.3);
  box-shadow: 0px 0px 3px rgb(148, 148, 148);
  border: 0.5px solid #1E0042;
  margin-top: 30px;
  padding: 10px;
  display: inline-block;
}

#button:hover, input[type=submit]:hover {
  /*background-color: rgb(188, 185, 255);*/
  background-color: rgb(187, 187, 189);
  box-shadow: 0px 0px 0px #FFF;
  border: 1.5px solid #1E0042;
  cursor: pointer;
}

#button a, input[type=submit] {
  text-transform: uppercase;
  padding: 8px;
  color: #1E0042;
  letter-spacing: 0.2em;
  font-size: 1em;
}

#button a:hover {
  text-decoration: none;
}

.box p {
  font-weight: bold;
}


.mainheaders {
  cursor: default;
}

.flex {
  position: relative;
  top: 65px;
}

.googlemap-responsive {
  background-image: url(/img/map-background.png);
  height: 600px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1003;
  box-shadow: 20px 10px 10px #000;
  margin-top: 50px;
}

.box {
  vertical-align: middle;
  background-color: #d6d6d6;
  padding: 50px;
  opacity: 0.8;
  width: 20em;
  transition:all 0.3s ease;
  text-decoration: none;
  border-radius: 6px;
}

.box:hover {
-webkit-transform: scale(1.3);
-ms-transform: scale(1.3);
transform: scale(1.3);
}

.box p{ 
  background-color: transparent;
  opacity: 1.0;
  text-align: center;
  color: #222;
}

.logo {
  background-image: url(/img/a-touch-of-glass-logo.svg);
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  top: 30px;
  left: 2%;
  width: 100%;
  float: left;
  margin-right: 10px;
  margin-top: 5px;
  line-height: 2;
  clear: both;
}

a.logo {
text-indent: -9999px;
}

.etsytop {
  position: relative;
  height: 40px !important;
  float: right;
  margin-right: 2%;
  margin-top: 30px;
  border-radius: 12px;
  background-image: linear-gradient(to bottom, rgb(255, 166, 0), rgb(252, 50, 23));
  box-shadow: 0px 0px 2px #000;
  transition:all 0.25s ease-in;
  width: 230px;
}

.etsytop:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 30%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-top-color: rgb(252, 50, 23);
  border-bottom: 0;
  margin-left: -30px;
  margin-bottom: -16px;
  border-radius: 20px;
}

.etsytop:hover {
  background-image: linear-gradient(to top, rgb(255, 166, 0), rgb(252, 50, 23));
  color: #fff;
  width: 245px;
}

.etsytop:hover::after {
  border-top-color: rgb(255, 166, 0);
}

a.etsytop {
  text-transform: uppercase;
  text-align: center;
  padding: 8px 0px 5px 20px;
  text-decoration: none;
  color: #1E0042;
  margin-left: 10px;
}

.e-logo {
  background-position: 0px 0px;
  background-repeat: no-repeat;
  height: 25px;
  display: inline-block;
  position: absolute;
  left: 20px;
}

.slideshow-header {
  font-size: 4vw;
  max-width: 15em;
  position: absolute;
  bottom: 5%;
  left: 5%;
  z-index: 100;
}

.slideshow-container {
  top: 65px;
  background-image: url(/img/slideshow-background.png);
  background-repeat: no-repeat;
}

.textbackground {
  background-color: #ccccccb4;
}

#main-content {
  position: relative;
  top: 100px;
}

section {
  display: flex;
  height: 65vh;
  align-items: center;
}

#mediums, #about {
  background-image: url(/img/background-texture.png);
  background-repeat: repeat;
}

#padding {
  flex-basis: 10%;
}

#padded {
  flex-basis: 85%;
}

#bio-pic {
  float: right;
}

.multi-column {
  column-count: 3;
  line-height: 1.8em;
  font-size: 1.3em;
  padding-top: 20px;
}

#intro-cutout {
  float: right;
  position: inherit;
}

.h3-span {
  display: inline;
}

.form-container {
height: initial;
}

.form {
  float: left;
  width: 70%;
}

.form-text {
  margin-bottom: -10px;
}

.contactaside {
  width: 25%;
  float: left;
  margin-left: 5%;
}

.contactaside img {
  margin-top: 20px;
  width: 100%;
  object-fit: contain;
}

input[type=text], select, textarea{
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.who {
  float: left;
  width: 25%;
  margin-right: 5%;
}

.who-2 {
  width: 35%;
  float: left;
  margin-right: 5%;
  text-indent: -9999px;
}

.who-3 {
  width: 30%;
  float: left;
  vertical-align: right;
}

#topnav {
  /*background-color: #1E0042;*/
  background-color: rgb(33, 33, 39);
  height: 80px;
  width: 100%;
  position: relative;
  z-index: 1001 !important;
  box-shadow: 0px 4px 10px  rgba(34, 34, 34, 0.40);
}

#secondarynav {
  top: 80px;
  position: absolute;
  text-decoration: none;
  /*background-color: rgba(144, 141, 219, 0.30);*/
  background-color: rgba(223, 223, 223, 0.3);
  height: 50px !important;
  width: 100%;
  z-index: 1000 !important;
  /*border-bottom: 0.75px solid #80ade4;*/
  border-bottom: 1.5px solid #94989c;
  box-shadow: 0px 5px 20px  rgba(34, 34, 34, 0.30);
  display: flex;
  transition:all 0.2s ease;
}

#secondarynav:hover {
  /*background-color: rgb(188, 185, 255);*/
  background-color: rgb(227, 227, 228);
  box-shadow: 0px 5px 20px  rgba(8, 8, 8, 0.356);
}

#secondarynav ul {
  margin: 0;
  height: 50px !important;
  position: absolute;
  left: -20px;
}

#secondarynav a{
  text-decoration: none;
  color: #1E0042;
  margin: 0;
  transition:all 0.2s ease;
}

#secondarynav li{
  float: left;
  display: block;
  list-style-type:none;
  margin: 0;
  padding: 0px 10px 0px 10px;
  height: 50px !important;
  display: flex;
  align-items: center;
  transition:all 0.3s ease;
  position: relative;
  top: 0;
}

.line {
  margin: 0px 0px 0px 18px;
}

#secondarynav li:hover{
  padding: 0px 20px 0px 20px;
  letter-spacing: 0.25em;
}

header {
  z-index: 1000 !important;
  width: 100%;
  position: fixed;
  top: 0;
}

footer {
  background-color: rgb(33, 33, 39);
  /*background-color: #1E0042;*/
  height: 160px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer2 {
  position: absolute;
}

#footer2 ul {
  position: relative;
  left: -40px;
  padding: 0px;
  margin: 0px;
}

#footer2 li {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  top: 10px;
}

#footer2 li, #footer2 a{
  height: 59px;
  display: inline-block;
} 

#pinterest {
  left: 0px;
  width: 59px;
  background: url(/img/social-icons.png) 0 0;
}

#pinterest:hover {
  background: url(/img/social-icons.png) 0 -78px;
}

#facebook {
  left: 15px;
  width: 59px;
  background: url(/img/social-icons.png) -69px 0;
}

#facebook:hover {
  background: url(/img/social-icons.png) -69px -78px;
}

#instagram {
  left: 30px;
  width: 59px;
  background: url(/img/social-icons.png) -130px 0;
}

#instagram:hover {
  background: url(/img/social-icons.png) -130px -78px;
}

#blog {
  left: 55px;
  width: 59px;
  background: url(/img/social-icons.png) -210px 0;
}

#blog:hover {
  background: url(/img/social-icons.png) -210px -78px;
}

#youtube {
  left: 80px;
  width: 59px;
  background: url(/img/social-icons.png) -294px 0;
}

#youtube:hover {
  background: url(/img/social-icons.png) -294px -78px;
}

a#pin {
  width:59px;
}

a#face {
  width:59px;
}

a#insta {
  width:59px;
}

a#bl {
  width:59px;
}

a#you{
  width:59px;
}


.faded {
  color: rgb(87, 87, 87);
  position: relative;
  bottom: -170px;
  text-align: center;
  font-size: 0.8em;
}

.image-row {
  height: 50%;
  vertical-align: middle;
}

p.section-text {
  width: 20%;
  display: block;
  float: left;
}

figure {
  float: left;
  padding: 5px;
  margin-right: 0px;
  width: 20%;
}

figure img {
  border: 1px solid #1E0042;
  width: 100%;
  object-fit: cover;
}

img.float-left {
  float: left;
  margin-right: 4em;
  border: 1px solid #1E0042;
  width: 30%;
  object-fit: cover;
}

.full-width-image {
  height: 60vh;
  width: 100%;
}

.full-width-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-pic {
  width: 100px;
  object-fit: cover;
  margin-right: 20px;
  padding: 3px;
  border: 1px solid #80ade448;
  float: right;
  display: block;
}

hr {
  position: absolute;
  width: 600px;
  left: 0px;
  border-top: 1.7px solid #1E0042;
  margin: 0;
}

#contact {
  margin-top: 200px;
}

.cutouts {
  position: relative;
  left: 50px;
  top: 80px;
}

@media only screen and (max-width: 2000px) {

  #about-text {
    width: 50%;
  }
}

@media only screen and (max-width: 1500px) {
  .cutouts {
    display: none;
  }

  .multi-column {
    column-count: 1;
    line-height: 1.8em;
    font-size: 1em;
    width: auto;
  }

  .scrollup {
    visibility: hidden;
  }

  #secondarynav {
    visibility: hidden;
  }
}

@media only screen and (max-width: 1200px) {
  p.section-text {
    width: 90%;
    display: block;
    clear: both;
  }


  figure {
    margin: 0px;
    width: 30%;
  }
}

@media only screen and (max-width: 700px) {
  hr {
    width: auto;
  }

  #padding {
    visibility: hidden;
  }

  h1 {
    font-size: 8vw;
    text-align: left;
  }

  h2 {
    font-size: 5vw;
    border-bottom: none;
  }

  #padded {
    width: 100%;
    height: auto;
  }

  #about-text {
    width: 100%;
  }

  figure {
    width: 100%;
    margin: auto;
  }

  #bio-pic {
    float: none;
  }

  .slideshow-header {
    font-size: 5vw;
    max-width: 30em;
    position: absolute;
    bottom: 10px;
    line-height: 1em;
    left: 8%;
    z-index: 100;
  }

  .textbackground {
    background-color: transparent;
  }

  section {
    height: auto;
    margin-bottom: 30px;
  }
  
  .etsytop {
    position: fixed;
    top: 50px;
    width: 100%;
    border-radius: 0px;
  }

  a.etsytop {
    text-align: center;
    margin-left: 0;
  }

  .etsytop:hover {
    width: 100%;
  }

  .slideshow-container {
    position: relative;
    top: 120px;
  }

  .e-logo {
    visibility: hidden;
  }

  .contactaside {
    visibility: hidden;
  }

  .form {
    width: 100%;
  }

  input[type="submit"] {
    width: 100%;
  }

  .textbackground {
    visibility: hidden;
  }

  #intro {
    margin-top: 30px;
  }

  img.float-left {
    width: 90%;
    margin-bottom: 3em;
  }

  .googlemap-responsive {
    margin-top: -400px;
  }

  .etsytop:after, .etsytop:hover::after {
    visibility: hidden;
  }
}