body {
	font-family: "Poppins", sans-serif;
	font-size: 100%;
	margin: 0;
	background: #008457;
	color: white;
}

header {
	display: flex;
	margin: 0;
	min-height: 350px;
	background-image: url("/images/img6.jpg");
	background-size: cover;
	background-position: center 55%;
	position: relative;
}

header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.25);
	
}

@keyframes slideLeft {
	from {
		opacity: 0;
		transform: translateX(-200px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-200px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

header h1 {
	animation: slideLeft 1s ease-out forwards;
	opacity: 0;
	animation-delay: 0.2s;
}

header h2 {
	animation: slideDown 1s ease-out forwards;
	opacity: 0;
	animation-delay: 0.5s;
}

#logo {
	display: flex;
	flex-direction: column;
	text-align: center;
	justify-content: center;
}

#logo h1, #logo h2 {
	margin: 0;
	padding: 0;
}

#logo h1 {
	font-size: 6.5rem;
	color: #008457;
	text-transform: uppercase;
	position: relative;
	top: -35px;
	left: 50px;
	text-shadow: 0 5px 15px rgba(0,0,0,.4);
}

#logo h2 {
	font-size: 2rem;
	color: #FFD520;
	text-transform: uppercase;
	position: relative;
	top: -60px;
	left: 300px;
	text-shadow: 2px 2px 5px rgba(0,0,0,.6);
}

#logo p {
	position: absolute;
	bottom: 10px;
	left: 20px;
	margin: 0;
	color: white;
	font-size: 12px;
}

#logo, #nav-links {
	flex: 1;
	position: relative;
	z-index: 1;
}

#nav-links ul {
	display: flex;
	gap: 2rem;
	list-style: none;
}

#nav-links {
	display: flex; 
   justify-content: center;
	align-items: flex-end;
	position: relative;
}

.dropdown {
	position: absolute;
	bottom: 20px;
	right: 90px;
	
}

.dropbtn {
	width: 110px;
	padding: 7px;
	background: rgba(0,0,0,.9);
	color: white;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 0 0 8px 8px;
	font-size: .9rem;
	cursor: pointer;
	border: 2px solid rgba(255,255,255,.2);
	
}

.dropbtn:hover {
	border-radius: 0 0 8px 8px;
	box-shadow: 0 0 12px rgba(255,213,32,.5);
	border: 2px solid rgba(255,255,255,.2);
	border-color: #FFD520;
	background: #FFD520;
	color: #000;
}


.dropdown-content {
	position: absolute;
	bottom: 100%;
	right: 0;
	width: 110px;
	background: rgba(0,0,0,.9);
	overflow: hidden;
	max-height: 0;
	transition: max-height 1s ease;
	border-radius: 8px 8px 0 0;
	text-align: center;
}

.dropdown:hover .dropdown-content {
	max-height: 400px;
}

.dropdown-content a {
	display: block;
	padding: 8px 20px;
	color: white;
	text-decoration: none;
	transition: .25s;
}

.dropdown-content a:hover {
	background: rgba(255,255,255,.08);
	color: #FFD520;
	text-decoration: underline;
}

main, footer {
	margin: 1.5em;
}

img {
	width: 300px;
}

#first {
	margin-top: 2rem;
}


#first, #second, #third, #four, #five, #six {
	display: flex;
	gap: 2.5rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 4rem;
}

.slide {
	position: absolute;
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.slide.active {
	opacity: 1;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.img-info {
	flex: 1;
	align-items: center;
	justify-content: center;
}

.img-info, .img-slides {
	opacity: 0;
	transition: all 1s ease;
}

.img-slides {
	flex: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	height: 500px;
	overflow: hidden;
	border-radius: 16px;
	border: 3px solid rgba(255, 213, 32);
}

.photo-credit {
	text-align: left;
	font-size: .8rem;
	margin-top: .75rem;
	color: white;
	left: 10px;
	bottom: -2px;
	z-index: 5;
	position: absolute
}

.photo-credit a {
	color: blue;
	text-decoration: none;
}

.photo-credit a:hover {
	color: #FFD520;
}

.slide-left {
	transform: translateX(-100px);
}

.slide-right {
	transform: translateX(100px);
}

.slide-up {
	transform: translateY(100px);
}

.slide-down {
	transform: translateY(-100px);
}

.show {
	opacity: 1;
	transform: translate(0, 0);
}

.prev, .next {
	position: absolute;
	top: 50%;
	bottom: 50%;
	z-index: 5;
}

.prev {
	left: 20px;
}

.next {
	right: 20px;
}

.pause-btn {
	position: absolute;
	bottom: 20px;
	right: 20px;
	z-index: 5;
}

.prev, .next, .pause-btn {
	background: rgba(0,0,0,.7);
	color: white;
	border: 2px solid rgba(255,255,255,.2);
	border-radius: 10px;
	padding: .5rem 1rem;
	cursor: pointer;
	transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.prev:hover, .next:hover, .pause-btn:hover {
	transform: scale(1.1);
	background: rgba(0,0,0,.9);
	border-color: #FFD520;
	box-shadow: 0 0 12px rgba(255,213,32,.5);
}

.prev,
.next {
	font-size: 15px;
	width: 40px;
	height: 30px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
}

.prev:active, .next:active, .pause-btn:active {
	transform: scale(.8);
}

#first, #second, #third, #four, #five {
	border-bottom: 3px solid #FFD520;
	padding-bottom: 3rem;
}

.img-info h2 {
	color: #FFD520;
}

section {
	background: #0A6A47;
	border-radius: 20px;
	padding: 2rem;
}