html{
	scroll-behavior: smooth;
}

*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

:root{
	--light-gray: #d4d4d4;
	--caramel: #917745;
	/*--fire-engine-red: #D10004;*/
	--fire-engine-red: #CE2029;
	--gold: rgba(255, 215, 0, 1);
	--faint-gold: rgba(255, 215, 0, .75)
}

p{
	font-family: "Quattrocento Sans", sans-serif;
	font-size: 24px;
	line-height: 32px;
	font-weight: 300 !important;
	margin-bottom: 15px;
}

.query{
	/*color: var(--fire-engine-red);*/
	font-weight: 700 !important;
	text-transform: uppercase;
}

h1{
	font-family: "Quattrocento sans", san-serif;
	color: var(--fire-engine-red);
	font-size: 32px;
	margin: 25px 0;
	text-align: center;
	text-transform: uppercase;
	word-break: break-word !important;
}

.site-title{
	font-size: 50px;
	font-weight: 900;
	margin-top: 0px;
}

h1 a{
	font-family: "Quattrocento sans", san-serif;
	color: var(--fire-engine-red);
	font-size: 50px;
	margin-bottom: 0px !important;
}

.phone-number{
	margin-bottom: 0px !important;
}

h2{
	font-family: "Quattrocento sans", sans-serif;
	color: var(--fire-engine-red);
	font-size: 36px;
	text-align: center;
	margin-bottom: 25px;
}

.h2-separator{
	text-align: left;
	margin: 25px 0;
	font-size: 2em !important;
}

h3{
	font-family: "Quattrocento sans", san-serif;
	text-align: left;
	font-size: 24px;
}

h4{
	font-family: "Quattrocento sans", san-serif;
	color: var(--fire-engine-red);
	margin: 15px 0;
	font-size: 30px;
	text-align: center;
	font-weight: 900;
	letter-spacing: 1px;
	word-break: break-word !important;
}

li{
	font-family: "Quattrocento sans", sans-serif;
}

a{
	font-family: "Quattrocento sans", sans-serif;
	color: white;
	text-decoration: none;
	font-size: 24px;
}

.separator{
	margin: 25px 0;
}

ul{
	margin: 0 0 15px 25px;
}

li{
	font-family: "Quattrocento sans", sans-serif;
	font-size: 24px;
	line-height: 32px;
	font-weight: 400;
}

.highlight{
	font-size: 24px;
	text-align: left;
	margin-top: 25px;
}

.highlight::before{
	content: "Our ";
}

.page-title{
	font-family: "Quattrocento sans", sans-serif;
	font-size: 32px;
	line-height: 48px;
	color: black;
	font-weight: 900;
	text-align: left;
}

.page-title::before{
	content: "Aggressive ";
}

.call-to-action{
	font-size: 24px;
	text-align: left;
	text-transform: uppercase;
	margin-top: 25px;
}

.call-to-action a{
	color: var(--fire-engine-red);
	font-weight: 900;
}

.call-to-action::before{
	content: "Contact our Aggressive ";
	font-size: 24px;
	color: black;
	font-weight: 900;
}

.call-to-action::after{
	content: " if you have questions.";
	font-size: 24px;
	color: black;
	font-weight: 900;
}

.call-to-action-variant-2{
	font-size: 24px;
	text-align: left;
	text-transform: uppercase;
	margin-top: 25px;
}

.call-to-action-variant-2 a{
	color: var(--fire-engine-red);
}

.call-to-action-variant-2::before{
	content: "If you have questions, contact our Aggressive ";
	font-size: 24px;
	color: black;
}

.call-to-action-variant-2::after{
	content: " today!";
	font-size: 24px;
	color: black;
}

strong{
	font-weight: 900;
}

@media only screen and (max-width: 768px){
	h1{
		font-size: 24px;
	}
	.site-title{
		font-size: 32px;
		font-weight: 900;
	}
	h1 a{
		font-size: 24px;
	}
}

.titleOfPage{
	position: absolute;
	width: max-content;
	height: 50px;
	top: 0;
	left: 0;
	display: none;
	background-color: red;
}

/* ************************ MENU ********************** */

header{
	width: 100%;
	position: relative;
}

/* ************************ GRID ********************** */

.grid-container{
	display: grid;
	grid-template-columns: repeat(6, [col-start] 1fr);
	gap: 5px;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto 0 auto;
	padding: 0 25px;
}

.grid-card{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 2px 2px;
	color: purple;
	border: 2px solid black;
	border-radius: 40px;
	border-style: outset;
}

.grid-container a{
	background-color: #FFD700;
}

.grid-card img{
	width: 100%;
	max-width: 128px;
	margin-bottom: 5px;
}

.grid-card p{
	color: purple;
	text-align: center;
	text-decoration: underline;
	border: 2px solid black;
	border-style: outset;
	padding: 0px;
	background-color: #FFD700;
	display: flex; 
	align-items: center;
	line-height: 24px;
}

@media only screen and (max-width: 990px){
	.grid-container{
		grid-template-columns: repeat(3, [col-start] 1fr);
	}
}

@media only screen and (max-width: 768px){
	.grid-container{
		grid-template-columns: repeat(2, [col-start] 1fr);
	}
}

/* ************************ HERO ********************** */

.hero{
	width: 100%;
	height: 78vh;
	position: relative;
}

.overlay{
	position: absolute; 
	width: 100%; 
	height: 100%; 
	z-index: 10;
}

.hero-img{
	/*background-image: url("../img/aggressiveAccidentAttorney.jpg");*/
	background-size: cover;
	/*background-position: top center;*/
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;
	position: relative;
}

.hero-copy{
	position: absolute;
	text-align: center;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 11;
	background-color: rgba(255,255,255,.80);  
	padding: 0px 5px;
	border-radius: 15px;
	max-width: max-content;
	width: 100%;
}

@media only screen and (max-width: 768px){
	.hero{
		height: 60vh;
	}
}

/* ************************ MAIN ********************** */

.container{
	width: 100%;
	max-width: 1440px;
	margin: 0 auto 0 auto;
	padding: 0 25px 25px 25px;
}

.flex-box{
	display: flex;
	justify-content: flex-start;
}

.left-panel{
	/*width: 60%;*/
	width: 100%;
	padding: 10px;
}

.right-panel{
	width: 100%;
	padding: 10px;
	display: none;
}

.desktop-image{
	float: right; width: 500px; 
	padding: 0 25px 25px 25px;
	display: block;
}

.mobile-image{
	display: block;
	width: 100%;
}

@media only screen and (max-width: 1220px){
	.flex-box{
		display: block;
	}
	
	.left-panel, .right-panel{
		width: 100%;
	}
	
	.h2-separator{
		text-align: center;
	}
		
	.quarter-panel{
		width: 100% !important;
	}
}

@media only screen and (max-width: 990px){
	.desktop-image{
		display: none;
	}
	.right-panel{
		display: block !important;
	}
}

/* ************************ CONTACT ********************** */

footer{
	padding-top: 30px;
}

.contact-method:hover{
	text-decoration: underline;
}

.option-container{
	width: 100%;
	max-width: 1440px;
	margin: 0 auto 0 auto;
	padding: 0 25px 25px 25px;
}

.contact-card{
	width: 33.3%; 
	margin: 12px 12px;
	padding: 35px;
	background-color: var(--fire-engine-red);
	border-radius: 10px;
}

.contact-card-p{
	color: white;
	margin: 15px 0px;
}

.card-flex-display{
	display: flex;
	justify-content: space-evenly;
}

.flex-display{
	display: flex;
	justify-content: space-evenly;
}

.flex-row{
	flex-direction: row;
}

.flex-col{
	flex-direction: column;
}

.justify-center{
	justify-content: center;
	align-items: center;
}

#optionBtn{
	display: block; 
	margin: 50px auto 0 auto;
}

@media only screen and (max-width: 768px){
	.contact-card{
		width: 100%;
		margin: 12.5px 0;
	}
	.card-flex-display{
		display: block;
	}
}

/* ************************ FOOTER ********************** */

footer{
	width: 100%;
	background-color: #000000;
}

.ftr-btn{
	border: 2px solid black;
	background-color: var(--gold);
	border-style: outset;
	color: purple !important;
	padding: 5px 10px;
	border-radius: 40px;
}

.ftr-btn:hover{
	background-color: var(--faint-gold);
}

.ftr-title{
	margin-bottom: 10px; 
	color: white; 
	font-family: 'Quattrocento sans', san-serif; 
	font-size: 24px; 
	text-transform: uppercase; 
	text-align: center; 
	text-transform: uppercase;
}

.footer-menu{
	list-style: none;
}

.footer-menu li{
	margin: 0 0 20px 0 !important;
}

.footer-menu li a{
	text-decoration: none;
	display: flex;
	/*width: max-content;*/
	align-items: center;
	justify-content: center;
}

.footer-menu li a:hover{
	/*text-decoration: underline;*/
	font-weight: 900;
}

.quarter-panel{
	width: 33.3337%;
	padding: 10px;
}

.quarter-panel h3{
	color: white;
}

/* ************************ FORM ********************** */

input[type=text], select, textarea{
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	box-sizing: border-box;
	margin: 6px auto 16px auto;
	resize: vertical;
	font-size: 24px;
}

input[type=submit]{
	background-color: var(--fire-engine-red);
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-family: "Quattrocento sans", sans-serif;
}

input[type=submit]:hover{
	background-color: red;
}

/* ********************** MODAL CSS ************************* */

.scroll{
	position: relative;
	overflow: hidden;
}

.modal{
	position: absolute; 
	top: 0; left: 0; 
	width: 100%; 
	height: 100%; 
	background-color: rgba(0,0,0,.5); 
	z-index: 99;  
	display: none; 
	justify-content: center; 
	/*align-items: center;*/
	box-sizing: border-box;
}

.modal-window{
	padding: 50px 50px 50px 50px; 
	width: 33.3%; 
	background-color: white; 
	border-radius: 10px;
	box-sizing: border-box;
	margin-top: 150px;
	position: fixed;
}

.btn-box{
	position: relative;
	margin: 50px auto 25px auto;
	width: max-content;
	top: 0;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
}

.btn{
	margin: 15px;
	padding: 15px 30px;
	font-size: 24px;
	background-color: transparent;
	border-radius: 100px;
	box-sizing: border-box;
	cursor: pointer;
}

#yes{
	border: none;
	color: black;
	box-sizing: border-box;
	border: 2px solid transparent;
}

#yes:hover{
	border: 2px solid green;
	color: green;
	box-sizing: border-box;
}

#no{
	border: none;
	color: black;
	box-sizing: border-box;
	border: 2px solid transparent;
}

#no:hover{
	border: 2px solid red;
	color: red;
	box-sizing: border-box;
}

@media only screen and (max-width: 1350px){
	.modal-window{
		width: 50%;
	}
}

@media only screen and (max-width: 768px){
	.modal-window{
		width: 90%;
		padding: 5px
	}
	.btn-box{
		margin: 5px auto 5px auto;
	}
}