body {
	background-image: url('background.png');
	background-size: cover;
	background-repeat: repeat;
	background-size: 256px;
	background-position: top left;
	padding: 0;
	margin: 0;
}

/*TEXT*/

* {
	font-size: 0.95rem;
	font-family: MSCambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	color: #2a2f49;
	margin: 0;
	padding: 0;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 1.25rem;
}

span {
	display: block;
}

a {
	text-decoration: none;
}

.c-a {
	text-align: center;
}

.r-a {
	text-align: right;
}

/*LISTS*/

ul {
	margin: 0 1rem;
}

li {
	margin: 0.25rem 0;
}

.archive {
	margin: 0 1rem;
}

.list {
	border: 1px solid lightgrey;
	padding: 0 0.5rem;
}

.entries {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/*IMAGES, VIDEOS*/

video {
	width: 100%;
}

img {
	display: block;
}

/*MAIN*/

main {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

#a {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-width: 888px;
	margin: 2rem auto;
	background-color: whitesmoke;
	border: 10px solid transparent;
	border-image: url(whitesmokelace.png) 16 round;
	border-image-outset: 9px;
}

 #b {
	display: grid;
	grid-template-columns: 0.85fr 3fr 1fr;
	gap: 0.5rem;
 }
 
#contact {
	margin-top: 1rem;
}

#updates {
	max-height: 10rem;
}

.sidebar-menu {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.scrollable-y {
	overflow-y: scroll;
}

.scrollable-x {
	overflow-x: scroll;
}

.information {
	display: flex;
	flex-direction: column;
	border: 1px solid lightgrey;
	padding: 0.5rem;
	gap: 0.5rem;
}

section {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

section div span {
	margin: 0.5rem 0rem;
}

#about_me_image {
    float: left;
    width: 70%;
    padding-right: 1rem;
    shape-outside: polygon(0% 0%, 0% 100%, 100% 85%, 100% 100%, 70% 50%, 60% 0%, 50% 10%, 30% 0%);
    margin-left: -1rem;
}

form {
    display: block;
    margin-top: 0em;
    unicode-bidi: isolate;
}

.inbox {
    width: 99%;
    height: 10rem;
    resize: none;
}

/*NAVIGATION*/

nav a,#twitter {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.2rem 0.5rem;
	border: 1px solid lightgrey;
	transition: background-color 0.3s ease;
}

nav a:hover {
	text-decoration: none;
	transition: all 0.4s;
	background-color: lightgrey;
	color: #2a2f49;
}

nav a img {
	object-fit: contain;
	height: 1.2rem;
	max-width: 4rem;
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	margin: 0;
	padding: 0;
}

.title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	transition: background-color 0.3s ease;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 11%, rgba(214, 214, 214, 1) 50%, rgba(196, 196, 196, 1) 51%, rgba(10, 10, 10, 0.1) 100%);
	border-top: 1px solid lightgrey;
	border-bottom: 3px double lightgrey;
	border-left: 1px solid lightgrey;
	border-right: 1px solid lightgrey;
	padding: 0.2rem 0 0.2rem 0.5rem;
}

.title img {
	object-fit: contain;
	width: 4rem;
}

/*FOOTER*/

footer {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: center;
}

#footer_links {
	display: flex;
}

@media (max-width: 768px) {
	
#a {
	margin: 1rem;
}
	
#b {
	grid-template-columns: 1fr;
}
	
.nav-toggle {
	display: block;
}

.nav-menu {
	display: none;
}

.nav-menu.show {
	display: flex;
	flex-direction: column;
}
}