@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #262626;
	font-family: "Arial", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

#wrapper {
	position: relative;
	max-width: 60rem;
	margin: 1rem auto;
	overflow: hidden;
	background: #fff;
	border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

article p {
	padding-bottom: 1rem;
}

.padding {
	padding-bottom: 3rem;
}

h1 {
	font-size: 2.5rem;
	line-height: 1.2;
	font-weight: normal;
	padding: 1rem 0;
}

h2 {
	font-size: 1.4rem;
	line-height: 1.2;
	padding-bottom: .625rem;
}

h3 {
	font-size: 2.5rem;
	line-height: 1.15;
	margin: 0 0 2rem -3rem;
}

ul {
	padding: 0 0 3rem 1.2rem;
}

header {
	display: flex;
	padding: 1rem 2rem;
	border-bottom: 2px solid rgba(38, 38, 38, .07);
}

article {
	padding: 10rem 2rem 2rem;
	background-color: #f8f8f5;
	clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
	margin-top: -10rem;
}

.title {
	display: flex;
	align-items: start;
	justify-content: space-between;
	padding: 2rem;
	gap: 1rem;
}

.title img {
	position: relative;
	z-index: 100;
}

.flex {
	display: flex;
	gap: 2rem;
}

.flex > div:first-of-type {
	flex: 30%;
}

.flex > div:first-of-type .info:hover {
	height: max-content;
}

.info {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: max-content;
	cursor: pointer;
	row-gap: 1rem;
	height: 2.5rem;
	margin-top: 3rem;
}

.info:hover .socials {
	height: max-content;
	transition: all .3s ease-out;
	visibility: visible;
	opacity: 1;
}

.share {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.share div {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #e3000f;
	padding: .562rem;
	border-radius: 50%;
}

.share p {
	padding-bottom: 0;
}

.socials {
	border: 2px solid rgba(38, 38, 38, .07);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem;
	position: relative;
	font-size: 1.5rem;
	gap: .625rem;
	visibility: hidden;
	opacity: 0;
	transition: all .3s ease-out;
}

.socials::before {
	background: #f8f8f5;
	border-left: 2px solid rgba(38, 38, 38, .07);
	border-top: 2px solid rgba(38, 38, 38, .07);
	content: "";
	height: .75rem;
	position: absolute;
	right: 50%;
	top: -.25rem;
	transform: rotate(45deg) translateY(-50%);
	width: .75rem;
}

.flex > div:last-of-type {
	flex: 70%;
}

.button {
	display: flex;
	padding: 3rem 0;
}

.button a {
	padding: .625rem 1.25rem;
	background-color: #e3000f;
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	border-radius: 2rem;
	display: inline-block;
	transition: all .3s ease-out;
}

.button a:hover {
	background-color: #9d0318;
}

footer {
	padding: 3rem 5rem;
}

.video-wrapper {
	width: 100%;
	max-width: 37.5rem;
	overflow: hidden;
	margin: 0 auto;
}

.video-wrapper video {
	width: 100%;
	height: auto;
	display: block;
}

@media only screen and (max-width: 959px) {
	#wrapper {
		border: none;
		margin: 0 auto;
	}

	p,
	ul {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}

	.title img {
		width: 50%;
	}
}

@media only screen and (max-width: 832px) {
	h1 {
		font-size: 2rem;
	}
}

@media only screen and (max-width: 720px) {
	h1 {
		text-align: center;
	}

	h3 {
		font-size: 1.5rem;
		margin: 0 0 1.5rem;
	}

	h3 br {
		display: none;
	}

	header {
		justify-content: center;
		padding: 1rem;
	}

	article {
		clip-path: none;
		padding: 2rem 1rem;
		margin: 0;
	}

	.title {
		flex-direction: column;
		align-items: center;
		padding: 2rem 1rem;
	}

	.title img {
		width: auto;
	}

	.flex {
		display: block;
	}

	.info {
		margin-top: 0;
		margin-bottom: 1.5rem;
	}

	ul,
	.padding {
		padding-bottom: 1.5rem;
	}

	.button {
		padding: 1rem 0 0;
		justify-content: center;
	}

	footer {
		padding: 2rem 1rem;
	}
}

@media only screen and (max-width: 375px) {
	h2 {
		font-size: 1.25rem;
	}
}
