
/*body part */
body {
	/* color: #999999; */
	font-family: 'Oswald', sans-serif;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}
#mostpopular{
	width: 90%;
	margin: 0 auto;
}
#categories{
	width: 80%;
	margin: 0 auto;
	text-align: center;
}
#categories2{
	width: 80%;
	margin: 0 auto;
	text-align: center;
}

#categories3{
	width: 80%;
	margin: 0 auto;
	text-align: center;
}

#text_sizing{
	width: 80%;
	margin: 0 auto;
	text-align: center;
}



.underline{
	width: 100px;
	height: 100px;
}

.a{
	font-size: 40px;
	font-weight: 800;
	color: #999999;
}

/*Text image  */
.container {
	width: 100%;
	position: relative;
	color: white;
  }
  
  .centered {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 45px;
  }

  .centered2 {
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 20px;
  }

  .text_image_1 {
	margin-left: calc(-100vw / 2 + 500px / 2);
  	margin-right: calc(-100vw / 2 + 500px / 2);
  }

  .text_image_2 {
	margin-left: calc(-100vw / 2 + 500px / 2);
  	margin-right: calc(-100vw / 2 + 500px / 2);
  }

  .text_image_3 {
	margin-left: calc(-100vw / 2 + 500px / 2);
  	margin-right: calc(-100vw / 2 + 500px / 2);
  }
  .text_image_4 {
	margin-left: calc(-100vw / 2 + 500px / 2);
  	margin-right: calc(-100vw / 2 + 500px / 2);
  }
  .text_image_5 {
	margin-left: calc(-100vw / 2 + 500px / 2);
  	margin-right: calc(-100vw / 2 + 500px / 2);
  }

  .text_image_6 {
	margin-left: calc(-100vw / 2 + 500px / 2);
  	margin-right: calc(-100vw / 2 + 500px / 2);
	filter: brightness(70%);
  }


@media screen and (max-width: 768px) {

	.container {
		max-width: 100%;
		max-height: 40%;
	}
	.centered {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		font-size: 15px;
		font-weight: 500;
		padding-bottom: 15px;
	  }
	
	  .centered2 {
		position: absolute;
		top: 60%;
		left: 50%;
		transform: translate(-50%, -50%);
		font-size: 10px;
		text-align: center;
	  }

	.text_image_1 {
		margin-left: calc(-150vw / 2 + 500px / 2);
		margin-right: calc(-150vw / 2 + 500px / 2);
	}
	.text_image_1 img{
		height: 60%;
	}




	.text_image_2 {
		margin-left: calc(-150vw / 2 + 500px / 2);
		margin-right: calc(-150vw / 2 + 500px / 2);
	}
	.text_image_2 img{
		height: 60%;
	}



	.text_image_3 {
		margin-left: calc(-150vw / 2 + 500px / 2);
		margin-right: calc(-150vw / 2 + 500px / 2);
	}
	.text_image_3 img{
		height: 60%;
	}

	
	.text_image_4 {
		margin-left: calc(-150vw / 2 + 500px / 2);
		margin-right: calc(-150vw / 2 + 500px / 2);
	}
	.text_image_4 img{
		height: 60%;
	}


	.text_image_5 {
		margin-left: calc(-150vw / 2 + 500px / 2);
		margin-right: calc(-150vw / 2 + 500px / 2);
	}
	.text_image_5 img{
		height: 60%;
	}


	.text_image_6 {
		margin-left: calc(-150vw / 2 + 500px / 2);
		margin-right: calc(-150vw / 2 + 500px / 2);
	}
	.text_image_6 img{
		height: 60%;
	}

}



  article{
	font-family: 'Roboto', sans-serif;
	color: rgb(94, 82, 82);
	font-size: 20px;
  }



h2,
a {
	color: #34495e;
}

h2 {
    font-size: 3em;
    text-transform: uppercase;
    text-align: center;
    margin: 5%;
}



/* CURRENT Navigation & header */
/* Style the header with a grey background and some padding */
.header {
	overflow: hidden;
	background-color: #ff0000;
	padding: 7px 10px;
  }
  
  /* Style the header links */
  .header a {
	float: left;
	color: black;
	text-align: center;
	padding: 12px;
	text-decoration: none;
	font-size: 18px;
	line-height: 25px;
	border-radius: 4px;
  }
  
  /* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
  .header a.logo {
	font-size: 25px;
	font-weight: bold;
  }
  
  /* Change the background color on mouse-over */
  .header a:hover {
	background-color: #ddd;
	color: black;
  }
  
  /* Style the active/current link*/
  .header a.active {
	/* background-color: dodgerblue; */
	color: black;
  }
  
  /* Float the link section to the right */
  .header-right {
	float: right;
  }
  
  /* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
  @media screen and (max-width: 500px) {
	.header a {
	  float: none;
	  display: block;
	  text-align: left;
	}
	.header-right {
	  float: none;
	}
  }

 .logo img{
	width: 100px;
 }

 .header-right a{
	font-family: monospace;
 }

.header .header-right{
	margin-top: 25px;
}

/* Navigation & header */
.main-nav {
	display: inline-flex;
}

.logo {
	width: 20%;
	margin: 0 auto 0 auto;
}


.main-nav a {
	padding: 10px 15px;
	text-transform: uppercase;
	text-align: center;
	display: block;
	text-decoration: none;
}

img{
    width: 100%;
}

.main-nav a {
	color: #34495e;
}

.main-nav a:hover {
	color: #718daa;
}

.header {
	width: 100%;
	padding-top: .5em;
	background-color: #ff0000;
}

ul{
	list-style: none;
}

.photo{
	width: 90%;
	margin: 0 auto;
}




/* ================================= 
  GROUP PHOTO
==================================== */

.bold{
	font-weight: bold;
}






/* .text_image_1 switch portfolio */
/* .text_image_1 {
	resize: both;
} */








/* ================================= 
  Media Queries/ Mobile first design
==================================== */



/**** Category sections ****/

h3 {
	color: #696969;
	font-size: 1.4em;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
}
p {
	padding-top: 3px;
}

.card__image {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
	-webkit-filter: contrast(80%);
			filter: contrast(80%);
	position: relative;
	-webkit-transition: -webkit-filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
	transition: -webkit-filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
	transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
	transition: filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91), -webkit-filter 0.5s cubic-bezier(0.43, 0.41, 0.22, 0.91);
}



/* Flex box */
#mostpopular, #categories {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#categories div{
	border: 1px solid #ccc;
	background-color: white;
	border-radius: 0.25rem;
	box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
	display: -webkit-box;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
			flex-direction: column;
}

#mostpopular .box-content, #categories .box-content, #mostpopular .box-1 {
	display: -webkit-box;
	display: flex;
	-webkit-box-flex: 1;
			flex: 1 1 auto;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
			flex-direction: column;
	padding: 1rem;
}
.box-content {
	width: 25%;
	margin: 3px;
}

.box-1 {
	width: 50%;
}

@media (max-width:  650px) {
	#mostpopular {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
 	#categories{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
}

  @media (max-width: 650px) {
	.box-content {
		width: 100%;
	  }
	  .box-1 {
		  width: 100%;
	}
  }

/*Ham-button desktop & mobile first*/
#ham-button{
	display:none;
}
@media only screen and ( max-width:650px) {
	#main-nav{ display: none;
				width: 100%;
			}
	#ham-button { display: block;
	    height: 40px;
	    width: 40px;
		padding: 0;
	}
}
@media ( min-width:650px) {	
	.header{
	position: fixed;
	}

/*footer style*/



.contact-info{
	background-color: slategray;
	padding: 1rem;
}

.contact .contact-info{
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	align-items: center;
}
/* 
@media only screen and (max-width: 650px){
	#contact{
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.top_scrol{
		justify-content: space-between;
		padding-top: 10px;
		padding-bottom: 10px;
		text-decoration: none;
	}
	legend{
		padding-right: 250px;
		padding-top: 20px;
	}
}
#contact{
	display: flex;
	justify-content: space-between;
	background-color: beige;
	padding-top: 5px;
}

#contact-form {
	padding-top: 5px;
}
legend {
	text-align: center;
	font-size: 1em;
	padding-bottom: 2px;
}
input[type=submit] {
	margin-top: 10px;
	text-align: center;
} 
input[type=submit] {
    background-color: #4CAF50;
    color: #00ffff;
    border: 1px dashed #ff0000;
    font-size: 20px;
	border-radius: 4px;
	box-sizing: border-box;
}
textarea{
	width: 320px;
}
#myBtn {
	bottom: 20px;
	right: 30px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	background-color:sandybrown;
	color: white;
	cursor: pointer;
	padding: 10px;
	border-radius: 4px;
} */

