/* Global Reset */
* {
	margin: 0;
	/* Ensure no margin at all */
	padding: 0;
	/* Ensure no padding at all */
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	padding: 0 0;
}

a {
	color: #4CAF50;

}



/* Main Body */
.main-body {
	display: flex;
	flex-wrap: wrap;
	padding: 0 11vw;
	padding-bottom: 3vw;
	background-color: rgba(76, 175, 80, 0.12);
}

.main-body img {
	max-width: 550px; /* Altera a largura máxima das imagens */
	width: 100%;
	padding: 3vw 1vw;

	/* Centra as imagens */
	display: block;
	margin: 0 0 0 auto;
	float: right; /* Allow text to wrap around the image */
	clear: both;
	
}

h2,
p {
	color: #4CAF50;
}

h2 {
	width: 100%;
	padding: 3rem 0 0 0;
	font-size: 22px;
	font-family: none;
}

p {
	font-size: 1.2em;

	padding-bottom: 1vw;
	font-style: none;
	font-weight: normal;
	line-height: 2;
	color: #6B6E6C;
	max-width: 2000px;
}


.main-body ul li {
	font-size: 18px;
	line-height: 1.5;
	margin: 1vw 2vw 1.6vw 2vw;
	/* padding-left: 1vw; */
	color: #6B6E6C;
}

/* Tables */
table {
	margin: 30px 0;
	display: flex;
	justify-content: flex-start;
	width: 100%;
	font-size: 1.1em; /* Increase text size */
}

td,
th {
	border: 1px solid #ddd;
	padding: 2vw;
	color: #6B6E6C;
}

th {
	text-align: center;
	background-color: #4CAF50;
	color: white;
}

.editor {
	flex: 0 0 auto;
	max-width: 300px;
}

.bottom {
	background-color: #4CAF50;
	color: #E9F2E9;
	padding: 20px 20px;
	max-width: 100%;
	max-height: 10vw;
	justify-content: space-between;
	display: flex;
}

.bottom img {
	max-height: 8vw;
	object-fit: contain;
}

/* Base Styles for Sticky Navbar */
.sticky-navbar {
	position: sticky;
	top: 0;
	width: 100%;
	/* Ensure navbar spans the full width */
	height: auto;
	/* Allow flexible height */
	z-index: 1000;
	display: flex;
	align-items: center;
	/* Vertically center items */
	justify-content: space-between;
	/* Space out the logo, title, and nav items */
	padding: 1.4rem 5%;
	/* Responsive padding */
	background-color: #4CAF50;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	/* Prevent overflow from affecting the layout */
	box-sizing: border-box;
}

/* Logo Section */
.sticky-navbar .logo {
	flex: 0 0 auto;
	/* Prevent resizing */
	display: flex;
	align-items: center;
	flex-direction: column;
	/* Center logo vertically */
	justify-content: flex-start;
	/* Align logo to the left */
	padding-right: 1vw;
}

.sticky-navbar .logo img {
	max-height: 100px;
	/* Scale logo size */
	width: auto;
	margin: 0 auto;
	/* Center logo horizontally in its container */
}

.sticky-navbar .logo .youtube-logo img {
    max-height: 10px; /* Adjust size as needed */
    margin-top: 10px; /* Space between logos */
}

.sticky-navbar ul li {
	margin: 0;
	/* Reset any margin to avoid bleeding */
}

.sticky-navbar .nav-title h1 {
	display: inline-block;
	width: 95%;
	/* Ensure title does not exceed container */
	text-align: center;
	/* Center-align title text */
	color: #E9F2E9;
	font-size: 24px;
	/* Adjust font size */
	word-wrap: break-word;
	/* Enable word wrapping */
	overflow-wrap: break-word;
	/* Compatibility for newer browsers */
	line-height: 1.2;
	/* Improve readability when wrapping */
	padding: 0 1rem;
}

.sticky-navbar .nav-title h2 {
	display: inline-block;
	width: 95%;
	/* Ensure subtitle does not exceed container */
	text-align: center;
	/* Center-align subtitle text */
	color: #E9F2E9;
	font-size: 21px;
	/* Adjust font size */
	word-wrap: break-word;
	/* Enable word wrapping */
	overflow-wrap: break-word;
	/* Compatibility for newer browsers */
	line-height: 1.2;
	/* Improve readability when wrapping */
	padding: 0 1rem;
	margin-top: 0.5rem;
	/* Add spacing between h1 and h2 */
}

/* Navigation Links */
.sticky-navbar ul {
	flex: 0 0 auto;
	/* Prevent resizing */
	display: flex;
	justify-content: flex-end;
	/* Align links to the right */
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1rem;
	/* Add spacing between links */
	align-items: center;
	/* Vertically center links */
	max-width: 100%;
	/* Prevent the list from exceeding the container */
	overflow: hidden;
	/* Prevent links from spilling over */
	flex-wrap: wrap;
	/* Allow wrapping on smaller screens */
	box-sizing: border-box;
	/* Ensure padding/margin is included in dimensions */
}

.sticky-navbar ul li {
	margin: 0;
}

.sticky-navbar ul li a {
	text-decoration: none;
	color: #E9F2E9;
	font-size: 1.2rem;
	/* Adjust size */
	padding: 0.5rem 1rem;
	/* Add padding for touch targets */
	transition: color 0.3s ease;
	white-space: nowrap;
}

.sticky-navbar ul li a:hover {
	color: #4C704D;
}

@media (min-width: 1026px) {
	.bottom-responsive {
		display: none;
	}
}

@media (max-width: 1025px) {
	.bottom-desktop {
		display: none;
	}
	.sticky-navbar {
		flex-direction: column;
		align-items: center;
	}

	.sticky-navbar .logo,
	.sticky-navbar .nav-title,
	.sticky-navbar ul {
		width: 100%;
		text-align: center;
	}

	.sticky-navbar ul {
		justify-content: center;
	}

	.sticky-navbar .nav-title h2 {
		padding-bottom: 1rem; /* Add padding bottom to h2 */
	}
	
	.sticky-navbar .nav-title h1 {
		padding-top: 1rem; /* Add padding bottom to h2 */
	}
}