/*Karl Feness Styles*/
* {
	margin: 0;
	padding: 0;
	outline: 0;
}
body {
	text-align: center;
	font-family: 'Gemunu Libre', sans-serif;
	margin: 0;
	position: relative;
	background:
radial-gradient(black 15%, transparent 16%) 0 0,
radial-gradient(black 15%, transparent 16%) 8px 8px,
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
background-color:#282828;
background-size:16px 16px;
}
footer{background-color: black;
	margin:0;
}

.email{
	font-size: 2rem;
}


.banner{
	margin: 0;
	background-image: url("NightSky1short1.jpeg");
	height: 100vh;
	background-size:cover;
	background-position-x: 40%;
	background-position-y: center;
	
}
.about{display:grid;
	grid-auto-flow:column;
	grid-template-columns:30%,90%;
	grid-template-areas:
		"image, sidebar;"
}


@media only screen and (min-width: 320px) {
	
	a{font-size:1remx;
		text-align: center;
	justify-content: center;}	
	.slides{width:280px;
		height: 100px;}
	.banner{ display:none;}

.about{display:grid;
	grid-auto-flow:column;
	grid-template-columns:100%;
	grid-template-areas:
		"image"
		"sidebar";
	background-image: url("smoke.jpg");
	background-size: cover;
}

}

@media only screen and (min-width: 480px) {
	
	a{font-size:1rem;
		text-align: center;}	
	.slides{width:420px;
			height: 180px;}
	.about{display:grid;
	grid-auto-flow:column;
	grid-template-columns:100%;
	grid-template-areas:
		"image"
		"sidebar";
}
	.banner{display: none;}

}

@media only screen and (min-width: 768px) {

	a{font-size:1.5rem;
		text-align: center;}
	.slides{width: 700px;
	        height: 450px;}
.about{display:grid;
	grid-auto-flow:column;
	grid-template-columns:30%,90%;
	grid-template-areas:
		"image, sidebar;"
}
	.banner{display: flex;}
}

@media only screen and (min-width: 1024px) {
	
	a{font-size:2rem;
		text-align: center;}	
	.slides{width: 950px;
			height: 650px;}
	
	.about{display:grid;
	grid-auto-flow:column;
	grid-template-columns:30%,90%;
	grid-template-areas:
		"image, sidebar;"
}

}
	
}
@media only screen and (min-width: 1366px){
	.about{display:grid;
	grid-auto-flow:column;
	grid-template-columns:30%,90%;
	grid-template-areas:
		"image, sidebar;"
}
	
}



/*nav styling*/
nav li{
	display: inline;
}
nav {
  font-size: 50px;
  font-family: 'Gemunu Libre', sans-serif;
  background-color: black;
	position: relative;
}
nav a:visited {
  color: lightgoldenrodyellow;
}
nav a:link {
  color: orange;
}
nav a:hover {
  color: white; 
}
nav a:active{
	color:#F44F52; 
}

/*link styling below*/

a {
  font-size: 50px;
  font-family: 'Gemunu Libre', sans-serif;
  background-color: black;
	text-decoration: none;
}
a:visited {
  color: lightgoldenrodyellow;
}
a:link {
  color: orange;
}
a:hover {
  color: white; 
}
a:active{
	color:#F44F52; 
}
.head{
	font-size: 5rem;
	color: white;
	font-family: 'Gemunu Libre', sans-serif;
}


.interview{
	display: flex;
	justify-content: flex-start;
}


button {
  background-color: orange;
  border: none;
  border-radius: .5rem;
  color: white;
  font-family: 'Gemunu Libre', sans-serif;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 22px;
  margin: 2px, 2px,2px, 2px;
  cursor: pointer;
  opacity: 75%;

}
button:hover{
	background-color: #FED172;
	color: black;
}

button:focus{
	opacity: 100%;
	
}

.button {
  background-color: lawngreen;
  border: none;
  border-radius: .5rem;
  color: black;
  font-family: 'Gemunu Libre', sans-serif;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 3rem;
  margin: 2px, 2px,2px, 2px;
  cursor: pointer;
  opacity: 75%;

}
.button:hover{
	background-color: lawngreen;
	color: black;
}

.button:focus{
	opacity: 100%;
	
}
h1{color: white;
  font-family: 'Gemunu Libre', sans-serif;
	font-size: 3.5rem;
}

h2{
	color: orange;
	font-family: 'Gemunu Libre', sans-serif;
	font-size: 2.5rem;
	padding: 5px;
	background-color: black;
}
h3{
	color: orange;
	font-family: 'Gemunu Libre', sans-serif;
	font-size: 2rem;
}


p{color: white;
  font-size: 2rem;
  font-family: 'Gemunu Libre', sans-serif;
  margin: 1.5rem;
}

.cabin{padding-bottom: 40px;
}

section{clear: both;}


.karl{padding: 2rem; /*adds padding to karl's about me picture*/
	opacity: 85%;
	box-shadow:0 0 5px 0;
	margin-top: 20px;
	}
section{background-color:black;}   /*defines the background of all section color to be black*/

figcaption{color: white;
	font-family: 'Gemunu Libre', sans-serif;
	font-size: 20px;
}
/* Flex container from index page below*/
.flex-container{
	display: flex;
	flex-wrap: wrap;
	margin: 100px;
	justify-content: center;
}
/*carousel code for gallery below*/

@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}

body {
  
  margin: 0 auto;
  padding: 0 1.25rem;
  font-family: 'Lato', sans-serif;
}

* {
  box-sizing: border-box;
  scrollbar-color: transparent transparent; /* thumb and track color */
  scrollbar-width: 0px;
}

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  padding-top: 75%;
  filter: drop-shadow(0 0 10px #0003);
  perspective: 100px;
}

.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  background-color: black;
  counter-increment: item;
}


.carousel__slide:before {
  content: counter(item);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-40%,70px);
  color: #fff;
  font-size: 2em;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #333;
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 0;
  margin-top: 37.5%;
  width: 4rem;
  height: 4rem;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 0;
  outline: 0;
}

.carousel::before,
.carousel__prev {
  left: -1rem;
}

.carousel::after,
.carousel__next {
  right: -1rem;
}

.carousel::before,
.carousel::after {
  content: '';
  z-index: 1;
  background-color: #333;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}

.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}


