
/* Flexbox */

* {
  box-sizing: border-box;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  font-size: 30px;
  text-align: center;
}

.flex-item-left {
  background-color: red;
  padding: 10px;
  flex: 70%;
}

.flex-item-right {
  background-color: dodgerblue;
  padding: 10px;
  flex: 30%;
}

/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 400px) {
  .flex-item-right, .flex-item-left {
    flex: 100%;
  }
}

.bg-body-tertiary {
	background-color:#b80000 !important;
	color: white;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
	color: white;
}

.red_bg {
	min-height: 429px;
	width: auto;
	background-color:#820300;	
	display:block;
	position: relative;
}

.red_bg_content {
	padding-left: 50px;
	color:white;
	text-align:left;
	font-size: 24px;
	max-width: 600px;
	display: block;
	position: relative;
}
}

.video {
	float:right;
	position: relative;
}


/* end flexbox */

@media (min-width: 600px) {
		.container {

			margin-left: 100px;
			margin-right: 100px;
		}
}

@media (max-width: 599px) {
		.container {

			margin-left: 30px;
			margin-right: 30px;
		}
}

.num {
	font-size: 60px;
	color: #b80000;
	font-weight: bold;
	text-align: center;
}

.num_title {
	font-size: 24px;
	color: black;
	text-align: center;
}

.box1 {

	max-width: 370px;
	height: 430px;
	border: 1px solid;
	padding: 20px;
}

.box1 .car_name {

	font-size: 20px;
	font-family: Arial;
	text-align: left;
}

.box1 .price {
	
	font-size: 20px;
	font-family: Arial;
	text-align: left;
}

.car_btn {
  background-color: #820300; /* red */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  text-align: left;
}

.news_title {
	font-size: 28px;
	text-align: left;
	font-weight: bold;
}

.news_content, .news_content a:link, .news_content a:hover, .news_content a:visited{
	font-size: 16px;
	text-align: left;
	text-decoration: none;
	color: black;
}

.sales_name {
	text-align: left;
}

.sales_content {
	font-size: 16px;
	text-align: left;
}

.footer {

	min-height: 300px;
	width: auto;
	background-color: #5f8670;
	display: block;
	position: relative;
	color: white;
}

.footer_menu, .footer_menu a:link, .footer_menu a:visited, .footer_menu a:hover {

	padding-left: 100px;
	text-decoration: none;
	color: white;
}



