.container > h2 {
	text-align: center;
}

nav {
	display: flex;
	justify-content: flex-end;
}

ul, li {
	display: block;
	margin: 0;
	padding: 0;
}

ul {
	display: flex;
}

header {
	padding-bottom: 150px;
	background: url('../img/header-bg.jpg') no-repeat top center / cover;
}

header li {
	margin-left: 40px;
}

header a {
	color: #fff !important;
}

header a:hover {
	color: #fff !important;
	text-decoration: underline;
}

.offer {
	margin-top: 150px;
	color: #fff;
}

.offer h1 span{
	/*font-size: 100%;*/
}

.offer form {
	margin-top: 50px;
	width: 100%;
}

.offer form .form-group {
	width: 19%;
}

.offer form input[type="text"] {
	width: 100%;
}

.offer form input[type="submit"] {
	margin-left: 30px;
}

/* aboutUs */

#aboutUs h2 {
	margin-top: 100px;
}

#aboutUs .aboutUs_img-list {
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	flex: 1 1 auto;
}

#aboutUs .aboutUs_img-list li{
	margin: 20px;
}

#aboutUs img {
	width: 500px;
}


/* sudPrac */

#sudPrac {
	margin: 100px 0 0;
	padding: 20px 0 50px 0;
	background: url('../img/sudPrac-bg.jpg') no-repeat top center / cover;
}

#sudPrac h2 {
	color: #fff;
	margin: 50px 0;
}

#sudPrac ul.sudPrac_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#sudPrac ul.sudPrac_list li {
	margin: 10px 1%;
	width: 48%;
}

/* apps */

#apps {
	background: linear-gradient(45deg, #ACCCFFb3, #667086b3), url('../img/sudPrac-bg.jpg') no-repeat top center / cover;
	padding: 50px 0;
}

#apps h2 {
	color: #fff;
}

.apps_card-list {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.apps_card-list ul li{
	font-style: italic;
}

.apps_card-list ul li:before {
	content: "- ";
}

.card {
	margin-bottom: 20px;
}

.card-body {
	flex: none !important;
}

/* footer */

footer {
	background: #000;
	color: #fff;
	padding: 50px 0;
}

footer nav {
	display: flex;
	justify-content: space-between;
}

footer nav p {
	/*flex-direction: column;*/
}

footer nav ul {
	flex-direction: column;
}

/* back-to-top */

.back-to-top {
	position: fixed;
	right: 5%;
	bottom: 5%;
	width: 50px;
	height: 50px;
	border-color: transparent;
	border-radius: 50%;
	background: #629460;
	display: none;
}

.back-to-top:hover,
.back-to-top:focus {
	filter: brightness(1.5);
	outline: none;
}

.back-to-top:before,
.back-to-top:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.back-to-top:before {
	width: 5px;
	height: 20px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	background: #f5f0f6;
}

.back-to-top:after {
	width: 20px;
	height: 20px;
	transform:  translate(-50%, -50%) rotate(45deg);
	border-top: 5px solid #f5f0f6;
	border-left: 5px solid #f5f0f6;
}

.card, .card .list-group-flush>.list-group-item {
	background: #FFF1D6;
}

/* MEDIA */

@media screen and (max-width: 1199px) {
	.offer form .form-group {
	    width: 22%;
	}
	#aboutUs img {
		width: 350px;
	}
}


@media screen and (max-width: 769px) {
	.offer form .form-group {
	    width: 30%;
	}

	#aboutUs img {
		width: 300px;
	}
}


@media screen and (max-width: 426px) {
	h1 {
		font-size: 30px;
	}

	.offer form input[type="submit"] {
    	margin: 0;
    }

    .offer form input[type="text"] {
	    margin: 0 5px;
	}

    #aboutUs img {
		width: 250px;
	}
	.apps_card-list {
    	justify-content: center;
	}
	#sudPrac ul.sudPrac_list li {
		width: 100%;
	}
}

@media screen and (max-width: 425px) {
	.offer form .form-group {
		width: 50%;
	}
}