/* CSS reset */
* {
	margin: 0;
	padding: 0;
	border: 0;
    box-sizing: border-box;
}

.mobile {
	display: block;
}

.tablet-desktop, #menu-links, .mySlides {
	display: none;
}

#all {
    background-color: #f5f9ec;
}

body {
    background-color: #0f1108;
}

a {
    color: #b4d746;
}

.image {
    display: inline;
    width: 20%;
    margin: 1%;
}

/* Header styles */
.logo {
    display: block;
    width: 97%;
    margin: 2%;
}

/* Navigation styles */
nav {
	font-family: "Rubik Glitch", sans-serif;
    color: #f5f9ec;
    padding: 0;
}
nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
nav li {
	text-align: center;
    padding: 0;
}
nav a {
    background-color: #2d3c10;
    display: block;
    padding: 0.5em;
    color: #f5f9ec;
    text-decoration: none;
}

/* Style rules for hamburger menu */
.mobile-nav a {
    text-align: center;  
    font-size: 1.5em;
    display: block;
}

.mobile-nav a.menu-icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
} 

/* Main styles */
main {
	padding: 2%;
}

h1, h2 {
    font-family: "Rubik Glitch", sans-serif;
    color: #2d3c10;
    text-align: center;
}

h3 {
    font-family: "Changa One", sans-serif;
    color: #2d3c10;
}

p {
    font-family: "Kanit", sans-serif;
    color: #0f1108;
}

audio, video {
    width: 49%;
}

.art, .p-img, .img-p {
    width: 75%;
    margin: 0 auto;
    display: block;
}

/* Footer styles */
footer {
	text-align: center;
    background-color: #a8b397;
}

* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media screen and (min-width: 897px) {
	.mobile, .mobile-nav {
		display: none;
	}
	
	.tablet-desktop {
		display: block;
	}

    .logo {
        display: inline;
        max-width: 600px;
        margin: 1%;
    }

    .right {
        display: inline;
        float: right;
    }

	/* Navigation styles for tablet/desktop - make the number of autos match the number of nav items */
	nav ul {
		display: grid;
		grid-template-columns: auto auto auto auto auto auto auto;
        padding: 0;
	}
	
	nav a:hover {
	background-color: #b4d746;
	}
	
	nav ul li:hover > ul {
		display: block;
		width: inherit;
	}
	
	nav ul ul {
		display: none;
		position: absolute;
        padding: 0;
	}
	
	nav ul ul li {
		width: auto;
        padding: 0;
	}

    .img-p {
        margin: 1%;
        width: 50%;
        float: left;
    }

    .p-img {
        margin: 1%;
        width: 50%;
        float: right;
    }

    h3 {
        clear: both;
    }

    .grid {
        clear: both;
        display: grid;
        grid-template-columns: auto auto auto;
    }

    .cover {
        grid-column: 1 / span 3;
    }

    .grid2 {
        clear: both;
        display: grid;
        grid-template-columns: auto auto auto auto;
    }

    .cover2 {
        grid-column: 1 / span 4;
    }

    footer {
        clear: both;
    }
}

@media screen and (min-width: 1400px) {

    #all {
        width: 1400px;
        margin: 0 auto;
    }
}
    