/* ****************** Main Header ****************** */

.speo-hero-banner {
	height: 50vh;
	background: #333333 url('../images/alimentacaoGr.jpg') no-repeat center;
	background-size: cover;
	text-align: center;
}

.speo-banner-logo {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.speo-banner-logo .white-cicle {
	width: 600px;
	height: 600px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border: 8px solid white;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
}

.speo-banner-logo img {
	max-width: 15%;
	margin: 40px;
}

.speo-banner-logo h1 {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 5em;
}

/* ****************** Section .company-history ****************** */

/* NAV */
.company-history nav ul {
	margin-bottom: 40px;
	display: flex;
	gap: 20px;
	justify-content: center;
}

.company-history nav a {
	padding: 2px 6px;
	font-size: 1.25 em;
	color: #333;
	transition: all 250ms ease-out;
}

.company-history nav a:visited {
	color: #333;
}

.company-history nav a.active,
.company-history nav a:hover {
	font-weight: 700;
	background-color: #ba0216;
	color: white;
}

.company-history p,
.program p,
.by-laws p {
	margin-top: 20px;
}

/* ****************** Section .program ****************** */

.program {
	background-color: #f4f4f4;
}

/* Article .content */
.program .content .uppercase {
	font-weight: 700;
	color: #ba0216;
}

/* Article .accordion */
.accordion {
	margin-top: 50px;

	/* Count each .action in .accordion */
	counter-reset: counter-accordion;
}

.accordion > h4:first-of-type {
	padding: 4px 8px;
	display: inline-block;
	font-weight: 700;
	background-color: #ba0216;
	color: white;
}

.accordion .action:first-of-type {
	margin-top: 10px;
}

.accordion .action {
	position: relative;
	border-top: 1px dashed darkgray;
}

.accordion .action input {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	margin-bottom: 10px;
	opacity: 0;
	visibility: 0;
}

.accordion .action h4 {
	padding: 0.5em;
	position: relative;
	font-weight: bold;

	display: flex;
}

.accordion .action h4:hover {
	background-color: rgb(231, 230, 230);
	cursor: pointer;
}

.accordion .action h4::before {
	content: '+';
	margin-right: 15px;
	color: darkgray;
}

.accordion .action label {
	flex: 100%;
	cursor: pointer;
}

.accordion .action label::before {
	color: #ba0216;
	font-weight: bold;

	/* Increment number for each .action in .accordion */
	counter-increment: counter-accordion;
	/* Output the number before the label */
	content: counter(counter-accordion, decimal-leading-zero) '. ';
}

.accordion .action .action-content {
	max-height: 0px;
	margin-left: 32px;
	overflow: hidden;
	transition: max-height 0.5s;
}

.accordion .action .action-content p {
	margin: 5px 0 10px;
}

.accordion .action input:checked ~ h4::before {
	content: 'x';
	margin-right: 15px;
	color: darkgray;
}

.accordion .action input:checked ~ h4 ~ .action-content {
	max-height: 20em;
}
