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

body, html {
    height: 100%;
    margin: 0;
    font: 400 18px/1.8 "Lato", sans-serif;
    color: #777;
}

h1, h2, h3, h4 {
    letter-spacing: 5px;
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
}

h1 {
	/*font-family: 'Roboto', sans-serif;
	font-weight: bolder;
	font-size: 50px;
	color: #800000;*/
   /* font-family: "Lato", sans-serif;*/
    /*font-size:9vh; color: #900;*/
}

h2 {
	/*font-size: 18px;*/
    /*font-family: "Lato", sans-serif;*/
    /*font-size:2.7vh;
    color: #333;*/
}

h3, h4 {
    letter-spacing: 3px;
    font: 25px "Lato", sans-serif;  
    font-weight: bold;
    width: 100%;
	padding: 2%;
    text-align: center;
}

a {
	color: #800000;
    font-weight: bolder;
}

.divider .caption {
    position: absolute;
    top: 10%;
    text-align: left;
    color: #fff;
    letter-spacing: 2px;
    width: 27%;
    border: 1px solid black;
    background-color: rgba(0,0,0, 0.4);
    padding: 20px;
    font-size: 1.1em;
    box-shadow: 2px 2px 8px #000000;
    left: 4%;
}

.divider.bgimg2 {
    background-image: url(../img/bottom-shelf.jpg);
    min-height: 525px;
}
.divider {
    position: relative;
}
.parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
section {
    min-height: 400px;
    background-color: gainsboro;
    position: relative;
    padding: 30px 30px;
    display: -webkit-flex;
    display: flex;
}

.email-link {
    color: #900;
    text-decoration: none;
    font-weight: bold;
}

.email-link:hover {
    color: darkred;
    text-decoration: underline;
}

#home {
	background: url("../img/hero.JPG") repeat scroll right center/cover;
	height: 90vh;
	width: 100%;

    /*parallax*/
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.logo {
	text-align: center;
}

#logo-img {
    border-radius: 20%;
    margin-top: 20px;
}

#title-container {
    position: absolute;
    left: 0%;
    width: 100%;
    padding: 5%;
    /*padding-top: 10%;*/
    padding-bottom: 10%;
    height: 90vh;
}

#title h1 {
    opacity: 1;
    color: #900;
    font-size:9vh;
    font-weight: bold;
    text-shadow: 4px 4px 6px #000000;
    margin-top: 0.3em;
}

#title h2 {
    opacity: 1;
    color: #333;
    font-size:2.7vh; 
    font-weight: bold;
    text-shadow: 4px 4px 6px #666;
}

.title-row {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.container {
	width: 90%;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	padding: 2%;
}

.row {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.instructions {
    padding: 2%;
}

img {
	margin-left: auto;
	margin-right: auto;
	width: 30vh;
}

.demo-thumbnail {
	padding: 2%;
    padding-bottom: 0;
}

.demo-img {
    border-radius: 5%;
	width: 100%;
}

#footer {
	text-align: center;
}

/*Profe's styles here*/
a:hover {
  color: darkred;
/*  background-color: blanchedalmond; */
  text-decoration: underline;
}

.byline {
  background-color: gold;
  color: black;
  padding: 11px;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.title0 {
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 37px;
}

.title0 h1 {
  color: #333;
  font-size: 49px;
  font-weight: bold;
  text-transform: uppercase;
}

.title0 h2 {
  opacity: 1;
  color: #333;
  font-size: 27px;
  font-weight: bold;
  margin-bottom: 57px;
}

.attribution2 {
  margin-left: -5%;
}

.attribution2 p {
  font-size: .6em;
  font: black;
}


@media (max-width: 576px) {
    #title-container {
        padding: 0;
    }
    #title {
        padding: 0;
    }
    #title h1 {
        font-size: 60px;
    }
    #title h2 {
        font-size: 20px;
    }
}

@media (min-width: 576px) {
	.container {
		width: 85%;
	}
}

@media (min-width: 768px) {
	.container-fluid {
		width: 85%;
	}
	
}
@media (min-width: 992px) {
	.container-fluid {
		width: 75%;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Show 4th slide on md if col-md-4*/
    .carousel-inner .active.col-md-4.carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%;  /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}
@media (min-width: 576px) and (max-width: 768px) {
    /* Show 3rd slide on sm if col-sm-6*/
    .carousel-inner .active.col-sm-6.carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -50%;  /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}
@media (min-width: 576px) {
    .carousel-item {
        margin-right: 0;
    }
    /* show 2 items */
    .carousel-inner .active + .carousel-item {
        display: block;
    }
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item {
        transition: none;
    }
    .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }
    /* left or forward direction */
    .active.carousel-item-left + .carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    /* farthest right hidden item must be also positioned for animations */
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    /* right or prev direction */
    .active.carousel-item-right + .carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}
/* MD */
@media (min-width: 768px) {
    /* show 3rd of 3 item slide */
    .carousel-inner .active + .carousel-item + .carousel-item {
        display: block;
    }
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item {
        transition: none;
    }
    .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }
    /* left or forward direction */
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    /* right or prev direction */
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}
/* LG */
@media (min-width: 991px) {
    /* show 4th item */
    .carousel-inner .active + .carousel-item + .carousel-item + .carousel-item {
        display: block;
    }
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item + .carousel-item {
        transition: none;
    }
    /* Show 5th slide on lg if col-lg-3 */
    .carousel-inner .active.col-lg-3.carousel-item + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -25%;  /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
    /* left or forward direction */
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    /* right or prev direction //t - previous slide direction last item animation fix */
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}