@media(min-width: 700px) {


	header h1 {
		width: 100%;
	}
	#content #directory-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}


	form {
		width: 400px;
	}

	#businesses div img {
		width: 100px;
	}

.business-home {
	flex-direction: row;
	font-size: 14px;
}


}


@media (min-width: 850px) {
	#cards-container {

	grid-template-columns: repeat(2, 1fr);
	}
	#content {
		padding: 0 6rem;
	}

	#weather {
		display: flex;
		align-items: start;
		gap: 1rem;
	}

	#weather div {
		text-align: left;
		padding: 0;
	}

	
	#businesses div img {
		width: 100px;
	}

	#content #weather  img {
		max-width: 100px;
		height: auto;
		object-fit: contain;
	}

	#content > section > .grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
		padding: 0;
	}

	#content picture img {
		max-height: 600px;
		object-fit: cover;
	}
	header {
		flex-direction: row;
		align-items: center;
	}
	header > div {
		flex: 1;
		align-items: center
	}
	nav {
  		display: flex;
		width: fit-content;
		background: transparent;
		color: #000;
	}

	nav ul {
		display: flex;
	}

	nav ul li {
		display: flex;
		align-items: center;
		border: none;
	}

	nav ul li a {
		color: #000;
		background: transparent;
		
	}

ul li:last-of-type {
	display: flex;
}

	li button {
		background: transparent;
		border: none;
	}

	#menu {
		display: none;
	}

	#buttons {
		display: none;
	}

	.active {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
		border-bottom: 2px solid #000;
	}

	footer {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	footer section:last-of-type {
		text-align: right;
	}

	#content #directory-list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

	#content #directory-list.list-view {
		display: block;
	}


}


@media (min-width: 1100px) {

.grid-area {
	grid-template-columns: repeat(2, 1fr);
}

.grid-area div {

	grid-template-areas: "img title"
	"img address" 
	"img description";
	text-align: left;
	column-gap: 1rem;
	align-items: center;
}

.grid-area div h2 {
	margin: 0;
}
#content .grid-area div img {
	height: 100%;
	width: 250px;
}

	.flex {
		flex-direction: row;
	}
nav ul li:first-of-type {
	border-top: none;
}
	#content #businesses {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
		padding: 0 !important;
	}

	#content > section > .grid {
		grid-template-columns: 2fr 1fr 1fr !important;
	}
}
