@font-face {
    font-family: 'Nexa Rust Sans';
    src: url('NexaRustSans-Black.woff2') format('woff2'),
        url('NexaRustSans-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa Rust Handmade Extended';
    src: url('NexaRustHandmade-Extended.woff2') format('woff2'),
        url('NexaRustHandmade-Extended.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nexa Rust Slab Black Shadow 01';
    src: url('NexaRustSlab-BlackShadow01.woff2') format('woff2'),
        url('NexaRustSlab-BlackShadow01.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

.headings h1 {
  font-family: 'Nexa Rust Slab Black Shadow 01';
  font-weight: 900;
  font-style: normal;
  font-size: 90px;
  line-height: 0;
}

h2, h3, h4, h5, h6 {
  font-family: 'Nexa Rust Sans';
  font-weight: 900;
  font-style: normal;
}

.headings h4 {
  font-size: 35px;
}

p, span {
	font-family: 'Muli', sans-serif;
	color: #fff;
}

a {
	text-decoration: none;
	color: #f7dd2a;
}

header {
  position: absolute;
  top: 0px;
  width: 100%;
  text-align: center;
  z-index: 5;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX;
}

.main-navigation {
	margin-top: 20px;
}

.main-navigation li {
  float: left;
  position: relative;
  width: 15%;
  margin: 0 2.5%;
  text-align: center;
}

.main-navigation li a {
  color: white;
  font-family: 'Nexa Rust Sans';
}

.main-navigation li a:hover {
	text-decoration: none;
	color: #d4d4d4;
}

ul.sub-menu {
	margin-top: 10px;
    background: rgba(255,255,255,0.2);
}

ul.sub-menu li {
	display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    margin: 0;
    padding: 10px 0;
}

body {
  background-image: url('/wp-content/uploads/2019/07/bg-brick.jpg') !important;
}

section.section-1 {
  height: 90vh;
  width: 100vw;
  background-size: cover;
  position: relative;
}

section.section-1:before {
  content: '';
  height: 90vh;
  width: 75vw;
  background-image: url('/wp-content/uploads/2019/07/homepage.png');
  position: absolute;
  bottom: 0;
  left: 13%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  -webkit-animation-delay: .5s;
  animation-delay: .5s;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

section.section-1:after {
  content: '';
  background-image: url('/wp-content/uploads/2019/07/bg-after.png');
  position: absolute;
  right: 0%;
  bottom: 20%;
  height: 70%;
  background-size: cover;
  width: 30%;
  z-index: 1;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

.headings {
  position: absolute;
  bottom: 5%;
  left: -2vw;
  background-image: linear-gradient(-90deg, #e18711, #f7dd2a);
  width: 104vw;
  text-align: center;
  padding: 5px 0 10px 0;
  transform: rotate(-3deg);
  z-index: 2;
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
}


/* Single Page */
.site-content {
	margin-top: 60px;
}

.entry-title, .tribe-events-page-title {
	font-family: 'Nexa Rust Sans';
	text-align: center;
	color: #fff;
	font-size: 50px;
}

.wp-block-embed-youtube.wp-block-embed.alignleft {
	max-width: 47%;
	width: 100%;
	box-shadow: 0px 0px 16px rgba(255,255,255,0.4);
}

/* Events */
span.ticket-cost {
	font-family: 'Muli', sans-serif;
}
.tribe-events-page-title {
	font-family: 'Muli', sans-serif;
}
button#tribe-bar-collapse-toggle {
	background-color: rgba(255,255,255,0.2) !important;
	border: 1px solid #fff;
	border-radius: 0;
}
.tribe-events-list-separator-month {
	background-color: rgba(255,255,255,0.2) !important;
	border: 1px solid #fff;
	border-radius: 0;
}
.tribe-events-event-meta {
	background-color: rgba(255,255,255,0.7) !important;
	color: #000;
	padding: 20px 10px;
}

.tribe-events-event-meta p, .tribe-events-event-meta span {
	color: #000;
}
.tribe-events-gmap {
	padding-top: 10px;
}
.tribe-events-list {
	width: 50%;
}

/* Mobile */

@media (max-width: 768px) {
	button.menu-toggle {
		background: none;
		border-radius: 0;
		color: #fff;
		font-family: 'Nexa Rust Sans';
	}
	.main-navigation li {
		width: 100%;
    	margin: 0 2.5%;
		padding: 6px 0; 
    	text-align: left;
		background: rgba(0,0,0,0.7)
	}
	section.section-1 {
		height: 92vh;
	}
	section.section-1:before {
		background-position: center bottom;
		left: 0;
	    background-size: cover;
		width: 100vw;
	}
	section.section-1:after {
		display: none;
	}
	.headings h1 {
		font-size: 3rem;
	}
	.headings h5 {
		font-size: 1rem;
	}
	
	.wp-block-embed-youtube.wp-block-embed.alignleft {
		max-width: none;
	}
	.tribe-events-list {
		width: 100%;
	}
}

/* Animations */

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@-webkit-keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@-webkit-keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@-webkit-keyframes bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 3000px, 0);
    transform: translate3d(0, 3000px, 0);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, 10px, 0);
    transform: translate3d(0, 10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, -5px, 0);
    transform: translate3d(0, -5px, 0);
  }

  to {
    -webkit-transform: translate3d(0, -3deg, 0);
    transform: translate3d(0, -3deg, 0);
  }
}

@-webkit-keyframes flipInX {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}

@keyframes flipInX {
  from {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}
