/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

:root {
  /* --primary: #5cb25d; */
  --primary: #415fb7;
  --secondary: #f4d647;
  /* --tertiary: #99fcff; */
  --tertiary: #d4f8f9;
  --fourth: #d30b0b;

  --white: white;
  --grey: rgb(105, 105, 105);
}

/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@700&display=swap');
html,
body {
  height: 100%;
  margin: 0;
}

header {
    font-smooth: always;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  color: white;
  display: flex;
  align-items: center;
  font-family: 'Noto Sans', sans-serif !important;
  font-size: 2em !important;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid white;
  
}

.title-container {
  position: relative;
  display: flex;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid white;
}

.title {
  text-indent: 20px;
}
#title{
  font-family: 'Anton';
  font-kerning: 10px;
}

nav {
  font-size: 1rem;
  height: 30px;
  box-shadow: 0px 2px 5px rgb(108, 108, 108);
  background-color: transparent !important;
  overflow: visible;
  z-index: 20 !important;
  display: flex;
}

.nav-main {
  flex-grow: 1;
}

.nav-dock {
  position: relative;
  width: 100% !important;
  /* transition: 1s; */
}
.mobonly{
  display: none;
}
.smalltitle {
  font-family: 'Comfortaa';
  font-size: 2em;
  width:100%;
  text-align: center;
  border-bottom: 1px solid white;
}
.join {
  display: flex;flex-direction:row;justify-content: space-around;
}
.join-art {
  width:45%;
}

.mob-bar {
  position: absolute;
  left: 20px;
  top: 15px;
  width: 30px;
  height: 30px;
  z-index: 15;
  display: none;
}

.mob-bar > img {
  width: 100%;
}

.home-nav {
  z-index: 100;
  color: white !important;
  border-bottom: 1px solid white;
}

.home-nav>a {
  color: white;
}

.back {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: url(../img/sleeve/stmagnus.jpg) no-repeat;
  background-size: 100%;
  background-position: center 100%;
  background-size: cover;
  z-index: 1;
}

.greyout:after {
  content: " ";
  display: block;
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

.greyoutlite {
  display: block;
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

#logo {
  /* z-index: 1119; */
  background-image: url('../img/logo/logo-shield-only.png');
  background-repeat: no-repeat;
  transition: 0.4s;
}

.cd {
  max-width: 100%;
  margin: 20px;
}

.logo-home {
  position: relative;
  width: 210px;
  height: 210px;
  margin-right: 30px;
  background-position: center;
  background-size: contain;
}

.logo-dock {
  position: fixed;
  top: 10px;
  right: 30px;
  width: 120px;
  height: 130px;
  z-index: 1120;
  background-size: 120px;
  transition: 0.4s;
}

.logo-scroll {
  position: fixed;
  top: 10px;
  right: 30px;
  width: 100px;
  height: 120px;
  z-index: 100;
  background-size: 100px;
  transition: 0.4s;
}



.logo-spacer {
  flex-shrink: 0;
  width: 150px;
}

.title-spacer {
  flex-shrink: 0;
  width: 250px;
}

.nav-scroll {
  /* transition: 1s; */
  /* background-color: red !important; */
  background-color: rgba(0, 0, 0, 0.8) !important;
  z-index: 6;
  color: white !important;
  border-bottom: 1px solid white;
  position: fixed;
  top: 0;
  width: 100%;
}

.strip {
  position: relative;
}

.overlay {
  font-family: 'Comfortaa', sans-serif !important;
  display: block;
  position: absolute;
  bottom: 0px;
  color: white;
  background-color: var(--primary);
  width: 300px;
  text-align: right;
  padding-right: 20px;
  z-index: 9;
  padding: 5px;
  padding-right: 10px;
}

.overlay-out {
  left: -400px;
  transition: 2s;
}


main {
  background-position: center 100%;
  background-size: cover;
  /* min-height: 700px; */
}

p {
  /* font-family: 'Rubik', sans-serif; */
  font-family: sans-serif;
  text-align: justify;
  text-justify: inter-word;
}

h1 {
  font-size: 1.7em;
  font-family: 'Comfortaa', sans-serif !important;
  color: var(--primary);

}

h2 {
  font-size: 1.1em;
  font-family: 'Comfortaa', sans-serif !important;
  color: var(--primary);

}


.has-dropcap:first-letter {
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  float: left;
  color: var(--primary);
  font-size: 3rem;
  line-height: 0.65;
  margin: 0.1em 0.1em 0.2em 0;
}

.dropcap {
  font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
  background: black;
  color: #FDF9F2;
  float: left;
  font-size: 3rem;
  line-height: 1;
  margin: 0.1em 0.1em 0.2em 0;
  padding: 0.1em;
}

.dropcap:before,
.dropcap:after {
  content: "";
  display: block;
}

.dropcap:before {
  margin-top: -0.2em;
}

.dropcap:after {
  margin-bottom: -0.15em;
}




.first-letter {
  font-size: 2.5em;
  line-height: 70px;
  font-family: 'Comfortaa', sans-serif !important;
  font-weight: bold;
  color: var(--primary);
}

.subhead::first-letter {
  initial-letter: 2;
}

nav>div {
  height: 30px;
  display: flex;
  justify-content: space-around;
  font-family: sans-serif;
  align-items: center;
  width: 90%;

}

nav>div>a:hover {
  text-decoration: none;
  color: var(--white);
  font-size: 1.1em;
  font-family: 'Rubik', sans-serif;
    background-color: rgba(0, 0, 0, 0.4);
}

.lock-element-back {
  background-color: rgba(0, 0, 0, 0.76) !important;;
}
.lock-element {
  position: fixed !important;
}

nav>div>a {
  display: block;
  height: 100%;
  flex-grow: 1;
  text-align: center;
  line-height: 30px;
  text-decoration: none;
  color: var(--grey);
  font-size: 1.1em;
  font-family: 'Rubik', sans-serif;
  color: white;
}

table {
  font-family: 'Rubik', sans-serif;
  margin-top: 30px;
}

.present {
  left: 0px !important;
}

.banner {
  /* display: none; */
  height: 300px;
  z-index: 1;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
}

.ban-stmag {
  background-image: url('../img/sleeve/stmagnus.jpg');
  background-position: center 350px;
  transition: .4s;
}

.ban-tartan {
  background-image: url('../img/tartan.webp');
  transition: .4s;
}

.ban-drums {
  background-image: url('../img/drums8-attempt.png');
  background-position: center -210px;
  transition: .4s;
}

.ban-piper {
  background-image: url('../img/sleeve/1.jpg');
  transition: .4s;
}

.ban-side {
  background-image: url('../img/2019/last/kw/8.jpg');
  background-position: center center;
  transition: .4s;
}

.ban-bandt {
  background-image: url('../img/2017/johnschollay/6.jpg');
  background-position: center center;
  transition: .4s;
}

.ban-band2 {
  background-image: url('../img/2017/jackieharcus/1.jpg');
  background-position: center -100px;
  transition: .4s;
}

.ban-sleeve {
  background-image: url('../img/sleeve/2.jpg');
  background-position: center -100px;
  transition: .4s;
}

.ban-hall {
  background-image: url('../img/misc/photos/hall.png');
  background-position: center -1500px;
  transition: .4s;
}

.ban-bass {
  background-image: url('../img/2019/last/kw/1.jpg');
  background-position: center center;
  transition: .4s;
}
.ban-westray {
  background-image: url('../img/westray.jpg');
  background-position: center -200px;
  transition: .4s;
}
.ban-dundee {
  background-image: url('../img/dundee.jpg');
  background-position: center -200px;
  transition: .4s;
}
/*.ban-westray {*/
/*  background-image: url('../img/westray.jpg');*/
/*  background-position: center center;*/
/*  transition: .4s;*/
/*}*/

/*.home-title {*/
/*  position: relative;*/
/*  font-size: 5rem !important;*/
/*  color: white;*/
/*  font-family: 'Comfortaa', sans-serif;*/
/*  z-index: 10;*/
/*}*/

.home-title {
  position: relative;
  font-size: 10rem !important;
  color: white;
  font-family: 'Anton', sans-serif;
  z-index: 10;
}


.home-main {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.home-nav-container {
  width: 90%;
  margin: auto;
  margin-top: 30px;
  background-color: transparent;
  box-shadow: none;
}

  .home-title {
  position: relative;
  /*font-size: 5rem !important;*/
  color: white;
  font-family: 'Anton', sans-serif;
  z-index: 10;
}

.home-container {
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}
html, body{
  height:100% !important;
}

.home-footer {
  /* position: absolute; */
  border-top: 1px solid white;
  margin-bottom: 30px;
  height: 80px;
  z-index: 5;
  width: 90%;
  margin: auto;
  background-color: transparent;
  box-shadow: none;
  display: flex;
  padding: 10px;
  font-family: 'Comfortaa';
}

input, textarea, .submitbutton {
    font-family: 'Comfortaa';
    border: 1px solid var(--primary);
    padding:5px;
}

@media screen and (max-width:600px) {
  
  .mob-bar {
    display: block;
  }
}

@media screen and (max-width:1000px) {

  .title {
    font-size: 1.6rem;
  }

  .home-container {
    /*flex-direction: column;*/
    /*text-align: center;*/
    max-height: 400px;
  }

  .home-title {
    /*font-size: 7rem !important;*/
  }

  .home-footer {
    font-size: .8em;
  }

  .ban-drums {
    background-image: url('../img/drums8-attempt.png');
    background-position: center -100px;
    transition: .4s;
  }


  .logo-dock {
    background-size: 120px;
    width: 120px;
    /* z-index: 1000; */
  }

  .logo-home {
    background-size: 120px;
    width: 120px;
    margin-right: 0px;
  }

  nav {
    font-size: .8rem;
    height: 30px;
  }


}


@media screen and (min-width:1000px) {
  .ban-band2 {
    background-position: center -240px;
  }

  .ban-sleeve {
    background-image: url('../img/sleeve/2.jpg');
    background-position: center -200px;
  }
}

@media screen and (min-width:1500px) {
  .ban-band2 {
    background-position: center -400px;
  }
}

.move150 {
  background-position: center -150px;
}

.move200 {
  background-position: center -200px;
}

.move400 {
  background-position: center -400px;
}


section {
  width: 95%;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 40px;
}

footer {
  /* height: 70px; */
  display: flex;
  clear: both;
  color: var(--white);
  font-family: sans-serif;
  padding: 10px;
  min-height: 140px;
  background-color: black;
  background-color: linear-gradient(90deg, rgb(13, 13, 13) 0%, rgb(24, 24, 24) 49%);
}

footer>div>div>a {
  text-decoration: none;
}

.merch {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); */
  /* border:1px solid black; */
  width: 330px !important;
  margin-left:5px;
  margin-right:5px;
  /* max-width: 300px; */
  /* height: 390px; */
  /* border-radius: 10px !important; */
  text-align: center;
  font-family: arial;
  margin-bottom: 20px;
}

.price {
  color: black;
  font-size: 1.1em;
  font-weight: bolder;
}

.card button,
.soldout {
  border: none;
  outline: 0;
  padding: 12px;
  color: white;
  background-color: var(--primary);
  text-align: center;
  cursor: pointer;
  width: 50%;
  font-size: 14px;
  height:35px;
  line-height: 10px;
}

.card button:hover {
  opacity: 0.7;
}

thead {
  background-color: #000000;
  color: white;
}

#event tbody {
  text-align: center !important;
}

tbody {
  font-size: .8em;
  text-align: left;
}

tbody>tr {
  height: 20px;
}

td,
tr {
  background-color: transparent !important;
}

tbody>tr:nth-child(even) {
  background-color: rgba(255, 255, 255, .3);
}


form {
  display: block;
  width: 95%;
  margin: auto;
}

input,
textarea,
button {
  display: block;
  color: #000;
  margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
}

textarea {
  height: 150px;
}

input[type="date"] {
  display: inline-block;
}


.divwidth {
  width: var(--imgwidth);
}

.image {
  max-width: var(--imgwidth);
  margin: 5px;
}

.image30 {
  margin: 5px;
  margin-bottom: 20px;
  max-width: 30%;
  max-height: 200px;
}

.right {
  margin-left: 20px;
}

.left {
  margin-right: 20px;
}

.float-right {
  float: right;
  margin-left: 20px;
}

.float-left {
  float: left;
  margin-right: 20px;
}

.clear {
  clear: both;
}

.maincard {
  position: relative;
  /* background-color: rgb(243, 252, 255); */
  /* margin-top: -10px; */
  width: 90%;
  border-radius: 10px;
  box-shadow: 1px 1px 10px #333;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2;
}

.select {
  background-color: transparent;
  border: none;
  color: var(--white);
}

.select > option {
  background-color: transparent;
  border: none;
  color: var(--primary);
}

.toolbar {
  font-family: 'Comfortaa', sans-serif !important;
  position: absolute;
  width: 100%;
  background-color: #333;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  color: white;
}

.toolbar>div {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.toolbar>div>a {
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  cursor: pointer;
  font-family: 'Comfortaa', sans-serif !important;
  height: 100%;
}

.fancytext {
  font-family: 'Comfortaa', sans-serif !important;
}

.centertext {
  text-align: center;
}

.plaintext {
  font-family: sans-serif !important;
}

.toolbar>a:first-child {
  border-left: none !important;
}

.toolbar>a {
  border-left: 1px solid white;
}

.yellow {
  /* background-color: rgb(238, 238, 155); */
  background-color: var(--secondary);
  color: var(--grey);
  font-weight: bold;
  ;
}

.card {
  background-color: var(--white);
  overflow: hidden;
}

main {
  /* background: rgb(65,95,183);
  background: linear-gradient(45deg, var(--primary) 0%, var(--tertiary) 100%); */
}

.media-container {
    display:flex;
    max-width: 70%;
    align-self: center;
    justify-self: center;
}

.media-cointainer-vid {
    overflow-x: hidden;
    /*width:400px;*/
    flex-grow:.5;
}
.media-cointainer-img {
    overflow-x: hidden;
    margin-left: 40px;
    flex-grow:1;
}



/* @container (min-width: 600px) {
  #logo {
    display: flex;
    flex-wrap: wrap;
  }
} */







/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[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: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@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;
  }

  /*
   * 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;
  }
}
