div.carousel{
	
	margin-left:5%;
	margin-right:5%;
	
}

.carousel-container {
    padding: 0 15%;

/*    max-width: calc(15% + 166px);*/
}



/* Carousel is based off of: https://getbootstrap.com/docs/4.0/examples/carousel/
-------------------------------------------------- */
/* Since positioning the image, we need to help out the caption */
.carousel {
    
	padding-left:4.75%;
	padding-right:4.75%;
	
}
.carousel-inner {
 /* Set the height of the slides */
    }
.carousel-caption {
	
  z-index: 10;
}

.carousel-item {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-width: 100%;
    
	
}

/* Declare heights because of positioning of img element */

.carousel-item#img1 { background-image: url(../media/flickerFortress.gif); }
.carousel-item#img2 { background-image: url(../media/clapback.gif); }
.carousel-item#img3 { background-image: url(../media/img3.png); }
.carousel-item#img4 { background-image: url(../media/img4.png); }

/*
.carousel-item#img5 { background-image: url(../media/img5.png); }*/

@media (min-width: 576px) {
    .carousel-item {
        height: auto;
      
    }
}

@media (min-width: 768px) {
    .carousel-item {
       
    }
}


@media (min-width: 992px) {
   .carousel-item {
       
    } 
}

@media (min-width: 1200px) {
    .carousel-item {
      
		
    }
}



@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25em;
    font-size: 1.25em;
   
  }
}
/* -------------------------------------------------- */

.carousel-control-prev, .carousel-control-next,
.carousel-control-prev:visited, .carousel-control-next:visited {
    background-color: black;
    opacity: 0.2;
    width: 5%;
}

.carousel-control-prev:hover, .carousel-control-next:hover, 
.carousel-control-prev:active, .carousel-control-next:active,
.carousel-control-prev:focus, .carousel-control-next:focus {
    opacity: 0.3;
}

.carousel-caption p, .carousel-caption h1 {
    color: #f2f2f2;
    text-shadow: 2px 2px rgba(0,0,0,0.4);
	text-align:center;
}

@media (max-width: 577px) {
    .carousel li {
        display: none;
    }
    
    .carousel-control-prev, .carousel-control-next {
        background-color: transparent;
        opacity: 0.8;
        width: 5%;
	
    }
    
    .carousel-caption h1 {
        font-size: 1.5em;
    }
    .carousel-caption{
        bottom: 0em;
    }
    
    .carousel-control-prev, .carousel-control-next,
    .carousel-control-prev:visited, .carousel-control-next:visited {
        opacity: 0.4;
    }

    .carousel-control-prev:hover, .carousel-control-next:hover, 
    .carousel-control-prev:active, .carousel-control-next:active,
    .carousel-control-prev:focus, .carousel-control-next:focus {
        opacity: 0.7;
    }
}
