/*---Scarlett Duty
Tue, 27 Aug 2024 23:25:30 GMT*/

/* the reset selctor*/
* {
	margin: 0;
	padding: 0;

}



html {
    background-color: #f7ccc5;
	background-image: url(../images/flowers.gif);
	background-size: 10%;
}



body {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 100%;
    width: 70%;
	max-width: 1000px;
    margin: 0 auto;
    background-color: #fae5e3;
    box-shadow:  0 6px 10px -10px gray;
}

/*the styles for the nav menu*/
#nav_menu {
	overflow: hidden;
	position: sticky;
	top: 0px;
	padding-left: 18%;
	background-color: #253a1a;

}

#nav_menu ul {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	margin: 0;
	padding: 0;
	list-style-type: none;
	position: relative;
}

#nav_menu ul li {
	float: left;
	flex-basis: 25%;
}

#nav_menu ul li a {
	display: block;
	text-align: center;
	padding: 1em 0;
	text-decoration: none;
	background-color: #253a1a;
	color: white;
	font-weight: bold;
    box-shadow:  0 6px 10px -10px gray;
}

#nav_menu a.current {
	color: #a66f6a;
}

#nav_menu a:hover, #nav_menu a:focus {
    background-color: #253a1a;
}




header {
    padding: 10% 0 2.5em 2.5%;
    background-color: #f7ccc5;
    color: #0c130d;
}

header img {
	display: block;
	float: left;
    width: 12%;
    min-width: 60px;
    max-width: 120px;
	margin-top: auto;
}

header div {
	margin-left: 14%;
}

header h2 {
    font-size: 300%;
    padding-bottom: .18em;
}

header h3 {
    font-size: 100%;
}



main {
    clear: left;
    padding: 1.5em 2.5% 2em;
}

main h1 {
    color: #0c130d;
    text-align: center;
    padding-bottom: .5em;
    border-bottom: 3px solid #0c130d;
}

main img {
	display: block;
  	margin: 0 auto;
  	width: 50%;
}

aside {
    width: 30%;
    float: left;
    padding: 2em 2.5% 2em 3%;
}

aside figure {
    padding: 1em 4.25%;
    margin-bottom: 3em;
    border: 1px solid #0c130d;
}

aside figure img {
    width: 100%;
}

aside figure figcaption {
    padding-top: 1em;
    text-align: center;
}



section {
    width: 55%;
    float: right;
    padding: 2em 3% 2em 2.5%;
}

section ul {
    padding: 1em 5%;
}

section p {
    line-height: 1.5em;
    padding-top: .25em;
}

section dl {
    line-height: 1.5em;
}

section dt {
    font-weight: bold;
    padding-top: 1.5em;
    border-bottom: 2px solid #0c130d;
}

section dd {
    padding-top: 1em;
}



footer {
    clear: right;
    text-align: center;
	font-size: 70%;
    padding: 1.5625%;
    margin-bottom: 3em;
    color: white;
    background-color: #253a1a;
    box-shadow: 0 6px 10px -10px gray;
}



/*hide the mobile menu initially*/
#mobile_menu {
	display: none;
}



/*tablet in portrait mode*/
@media only screen and (max-width: 959px) {
	section h1 {
		font-size: 135%;
	}

	section h2, aside h2 {
		font-size: 120%;
	}
}

/*phone in landscape mode*/
@media only screen and (max-width: 767px) {
	header{
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	header img {
		float: none;
	}

	#nav_menu {
		display: none;
	}

	#mobile_menu {
		display: block;
	}

	.slicknav_menu {
		background-color: #253a1a !important;
	}

	section {
		float: none;
		width: 95%;
	}

	section article img {
		max-width: 30%;
	}

	aside {
		float: none;
		padding: 0 2.5% 20px;
		width: 95%;
	}

	aside div {
		column-count: 2;
	}
}

/*phone in portrait mode*/
@media only screen and (max-width: 479px) {
	body {
		font-size: 90%;
	}
}