* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

  

body { 
    background-color: Black;
	font-size: 1rem;
	color: black;
	font-family: "Trebuchet MS";
	background-image: url('https://moocyte.neocities.org/tarot/assets/background2.jpg');
	background-position: center;
	background-size: cover;	
}

a:hover {
	color: Maroon;
}


header { 
	max-width: 600px;         
	margin: 0 auto; 
	margin-top: 30px;
	text-align: center;
	background-image: url('https://moocyte.neocities.org/tarot/assets/header2.png');
			background-size: contain;
			background-position: center;
			background-repeat: no-repeat;

	}

header img {
    width: 300px;
	margin: 10px;
	margin-top: 20px;
}


.container {
	margin: 0 auto;
	width: fit-content;
    display: flex;
    align-items: stretch;
	gap: 5%;
	margin-top: 30px;
	
}


aside{ 
	position: relative;
	background-color: WhiteSmoke;
    height: 100%;
	width: 300px;
	font-size: 1rem;
	text-align: center;
}

aside::before {
	content:"";
	position: absolute;
	inset: 0;
	border: 40px solid transparent;
	border-image: url('https://moocyte.neocities.org/tarot/assets/border.png') 80 round;
	pointer-events: none;
}

#left {
	padding-top:1%;
	padding-bottom:1%;
}

#left img {
	width: 50%;
	margin: 0 auto;
}

#right {
	padding: 1%;
}

.decks {
	width: 100%;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
}

.deck {
	width: 50%;
	margin: 0 auto;
}


.deck img {
	max-width: 70%;
	margin-top: 7px;
	border-radius: 6px;
}

.deckreview {
	max-width: 20%;
	display: block;
	margin: 0 auto;
	
}

.cardreview {
	max-width: 90%;
	display: block;
	margin: 0 auto;
}

		
h1 {
		text-align: center;
		font-weight: bold;
		margin-bottom: 5px;
		}
		
h2 {
		font-size: 1.3rem;
		font-weight: bold;
		margin-bottom: 5px;
		text-align: center;
		}
		
h3 {
	text-align: center;
	font-weight: bold;
	margin-bottom: 5px;
}

h4 {
	color: Maroon;
	text-align: center;
	margin-bottom: 10px;
}

main article {
display: none;
}


main article:target {
display: block;
}


body:not(:has(:target)) main article:first-of-type {
display: block;
}


main {
	position: relative;	
	max-width: 800px;
	color: black;
	background-color: WhiteSmoke;    
}

main::before {
	content:"";
	position: absolute;
	inset: 0;
	border: 55px solid transparent;
	border-image: url('https://moocyte.neocities.org/tarot/assets/border2.png') 200 stretch;
	border-image-outset: 10px 15px 10px 15px;
  pointer-events: none;
}

main article {
	margin-left: 5%;
	margin-right: 5%;
	margin-top: 5%;
	margin-bottom: 7%;
	text-align: justify;
}

main p{
	margin-top: 6px;
	margin-bottom: 6px;
}

footer {
	border: solid;
	color: Black;
	border-color: Black;
	text-align: center;
	margin: 20px auto;
	padding: 5px;
	max-width: 600px;
	background-color: WhiteSmoke;
	border-radius:5px;
}

a {
	color: black;
	
}

nav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 1rem;
    color: #000000;
	display: block;
    border: none;
    background: none;
    width:100%;
    text-align: left;
}

#mydeck div {
	display: flex;
}

.mycards {
	max-width: 90%;
	display: flex;
	margin: 0 auto;
	border-radius: 10px;
	flex-wrap: nowrap;
}



@media only screen and (max-width: 600px){


header {
Width: calc(100% - 20px);
margin: 10px;
}

.container {
	flex-wrap: wrap;
	margin-top: 10px;
	gap: 10px;
}

main {
	margin: 10px;
	margin-top: 0px;
}

aside {
	position: static;
	width: 100%;
	margin: 10px;
	margin-bottom: 0px;
}



}