@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@200&display=swap');
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
html {
	font-size: 10px;
	font-family: 'Fraunces', serif;
	scroll-behavior: smooth;
}
body {
	background-color: #eee;
}
a {
	text-decoration: none;
}
.container {
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.section-title {
	font-size: 4rem;
	font-weight: 300;
	color: black;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: .2rem;
	text-align: center;
}

/* Header Section */
#header {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100vw;
	height: auto;
}
#header .header {
	min-height: 8vh;
	background-color: rgba(0, 0, 0, 0.34);
	transition: 0.3s ease background-color;
}
#header .nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	max-width: 1300px;
	padding: 0 10px;
}
#header .nav-list ul {
	list-style: none;
	position: absolute;
	background-color: rgb(31, 29, 29);
	width: 100vw;
	height: 100vh;
	left: 100%;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1;
	overflow: hidden;
	transition: 1s ease left;
}
#header .nav-list ul.active {
	left: 0;
}
#header .nav-list ul a {
	font-size: 2.5rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
	text-decoration: none;
	color: white;
	text-transform: uppercase;
	padding: 20px;
	display: block;
}
#header .nav-list ul a:hover {
	color: #4facfe;
}
#header .nav-list ul li:hover {
	color: black;
}
#header .hamburger {
	height: 60px;
	width: 60px;
	display: inline-block;
	border: 3px solid white;
	border-radius: 50%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	cursor: pointer;
	transform: scale(0.8);
	margin-right: 20px;
}
#header .hamburger .bar {
	height: 2px;
	width: 30px;
	position: relative;
	background-color: white;
	z-index: -1;
}
#header .hamburger .bar::after,
#header .hamburger .bar::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	background-color: white;
	transition: .3s ease;
	transition-property: top, bottom;
}
#header .hamburger .bar::after {
	top: 8px;
}
#header .hamburger .bar::before {
	bottom: 8px;
}
#header .hamburger.active .bar::before {
	bottom: 0px;
}
#header .hamburger.active .bar::after {
	top: 0px;
}
#header img {
	max-width: 120px;
	background-size: cover;
	height: 6rem;
	justify-content: center;
	align-items: center;
}
/* End Header Section */

/* hero Section  */
#hero {
	background-image: url(./img/image9.jpeg);
	background-size: cover;
	background-position: top center;
	position: relative;
	z-index: 1;
}

#hero::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: black;
	opacity: 0.2;
	z-index: -1;
}
#hero .hero {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 50px;
	justify-content: flex-start;
}
#hero h1 {
	display: block;
	width: fit-content;
	font-size: 4rem;
	position: relative;
	color: transparent;
	animation: text_reveal .5s ease forwards;
	animation-delay: 1s;
}
#hero h1 span {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background-color: rgb(23, 22, 22);
	animation: text_reveal_box 1s ease;
	animation-delay: .3s;
}
#hero .cta {
	display: inline-block;
	padding: 10px 30px;
	color: rgb(23, 22, 22);
	background-color: transparent;
	border: 3px solid rgb(23, 22, 22);
	font-size: 2.3rem;
	text-transform: uppercase;
	letter-spacing: .1rem;
	margin-top: 30px;
	transition: .3s ease;
	transition-property: background-color, color;
}
#hero .cta:hover {
	color: white;
	background-color: rgb(23, 22, 22);
}
/* End hero Section  */

/* Cars Section */
#cars .title {
	display: inline-block;
	padding: 10px 50px;
	color: rgb(23, 22, 22);
	background-color: transparent;
	border: 3px solid rgb(23, 22, 22);
	font-size: 2.3rem;
	text-transform: uppercase;
	letter-spacing: .1rem;
	margin-bottom: 50px;
	transition: .3s ease;
	transition-property: background-color, color;
}
#cars .title h1 {
	font-size: 30px;
}
#cars {
	background-color: #eee;
	width: 100%;
	height: 240vh;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10rem 1.5rem;
	flex-direction: column;
}
.blog-post {
	width: 100%;
	max-width: 98rem;
	padding: 5rem;
	background-color: #fff;
	box-shadow: 0 1.4rem 8rem rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	border-radius: 0.8rem;
	margin-bottom: 50px;
}
.blog-post__img {
	min-width: 35rem;
	max-width: 35rem;
	height: 30rem;
	transform: translateX(-8rem);
	position: relative;
}
.blog-post__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0.8rem;
}
.blog-post__img::before {
	content: '';
	width: 100%;
	height: 100%;
	position: abosolute;
	top: 0;
	left: 0;
}
.blog-post__date span {
	display: block;
	color: rgba(0, 0, 0);
	font-size: 3rem;
	font-weight: 600;
	margin: 0.5rem 0;
}
.blog-post__title {
	font-size: 2.5rem;
	text-transform: uppercase;
	color: #4facfe;
}
.blog-post__text {
	margin-bottom: 3rem;
	font-size: 2rem;
	color: (0, 0, 0, 0.7);
}
.blog-post__cta {
	display: inline-block;
	padding: 1.5rem 3rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 2rem;
	color: white;
	border-radius: 0.8rem;
	text-decoration: none;
	background-color: rgb(23, 22, 22);
}
/* End Cars Section*/

/* Key frames */
@keyframes text_reveal_box {
	50% {
		width: 100%;
		left: 0%;
	}
	100% {
		width: 0;
		left: 100%;
	}
}
@keyframes text_reveal {
	100% {
		color: white;
	}
}

/* Start FAQ */
/* IDs - Images and their positioning */
#lady {
	position: aboslute;
	right: 18%;
	bottom: 17%;
}

/* ************************** */

/* Main classes - postion the images on the left, and the FAQ on the right */
.bigcontainer {
	width: 1000px;
	height: 550px;
	background-color: white;
	border-radius: 25px;
	display: flex;
	align-items: center;
	font-size: 2.5rem;
	justify-content: center;
	margin: 0 auto;
	margin-top: 40rem;
	margin-bottom: 5rem;
}

.bigcontainer .faq {
	width: 50%;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: scroll;
}

.bigcontainer .pics {
	height: 100%;
	width: 50%;
	overflow: hidden;
	position: relative;
}
/* **************************** */

/* Classes- toggle with JavaScript */
.container_faq .bold {
	font-weight: bold;
	color: hsl(237, 12%, 33%);
}

.container_faq .flip {
	transform: scaleY(-1);
}

.container_faq .hide {
	display: none;
}
/* *************************** */

/* other styles  */
.faq h1 {
	margin-top: 4rem;
	color: hsl(237, 12%, 33%);
}

.faq .container_faq h4 {
	font-weight: normal;
	color: hsl(240, 6%, 50%);
	display: inline;
}

.faq .container_faq hr {
	margin-top: 20px;
	height: 1px;
	background-color: hsl(240, 5%, 91%);
	border: none;
	width: 85%;
	margin-right: 15%;
}
.faq .container_faq p {
	color: hsl(240, 6%, 50%);
	width: 80%;
	line-height: 3rem;
	margin-left: 20px;
	font-size: 2rem;
	color: black;
}

.container_faq {
	margin-bottom: 10px;
}

.container_faq .img {
	float: right;
	margin-right: 15%;
}

.faq .container_faq h4:hover {
	color: hsl(14, 88%, 65%);
	cursor: pointer;
}
/* End FAQ */
/* Start popup */
.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: none;
	z-index: 2;
}

.contentBox {
	position: relative;
	width: 600px;
	height: 400px;
	background-color: rgba(252, 252, 252, 0.968);
	border-radius: 20px;
	display: flex;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contentBox .imgBox {
	position: relative;
	width: 300px;
	height: 400px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.contentBox .imgBox:before {
	content: '';
	position: absolute;
	width: 250px;
	height: 250px;
	border-radius: 50%;
}

.contentBox .imgBox img {
	position: relative;
	max-width: 250px;
	z-index: 1;
}
.contentBox .content {
	position: relative;
	width: 300px;
	height: 400px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.contentBox .content h3 {
	color: #ff4d54;
	line-height: 1em;
	font-weight: 300;
	font-size: 3.7rem;
}

.contentBox .content h2 {
	font-size: 2rem;
	color: #333;
	line-height: 1em;
}

.contentBox .content h2 span {
	color: #ff4d54;
	font-size: 2.3rem;
}

.contentBox .content p {
	font-weight: 300;
}

.contentBox .content a {
	display: inline-block;
	padding: 10px 20px;
	background: #ff4d54;
	color: #fff;
	margin-top: 15px;
	text-decoration: none;
	border-radius: 10px;
	font-size: 2rem;
}

.close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: #f3f3f3 url(/img/close.png);
	background-repeat: no-repeat;
	background-size: 25px;
	background-position: center;
	cursor: pointer;
	border-radius: 50%;
	z-index: 10;
}
/* End popup */

/* End Key frames */

@media only screen and (min-width: 1200px) {
	#header .hamburger {
		display: none;
	}
	#header .nav-list ul {
		position: initial;
		display: block;
		height: auto;
		width: fit-content;
		background-color: transparent;
	}
	#header .nav-list ul li {
		display: inline-block;
	}
	#header .nav-list ul li {
		font-size: 1rem;
	}
	#header .nav-list ul a:after {
		display: none;
	}
}
@media screen and (max-width: 1068px) {
	.blog-post {
		max-width: 80rem;
	}
	.blog-post__img {
		min-width: 30rem;
		max-width: 30rem;
	}
}
@media screen and (max-width: 868px) {
	.blog-post {
		max-width: 70rem;
	}
}
@media screen and (max-width: 768px) {
	.blog-post {
		padding: 2.5rem;
		flex-direction: column;
		margin-bottom: 100px;
	}
	.blog-post__img {
		min-width: 100%;
		max-width: 100%;
		transform: translate(0, -8rem);
	}
}
/* Faq media */
@media (max-width: 1068px) {
	.bigcontainer {
		max-width: 80rem;
	}
	.pics {
		min-width: 30rem;
		max-width: 30rem;
	}
	#lady {
		min-width: 30rem;
		max-width: 30rem;
		transform: translate(0, 10rem);
	}
}

@media (max-width: 868px) {
	.bigcontainer {
		max-width: 70rem;
		padding: 2.5rem;
		transform: translate(0, 0rem);
	}
	#lady {
		transform: translate(0, 10rem);
	}
}

@media (max-width: 768px) {
	.bigcontainer {
		transform: translate(0, 83rem);
		padding: 2.5rem;
	}
}

@media (max-width: 767px) {
	.bigcontainer {
		width: 50%;
		margin-bottom: 30px;
	}
}
@media (max-width: 574px) {
	.bigcontainer {
		width: 100%;
	}
}
/* End Faq media */

.footer-container {
	max-width: 1170px;
	margin: auto;
}
.row {
	display: flex;
	flex-wrap: wrap;
}
.footer-col ul {
	list-style: none;
}
.footer {
	background-color: #24262b;
	padding: 70px 0;
}
.footer-col {
	width: 25%;
	padding: 0 15px;
}
.footer-col h4 {
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child) {
	margin-bottom: 10px;
}
.footer-col ul li a {
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover {
	color: #ffffff;
	padding-left: 8px;
}

/*responsive*/
@media (max-width: 767px) {
	.footer-col {
		width: 50%;
		margin-bottom: 30px;
	}
}
@media (max-width: 574px) {
	.footer-col {
		width: 100%;
	}
}
