/*============================================================== TABLE OF CONTENTS=======================================================*/

/*1. 	BODY */
/*2. 	NAV SECTION */
/*3. 	HERO HEADER SECTION */
/*4. 	HEADER TAGS */
/*5. 	PAGE SECTIONS */
/*6. 	SERVICE SECTION */
/*7. 	BLOG SECTION */
/*8. 	FASHION WEEK SECTION */
/*9. 	CLIENT MONTAGE SECTION */
/*10. 	SUBSCRIBE SECTION */
/*11.	FOOTER */
/*12.	MEDIA QUERIES */


/*============================================================= 1. BODY SECTION ===========================================================*/

body {
    
	font-size: 1rem;
	font-family: Montserrat;
	line-height: 1.9;
	box-sizing: border-box; 
}

body,
h1,
h2,
h3,
p {
	margin: 0;
}




/*========================================================= 2. NAV SECTION ==================================================================*/



.nav-container {
	margin: 0 auto;
	width: 100%;
	
	}


	
	

	.logo {
		text-align: center;
		
	}
	
	
	
	.header-nav a:hover {
	color: rgb(15, 235, 216);
	}
	
	/*=== I changed the height from 10.5rem to Auto ===*/
	
	.site-header-nav {
	position: fixed;
	
	top:0;
	left:0;
	width:100%;
	height: auto;
	padding: 0.125rem 5.625rem;
	box-sizing: border-box;
	z-index: 10;
	transition: 300ms ease-in-out background-color;
	}
	
	.site-header-nav ul {
	padding: 0;
	
	list-style-type: none;
	align-items: center;
	margin-left: 0;
	padding: 0;
	
	
	text-align: center;
	
	
	
	}
	
	.active-nav {
	
		background-color: rgb(226, 38, 132);
	}
	
	
	/*=== I had to use margin top 1.5rem to align LI's. On other page with same code, I used line-height -5, and that worked ===*/
	/*=== I used a line height of 0.9 for site header nav li and line height of 0.2 for site header nav a to push up menu buttons due to adding
	mobile menu button that consequently pushed down the menu buttons ===*/
	
	.site-header-nav li {
	display: inline;
	padding: 0.9rem;
	vertical-align: middle;
	font-size: 1.25rem;
	line-height: 0.9rem;
	}
	
	
	
	.site-header-nav a {
	text-decoration: none;
	padding: 8px 8px 8px 8px;
	font-size: 1.25rem;
	vertical-align: middle;
	font-weight: lighter;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	line-height: 0.2rem;
	}
	
	.site-header-nav .social-media-search {
		align-items: center;
		display:inline;
		
	}
	
	
	

/*======================================================= 3. HERO HEADER SECTION ===========================================================*/


#hero {
background-image: url('../images/peter-nguyen-jVDbmshAl4o-unsplash.jpg');
justify-content: flex-start;
align-items: flex-start;
background-repeat: no-repeat;
background-size: cover;
background-position:top;
text-align: center;
display: flex;
height: 45rem;
padding-top: 12rem;

}

/*=== display inline block created the perfect square I wanted ===*/

#hero .hero-container {

	position:relative;
	padding: 1.5rem 2.5rem;
	border: solid 3px rgb(226, 38, 132);
	background-color: rgba(240, 231, 231, .3);
	border-radius: 3rem;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15rem;
	display: inline-block;	
	justify-content: center;
	justify-items: center;

}

.introduction h1 {
	font-family: Montserrat;
	font-size: 2rem;
	font-weight: 100;
	color: #ffffff;
	padding-top: 1.5rem;
	text-align: center;
	margin-bottom: 1rem;
	text-transform: uppercase;
	
}

.introduction h2 {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 1.2rem;
	color: #ffffff;
	font-weight:400;
	text-align: center;
	line-height: 3rem;
}

.hero-container {

	width: min(50%, 35.5rem);
}

.button li {
	list-style: none;
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
}

.button li a {
	background-color: rgb(226, 38, 132);
	opacity: 0.9;
	transition: 0.3s;
	border: solid 0.20rem rgba(240, 231, 231, .3);
	border-radius: 2rem;
	color:#ffffff;
	text-decoration: none;
	padding: 1rem 2.5rem;
	font-size: 1rem;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
}

.button li a:hover {
	background-color: rgb(15, 235, 216);
	color: rgb(15, 15, 15);
	border: solid 0.20rem rgba(240, 231, 231, .3);
	font-weight: 400;
	font-size: 1rem;
}


/*=============================================================== 4. HEADER TAGS ==================================================*/

h1, 
h2, 
h3 {
font-family: Montserrat;
font-weight: 600;
line-height: 1;

}


/*================================================================= 5. PAGE SECTIONS ======================================================*/

header { 

padding: 6rem 0;
}

section {

padding: 3rem 0;

}

.container {
margin-inline : auto;
width: min(90%, 70.5rem);

}

.grid-container {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template: 1fr / 50% 50%;
    align-items: center;
    
    
    }

.split {
	display: flex;
	flex-direction: column;
}



/*============================================================== 6. SERVICE SECTION =======================================================*/

.service {
background-color: #ece2e2e0;
}

.service img {
display: block;
max-width: 100%;
}

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

.service h2, p {
text-align: center;
padding-bottom: 1.2rem;


}

.service h2 {
font-weight: 300;
font-family: Square Peg;
font-size: 3rem;
}


/*============================================================ 7. BLOG SECTION ===========================================================*/

.blog img {
	display: block;
	max-width: 100%;
}

.blog h1 {
	font-family: square peg;
	font-weight: 300;
	font-size: 3rem;
	text-transform:capitalize;
	margin-top: 0.5rem;
	margin-bottom: 2rem;
	text-align: center;
	

}


.blog h3 {
font-family: Montserrat;
font-weight: 300;
font-size: 1.1rem;
text-transform:uppercase;
margin-top: 0.75rem;
text-align: center;


}

.blog li {

	text-align: center;

}

.blog button li {
	list-style: none;
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
	
}

.blog button li a {
	background-color: rgb(226, 38, 132);
	opacity: 0.9;
	transition: 0.3s;
	border: solid 0.20rem rgba(240, 231, 231, .3);
	border-radius: 2rem;
	color:#ffffff;
	text-decoration: none;
	padding: 1rem 2.5rem;
	font-size: 1rem;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
}

.blog button li a:hover {
	background-color: rgb(15, 235, 216);
	color: rgb(15, 15, 15);
	border: solid 0.20rem rgba(240, 231, 231, .3);
	font-weight: 400;
	font-size: 1rem;
}



/*============================================================ 8. FASHION WEEK SECTION ===================================================*/

#fashion-week .container {
text-align: center;
}

#fashion-week img {
display: block;
max-width: 100%;
}

#fashion-week {
background-color: #ad9759;
color:rgb(22, 21, 21);
}



#fashion-week h2 {
text-align: center;
text-decoration: underline;
font-size: 2rem;
font-weight: 300;
font-family: montserrat;
margin-bottom: 1.5rem;
}

#fashion-week button li {
	list-style: none;
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
	
}

#fashion-week button li a {
	background-color: rgb(226, 38, 132);
	opacity: 0.9;
	transition: 0.3s;
	border: solid 0.20rem rgba(240, 231, 231, .3);
	border-radius: 2rem;
	color:#ffffff;
	text-decoration: none;
	padding: 1rem 2.5rem;
	font-size: 1rem;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
}

#fashion-week button li a:hover {
	background-color: rgb(15, 235, 216);
	color: rgb(15, 15, 15);
	border: solid 0.20rem rgba(240, 231, 231, .3);
	font-weight: 400;
	font-size: 1rem;
}


/*============================================================= 9. SUGGESTION SECTION =======================================================*/

.client-montage {
height: auto;
background-color: #ece2e2e0;
}

.client-montage h1 {

color: rgb(32, 31, 31);
text-align: center;
line-height: 4rem;
font-weight: bold;
font-size: 2rem;
font-weight: bold;
margin-bottom: 4rem;

}

.client-montage h2 {

color: rgb(32, 31, 31);
text-align: center;
line-height: 1rem;

font-family: square peg;
font-size: 3rem;
font-weight: 300;
margin-bottom: 4rem;

}

.client-images {
display: flex;
flex-wrap: wrap;
}


#client-resize {

justify-content:center;
width: 100%;

}

span {
text-transform: uppercase;
font-style: italic;
}



.adjust {
height: 38.75rem;
max-width: 45rem;
}


/*========================================================== 10. SIGN UP SECTION ===========================================================*/

#sign-up {
background-image: url('../images/wardrobe.jpg');
justify-content: flex-start;
align-items: flex-start;
background-repeat: no-repeat;
background-size: cover;
background-position:top;
text-align: center;
display: flex;
height: 60rem;
padding-top: 12rem;

}

/*=== Might not use this code if I can center and position h1 header as I like ===*/
#sign-up .sign-up-container {
position: relative;
padding: 0.1rem 2.5rem;
display:inline-block;
border-radius: 3rem;
margin-left: auto;
margin-right: auto;
}


/*=== Changed min width from 50% to 80% ===*/
.sign-up-container {
width: min(80%, 35.5rem);
}


.subscribe h3 {
text-align: center;
align-items: flex-start;
font-size: 4rem;
margin-left: auto;
margin-right: auto;
font-family: Montserrat;
color:rgb(226, 38, 132);
}


.clearfix::after {
content: "";
clear: both;
display: table;

}

label {
display: block;
line-height: 1.5rem;
font-weight: lighter;
margin-bottom: 0.5rem;
}


input {
height: 2rem;
width: 100%;
margin-bottom: 1rem;
font-size: 1rem;
}



#form {
color: white;
display: table;
padding: 1rem;
font-weight: bold;
position:relative;
padding: 1.5rem 2.5rem;
border: solid 3px rgb(226, 38, 132);
background-color: rgba(240, 231, 231, .3);
border-radius: 3rem;
margin-left: auto;
margin-right: auto;
margin-top: 10.63rem;	
justify-content: center;
justify-items: center;
align-items: flex-end;
}


#form h2 {
	text-transform: capitalize;
}



/*========================================================= 11. FOOTER =====================================================================*/

#footer {
background-color: black;
clear: both;
color: white;
padding: 1.5rem;
height: auto;
}

#footer p {
	text-align: center;
	display: block;
	justify-content: center;
	
}

#footer .social-media {
	text-align: center;
}

#smicon .social-media-icon {

margin-left: 2rem;

}


/*============================================================== 12. MEDIA QUERIES =======================================================*/


@media (min-width: 40em) {
.split {
	flex-direction: row;
}

.split > * {
	flex-basis: 100%;
}

.split > * + * {
	margin-left: 2em;
}
}




/*=== Media query below gives a bit more breathing room/space when the browser at 40em ===*/
@media (min-width: 40em) {
header,
section {
	padding: 7rem 0;
}
} 

/*===== GRID CONTAINER ======*/
@media (max-width: 67em) {
    .grid-container{
        grid-template-columns: 1fr;
        grid-template-rows: 1.2fr;
    }

}


/*=== Media Query Nav ===*/

@media (min-width: 45rem) and (max-width: 72rem) {

.site-header-nav a {
	display: inline;
	padding: 1rem;
	vertical-align: middle;
	font-size: 0.8rem;
	
}

}

/*=== media query to change social media icons and magnifying glass display from inline to block ===*/
@media (max-width: 88.75rem) {

	.site-header-nav .social-media-search {
		align-items: center;
		display:block;
		
	}
	
}

/*=== media query below HIDES header nav a elements at specified width ===*/

@media (max-width: 63rem) {

.header-nav a {
	display: inline;
	padding: 1rem;
	vertical-align: middle;
	font-size: 0.875rem;
	display: none;
	
}


}

/*=== added media query to reduce font size of dropdown menu listing ===*/

@media (max-width: 63rem) {

	.drop-down a {
	font-size: 1.25rem;
	}

}

/*=== Media Query For Mobile Menu Button SHOW ===*/

@media (max-width: 63rem) {

	.site-header-nav {
		position: fixed;
		background-color: rgb(226, 38, 132);
		top:0;
		left:0;
		
		width:100%;
		height: 12rem;
		padding: 0.125rem 5.625rem;
		box-sizing: border-box;
		z-index: 10;
		}


.mobile-button {
	background-color: rgb(226, 38, 132);
	border: solid 0.20rem rgb(15, 235, 216);
	border-radius: 2rem;
	color:#ffffff;
	text-decoration: none;
	padding: 0.5rem 1.5rem;
	font-size: 1rem;
	font-weight: 400;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
	display: inline-block;
	position:relative;
	margin-top: 0.50rem;
	
}

/*=== chose a position of relative for drop down to center dropdown menu listing ==*/
.drop-down {
	display: block;
	position: relative;
	background-color: rgb(226, 38, 132);
	min-width: 4rem;
	z-index: 1;
	margin-top: 0.75rem;
	}

	.drop-down {
		display: none;
	}

  

	.drop-down a {
	color: #fff;
	padding: 0.15rem 1.40rem;
	font-size: 0.75rem;
	display: block;
	}

	.drop-down li {
		list-style: none;
	}

	.drop-down a:hover {
	
	color: rgb(15, 235, 216);
	
	
	}

	/*.center-mobile-menu:hover .drop-down {
	display: block;
	}*/

	.center-mobile-menu:hover .mobile-button {
	background-color: rgb(15, 235, 216);
	color: #000;
	
	}


}

/*=== Media Query For Mobile Menu Button HIDE ===*/

@media (min-width: 63.01rem) and (max-width: 125rem) {

	.mobile-button {
		background-color: rgb(226, 38, 132);
		border: solid 0.20rem rgba(240, 231, 231, .3);
		border-radius: 2rem;
		color:#ffffff;
		text-decoration: none;
		padding: 0.5rem 1.5rem;
		font-size: 1rem;
		font-weight: 400;
		text-transform: uppercase;
		text-align: center;
		cursor: pointer;
		display: none;
		position:relative;
		
		
	}
	
	.drop-down {
		display: none;
		position:absolute;
		background-color: #fff;
		min-width: 4rem;
		z-index: 1;
		}
	
	  
	
		.drop-down a {
		color: #000;
		padding: 0.15rem 1.40rem;
		
		display: block;
		}
	
		.drop-down li {
			list-style: none;
		}
	
		.drop-down a:hover {
		background-color: #000;
		color: #fff;
		
		
		}
	
		.center-mobile-menu:hover .drop-down {
		display: block;
		}
	
		.center-mobile-menu:hover .mobile-button {
		background-color: #000;
		color: rgb(15, 235, 216);
		
		}

}

/*=== Media Query for Introduction =====*/
@media (min-width: 350px) and (max-width: 768px) {

	#hero .hero-container {

        position:relative;
        padding: 1.5rem 2.5rem;
        border: solid 3px rgb(226, 38, 132);
        background-color: rgba(240, 231, 231, .3);
		border-radius: 3rem;
        margin-left: auto;
		margin-right: auto;
        margin-top: 6.63rem;
        display: inline-block;	
        justify-content: center;
        justify-items: center;
	
	}

}

@media (max-width: 490px) {

    .blog h3{
        
        margin-left: 0.75rem;
        margin-right: 0.75rem;
        font-size: 0.90rem;
    }
}

/*=== Subscribe Title ===*/

@media (max-width: 63rem) {

.subscribe h1 {


	text-align: center;
	align-items: flex-start;
	font-size: 4rem;
	margin-left: auto;
	margin-right: auto;
	font-family: Montserrat;
	color:rgb(226, 38, 132);
	
}

}

@media (max-width: 47.81rem) {

	.client-montage h1 {
		font-size: 1.5rem;
		
		}
		
		.client-montage h2 {
		font-family: square peg;
		font-size: 1.75rem;
		
		
		}

}

@media (max-width: 21.875rem) {

	.client-montage h2 {
		font-family: square peg;
		font-size: 1.4rem;
		font-weight: bold;
		
		}

}

@media (max-width: 27.25rem) {

	.adjust {
		height: 465px;
		max-width: 540px;
		}
		
}