*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


body {
	font-family: "Lato", sans-serif;
	font-size: 18px;
	background-color: #0d1013;
	color: #fff;
	padding: 1em;
	
}

.background-img{
	background: url("images/city.jpg") 50% 50% / 100% no-repeat fixed;
	background-position: top;
}


h1 {
	text-align: center;
	color: rgb(90, 89, 89);
	font-size: 4rem;
	font-family: serif, bona nova;
}
h1,
h2,
strong {
	font-weight: 900;
}


h2 {
	padding: 20px 0 0;
	font-size: 24px;
}

p{
	padding-top: 20px;
	text-align: justify;
	line-height: 1.3;
}

.sub-header{
	color: rgb(97, 97, 97);
	text-align: center;
	padding: 0 4em 4em;
	border-bottom: solid #fff 1px;
	font-weight: 200;
	font-size: 1.3rem;
	letter-spacing: .2em;;
}

/* navigation */
.nav-links {
	margin-top: 5px;
	display: flex;
	justify-content: center;
	list-style-type: none;	
}

.link{
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	padding: 15px 30px;
	border: solid #000 1px;
	box-shadow: inset 0px 0px 0px 1px rgb(71, 71, 71, 0.5);
	color: rgb(223, 219, 219);
	background-color: rgb(0, 0, 0, .75);
	margin-bottom: 40px;
}

.nav-start{
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

.nav-end{
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}

.nav-links li:hover, 
.nav-links li:focus, 
.current-page {
	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
	cursor: pointer;
	background-color: rgb(138, 135, 135, .8);
	
}


/* //navigation */


/* main content centering container */
.container {
	max-width: 600px;
	margin: 0 auto;
	top: 50%;
}

/* carousel */

.carousel {
    max-width: 620px;
    position: relative;
}

.carousel .carousel-item, 
.carousel .carousel-item-hidden {
    display: none;
}

.carousel .carousel-item-visible {
	display: block;
	animation: fade 1s;
}

@keyframes fade {
	0%{
		opacity: 0;
	}

	100%{
		opacity: 1;
	}
}

.matting{
	background: inherit;
	padding: 40px 40px 30px;
	box-shadow: 0px 2px 20px 0px black;
	border-radius: 2px;
	overflow: hidden;
	box-shadow: inset 0 0 0 200px rgb(255, 255, 255, 0.2);
}


.carousel .carousel-item img {

    width: 100%;
    max-width: 620px;
	height: auto;
	border-radius: 2px;
	box-shadow: 0px 2px 20px 0px black;
	
}

.carousel .carousel-actions {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

button {
    border-radius: 50px;
	background-color: inherit;
	border: solid rgb(176, 196, 222, .4) 1px;
	color: rgb(215, 227, 243);
	width: 40px;
	height: 40px;
	font-weight: bold;
}

button:hover{
	color: #fff;
	cursor: pointer;
	outline: none;
	border: solid #bacee9 1px;
	box-shadow: 0px 2px 15px 0px rgb(255, 255, 255, .5);
	background-color: rgb(253, 253, 253, 0.4)
}

button:focus{
	outline: none;
}

button:active {
	box-shadow: 0px 2px 15px 0px rgb(255, 255, 255, 1);
	border: solid #bacee9 2px;
}

.carousel .carousel-actions button#carousel-button-prev {
	margin-left: 20px;
}
.carousel .carousel-actions button#carousel-button-next {
	margin-right: 20px;
}


.widget-wrap{ 
	display: flex;
	justify-content: center;
	
	
}

.widget{
	width: 25px;
	height: 5px;
	border-radius: 3px;
	background: inherit;
	margin: 10px 15px 0;
	border: solid rgb(255, 255, 255, 0.4) 1px;
	display: inline-block;
	
}


/* //carousel */

.intro{
	margin: 0 auto;
	text-align: center;
}

.intro-title {
	padding: .5em;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-size: 1.6rem;
	background-color: rgb(0, 0, 0, .75);
	font-family: serif, Bona Nova;
	font-weight: 400;
}

.intro-para {
 padding: 1em;
 background-color: rgb(0, 0, 0);
}

.sections{
	min-width: 200px;
}

.section-two {
	background-color: rgb(14, 13, 13);
	color: #fff;
}

.section-three{
	background-color: rgb(23, 24, 26)
}

.para-link {
	color: #344c8d;
	font-weight: 900;
}

.para-link:hover,
.para-link:focus {
	color: rgb(255, 255, 255, .7);
}

.btn {
	display: inline-block;
	padding: 15px 30px;
	text-decoration: none;
	font-weight: 900;
	margin: 15px;
}

.btn-blue {
	border: solid 1px #32457a;
	color: #fff;
}

.btn-white {
	border: solid 1px #fff;
	color: #3e59a3;
}

.btn-cta{
	background-color: rgb(214, 208, 208);
	border: solid 3px #fff;
	color: rgb(29, 29, 29);
	opacity: 0.9;
	text-transform: uppercase;
	box-shadow: inset 1px 1px 2px #141414, inset -1px -1px 2px #212121;
}

.btn:hover,
.btn:focus {
	opacity: 0.4;
	cursor: pointer;
}

.btn-cta:hover,
.btn-cta:focus{
	opacity: 1;
	color: #000000;
	background: linear-gradient(297deg, rgba(255,255,255,1) 0%, rgba(214,208,208,1) 60%);
}

.btn-cta:active{
	opacity: .6;
}

footer{
	text-align: center;
}

.social-links {
	margin: 1em;
}

.social-links a {
	margin: 1.5em;
	color: rgb(149, 149, 153);
}


@media (min-width: 860px){
	.background-img{
		background-position: bottom;
	}

	.sections {
		display: flex;
		justify-content: space-around;
	}
	.section-two, 
	.section-three{
		padding: 2em 4em;
	}

	.section-three p,
	.section-two p {
		float: right;
	}

	.section-four{
		padding: 1em 10em;
	}

	.section-four p {
		line-height: 1.5;
	}

	.btns{
		text-align: center;
	}

}
