* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	font-size: 62.5%;

	--font-body: 'Poppins', sans-serif;

	--primary-color: #00578D;
	--secondary-color: #B6221F;
	--text-color: #525252;
}

body {
	font-size: 1.6rem;
	font-family: var(--font-body);

	scroll-behavior: smooth;
	-webkit-scroll-behavior: smooth;
	-moz-scroll-behavior: smooth;
	-o-scroll-behavior: smooth;
}

ul {
	list-style-type: none;
}

a {
	text-decoration: none;
}

.container {
	max-width: 124rem;
	margin: 0 auto;
	padding: 0 1.5rem
}

.primary-color {
	color: var(--primary-color);
}

.secondary-color {
	color: var(--secondary-color);
}

header {
  display: flex; /* Utilizamos flexbox para colocar as divs lado a lado */
}

.bg-header {
  flex: 1; 
  background-image: url('assets/bg-header.png');
  background-size: contain;
  background-position: top center;
	background-repeat: no-repeat;
	width: 938px;
	height: 767px;
}

.header-container {
  flex: 1; 
	margin-top: 5.7rem;
	padding-right: 1.5rem;
}

.header-content {
	width: 66.5rem;
}

.header-container .logo {
	text-align: right;
	margin-bottom: 7.4rem;
}

.header-content h1 {
	font-size: 4.8rem;
	line-height: 6rem;
	font-weight: 800;
}

.header-content span {
	display: block;
	width: 11.2rem;	
	height: 5px;
	background-color: var(--primary-color);
	border-radius: 2.5rem;
	margin: 3rem 0;
}

.header-content p {
	color: var(--text-color);
	margin-bottom: 4rem;
}

.card-item,
.card-item-mobile {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6.1rem;

	margin-bottom: 5.5rem;
}

.card-lesson {
	display: grid;
	flex-direction: column;
	line-height: 1;
	text-align: center;
}

.card-lesson .aula {
	font-size: 3rem;
}

.card-lesson .numero-aula {
	font-size: 12rem;
	font-weight: bold;
}

.card-lesson span {
	color: var(--primary-color);
}

.card-content {
	display: flex;
	align-items: center;
	gap: 5.6rem;

	box-shadow: 0px 5px 25px #00000022;
	border-radius: 20px 20px 0px 20px;

	padding: 3.5rem 4.1rem;

	/* width: 94.7rem; */
	width: 75%;

	position: relative;
}

.extra {
	background: url('assets/extra.png') no-repeat;

	position: absolute;
	top: -23.1px;
	right: -90.9px;

	width: 34.4rem;
	height: 21.6rem;

	font-size: 2rem;
	color: white;

	padding-left: 4.7rem;
	padding-top: 2.6rem;
}

.card-info {
	width: 50%;
}

.card-info h3 {
	font-size: 1.8rem;
}

.card-info h4 {
	font-size: 2.4rem;
	line-height: 3.4rem;
	margin: 1.5rem 0;
}

.card-info p {
	color: var(--text-color);
	font-size: 1.8rem;
}

form {
	background-color: #F9F9F9;
	padding: 8.1rem 0;
}

.form-container {
	background-color: white;
	padding: 7.3rem 9.2rem;
	border-radius: 2.5rem;
}

form h2 {
	font-size: 2.4rem;
	text-align: center;
}

form span {
	display: block;
	width: 11.2rem;	
	height: 5px;
	background-color: var(--primary-color);
	border-radius: 2.5rem;
	margin: 3rem auto;	
}

form input[type="text"],
form input[type="email"] {
	width: 100%;
	border: none;
	border-bottom: 1px solid #171C31;
	
	font-family: var(--font-body);
	font-size: 1.6rem;
	color: var(--text-color);

	padding: 1.3rem;
	line-height: 3.5rem;

	outline: none;
}

.input-wrapper {
	display: flex;
	gap: 5.4rem;

	margin-bottom: 3.4rem;
}

form p.participante {
	color: var(--text-color);
	font-size: 1.8rem;
	margin-bottom: 1.4rem;
	line-height: 3.5rem;
	font-weight: 700;
}

form .radio {
	color: var(--text-color);
	margin-bottom: 4.4rem;
}

form #participante {
	margin-left: 1rem;
	margin-right: 1rem;
}

form p.download {
	color: var(--primary-color);
	font-size: 1.8rem;
	line-height: 3.5rem;
	font-weight: bold;
}

form .select {
	color: var(--text-color);
}

form .select span {
	font-weight: 600;
	display: inline;
	background-color: transparent;
}

form input[type="checkbox"] {
	margin-top: 1.5rem;
	margin-right: 2.2rem;
}

form input[type="submit"] {
	box-shadow: 0px 6px 12px #0000004D;
	border-radius: 100px;
	background-color: var(--secondary-color);
	border: 0;
	color: white;
	font-size: 2.4rem;
	font-family: var(--font-body);
	padding: 1.8rem 12.3rem;

	margin: 5.6rem auto;
	display: block;

	cursor: pointer;
}

form .aceito {
	color: var(--text-color);
}

.programa {
	padding: 11.0rem 0;
	color: var(--text-color);

	max-width: 96.0rem;
}

.programa h2 {
	background: url('assets/bg-programa.png') no-repeat top center;
	width: 100%;

	text-align: center;
	color: white;
	font-size: 3.0rem;

	padding: 3.9rem 0;
	margin-bottom: 5.7rem;
}

.programa ul {
	margin-top: 4rem;
	text-align: center;
}

.programa li {
	color: var(--primary-color);
	font-weight: bold;
}

.programa ul li span {
	margin-right: 1.4rem;
	vertical-align: top;
}

.programa button {
	box-shadow: 0px 6px 12px #0000004D;
	border-radius: 100px;
	background-color: var(--primary-color);
	border: 0;
	color: white;
	font-size: 2rem;
	font-family: var(--font-body);
	padding: 1.1rem 10.5rem;
	margin: 3.6rem auto;
	display: block;
	cursor: pointer;
}

footer {
	background: linear-gradient(to left, #23384B, #447099, #447099);
	padding: 6.4rem 0;
}


footer .footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer .container-logos {
	display: flex;
	align-items: center;
	gap: 6rem;
}

footer .wrapper-logos {
	display: flex;
	gap: 4rem;
	justify-items: center;
	align-items: center;
}

footer .wrapper-logos p {
	font-size: 1.1rem;
	text-align: center;
	color: white;
	margin-bottom: 1.2rem;
}

footer .container-redes ul{
	display: flex;
	gap: 1.5rem;
}

footer .instituidores {
	margin-top: -2rem;
}

footer .border-footer {
	border-bottom: 0.05rem solid white;
	margin: 3rem auto 1.2rem;
}

footer .desenvolvido {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer .desenvolvido p{
	color: white;
	font-size: 1.4rem;
}

.card-item-mobile,
.logo-mobile {
	display: none;
}

.error {
	border-color: 1px solid red;
}

@media (max-width: 960px) {
	
	header {
		display: block;
	}

	.header-container {
		margin-top: 0;
	}

	.logo {
		display: none;
	}

	.bg-header {
		background-image: url('assets/bg-header-tablet.png');
		width: 100%;
		height: 245px;
	}

	main {
		margin-top: 6rem;
	}

	.card-item {
		display: none;
	}

	.logo-mobile {
		display: block;
    width: 21.5rem;
    height: 12.6rem;
    margin-left: 5rem;
	}

	.header-content {
		width: 100%;
		padding: 0 1.5rem;
	}

	.header-content h1 {
    font-size: 3.2rem;
    line-height: 5rem;
    font-weight: 800;
}

	h2 {
		text-align: center;
	}

	form input[type="submit"] {
		font-size: 1.8rem;
		padding: 1.8rem 5rem;
	}

	.programa {
		padding: 3rem 1.5rem;
	}

	.programa h2 {
		text-align: center;
    color: white;
    font-size: 1.6rem;
    padding: 1.2rem 0.4rem 1.9rem;
    margin-bottom: 4.7rem;
	}

	.programa p {
		text-align: center;
	}

	.card-item-mobile {
		display: flex;
		padding: 2.2rem 2.5rem;
		flex-direction: column;
		align-items: start;
		gap: 0;

		box-shadow: 0px 5px 25px #00000022;
    border-radius: 20px 20px 0px 20px;

		position: relative;
		margin-bottom: 6.7rem;
	}

	.card-lesson .numero-aula {
		margin-bottom: 3rem;
		font-size: 7rem;
	}

	.wrapper-palestrante {
		display: flex;
		align-items: center;
		gap: 2rem;
	}

	.wrapper-palestrante p {
		color:var(--text-color);
		font-size: 2rem;
	}
	
	.extra {
		background: url('assets/extra-tablet.png') no-repeat;
		width: 33.7rem;
    height: 16.9rem;
    font-size: 1.9rem;
    color: white;
    padding-left: 17px;
    padding-top: 1.6rem;

    top: -10px;
    right: -44.8px;
	}

	.card-info {
		width: 100%;
	}

	.input-wrapper {
		display: block;
	}

	.input-wrapper #email,
	.input-wrapper #telefone {
		margin-bottom: 3.4rem;
	}

	.programa h2 {
		background-size: contain;
	}

	footer .container-logos {
		flex-direction: column;
		justify-content: center;
	}

	footer .footer-content {
		flex-direction: column;
		gap: 4rem;
	}

	footer .desenvolvido {
		margin-top: 3rem;
		flex-direction: column;
		gap: 2rem;
	}
}

@media (max-width: 500px){

	.bg-header {
		background-image: url('assets/bg-header-mobile.png');
		width: 100%;
		height: 237px;
	}

	.wrapper-palestrante p {
		color: var(--text-color);
		font-size: 1.4rem;
	}

	.form-container {
		padding: 7.3rem 1.5rem;
	}

	form h2 {
		font-size: 2.1rem;
	}

	.extra {
		background: url('assets/extra-mobile.png') no-repeat;
		width: 20.7rem;
		height: 11.9rem;
		font-size: 1.4rem;
    color: white;
    padding-left: 17px;
    padding-top: 1.6rem;

    top: -10px;
    right: -30.9px;
	}

}