@charset "utf-8";
/* Hobbyer */

/* Add a black background color to the top navigation */
.topnav {
	background-color: #4F92FF;
	overflow: hidden;
}
  
  /* Style the links inside the navigation bar */
.topnav a {
	float: left;
	display: block;
	color: #0D1420;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}
  
/* Change the color of links on hover */
.topnav a:hover {
	background-color: #1666E4;
	color: ghostwhite;
}
  
/* Add an active class to highlight the current page */
.topnav a.active {
	background-color: #11326b;
	color: ghostwhite;
}
  
/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
	display: none;
}

@media screen and (max-width: 600px) {
	.topnav a:not(:first-child) {display: none;}
	.topnav a.icon {
	  float: right;
	  display: block;
	}
}
  
  @media screen and (max-width: 600px) {
	.topnav.responsive {position: relative;}
	.topnav.responsive .icon {
	  position: absolute;
	  right: 0;
	  top: 0;
	}
	.topnav.responsive a {
	  float: none;
	  display: block;
	  text-align: left;
	}
}

 /* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
	position: fixed;
	top: 0;
	width: 100%;
}
  
/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
	padding-top: 60px;
}

body {
	   background-color: ghostwhite;
	}

h2 {
		font-family: Arial, Helvetica, sans-serif;
		text-rendering: optimizeLegibility;
		text-decoration:underline;
		text-decoration-color: #659EFC;
		padding: 5px;
    	}
	
h3 {
        font-family: Arial, Helvetica, sans-serif;
		text-rendering: optimizeLegibility;
    	}

p {
	font-family: Arial, Helvetica, sans-serif;
	text-rendering: optimizeLegibility;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	text-rendering: optimizeLegibility;
}
	
	.hob {
		font-family: Arial, Helvetica, sans-serif;
		text-rendering: optimizeLegibility;
		text-align: center;
		text-transform: uppercase;
	}
	
	.Sport {
		font-size: 40px;
		}
	.Films {
		font-size: 40px;
		}


	.TMac {
		width: 450px;
		max-width: 100%;
		margin-bottom: 50px;
		margin-top: 5px;
		border: 2px solid #ccc;
		}

	.Ronaldinho {
		width: 450px;
		max-width: 100%;
		margin-bottom: 50px;
		margin-top: 5px;
		border: 2px solid #ccc;
		}

	.Bolt {
		width: 450px;
		max-width: 100%;
		margin-bottom: 50px;
		margin-top: 5px;
		border: 2px solid #ccc;
		}
	
	div.gallery {
		float: left;
		width: 180px;
		display: flex;             /* Use Flexbox for centering */
    	justify-content: center;   /* Center images horizontally */
    	align-items: center;       /* Center images vertically */
    	flex-wrap: wrap;           /* Allow wrapping for multiple images */
    	margin: 10px;
		border: 2px solid #ccc; /* Optional: Add a border for visibility */
    	overflow: hidden; /* Prevent content overflow */
		object-fit: cover; /* Crop images to fit within boundaries */
		}
		  
	div.gallery:hover {
		border: 2px solid #777;
		}
		  
	div.gallery img {
		max-width: 100%;           /* Ensure images are responsive */
    	max-height: 300px;         /* Set a max height for consistency */
    	object-fit: cover;         /* Crop images to fit within boundaries */
		}
		  
	div.desc {
		padding: 15px;
		text-align: center;        /* Center text description */
    	margin-top: 5px;
		}
	
	.clearfix:after {
		content: "";
		display: table;
		clear: both;
		}
	
	.Bøker {
		font-size: 40px;
	}

	.Gaming {
		font-size: 40px;	
		}

		#myBtn {
			display: none; /* Hidden by default */
			position: fixed; /* Fixed/sticky position */
			bottom: 20px; /* Place the button at the bottom of the page */
			right: 30px; /* Place the button 30px from the right */
			z-index: 99; /* Make sure it does not overlap */
			border: none; /* Remove borders */
			outline: none; /* Remove outline */
			background-color: black; /* Set a background color */
			color: white; /* Text color */
			cursor: pointer; /* Add a mouse pointer on hover */
			padding: 15px; /* Some padding */
			border-radius: 10px; /* Rounded corners */
			font-size: 18px; /* Increase font size */
		  }
		  
		  #myBtn:hover {
			background-color: #555; /* Add a dark-grey background on hover */
		  }

	/* Footer */
	footer {
    	background: #4F92FF;
		margin-top: 60px;
    	color: #0D1420;
    	text-align: center;
    	padding: 20px 0;
	}

	footer a {
    	color: #ffffff;
    	text-decoration: none;
	}