@font-face {
    font-family: Elegant Typewriter;
    src: url(assets/fonts/ElegantTypwriter/ELEGANT TYPEWRITER Light.ttf);
}
@font-face {
    font-family: Elegant Typewriter;
    src: url(assets/fonts/ElegantTypwriter/ELEGANT TYPEWRITER Regular.ttf);
    font-weight: bold;
}

@font-face {
    font-family: Black Chancery;
    src: url(https://files.catbox.moe/43agun.TTF);
}

::selection {
  color: #830487;
  background: #c5ed6f;
}

body {
	background-image: url(https://files.catbox.moe/ayj2e7.jpg);
	background-color: #4b3037;
	font-family: Elegant Typewriter, Lucida Sans Typewriter, Courier New, monospaced;
	font-size: 14px;
}

p a:hover {
	color: #5e7135;
	letter-spacing: 1px;
	transition-duration: 0.2s;
}

a {
	color: #862e93;
}

.changelog a:hover {
	color: #5e7135;
	letter-spacing: 1px;
	transition-duration: 0.2s;
}


h2 {
	color: #3e591f;
	font-family: Black Chancery, Elegant Typewriter, Lucida Sans Typewriter, monospaced;
	font-size: 28px;
	text-align: center;
	margin: 10px;
}

.layout {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}

header {
	width: 850px;
	aspect-ratio: 850 / 235;
	background-image: url(assets/banner.png);
	background-size: contain;
	background-repeat: no-repeat;
	border-radius: 30px 30px 0px 0px;
	position: relative;
	filter: drop-shadow(2px 2px 3px black);
	border-style: solid;
	border-width: 3px 3px 0px;
}

header h2 {
	position: absolute;
	left: 17%;
	font-size: 42px;
	color: #b6f68c;
	letter-spacing: 1.5px;
	text-shadow: 2px 2px 3px black;
	top: 5%;
}

header h2:hover {
	transform: scale(1.15);
	transition-duration: 0.25s;
}

main {
	width: 850px;
	min-height: 500px;
	background-color: #5e7135;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	filter: drop-shadow(1px 1px 3px black);
	border-style: solid;
	border-width: 0px 3px 0px;
	background-image: url(https://files.catbox.moe/d6am4o.avif), linear-gradient(#5e7135, #55662f);
	background-blend-mode: multiply, normal;
	background-size: 57%, auto;
}

.left {
	width: 145px;
}

nav {
	background-color: #862e93;
	background-image: linear-gradient(#862e93, #6a2075);
	border-radius: 15px;
	width: 200px;
	position: relative;
	right: 60px;
	margin-top: 25px;
	box-shadow: 2px 2px 3px black;
}

#navbar { /* iframe */
	border: none;
	overflow: hidden;
	width: 200px;
	height: 635px;
	width: 100%;
}

.contacts {
	width: 165px;
	min-height: 50px;
	background-color: #f7f3e3;
	position: relative;
	left: -30px;
	margin-left: -30px;
	margin-top: 30px;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	box-shadow: 2px 2px 3px black;
}
.webcharm_left {
	display: none;
	width: 100%;
}

.center {
	width: 480px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	padding: 10px;
}

.frame {
	background-image: url(https://files.catbox.moe/5z91ri.gif);
	padding: 15px; 
	margin-bottom: 10px; 
	filter: drop-shadow(2px 2px 2px #212b0c);
}

.intro {
	padding: 10px;
	background-color: #F7F3E3;
	box-shadow: 2px 2px 3px black;
}

.row-box {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around; 
	width:100%; 
	margin: 5px 0;
}

.guestbook {
	width: 170px;
	height: 150px;
	background-color: #f7f3e3;
	position: relative;
	border-style: solid;
	border-color: #4a1055;
	text-align: center;
	transition-duration: 2s;
	box-shadow: 2px 2px 2px #212b0c;
}

.guestbook:hover {
	background-color: #2a0830;
	color: white;
	border-color: #2a0830;
}

.guestbook img{
	width: 130px;
	display: block;
	margin: auto;
}

.guestbook img:hover {
	transform: scale(1.1);
	transition-duration: 0.1s;
}

.recommendation {
	padding: 10px;
	padding-top: 7px;
	background-color: #3c2a17;
	text-align: center;
	color: #f7f3e3;
	box-shadow: 2px 2px 2px #212b0c;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 5px;
}

.recommendation:hover {
	transform: scale(1.05);
	transition-duration: 0.2s;
}

img.webcharm {
	width: 130px;
	margin-top:-50px;
}

.profile {
	width: 350px;
	background-color: #3c2a17;
	color: #F7F3E3;
	box-shadow: 2px 2px 2px #212b0c;
}

.profile a {
	color: #F7F3E3;
	text-decoration: none;
	position: relative;
	left: 0;
}

.profile a:hover {
	color: #c5ed6f;
	text-decoration: underline;
	left: 5px;
	transition-duration: 0.2s;
}

.profile-pic {
	margin: 10px;
	float: left;
	height: 80px;
	width: 80px;
	background-color: #f7f3e3;
	border-radius: 10px;
	border-width: 2px;
	border-style: solid;
	border-color: #F7F3E3;
	background-image: url(https://files.catbox.moe/5z91ri.gif);
	box-shadow: 1px 1px 2px black;
}

.changelog {
	width: 480px;
	background-color: #f7f3e3;
	margin: 5px 0;
	box-shadow: 2px 2px 2px #212b0c;
}

.right {
	width: 190px;
	text-align: center;
	background-color: #3C2A17;
	box-shadow: -1px -1px 1.5px black;
	border-radius: 0px 0px 0px 20px;
}

.right-box {
	background-color: #f7f3e3;
	margin: 15px;
	padding: 10px;
	box-shadow: 2px 2px 2px black;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 7px;
}

.right-box img {
	filter: drop-shadow(0.75px 0.75px 2px black);
}

.right-box textarea {
	width: 85%;
}

.art-showcase {
	background-color: #f7f3e3;
	margin: 15px;
	padding: 10px;
	position: relative;
	overflow: hidden;
	box-shadow: 2px 2px 3px black;
}

.art-date {
	position: absolute;
	transform: rotate(45deg);
	background-color: #2a0830;
	color: #F7F3E3;
	width: 100px;
	right: -25px;
	top: 20px;
	padding: 2px;
	filter: drop-shadow(1px 1px 1px black);
}

.art-showcase:hover {
	transform: scale(1.1);
	transition-duration: 0.2s;
}

.links-box {
	background-color: #f7f3e3;
	background-image: url(https://files.catbox.moe/upqjyc.gif);
	margin: 15px 7px 15px 7px;
	padding: 15px 7px 10px 7px;
	border-radius: 15px;
	box-shadow: 2px 2px 2px black;
}

.links-box menu {
	display: flex;
	padding:0;
	justify-content: center;
	margin: -5px;
}

a.links-button {
	background-color:#5e7135;
	color: white;
	padding: 6px;
	text-decoration: none;
	font-size:12.5px;
	box-shadow: 1px 1px 2px black;
}

a.links-button:hover {
	background-color:#862e93;
}

footer {
	width: 850px;
	height: 75px;
	background-color: #2f1844;
	color: #c1a2c7;
	text-align: center;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between; 
	background-image: linear-gradient(#311847, #29143d);
	box-shadow: 1px 1px 3px black;
	border-style: solid;
	border-width: 0px 3px 3px;
	border-color: black;
}

footer img {
	height: 100%;
}


.webcharm_floating {
	position: fixed;
	width: 18%; 
	right:0px;
	bottom:0px;
}

@media only screen and (max-width: 600px) {
	body {
		font-size: 13px;
	}
	
	.layout {
		width: 100%;
	}
	
	header {
		width:100%;
		background-size: cover;
		height: 100px;
	}
	
	header h2 {
		font-size: 20px;
	}
	
	main{
		width: 100%;
		flex-wrap: wrap;
		background-size: 90%, auto;
	}
	
	.left {
		width: 30%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	
	nav {
		width: 100%;
		position: static;
		margin:0px;
			margin-top: 10px;
		padding-top: 5px;
		padding-bottom: 5px;
	}
	
	#navbar { /* iframe */
		border: none;
		overflow: hidden;
		width: 200px;
		height: 720px;
		width: 100%;
	}
	
	.contacts {
		width: 95%;
		position: static;
		margin:0px;
		margin-top: 10px;
		padding: 5px;
		font-size: 10px;
		overflow: hidden;
	}
	
	.contacts img {
		display: none;
	}
	
	.webcharm_left {
		display: block;
		position: relative;
		bottom: 15px;
	}
	
	.center {
		width: 65%;
		padding: 0px;
		margin-top: 10px;
		margin-right: 5px;
	}
	
	.frame {
		padding: 11px;
	}
	
	.intro {
		font-size: 0.9em;
	}
	
	h2 {
		font-size: 20px;
		margin: 5px;
	}
	
	img.webcharm {
		display: none;
	}
	
	.profile {
		font-size: 12px;
	}
	
	.changelog  {
		width: 100%;
	}
	
	.right {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		background-color: transparent;
		justify-content: space-around;
		margin-top: 5px;
	}
	
	.art-showcase {
		width: 40%;
		margin: 0px;
	}
	
	.recommendation {
		display: none;
	}
	
	.guestbook {
		display: none;
	}
	
	.right {
		box-shadow: 0px 0px 0px black;
	}
	
	.right-box {
		width: 35%;
		margin: 0px;
		max-height: 200px;
		margin-top: 15px;
	}
	
	.right-box textarea {
		height: 100px;
	}

	footer {
		width: 100%;
		height: 50px;
	}
	
	footer img {
		max-width: 30%;
		height: 50%;
	}
	
	.webcharm_floating {
		width: 25%;
		right: 5px;
	}
	
}