/**
 * Mobile First
 * - Style All Screen Sizes
 * - Then add min-width media query for larger screen
 * - Then override css properties: values
 * - Last rule will override previous rule
 */

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

ul, ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

sup {
    line-height: 0;
}

.cf::before, .cf::after {
    content: " ";
    display: table;
}

.cf::after {
    clear: both;
}

html {
    font-family: "Helvetica Neue", Arial, sans-serif;
    min-height: 100%;
}

body {
    min-height: 100%;
    margin: 0;
    background:
        #000
        linear-gradient(
            to bottom,
            #fff 30%,
            rgba(12, 7, 106, 1) 100%
        );
}

.container {
    margin: 0 .625rem;
    overflow: hidden;
}

/**
 * .wrapper margin-top value
 * - Pushes wrapper down
 * - Makes room for fixed nav
 * - em unit based on nherited font-size
 * - 16px * 4.626 = 74px
 */
.wrapper {
    border: 2px solid black;
    border-radius: 10px;
    background: linear-gradient(
      to bottom,
      rgb(97, 97, 97),
      rgb(5, 0, 107));
    margin-top: 4.625em;
    margin-bottom: 10px;

}

/**
 * .header-main fixed
 * - wrapper will slide under fixed nav
 * - attact to top, right and left edge of screen
 * - z-index is the stacking order - eg. layers in Photoshop
 * - larger higher in the stack / negative lower in the stack
 * - 100 is an arbitrary location with room below
 */
.header-main {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    background-color: rgb(8, 22, 117);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), 0px 4px 6px 0px rgba(34, 37, 48, 0.62);
}

/**
 * .header-main h1
 * - line-height 2 times the inherited font-size
 * - float left - shink wrap the width around the content
 * - postion relative - can be positioned
 * - left: 50% find the left edge of the element and align with 50% left of parent element
 * - translateX move the element based on the element size -50% plus half the size of the hamburger
 * - this will center the h1 in the negative space to the right of the hamburger
 * - not the center of the parent element
 */

 .header-main h1 {
     line-height: 2;
     float: left;
     position: relative;
     left: 43%;
     transform: translateX( calc( -50% + 32px ) );
     margin: 0;
     color: #ffffff;
     font-family: "Myriad Pro Regular", sans-serif;
     font-weight: 200;
     letter-spacing: 4px;
     text-shadow: 0 -2px 2px rgba(0,0,0,0.6);
 }

.header-main h1 sup {
    font-size: .6em;
}

.nav-main {
    position: relative;
}

/* hide the check box - input type=checkbox*/
.nav-main-menu-toggle {
    display: none;
}

/* style the checkbox's label */
.nav-main-menu-toggle-icon {
    position: fixed;
    z-index: 200;
    width: 64px;
    height: 64px;
    top: 0;
    left: 0;
    cursor: pointer;
}

/* position the span in the label - this is the hamburger of the hamburger icon */
.nav-main-menu-toggle-icon span {
    width: 80%;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

/**
 * .nav-main-menu-toggle-icon span
 * - build the hamburger icon
 * - ::before and ::after are pseudo elements
 * - they do not exist in the markup but we can style them
 * - every element that has content has ::before and ::after
 * - each line is 6px tall with a 3px border radius
 */
.nav-main-menu-toggle-icon span::before,
.nav-main-menu-toggle-icon span,
.nav-main-menu-toggle-icon span::after {
    background-color: #ffffff;
    height: 6px;
    position: absolute;
    content: '';
    transition: all .25s ease-in;
    border-radius: 3px;
}

.nav-main-menu-toggle-icon span::before {
    width: 100%;
    top: -10px;
}
#nav-main-menu-toggle-icon-rotate:checked{
    transform: rotateX(360deg);
}

.nav-main-menu-toggle-icon span::after {
    width: 100%;
    top: 10px;
}

/**
 * .element ~ element
 * - is the General sibling combinator
 * - find .nav-main-menu-toggle:checked
 * - when the input is checked...
 * - style the .nav-main-menu-toggle-icon span
 * - a trick to use the input type="checkbox" to trigger changes in our layout
 */
.nav-main-menu-toggle:checked ~ .nav-main-menu-toggle-icon span {
    background-color: transparent;
}

.nav-main-menu-toggle:checked ~ .nav-main-menu-toggle-icon span::before,
.nav-main-menu-toggle:checked ~ .nav-main-menu-toggle-icon span::after {
    top: 0;
}


/* style the anchor of the current page */
.nav-main-menu-current-menu-item a {
    font-weight: 200;
}

.nav-main-menu-current-menu-item a:hover::before {
  transform: rotateY(720deg);
  opacity: 1;
}

.nav-main-menu-search input[type="search"] {
/*  remove the default style - Safari */
    font-family: inherit;
    width: 100%;
    height: 44px;
    font-size: 1.4em;
    line-height: 1.8em;
    font-weight: 300;
    background: hsla(0,0%,0%,0.40);
    padding: 2px 0;
    border: none;
    border-left: 2px solid #fff;
    text-indent: .88rem;
    color: #fff;
}

.nav-main-menu-search input[type="search"] {
    color: hsla(0,0%,100%,1);
}
.nav-main-menu-search input[type="search"] {
    color: hsla(0,0%,100%,1);
}
.nav-main-menu-search input[type="search"] {
    color: hsla(0,0%,100%,1);
}
.nav-main-menu-search input[type="search"] {
    color: hsla(0,0%,100%,1);
}
.nav-main-menu-search input[type="search"]::placeholder {
    color: hsla(0,0%,100%,1);
}


.nav-main-menu-search label,
.nav-main-menu-search input[type="submit"] {
    display: none;
}

/* style the UL left 0 width 0 can not be seen */
.nav-main-menu {
    position: fixed;
    z-index: 50;
    top: 4em;
    left: 0;
    width: 0;
    height: calc(100vh - 3em);
    background-color: hsla(232, 98%, 24%, 0.96);
    box-shadow: none;
    transition:
        width .5s .25s ease-in,
        box-shadow .25s ease-in;
    overflow-y: auto;
}

/* when input checked show the UL */
.nav-main-menu-toggle:checked ~ .nav-main-menu {
    width: 60vw;
    box-shadow: 0 0 0 100vw hsla(210,3%,23%,0.40);

}

/* style the anchor */
.nav-main-menu a {
  position: relative;
  display: block;
  font-size: 1.7em;
  line-height: 1.8em;
  font-weight: 300;
  color: white;
  text-decoration: none;
  text-indent: 1.25rem;
  margin: 4px 0;
  transition: all 0.6s ease-in-out;

}

/* create and style the anchor's ::before pseudo element */
.nav-main-menu a::before {
  position: absolute;
  z-index: -1;
  bottom: 0;
  content: "";
  display: inline-block;
  width: 10px;
  background: #fff;
  transition: inherit;
}


/* style anchor :hover */
ul.nav-main-menu a:hover {

  transition: all 0.45s;
  text-shadow: 0 2px 2px rgb(0, 0, 0);
}

/* style the ::before when :hover on anchor */
.nav-main-menu a:hover::before {
  opacity: 0;
}

.nav-main-menu a:hover::after {
  opacity: 1;
}

/* End Navigation: Small Screen: 0px and UP */

section {
    overflow: hidden;
    margin: 20px;
    border: 2px solid white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.8);
    background: #fff linear-gradient( to bottom, rgba(0,0,0,0.80) 0%, rgba(255,255,255,0.60) 5%, rgba(255,255,255,1) 20% );
}

a {

  font-family: 'Yeon Sung', cursive;
    font-size: 1.165em;
    transition: 0.4s;

}

img {

  width: 95%;
  border-radius: 10px;
  transition: all 0.25s;

}

img:hover {
  box-shadow: 0 0 5px 4px rgb(0, 110, 255);
  transition: all 0.15s;

}
div.article h2 a {
	text-decoration: none;
	display: block;
	text-indent: 34px;
	background: url(images/a-icon-zune.png) no-repeat 0 0;
}

div.article h2 a:hover {
	background-position: 0 -60px;
}

div.article h2 a:active {
	background-position: 0 -120px;
}


footer {
    clear: both;
    overflow: auto;
    margin: 0 20px;
	padding: 0 0 20px;
    color: #fff;
}

footer a[href^="//"] {
    position: relative;
    background: rgb(51, 245, 110);
    color: #000;
    display: block;
    line-height: 1.5em;
    font-size: 1.095em;
    background-color: #ff0000;
    border-radius: 9px;
    margin: 0 0 0 10px;
    padding: 0 10px;
    float: right;
    text-decoration: none;
    transition: 0.4s;
    box-shadow: 0 2px 2px #000;
    text-shadow: 0 1px 1px rgb(210, 210, 210);

}

footer a[href^="//"]:hover {
    transition: 0.4s;
    background-color: rgb(255, 255, 255);
    color: #ff0000;
    text-shadow: 0 1px 1px rgb(255, 208, 40);
}

footer a[href^="//"]:active {
    box-shadow: none;
    transition: 0.4s;
    color: rgb(129, 48, 48);
    text-shadow: 0 1px 1px rgb(5, 0, 255);
}

/*
Start Media Query
    if screen is 48rem or larger (can use px or em)
    rem is based on font size of root element
        (16px * 48 = 768)
    use the following rules
*/
@media (min-width: 48rem) {

/*  override margin */
    .container {
        width: 96%;
        max-width: 800px;
        margin: 20px auto;
    }


    .column {
        float: left;
        padding-left: .625rem;
        padding-right: .625rem;
    }

    .column.full {
        width: 100%;
    }

    .column.two-thirds {
        width: 66.7%;
    }

    .column.half {
        width: 50%;
    }

    .column.third {
        width: 33.3%;
    }

    .column.fourth {
        width: 25%;
    }

    .column.flow-opposite {
        float: right;
    }

    body {
      background:
          #000
          linear-gradient(
              to bottom,
              rgb(5, 0, 107) 50%,
              hsl(239,100%,35%) 100%
          )
          fixed;
  }

/*  override size and postion of header */
.header-main {
        position: absolute;
        overflow: hidden;
        min-height: 1200px;
        background: url(images/dodgerStadiumHD.jpg) no-repeat center center fixed;
        background-size: cover;
        border-radius: 0px;
        border: none;
        z-index: -1;

        /*margin: 20px;*/
    }

        .wrapper {
          margin-top: calc(100vh + 20px);
          background: #000
          linear-gradient(
              to bottom,
              rgba(97,97,97,1)35%,
              rgba(22,3,176,1)75%
          )
          ;
          padding-top: 20px;
        }

        .header-main::after {
            content: "";
            position: absolute;
            top: 41%;
            left: 48%;
            transform: rotate(-45deg);
            border-bottom: 6px solid rgba(75,74,74,1);
            border-left: 6px solid rgba(22,3,176,1);
            border-radius: 3px;
            width: 96px;
            height: 96px;
            animation-name: bounce;
            transform-origin: center bottom;
            animation-duration: 2.5s;
            animation-iteration-count: infinite;

        }

        @keyframes bounce {
          from, 20%, 53%, 80%, to {
            animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
            transform: translate3d(0,0,0) rotate(-45deg);
          }

          40%, 43% {
            animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transform: translate3d(0, -30px, 0) rotate(-45deg);
          }

          70% {
            animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
            transform: translate3d(0, -15px, 0) rotate(-45deg);
          }

          90% {
            transform: translate3d(0, -4px, 0) rotate(-45deg);
          }

        }

        /*Image Rollover One*/
a#banner-brewers {
	text-indent: -1000em; /*move the text off screen*/
	display: block; /*convert inline A into a block element, needed to set anchors height value*/
	float: right;
	width: 290px; /*set the width to match the visible portion of the background graphic*/
	height: 200px; /*set the height to match the visible portion of the background graphic*/
	background-image: url(images/banner-brewers.png); /*load the background graphic default position of left top (0 0)*/
	outline: none;
	transition: all 0.25s;
  bottom: 10px;/*turn off Firefox's default dotted outline*/
}

a#banner-brewers:link {
	background-position: 0px 3px; /*on :link load image left top*/
	/*first value = left/right horizontal position*/
	/*second value = top/down  vertical position*/
}

a#banner-brewers:hover {
	background-position: 0 -200px;
 /*on :hover move the background image up 200px*/
}

a#banner-brewers:active {
	background-position: 0 -400px; /*on :active move the background image up 400px*/
  }

}

.header-main h1 {
    font-family: Bungee, sans-serif;
    line-height: 1;
    font-size: calc( 100vw * .1250 );
    color: rgba(22,3,176,1);
    text-shadow: 0px 10px 5px hsla(9deg, 90%, 59%, 1);
    top: 35vh;
    left: 104.5vh;
}

/*  hide the checkbox and the hamburger */
    .nav-main-menu-toggle,
    .nav-main-menu-toggle-icon {
        display: none;
    }

/*  override and reset to no style */
    .nav-main-menu {
        position: relative;
        z-index: 0;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        overflow: hidden;
        padding: 0 20px;
    }

/*  override and reset to no style */
    .nav-main-menu-toggle:checked ~ .nav-main-menu {
        width: auto;
        box-shadow: none;
    }

/*  basic style for navigation large screen */
    .nav-main-menu li {
        float: left;
        margin: 0 10px 0 0;
    }

    .nav-main-menu .nav-main-menu-search {
        float: right;

    }

    .nav-main-menu-search input[type="search"]::placeholder {
    color: white;
    font-weight: bold;
  }

    #nav-main-menu-search {
        position: absolute;
        right: 20px;
        width: 140px;
        height: 41px;
        top: 5px;
        transition: all .75s;
        border: 10px;
        border-radius: 10px;
        background: rgb(6, 2, 84);
    }

    #nav-main-menu-search:focus {
        width: calc( 50% - 175px );
        background: rgb(6, 2, 84);
        border-radius: inherit;
        color: white;
        height: 40px;
        transform: rotateX(360deg);
    }

/*  override and style for navigation large screen */
    .nav-main-menu a {
        position: relative;
        display: block;
        text-indent: 0;

        margin: 0;
        border: 2px solid gray;
        border-radius: 10px;
        background: linear-gradient(
            to bottom,
            rgb(6, 2, 84),
            hsl(0, 0%, 100%));
        padding: 0 40px;
        overflow: hidden;
        font-family: 'Girassol', cursive;
        color: rgb(6, 2, 84);
    }

/*  new style for the a::before */

    .nav-main-menu a::before {
        display: block;
        z-index: 1;
        transition: all 0.75s ease-in-out;
        transform: none;
        background: hsla(0,0%,100%,1.00);
        position: absolute;

    }


/*  style for navigation large screen */
    ul.nav-main-menu a:hover {
        transition: all 0.05s;
        color: hsla(0,0%,100%,0.00);
        text-shadow: 0 2px 2px rgb(5, 0, 107);
        background: linear-gradient(
            to bottom,
            rgb(6, 2, 84),
            hsl(0, 0%, 100%));
    }


    .nav-main-menu a:hover::after {
        transform: translateX(-94%) scale(1.0);
        transition: all 0.1s;
    }

    .nav-main-menu a::after {
        transition: text-shadow 0.5s;
        transition: all 0.5s;
        position: absolute;
        content: attr(data-text);
        color: #fff;
        transform: translateX(-100%) scale(0);
        font-weight: 600;
    }

    .nav-main-menu a:active {
        box-shadow: inset 0 0 8px #000;
    }

    .nav-main-menu-current-menu-item a {
        box-shadow: inset 0 0 8px #000;
    }

    footer {
        clear: both;
        overflow: auto;
        margin: 0 20px;
    	  padding: 0 0 20px;
        color: #fff;
    }

    footer a[href^="//"] {
        position: relative;
        color: #000;
        display: block;
        line-height: 1.5em;
        font-size: 1.095em;
        background-color: #fff;
        border-radius: 9px;
        margin: 0 0 0 10px;
        padding: 0 10px;
        float: right;
        text-decoration: none;
        transition: 0.4s;
        box-shadow: 0 2px 2px #000;

    }

    footer a[href^="//"]:hover {
        transition: 0.4s;
        color: rgb(6, 2, 84);
        text-shadow: none;
        background-color: rgb(108, 108, 108);
    }

    footer a[href^="//"]:active {
        box-shadow: none;
        transition: 0.4s;
        color: rgb(1, 32, 101);
      } /* Close: @media (min-width: 48rem) */
