:root
{
	 scroll-behavior: smooth;
	
	/*============PALLETE=========================*/
	
	/*body*/
	--body-bg:rgb(240,240,240);
	
}


body
{
	position:relative;
	background-color:var(--body-bg);
	margin:0 auto;
	padding:4rem 0 0 0;
	min-width:240px;
	max-width:1600px;
}


/*------------HEADER--------------------*/


#topBar
{
	display:block;
	position:fixed;
  top:0;
	width:100%;
	min-width:340px;
  background-color:white;
  box-shadow:2px 2px 5px black;
}

#biglogo img, #biglogo , #smalllogo img
{
	margin:0;
	padding:0;
}

#category
{
  display:none;
}

#biglogo
{
	display:none;
	width:190px;
}

#mainMenuContainer
{
display:block;
position:absolute;
right:0;
width:90%;
}



/*------------document area------------*/
main
{
	margin:1rem;
}

#upButton
{
	display:block;
	position:fixed;
	cursor:pointer;
	z-index:1;
	max-width:0px;
	width:3rem;
	height:3rem;
	right:0rem;
	bottom:3rem;
	opacity:0.4;
	transition-property:bottom,opacity, max-width;
	transition-duration:0.5s;
}




/*------------FOOTER--------------------*/

footer
{
	margin:0;
	background-color:white;
	padding:1rem 0;
}

footer p
{
	margin:0;
	line-height:2rem;
	text-align: center;
}

footer img
{
	width:100px;
	height:100px;
	transition:background-color 0.5s;
}

#fleft,#fright
{
	margin:0;
	padding:0;
	display:inline-block;
	width:100%;
	height:100%;
}


#oroi
{
	display:block;
	position:relative;
	text-align:center;
	font-size:1.5rem;
	padding:1rem;
}

#oroi a 
{
	border:solid black 1px;
	padding: 0.4rem 4rem 0.4rem 4rem;
  transition:background-color 0.5s;
  color:black;
}

/***************************************************/


/*=========================responsive change at 50 rems===========================*/
/* changes the main menu to multiple buttons*/

@media only screen and (min-width:50rem)
{

#topBar
{
 position:absolute;
}
  
  
#smalllogo
	{display:none;}
	
#biglogo
	{display:block;}

  #category
  {
    display:block;
    position:absolute;
    top:-1rem;
    right:3.5rem;
    height:4rem;
    padding:0 2rem;
  }
  
#mainMenuContainer
	{
    width:45rem;
		overflow:visible;
    right:0;
	}
	
		main
	{
		margin-top:9rem;
		max-width:80rem;
	}
	

	#upButton
	{
		width:4rem;
		height:4rem;
		right:1rem;
		bottom:4rem;
		opacity:0.4;
	}
	
		#upButton:hover
	{
		bottom:5rem;
		opacity:1;
	}


/*--------footer----------*/
	
	#fleft,#fright
	{
		width:49%;
	}
	
	#fleft p
	{
	 position:relative;
	 top:-3rem;
	 line-height:2rem;
	 font-size:1.4rem;
   vertical-align:center;
	}
	
	footer img:hover
  {
		background-color:rgb(200,200,200);
  }

	#oroi
	{
		top:-2rem;
		padding:0;
	}
	
	#oroi a
	{
	border:none;
	}

	#oroi a:hover
	{
		background-color:rgb(200,200,200);
	}
	
	
}
