root{
	font-size: 16px;
}

html{
	scroll-behavior: smooth;
	scroll-margin-top: 50px;
	background: #efe6ff;
}

body{
	margin: 0;
	font-family: Arial, sans-serif;
}

button{
	background: #000000;
	color: white;
	font-weight: bolder;
	border: 2px solid white;
	border-radius: 5px;
	padding: 7px;
}

button:hover{
	background: #3F3F3F;
}

h1{
	text-align: center;
	scroll-margin-top: 50px;
}

#main-nav{
	position: sticky;
	top: 0px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: black;
	height: 50px;
	z-index: 10;
}

.hamburger{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	cursor: pointer;
	width: 25px;
	height: 25px;
	margin: 5px;
	transition-duration: 500ms;
	transition-property: all;
	left: -10px;
}

.hamburger span{
	width: 25px;
	height: 2px;
	top: 0;
	left: 0;
	position: relative;
	background: white;
	transition: 500ms;
}

.nav-links{
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	align-items: center;
	list-style: none;
	position: absolute;
	background: black;
	width: 100vw;
	height: calc(100vh - 50px);
	left: -100%;
	top: 50px;
	transition: 500ms;
	padding: 0;
	margin: 0;
	z-index: 10;
}

.nav-links li{
	margin: 5px;
}

.nav-links li a{
	text-decoration: none;
	color: white;
	font-size: 1.5rem;
}

#menu-toggle{
	display: none;
}

#menu-toggle:checked ~ .nav-links{
	left: 0;
}

#menu-toggle:checked ~ .hamburger span:first-child{
	transform: rotate(45deg);
	top: 8.2px;
}

#menu-toggle:checked ~ .hamburger span:nth-child(3){
	transform: rotate(-45deg);
	top: -8.2px;
}

#menu-toggle:checked ~ .hamburger span:nth-child(2){
	background: transparent;
}

#hero{
	background-image: url("./img/herobg.webp");
	background-size: cover;
	width: 100%;
	height: 80vh;
	display: flex;
	min-height: 300px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
}

#herotxt{
	background: rgba(175, 0, 255, 0.6);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	border-radius: 20px;
	padding: 5px;
	position: relative;
	width: 35vw;
	height: 35vh;
	min-width: 300px;
	min-height: 200px;
	left: 0;
	z-index: 1;
}

sup{
	font-size: 15px;
}

#logo{
	position: relative;
	left: 10px;
}

#menu{
	display: grid;
	grid-template-columns: 1fr;
	background: #efe6ff;
}

#aboutc{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 10px;
	background: #cfc6ef;
}

#abouttxt{
	text-align: center;
}

#contactc{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 10px;
background: black;
color: white;
}

#contactc *{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.menuoption{
	background: #dec9ff;
	top: 0px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border: 2px solid gray;
	border-radius: 10px;
	margin: 10px;
	padding: 5px;
	transition: 500ms;
}

.menuoption p{
	text-align: center;
}

@media (min-width: 768px){
	.hamburger{
		display: none;
	}
	.nav-links{
		position: static;
		flex-direction: row;
		width: auto;
		height: 50px;
	}
	.nav-links li a {
		font-size: 1rem;
		padding: 5px;
	}

	.menuoption:hover{
		top: -10px;
		background: #c7a3ff;
		filter: drop-shadow(0px 10px 4px #707070);
	}

	#herotxt{
		left: -20vw;
	}

	#menu{
		grid-template-columns: 1fr 1fr 1fr;
	}
}
