@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Work+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

:root {
	--h1: 40px;
	--h2: 32px;
	--h3: 28px;
	--h4: 24px;
	--h5: 20px;
	--h6: 16px;
	--h7: 14px;
	--h8: 12px;
	
	--sub: 20px;
	
	--label : 16px;
	--ls: 3px;
	
	--body: 14px;
	
	--font-1: 'Crimson Text', serif;
	--font-2: 'Work Sans', sans-serif;
	
	--color-dark-100: rgba(41, 33, 33, 1);
	--color-dark-90: rgba(41, 33, 33, 0.9);
	--color-dark-75: rgba(41, 33, 33, 0.75);
	--color-dark-50: rgba(41, 33, 33, 0.5);
	--color-dark-25: rgba(41, 33, 33, 0.25);
	
	--color-white-100: rgba(255, 255, 255, 1);
	--color-white-75: rgba(255, 255, 255, 0.75);
	--color-white-50: rgba(255, 255, 255, 0.5);
	--color-white-25: rgba(255, 255, 255, 0.25);
	
	--color-red-100: rgba(255, 0, 0, 1);
	
	--color-m3ssroof-100: rgba(110, 180, 232, 1);
	--color-m3ssroof2-100: rgba(2, 35, 103, 1);
	
	--shadow-1: 0px 0px 10px 0px rgba(0,0,0,0.25);
}

/**
* ! removing default styles of the browser
**/

* {
	margin: 0;
	padding:0;
	box-sizing: border-box;
}
	
/**
* ! style rules for common buttons
**/

.m3ssroof-btn,
.m3ssroof2-btn {
	color: var(--color-dark-100);
	background-color: var(--color-white-100);
	cursor: pointer;
	font-size: var(--h6);
	font-family: var(--font-2);
	border: none;
	border-radius: 8px;
	padding: 10px 40px;
}

.m3ssroof-btn {
	color: var(--color-white-100);
	background-color: var(--color-m3ssroof-100);
}

.m3ssroof2-btn {
	color: var(--color-white-100);
	background-color: var(--color-m3ssroof2-100);
}
	
/**
* ! style rules for text colors
**/

.text-white{
	color: var(--color-white-100);
}

.text-dark{
	color: var(--color-dark-100);
}

.text-m3ssroof{
	color: var(--color-m3ssroof-100);
}

/**
* ! style rules for label
**/

.label{
	font-family: var(--font-2);
	font-size: var(--label);
	letter-spacing: var(--ls);
	text-transform: uppercase;
	font-weight: 700;
}

.text{
	font-family: var(--font-2);
	font-size: var(--label);
	color: var(--color-dark-100);
}

a{
	text-decoration: none;
	color: var(--color-m3ssroof2-100);
}

/**
* ! style rules for hero
**/

.hero{
	z-index: 2;
	background-color: var(--color-white-100);
	width: 100%;
	position: fixed;
	top: 0;
	box-shadow: var(--shadow-1);
}

/**
* ! style rules for navbar
**/

.navbar{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
}

.navbar__logo {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 40px;
}

.navbar__logo--image{
	height: 50px;
}

.navbar__logo--text {
	font-size: var(--h2);
	font-family: var(--font-2);
	font-weight: 500;
	color: var(--color-dark-90);
}

.navbar__menu{
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.navbar__menu1{
	display: flex;
	flex-direction: row;
	gap: 20px;
	font-family: var(--font-2);
	font-size: var(--h6);
}

[class^="navbar__menu1--"]{
	color: var(--color-dark-90);
	text-decoration: none;
}

.navbar__menu2{
	display: flex;
	flex-direction: row;
	gap: 20px;
	font-family: var(--font-2);
	font-size: var(--h6);
}

[class^="navbar__menu2--"]{
	color: var(--color-dark-90);
	text-decoration: none;
}

.navbar__icons{
	display: none;
}

.navbar__icons i{
	cursor: pointer;
	font-size: var(--h2);
	color: var(--color-dark-90);
}

.firstcontent{
	z-index: 1;
	margin-top: 90px;
	background-color: var(--color-m3ssroof-100);	
	padding: 0 0;
	width: 100%;
}

/**
* ! style rules for common classes
**/

.text-center{
	text-align: center;
}

.container{
	max-width: 1200px;
	margin: auto;
}

.responsive-image{
	max-width: 100%;
	height: auto;
}

.grid{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	padding: 40px 0;
	gap: 25px;
}

.flex{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.common-title{
	text-transform: capitalize;
	font-size: var(--h1);
	font-family: var(--font-2);
	font-weight: bold;
}

.common-subtitle{
	text-transform: capitalize;
	font-size: var(--h3);
	font-family: var(--font-2);
}

/**
* ! style rules for footer section
**/

.footerWrapper{
	background-color: var(--color-m3ssroof2-100);
}

.footerLinks{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 10px 0;
}

.footerLinks__socials{
	display: flex;
	gap: 10px;
}

.footerLinks__copyright{
	font-size: var(--label);
	font-family: var(--font-2);	
}

/**
* ! style rules for media queries
**/

@media (max-width: 1200px){
	.container{
		max-width: 970px;
	}
}

@media (max-width: 1024px){
	.container{
		max-width: 740px;
	}
	
	.common-title{
		font-size: var(--h4);
	}
	
	.common-subtitle{
		font-size: var(--h5);
	}
	
	.text{
		font-size: var(--body);
	}
	
	.navbar__menu{
		z-index: 1;
		background-color: var(--color-white-100);
		position: absolute;
		top: 90px;
		width: 100%;
		right: 0;
		height: 100vh;
		
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 40px;
	}
	
	.navbar__icons{
		display: block;
	}
	
	.navbar__menu1{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 40px;
	}
	
	.navbar__menu1--1{
		margin-top: -200px;
	}
		
	.hide{
		display: none;
	}
	
	.hidden{
		display: none;
	}
}

@media (max-width: 768px){
	.grid{
		grid-template-columns: repeat(1,1fr);
	}
	
	.container{
		max-width: 500px;
	}
}

@media (max-width: 568px){
	.container{
		max-width: 90%;
	}
	
	.footerLinks{
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
}