body {
	margin: 0;
	font-family: Lato, serif;
	background-color: #fff;
	padding-left: 10%;
	padding-right: 10%;
}

.page {
	margin: 3rem;
}

@media (max-width: 400px) {
	.body {
		padding-left: 0%;
		padding-right: 0%;
	}

	.page {
		margin: 0rem;
	}
}

.img1 {
	background-image: url("imgs/Cefn Hedog.jpg");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
}

.img2 {
	background-image: url("imgs/Avalanche.JPG");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
}

.img3 {
	background-image: url("imgs/Neural-network.PNG");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
}

.img4 {
	background-image: url("imgs/Kabatech Program.PNG");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
}

.img5 {
	background-image: url("imgs/color-scheme-generator.PNG");
	background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
}

.img6 {
	background-image: url("imgs/tindogs.PNG");
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: contain;
}

.img7 {
	background-image: url("imgs/chrome-extension.PNG");
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: contain;
}

.img8 {
	background-image: url("imgs/jolablinds.PNG");
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: contain;
}

#fullpage {
	display: none;
	z-index: 9999;

	position: fixed;
	top: 0;
	width: 100vw;
	left: 50%;
	transform: translateX(-50%);

	/* width: 80vw; */
	height: 100vh;
	background-size: contain;
	background-repeat: no-repeat no-repeat;
	background-position: center center;
	background-color: black;
}

.fa {
	cursor: pointer;
}

/* write code to display an image in the center of screen on top of current elements and at current scroll height */

.ecom-img {
	background-image: url("imgs/Golden Shoe.JPG");
	background-repeat: no-repeat;
	background-position: left;
	background-size: cover;
}

footer {
	height: 3rem;
}

nav {
	overflow: hidden;
}

body.dark-theme {
	color: #f3f4f6;
	--tw-bg-opacity: 1;
	/* background-color: rgba(17, 24, 39, var(--tw-bg-opacity)); */
	background-color: rgba(17, 24, 39, var(--tw-bg-opacity));
}

body.dark-theme nav a {
	color: #fff;
}

body.dark-theme input[type="submit"] {
	--tw-bg-opacity: 1;
	background-color: #ddd;
	color: rgba(17, 24, 39, var(--tw-bg-opacity));
}

body.dark-theme input[type="submit"]:hover {
	--tw-bg-opacity: 1;
	background-color: rgb(87, 87, 87);
}

.gray {
	--tw-bg-opacity: 1;
	color: rgba(107, 114, 128, var(--tw-bg-opacity));
}

.nav-bar {
	float: right;
}

.nav-bar a {
	color: #000000;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 20px;
}

.nav-bar a:hover {
	background-color: #ddd;
	color: black;
}

.title {
	font-family: Lato;
	display: inline;
	font-size: 36px;
	padding: 0px 0px 32px;
}

.name {
	font: 80px "Engagement", cursive;
	padding: 0px 0px 0px 12px;
}

@-webkit-keyframes Landing_secFadeIn__167mi {
	0% {
		opacity: 0;
	}
	to {
		opacity: 0.5;
	}
}
@keyframes Landing_secFadeIn__167mi {
	0% {
		opacity: 0;
	}
	to {
		opacity: 0.5;
	}
}

.role {
	font-family: Lato;
	font-weight: 400;
	font-family: Lato;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 5px;
	-webkit-animation: Landing_secFadeIn__167mi 2s forwards;
	animation: Landing_secFadeIn__167mi 2s forwards;
	-webkit-animation-delay: 2.5s;
	animation-delay: 2.5s;
}

div.tech {
	font-size: 35px;
}

/* .fa-code{
  -webkit-text-stroke: 3px white;
} */

.text-lg {
	font-size: 1.125rem;
}

.project-grid {
	display: grid;
	grid-gap: 15px;
	grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
}

@media (min-width: 700px) {
	.project-grid {
		grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
	}
	.keep-left {
		margin-right: 40%;
	}

	.contact-section {
		margin-right: 20%;
		margin-left: 20%;
	}

	.overlay {
		height: 100%;
	}
}

.project-item {
	position: relative;
	width: 100%;
	height: 15em;
}

.project-item .tech-stack {
	position: absolute;
	bottom: 0.5em;
	left: 0.5em;
}

.project-item .visit {
	position: absolute;
	bottom: 0.5em;
	right: 0.5em;
}

.visit .read-more {
	display: inline-block;
	padding: 1px;
	border: 1px solid white;
}

.overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: black;
	color: white;
	overflow: hidden;
	width: 100%;
	height: 0;
	transition: 0.5s ease;
	opacity: 90%;
	font-size: 1.5em;
}

.overlay .med-txt {
	font-size: 0.8em;
}

@media (max-width: 700px) {
	.overlay {
		height: 100%;
		font-size: 1.3em;
		opacity: 80%;
	}

	.overlay .med-txt {
		font-size: 0.6em;
	}
}

.project-item:hover .overlay {
	height: 100%;
}

.project-item a {
	text-decoration: none;
	color: white;
}

.project-item p {
	padding: 0 1rem 0 1rem;
}

.center {
	text-align: center;
}

/* Style inputs */
input,
select,
textarea {
	width: 100%;
	padding: 12px;
	margin-top: 6px;
	margin-bottom: 16px;
}

input[type="submit"] {
	--tw-bg-opacity: 1;
	background-color: rgba(17, 24, 39, var(--tw-bg-opacity));
	color: #ddd;
	padding: 12px 20px;
	border: none;
	cursor: pointer;

	width: 5rem;
}

.center-button {
	display: flex;
	align-items: center;
	margin: auto;
}

input[type="submit"]:hover {
	background-color: rgb(87, 87, 87);
}

/* Style the container/contact section */
.contact-section {
	border-radius: 5px;
	padding: 10px;
}
