/*! 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;
  
}

/*
 * 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
   ========================================================================== */


/* header code  */

@font-face {
  font-family: bison;
  src: url(../fonts/bison.woff);
}


@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'bison','Questrial', sans-serif;
    font-size: 62.5%;
    font-size: 10px;
    color:#000;
    overflow-x: hidden;
}


/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */

.nav {
    width: 100%;
    height: 66px;
    position: fixed;
    line-height: 50px;
    text-align: center;
    background: #000000;
    z-index: 10;
    padding-top: 8px;
}

.nav div.logo {
    float: left;
    width: auto;
    height: 50px;
    padding-left: 10px;
}

.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}

.nav div.logo a img{
    width: auto;
    height: 27px;
    display: block;
    margin: 10px 0 0 10px;
}

.nav div.logo a:hover {
    color: #E17E2A;
    color: #E17E2A;
}

.nav div.main_list {
    height: 50px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 50px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 66px;
    padding: 0;
    /* padding-right: 0; */
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: #fff;
    line-height: 50px;
    font-size: 1.5rem;
    letter-spacing: .2em;
    display: block;
    padding: 0 1.5rem;
    }

.nav div.main_list ul li a:hover {
    color: #E17E2A;
}


/* Home section */

.home {
    width: 100%;
    height: 100vh;
    background-image: url(https://images.unsplash.com/photo-1575996533050-d9eb7e1e7c0d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1491&q=80);
    background-position: center top;
  background-size:cover;
}

.navTrigger {
    display: none;
}

.nav {
    padding-top: 7px;
    padding-bottom: 0;
    /* overflow: hidden; */
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.nav .container{
  padding:0;
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }
}

@media screen and (max-width:768px) {
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        padding-left: 10px;
    }
    .nav div.main_list {
        width: 100%;
        max-height: 0;
        height: auto;overflow: hidden;
    transition: all ease-in-out .66s;}
    .nav div.show_list {
        max-height: 100vh;
        height: auto;display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #1E1C1D;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
        text-align: right;
    }
    .nav div.main_list ul li a {
        text-align: center;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
    display: block;}
    .nav div.media_button {
        display: block;
    }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    background-color: #1E1C1D;
}


.myH2 {
  text-align:center;
  font-size: 4rem;
}
.myP {
  text-align: justify;
  padding-left:15%;
  padding-right:15%;
  font-size: 20px;
}
@media all and (max-width:700px){
  .myP {
    padding:2%;
  }
}


/* ==========================================================================
   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: #1E1C1D !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;
  }
}

/** Reg form **/

#reg-form
{
    display: block;
    margin: 0 auto;
}

/**bg video**/

    #bgvideo{
        margin-top: 66px;
    }

@media(min-width:992px){
      #bgvideo{
        margin-top: -66px;
    }
}

  .bg-video {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    max-height: 300px;
  }

  .bg-video #player {
    position: absolute;
    top: -25px;
    left: 0;
    width: 100vw;
    height: 100vh;
    height:300px;
    z-index: -2;
  }

.bg-video .bg-img {
    position: fixed;
    top: 0px;
    left: -10%;
    width: 120%;
    height: 768px;
    z-index: -1;
    background: url(../img/oktoberfest-stein-hold-header.jpg) no-repeat top center;
    background-size: 150vw auto;
    -webkit-background-size: 150vw auto;
    -moz-background-size: 150vw auto;
    -o-background-size: 150vw auto;
    background-size: 150vw auto;
  }

@media(min-width:768px)
{
  .bg-video {
    max-height: 800px;
  }

  .bg-video #player {
    height: 100vh;
    min-height: 1024px;
  }

  .bg-video .bg-img {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url(../img/oktoberfest-stein-hold-header.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  }
}

  .bg-video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    background: rgba(0,0,0,.66);
  }

  

@media(min-width:992px){
  .bg-video .bg-img {

    display:none;
  }
}

#oktoberfest-logo 
{
    position: absolute;
    top: 100px;
    height: auto;
    min-height: 50px;
    width: 100%;
    z-index: 1;
}

@media(min-width:768px)
{
  #oktoberfest-logo 
  {
      position: absolute;
      top: 20vh;
      height: auto;
      min-height: 50px;
      width: 100%;
      z-index: 1;
  }
}

#oktoberfest-logo img
{margin: 0 auto;display: block;width: 66%;/* opacity: 0.9; */}

#oktoberfest-logo .reg-button{
  margin:60px auto;
  padding:10px 15px;
  border: 2px solid #ffffff;
  background:transparent;
  color:#fff;
  border-radius:50px;
  width: 224px;
  text-align: center;
  display:block;
  transition:all ease-in-out-.2s;
  font-size:24px;
  letter-spacing: .05em;
}


    
#oktoberfest-logo .reg-button:hover{

  border: 2px solid #e8bd00;
  background:#e8bd00;
  color:#212121;
  transition:all ease-in-out-.2s;
  text-decoration:none;
}
.container{

  max-width:1024px;overflow: hidden;}

h1{
  font-size:36px;
  margin-bottom: 0;
  line-height: .75;
}

body h2{
  font-family:
  "helvetica", arial, sans-serif;
  letter-spacing: .025em;
  margin-top: 0;
  line-height: 1;
  font-size: 16px;
  padding-top: 8px;
  text-transform: capitalize;
  color: #222;
  padding-left: 15px;
}

.white-bg{
    background: #fff;
    position: relative;
    z-index: 1;
}

.orange-bg
{
  text-align:
  center;
  background: #e8bd00;
  padding: 32px 10px 48px;
  margin: 60px 0;
  box-shadow: 3px 3px 18px 3px rgba(0,0,0,.25);
}

.orange-bg1
{
  text-align:
  center;
  background: #e8bd00;
  padding: 30px 0px 48px;
  margin: 0 0 60px 0;
}

.orange-bg h1, .orange-bg1 h1, 
{
  color:#fff;
  letter-spacing:.05em;
  text-transform: uppercase;
  font-size: 36px;
}

 .border
{
    padding: 16px 8px 32px;
    border:4px solid;
    border-radius: 16px;
    margin: 24px 16px 8px 0;
    min-height: 200px;
}

#about h1
{
  font-size: 28px;
  letter-spacing: .05em;
  padding-bottom: 8px;
  border-bottom: 2px solid;
  padding-top: 16px;
  margin-bottom: 8px;
}

#about .title{
    text-align:center;
    letter-spacing: .05em;
    font-size: 42px;
    padding-bottom: 8px;
    margin-bottom: 16px;
    border: none;
}

#about .title .san-font{font-family: sans-serif;font-weight: 600;}

#about .border
{
    padding: 0px 16px 24px 16px;
    border: 4px solid;
    margin: 8px auto;
    border-radius: 16px;
    max-width: 400px;
}

@media(min-width:768px)
{
  .orange-bg h1, .orange-bg1 h1,
  h1
  {
   
    font-size: 72px;
  }
}

#s2
{
    padding:32px 10px 24px;
}

#s2 h1 small{
    color:#fff;
    font-family: "helvetica", arial, sans-serif;
   display:block;
   font-size:16px;
   padding: 32px 0 0 0;
   text-transform:capitalize;
   color:#222;
    margin:0 auto;
   max-width:600px;

}

#fooddrink
{
    max-width: 800px;
    margin: 0 auto;
}

#fooddrink div{
            padding: 15px;
              }

@media(min-width:768px)
{
    #fooddrink div{
        min-height: 700px;
    }
}
    
#fooddrink .border
{
    padding: 16px 8px 32px;
    border:4px solid;
    border-radius: 16px;
    margin: 24px 16px 8px 0;
}

#fooddrink .border ul
{
 margin:0;
 padding: 0;
}

#fooddrink .border ul li
{
    font-size: 28px;
    letter-spacing:.025em;
    list-style-type:none;
    padding: 8px 32px 0;
    display:block;
    overflow:hidden;
}

#fooddrink .border ul li small
{
    display:block;
    font-family: "helvetica", arial, sans-serif;
    font-size:13px;
    padding: 8px 0 0 0;
    text-transform:capitalize;
    border-top: 2px solid;
}

#itinary h1
{
  padding-bottom:15px;
  text-align: center;
  font-size: 42px;
  letter-spacing: .025em;
}

#itinary h2
{
  padding:7.5px 0px 7.5px 15px;
  font-family: 'bison','Questrial', sans-serif;
  font-size: 28px;
  letter-spacing:.025em;
}

#itinary h2 small
{
   font-family: "helvetica", arial, sans-serif;
   display:block;
   font-size:16px;
   padding: 10px 0 0 15px;
   text-transform:capitalize;
   color:#222;
   max-width:400px;
   border-top: 2px solid;
   margin-top: 8px;
}

#itinary .border
{
    padding: 16px 32px 16px 16px;
    border: 4px solid;
    margin: 8px auto;
    border-radius: 16px;
}

#itinary .border ul
{
    margin-top:16px;
}

#itinary .border ul li
{
    margin: 8px 0 8px -32px;
    list-style-type: none;
}

#itinary .border ul li strong
{
 text-transform: uppercase;
}

#fooddrink
{
  
}


#fooddrink h3, #registerpay h3
{
    font-size: 42px;
    letter-spacing: .025em;
    text-align: center;
    line-height: 0.25em;
}

#registerpay{
  margin-bottom:300px;
}

#registerpay .border
{
 padding:16px;
 min-height: 140px;
}

#registerpay h4
{
    text-align:center;
    line-height:1.5em;
    font-family:sans-serif;
}

#registerpay a
{
  margin:10px auto;
  padding:10px 15px;
  border: 2px solid #e8bd00;
  background:#e8bd00;
  color:#fff;
  color:#000000;
  border-radius:50px;
  width: 180px;
  text-align: center;
  display:block;
  transition:all ease-in-out-.2s;
  font-family: 'bison','Questrial', sans-serif;
    letter-spacing:0.05em;

}

#registerpay a:hover{

  background:transparent;
  color:#e8bd00;
  transition:all ease-in-out-.2s;
  text-decoration:none;
}



#reg-wrapper
{
    
    overflow:hidden;
    background:#111;
}

#reg-wrapper iframe
{
    width:90vw;
    max-width:800px;
    max-height:90vh;
    overflow-y:hidden;
    background:#fafafa;
    margin-top:5vh;
    box-shadow:3px 3px 13px 1px rgba(0,0,0,.25);
    border-radius:16px;
    padding:16px 0
}