﻿
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

header {
	padding-bottom: 2rem;
	border-bottom: 2px solid var(--text);
}

header h1 {
    margin: 0;
    font-size: 3rem;
	padding: 3rem 0 1rem 0;
    text-align: center;
	word-wrap: break-word; /* Break long words into multiple lines */
    overflow-wrap: break-word; /* Ensure wrapping of long words */
}


/* Format navigation */

.toggle-btn {
	display: flex;
	background: none;
	border: none;
	font-size: 1.5em;
	color: white;
	float: left;
	z-index: 1001;
	position: absolute;
}

.nav-links {
	display: none;
	flex-direction: row;
	background: inherit;
	padding: 10px 0;
	float: left;
	position: absolute;
	z-index: 1001;
}

.nav-links.show {
	display: flex;
	position: absolute;
}

#nav-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: #000000e1;
	display: none;
}

#nav-overlay.show {
	display: flex;
	z-index:1000;
}

nav {
	width: 100%;
  font-size: 1rem;
  line-height: 2;
  padding: 1rem 0;
  margin-left: 1rem;
}

nav a {
	border: 1px solid var(--text);
	border-radius: 5px;
	color: var(--text) !important;
	display: inline-block;
	padding: .1rem 1rem 0 1rem;
	margin-right: 1rem;
	text-decoration: none;
	transition: .4s;
}

nav a:hover {
	color: var(--text) !important;
	background: var(--accent);
	padding: .1rem 1.5rem 0 1.5rem;
}
nav a.current {
	color: var(--text) !important;
	background: var(--accent);
}

nav a.current:hover {
  text-decoration: none;
}

button[type=submit] {
	background-color: #04AA6D;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

button[type=submit]:hover {
	background-color: #45a049;
}

#login-btn {
	background-color: #04AA6D;
	color: white;
	border: .1rem solid var(--text);
	border-radius: 5px;
	display: inline-block;
	padding: .55rem 1.5rem;
	margin-right: 0.04rem;
	text-decoration: none;
	transition: .4s;
	float: right;
	font-size: 1.2rem;
	font-family: 'Courier New', monospace;
}

#login-btn:hover{
	background-color: #45a049;
	font-size: 1.1rem;
	color: var(--text) !important;
} 
login-btn.current {
	background-color: #45a049;
	font-size: 1.05rem;
	color: var(--text) !important;
}

button[type=submit] {
	background-color: #04AA6D;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

button[type=submit]:hover {
	background-color: #45a049;
}

#login-btn {
	background-color: #04AA6D;
	color: white;
	border: .1rem solid var(--text);
	border-radius: 5px;
	display: inline-block;
	padding: .55rem 1.5rem;
	margin-right: 0.04rem;
	text-decoration: none;
	transition: .4s;
	float: right;
	font-size: 1.2rem;
	font-family: 'Courier New', monospace;
}

#login-btn:hover{
	background-color: #45a049;
	font-size: 1.1rem;
	color: var(--text) !important;
} 
login-btn.current {
	background-color: #45a049;
	font-size: 1.05rem;
	color: var(--text) !important;
}

@media (max-width: 768px) {
  nav {
    font-size: 0.8rem; /* Reduce the font size to make the text smaller */
    line-height: 1.7; /* Reduce the line height to make the links more compact */
    padding: 0.4rem 0; /* Reduce the vertical padding */
    margin-left: 0.4rem; /* Reduce the left margin */
  }
  
  nav a {
    border: 1px solid var(--text);
    border-radius: 5px;
    color: var(--text) !important;
    display: inline-block;
    padding: 0.1rem 0.7rem; /* Reduce the padding to make the links smaller */
    margin-right: 0.1rem; /* Reduce the right margin */
    text-decoration: none;
    transition: 0.4s;
  }

	.nav-links:hover {
		color: var(--text) !important;
		background: var(--accent);
		padding: .1rem 1.1rem;
	}

	#login-btn {
		border: 0.07rem solid var(--text);
		border-radius: 5px;
		color: var(--text) !important;
		display: inline-block;
		padding: 0.19rem 0.8rem; /* Reduce the padding to make the links smaller */
		margin-right: 1rem; /* Reduce the right margin */
		text-decoration: none;
		transition: 0.4s;
		font-size: 1rem
	}
	.nav-links {
		display: none;
		flex-direction: row;
		width: 100%;
		background: inherit;
		padding: 10px 0;
}

	.nav-links.show {
		display: flex;
		position: absolute;
  }

	nav a:hover {
		color: var(--text) !important;
		background: var(--accent);
		padding: .1rem 1.1rem;
	}

	#login-btn {
		border: 0.07rem solid var(--text);
		border-radius: 5px;
		color: var(--text) !important;
		display: inline-block;
		padding: 0.19rem 0.8rem; /* Reduce the padding to make the links smaller */
		margin-right: 1rem; /* Reduce the right margin */
		text-decoration: none;
		transition: 0.4s;
		font-size: 1rem
	}
	.nav-links {
		display: none;
		flex-direction: row;
		width: 100%;
		background: inherit;
		padding: 10px 0;
	}

	.nav-links.show {
		display: flex;
		position: absolute;
	}
}

header,
main,
footer {
	margin: 0 auto;
	max-width: 50rem;
	width: 100%;
}

footer {
	border-top: 1px solid var(--text);
	margin: 3rem auto 0;
	padding: 0.5rem 0 0;
	text-align: center;
	font-size: .9rem;
}


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

.social-media {
	font-size: 24px;
}

.fa {  
	padding: 10px;
	text-align: center;
	color: var(--fa-color);
}

.fa:hover {  
	opacity: 0.5;  
}

p a {
	color: var(--text);
}

.centre {
	text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.2;
}

h2 {
	margin: 2rem 0 -1.5rem 0;
}