* {
	max-width: 100%;
}

/* General styles */

/* Styles */
body {
	background: #ffffff;
	color: #232323;
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: normal;
	margin: 0;
}

footer {
	display: flex;
	justify-content: center;
	margin-top: 3rem;
	padding: 3rem 0;
	background-color: #000;
	color: #fff;
}

h2 {
	font-size: 38px;
	font-family: "Raleway", sans-serif;
	font-weight: normal;
	color: rgb(255, 28, 3);
	border: 6px solid red;
	border-radius: 50px;
	text-align: center;
	text-transform: capitalize;
	padding: 0px 10px;
	margin: 10px auto;
	width: fit-content;
}

p {
	text-align: justify;
	line-height: 24px;
	font-size: 1.2em;
}

.bg-red {
	background-color: red;
	color: white;
}

.bg-red h2 {
	color: white;
	border: 6px solid white;
	border-radius: 50px;
	width: fit-content;
	padding: 5px 10px;
	margin: 10px auto;
}

/* Nav Styles */

.navbar {
	height: 4rem;
	display: flex;
	overflow: hidden;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-align: center;
	background: #232323;
	text-decoration: underline;
}

.navbar a {
	color: #fff;
	text-decoration: none;
	padding-right: 3rem;
	font-size: 1.75rem;
	padding: 2rem;
}

/* Top content */

.container--header {
	display: flex;
	flex-direction: row;
	padding: 2rem;
}

.container--header__left {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-left: 3rem;
}

.container--header__right {
	padding: 3em;
	width: 50%;
}

.social__links--container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 1rem;
	margin: 1rem;
	padding: 0px;
	height: 32px;
	color: #00283a;
}

.social__links--container img {
	margin: 0.5em;
	height: 100%;
	filter: invert(100%);
}

/* About Me */

.about-me {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 3rem;
}

.container-first {
	display: flex;
	flex-direction: row;
	padding: 2rem 2rem 0 2rem;
}

.container-first__left {
	width: 50%;
	padding-right: 2rem;
	margin-right: 4rem;
}

.container-first__right {
	width: 50%;
}

.container-first--title {
	font-size: 1.65rem;
	font-weight: bold;
	margin-bottom: 1rem;
}

.about-us-list {
	list-style: none;
	margin-bottom: 20px;
	padding-left: 0px;
}

.checks {
	position: relative;
	padding: 5px 0 5px 30px;
	color: #000;
}

.checks:before {
	content: "\f005";
	font-family: FontAwesome;
	position: absolute;
	height: 2rem;
	left: 0;
	color: #333;
}

.progress--bar {
	height: 1rem;
	width: 100%;
	margin-bottom: 1rem;
	overflow: hidden;
	background-color: #e6e6e6;
	border-radius: 1rem;
}

progress::-moz-progress-bar {
	background: red;
}

progress::-webkit-progress-value {
	background: red;
}

progress::-webkit-progress-bar {
	background: rgb(255, 201, 201);
}

/* Experience */

.container-experience {
	padding: 3rem;
}

.container-experience--schema {
	display: inline-block;
	margin: 0 5rem 0 5rem;
}

/* Message box */
.message-item {
	margin-bottom: 25px;
	margin-left: 40px;
	position: relative;
}

.message-item .message-inner {
	border: 1px solid white;
	border-radius: 3px;
	padding: 10px;
	position: relative;
}

.message-item .message-inner:after {
	border-right: 10px solid #ffffff;
	border-style: solid;
	border-width: 10px;
	color: rgba(0, 0, 0, 0);
	content: "";
	display: block;
	height: 0;
	position: absolute;
	left: -20px;
	top: 6px;
	width: 0;
}

.message-item:before {
	background: white;
	border-radius: 2px;
	bottom: -30px;
	content: "";
	height: 100%;
	left: -30px;
	position: absolute;
	width: 1px;
}

.message-item:after {
	background: white;
	border: 2px solid white;
	border-radius: 50%;
	box-shadow: 0 0 5px white;
	content: "";
	height: 15px;
	left: -36px;
	position: absolute;
	top: 10px;
	width: 15px;
}

.message-item .message-head {
	border-bottom: 1px solid #ffffff;
	margin-bottom: 8px;
	padding-bottom: 8px;
	color: #fff;
}

.message-item .message-head .avatar {
	margin-right: 20px;
}

.message-item .message-head .user-detail {
	overflow: hidden;
}

.message-item .message-head .user-detail h5 {
	font-size: 16px;
	font-weight: bold;
	margin: 0;
}

.message-item .message-head .post-meta {
	float: left;
	padding: 0 15px 0 0;
}

.post-meta {
	color: white;
	font-size: 12px;
	font-weight: bold;
	line-height: 22px;
}

.message-item:last-child:before {
	width: 0;
}

/* Projects */

.container-portfolio {
	padding: 3rem;
}

.container-portfolio__post {
	display: flex;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	padding: 3rem;
	align-items: center;
	justify-content: center;
}

figure {
	border: thin #c0c0c0 solid;
	flex-flow: column;
	height: auto;
}

figure img {
	object-fit: cover;
	width: 25vw;
	height: 24vw;
}

figcaption {
	background-color: #c84c09;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-shadow: 0px 0px 9px #000000;
	text-align: center;
	padding: 0.5rem;
	text-transform: uppercase;
}

/* News */

.container-news {
	padding: 3em;
}

.container-news__post {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	grid-gap: 1rem;
	padding: 3em;
	border-radius: 5px;
}

.container-news__image {
	background-color: white;
	box-shadow: 0px 0px 10px 10px rgb(0 0 0 / 20%);
}

.container-news__image a {
	background: rgb(255, 0, 0);
	text-decoration: none;
}

.container-news__image a > img {
	display: block;
	width: 100%;
	height: 70%;
}

.container-news__image p {
	text-align: center;
	margin: 0.5rem 1rem;
	font-size: 1rem;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	color: rgb(0, 0, 0);
}

/* Contact Form */

.container-form {
	max-width: 650px;
	margin: 0 auto;
	position: relative;
	padding: 3em;
}

.contact-form {
	margin-top: 2em;
}

.content-wrapper {
	min-height: 100%;
	position: relative;
}

.form-field {
	position: relative;
	margin: 32px 0;
}

.input-text {
	display: block;
	width: 100%;
	height: 36px;
	border-width: 0 0 2px 0;
	border-color: #000;
	font-family: Lusitana, serif;
	font-size: 18px;
	line-height: 26px;
	font-weight: 400;
}

.input-text:focus {
	outline: none;
}

.input-text + .label {
	transform: translateY(-24px);
}

.label {
	position: absolute;
	left: 20px;
	bottom: 11px;
	font-family: Lusitana, serif;
	font-size: 18px;
	line-height: 26px;
	font-weight: 400;
	color: #888;
	cursor: text;
	transition: transform 0.2s ease-in-out;
}

.col {
	padding: 0 20px;
	float: left;
	box-sizing: border-box;
}

.x-50 {
	width: 50%;
}

.x-100 {
	width: 100%;
}

.input-text {
	display: block;
	width: 100%;
	height: 36px;
	border-width: 0 0 2px 0;
	border-color: #000;
	font-family: Lusitana, serif;
	font-size: 18px;
	line-height: 26px;
	font-weight: 400;
}

.submit-btn {
	display: flex;
	margin: 0 auto;
	justify-content: center;
	align-content: center;
	background-color: #000;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 16px;
	line-height: 24px;
	padding: 8px 16px;
	border: none;
	cursor: pointer;
}

.note {
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 100%;
	text-align: center;
	font-family: Lusitana, serif;
	font-size: 16px;
	line-height: 21px;
}

.link {
	color: #888;
	text-decoration: none;
}

/* Media queries */

@media screen and (max-width: 768px) {
	.navbar {
		/* display an icon instead of text */
		display: flex;
	}

	.container--header,
	.container-first {
		flex-direction: column;
	}

	.container--header__left,
	.container--header__right,
	.container-first__left,
	.container-first__right {
		width: 100%;
		padding: 0;
	}
}

/*Pipe Mario*/
.container--pipe {
	margin-top: 10rem;
	height: 20rem;
	position: relative;
}

.pipe {
	position: absolute;
	width: 15rem;
	right: 50%;
	transform: translateX(50%);
	cursor: pointer;
}

.mario-behind-pipe {
	position: absolute;
	z-index: -1;
	width: 5rem;
	right: 47.5%;
	transition: all 0.5s ease-out;
}

.show-mario {
	transform: translateY(-6rem);
}

/*burger menu*/

.hamburger {
	display: none;
}

@media (max-width: 768px) {
	.hamburger {
		position: fixed;
		background-color: transparent;
		left: 0;
		top: 0;
		height: 30px;
		width: 30px;
		padding: 20px 20px;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		-webkit-transition: -webkit-transform 0.25s
			cubic-bezier(0.05, 1.04, 0.72, 0.98);
		transition: transform 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
		z-index: 1002;
		cursor: pointer;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

	.hamburger.is-active {
		background-color: transparent;
	}

	._layer {
		background: #333333;
		margin-bottom: 4px;
		border-radius: 2px;
		width: 28px;
		height: 4px;
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		-webkit-transition: all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
		transition: all 0.25s cubic-bezier(0.05, 1.04, 0.72, 0.98);
	}

	.hamburger:hover .-top {
		-webkit-transform: translateY(-100%);
		-ms-transform: translateY(-100%);
		transform: translateY(-100%);
	}

	.hamburger:hover .-bottom {
		-webkit-transform: translateY(100%);
		-ms-transform: translateY(100%);
		transform: translateY(100%);
	}

	.hamburger.is-active .-top {
		-webkit-transform: translateY(200%) rotate(45deg) !important;
		-ms-transform: translateY(200%) rotate(45deg) !important;
		transform: translateY(200%) rotate(45deg) !important;
	}

	.hamburger.is-active .-mid {
		opacity: 0;
	}

	.hamburger.is-active .-bottom {
		-webkit-transform: translateY(-200%) rotate(135deg) !important;
		-ms-transform: translateY(-200%) rotate(135deg) !important;
		transform: translateY(-200%) rotate(135deg) !important;
	}

	.navbar.is_active {
		transform: translate3d(0px, 0px, 0px);
	}

	.navbar {
		display: flex;
		flex-direction: column;
		position: fixed;
		background-color: rgba(255, 255, 255, 0.95);
		width: 100%;
		height: 100%;
		bottom: 0;
		left: 0;
		top: 0;
		padding: 3em;
		overflow-y: scroll;
		transform: translate3d(0px, -100%, 0px);
		transition: transform 0.35s cubic-bezier(0.05, 1.04, 0.72, 0.98) 0s;
		z-index: 1001;
	}

	.navbar a {
		text-decoration: none;
		color: black;
	}

	.navbar a:hover {
		text-decoration: none;
		color: #333333;
	}
}
