/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
  margin: 0;
  min-width:500px;
}

p {
  font-size: 30px;
  line-height: 1.4em;
  font-family: 'Nunito Sans', sans-serif;
}

/* Disable ugly boxes around images in IE10 */
a img{
  border: 0px;
}

::-moz-selection {
  background-color: #BC5750;
  color: #fff;
}

::selection {
  background-color: #BC5750;
  color: #fff;
}

.header .mdl-menu__container {
  z-index: 50;
  margin: 0 !important;
}


.fab {
  position: absolute;
  right: 20%;
  bottom: -26px;
  z-index: 3;
  background: #64ffda !important;
  color: black !important;
}

.mobile-title {
  display: none !important;
  font-family: 'Quicksand', cursive;

}


.logo-image {
  height: 28px;
  width: 140px;
}


.header {
  overflow: visible;
  background-color: black;
  font-family: 'Quicksand', cursive;
}

  .header .material-icons {
    color: #767777 !important;
  }

  .header .mdl-layout__drawer-button {
    background: transparent;
    color: #767777;
  }

  .header .mdl-navigation__link {
    color: #757575;
    font-weight: 700;
    font-size: 14px;
  }

  .navigation-container {
    /* Simple hack to make the overflow happen to the left instead... */
    direction: rtl;
    -webkit-order: 1;
        -ms-flex-order: 1;
            order: 1;
    width: 500px;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navigation {
    /* ... and now make sure the content is actually LTR */
    direction: ltr;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    width: 800px;
  }

  .search-box.is-focused + .navigation-container {
    opacity: 0;
    width: 100px;
  }


  .navigation .mdl-navigation__link {
    display: inline-block;
    height: 60px;
    line-height: 68px;
    background-color: transparent !important;
    border-bottom: 4px solid transparent;
  }

    .navigation .mdl-navigation__link:hover {
      border-bottom: 4px solid #BC5750;
    }



.drawer {
  border-right: none;
  font-family: 'Quicksand', cursive;
}

  .drawer .mdl-navigation__link.mdl-navigation__link {
    font-size: 14px;
    color: #757575;
  }

  .drawer span.mdl-navigation__link.mdl-navigation__link {
    color: #BC5750; /* blue accent */
  }

  .drawer .mdl-layout-title {
    position: relative;
    height: 160px;
  }

    .drawer .logo-image {
      position: absolute;
      bottom: 16px;
    }

.section { /*this affects the "features" section */
  padding: 50px;
  font-family: 'Quicksand', cursive;
  font-size: 1.6vw;
  line-height: 2vw;
  color: #DC6760; /* red text color */
}

.sectionblack {
  background: #000000; /* gray bg to match logo background */
}

.sectionwhite {
  background: white;
  margin: 10px;
}

.sectionspace {
  background: url("images/nightsky-background.jpg");
  background-size: 100vw auto;
}

.section-title-text{
  font-size: 4.5vw;
  padding: 1.5vw;
  padding-bottom: 30px;
  line-height: 1.7em;
  color: #DC6760;
  text-align: center;
  font-family: 'Quicksand', cursive;
}

.main-section {
  padding-top: 10px;
  padding-bottom:50px;
  position: relative;
  height: auto;
  width: auto;
  background: #000000;
  font-family: 'Quicksand', cursive;
  text-align: center;
  font-size: 180%;
  color: #DC6760;
}

.main-section .title-text{
  font-size: 6vw;
  padding: 2vw;
}

.main-section .sub-text{
  font-size: 3vw;
  padding-bottom: 2vw;
}

.main-section .title-date-text{
  font-size: 4.5vw;
  padding: 4vw;
}

.main-section .title-img{
  width: auto;
  height: 50vh;
}

/*.content-sections{
  background: url("images/background.jpg");
  background-size: 100vw auto;
}*/

.schedule-section {
  position: relative;
  height: auto;
  width: auto;
  font-size: 1.6vw;
  line-height: 2vw;
  color: #DC6760;
}

.create-character {
  font-size: 21px;
  padding-top: 400px;
}

  .create-character a {
    text-decoration: none;
    color: #767777;
    font-weight: 300;
  }

.link {
  text-decoration: none;
  color: #BC5750 !important;
}

  .link:hover {
    color: #BC5750 !important;
  }

  .link .material-icons {
    position: relative;
    top: -1px;
    vertical-align: middle;
  }

.alt-link {
  text-decoration: none;
  color: #BC5750 !important;
  font-size: 16px;
}

  .alt-link:hover {
    color: #BC5750 !important;
  }

  .alt-link .material-icons {
    position: relative;
    top: 6px;
  }

.about-content {
  width: 80%;
  padding-left: 10%;
}

.staff-section {
  padding: 80px 10px;
  margin-left: auto;
  margin-right: auto;
  color: #BC5750;
}

  .staff-section .section-title {
    margin-left: 12px;
    padding-bottom: 24px;
  }

.card-container {
}
  .card-container .mdl-cell {
    background: #201108;
  }

  .card-container .mdl-card__media {
    overflow: hidden;
    background: transparent;
  }

    .card-container .mdl-card__media img {
      object-fit: cover;
      width:100%;
      height:auto;
    }

  .card-container .mdl-card-text {
    background: transparent;
    height: auto;
    font-size: 20px;
    text-align: center;
    padding: 10px;
  }

.footer {
  background-color: black;
  position: relative;
  color: #BC5750;
}

  .footer a:hover {
    color: #BC5750;
  }

  .footer .mdl-mega-footer--top-section::after {
    border-bottom: none;
  }

  .footer .mdl-mega-footer--middle-section::after {
    border-bottom: none;
  }

  .footer .mdl-mega-footer--middle-section a:link {
    color: #BC5750;
  }

  .footer .mdl-mega-footer--bottom-section {
    position: relative;
  }

  .footer .mdl-mega-footer--bottom-section a {
    margin-right: 2em;
  }

  .footer .mdl-mega-footer--right-section {
    float:right;
  }

  .footer .mdl-mega-footer--right-section a .material-icons {
    position: relative;
    top: 6px;
  }
  
.footer-text{
  font-size: 20px;
}


.link-menu:hover {
  cursor: pointer;
}

.mdl-button {
  background-color: darkred;
  color: white;
}

/**** Mobile layout ****/
@media (max-width: 700px) {
  p {
    font-size: 12px;
  }
  .navigation-container {
    display: none;
  }

  .title {
    display: none !important;
  }

  .mobile-title {
    display: block !important;
    position: absolute;
    left: calc(50% - 70px);
    top: 12px;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* WebViews in iOS 9 break the "~" operator, and WebViews in OS X 10.10 break
     consecutive "+" operators in some cases. Therefore, we need to use both
     here to cover all the bases. */
  .android.search-box.is-focused ~ .mobile-title,
  .search-box.is-focused + .navigation-container + .mobile-title {
    opacity: 0;
  }
  
  .section-title-text{
    font-size: 25px;
  }

  .main-section {
    height: 100vw;
  }
  
  .main-section .title-img{
    width:50vw;
    height: auto;
  }
  
  .main-section .title-text{
    font-size: 30px;
  }
  
  .schedule-section {
    height: auto;
  }


  .create-character {
    padding-top: 200px;
    font-size: 16px;
  }

  .create-character img {
    height: 12px;
  }

  .fab {
    display: none;
  }

  .wear-band-text {
    margin-left: 0;
    padding: 16px;
  }
  .footer .mdl-mega-footer--bottom-section {
    display: none;
  }

}
