main {
	display: flex;
	flex-direction: column;
    align-items: center;	
	color: var(--heading-txt-color);
	gap: 2rem;
}

/* -- section Hero -- */
.hero-section {
	background-image: url(../assets/images/hero_member_large.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: center;
	width: 100%;
	height: 21rem;
    padding-top: 4rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: start;
    width: 100%;
    max-width: 58rem;
}

.hero-title {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
    color: #FFFFFF;    
}

@media (max-width: 768px) {
	.hero-section {
		height: 19rem;
		padding: 2rem 0rem 0rem 0rem;
	}

    .hero-text {
        align-items: center;
    }
}

@media (max-width: 480px) {
	.hero-section {
		height: 19rem;
		background-image: url(../assets/images/hero_member_small.jpg);
	}

	.hero-title {
		font-size: var(--fs-h2);
	}

	.hero-sub-title {
		font-size: var(--fs-h6);
	}
}

/* -- Become a member section -- */
.become-member-section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
    max-width: 58rem;    
    border: 0.1rem solid rgba(0, 0, 0, 0.2);
    border-radius: 0.4rem;
    background-color: #ffffff;
    margin-top: -4rem;
	padding: 2rem;
	gap: 1rem;
}

.info-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: 58rem;
}

.info-box {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 15rem;
}

.btn-box {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	max-width: 58rem;
}

@media (max-width: 768px) {
	.info-container {
		flex-direction: column;
		justify-content: center;
		gap: 2rem;
	}

	.btn-box {
		justify-content: center;
	}
}

/* -- Contact section -- */
.contact-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: var(--light-gray-color);
	padding: 2rem;
	gap: 2rem;
}

.text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 58rem;
	gap: 1rem;
}

/* --- contact-box --- */
.contact-box {
	display: flex;
	flex-direction: column;
	padding-inline: 1.5rem;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
    background-color: #ffffff;
	border: 0.1rem solid rgba(0, 0, 0, 0.2);
	border-radius: 0.4rem;
	gap: 1rem;
}

.form-row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.error-message {
	color: var(--accent-color);
}

.name-row,
.checkbox-row {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.form-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.input-wrapper {
	display: flex;
	flex-direction: column;
	gap: .25rem;
}

#form.contact-box input[type="text"],
#form.contact-box input[type="email"],
#form.contact-box textarea {
	font-family: inherit;
	border: 0.1rem solid rgba(0,0,0,0.2);
	border-radius: 0.2rem;	
	padding: .2rem;
	background-color: white;
}

#form.contact-box textarea {
	resize: vertical;
}

.checkbox {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
	gap: .4rem;
	color: var(--paragraph-txt-color);
	width: fit-content;
}

.checkbox input[type="checkbox"] {
	display: none;
}

.checkmark {
	width: 1.111111rem;
  	height: 1.111111rem;
	border: 2px solid var(--light-gray-color);
	border-radius: .2rem;
	position: relative;
	transition: all 0.2s ease;
}

.checkmark::after {
	content: "";
	position: absolute;
	left: 5px;
	width: 6px;
	height: 12px;
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	opacity: 0;
	transform: rotate(45deg) scale(0);
	transition: all 0.2s ease;
}

.checkbox input[type="checkbox"]:checked + .checkmark {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
}

.checkbox input:checked + .checkmark::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.btn-box {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

button {
	font-family: 'montserrat', sans-serif;
	font-size: var(--fs-p);
	font-weight: var(--fw-bold);
	text-transform: uppercase;
	background: var(--accent-color);
	color: white;
	height: 2.1rem;
	width: max-content;
	padding-inline: 1rem;
	border: none;
	border-radius: 0.3rem;
	cursor: pointer;
	align-self: flex-start;
}

button:hover {
    background-color: var(--accent-color-muted);
}

@media (max-width: 768px) {
	.form-row {
		flex-direction: column;
		gap: 1rem;
	}
}
