body {
	background-color: black;
	font-family: sans-serif;
	margin: 0;
	padding: 10px;
}

/* Main Header */
#mainheader {
	background-color: #ff1493;
	border-radius: 8px;
	padding: 10px;
	font-size: 45px;
	margin: 0.25rem;
}

.headercontainer {
	text-align: center;
}

#lineone, #linetwo {
	border: none;
	height: 2px;
	background-color: white;
	width: 100%;
}

/* Main Content Grid */
.portfolio-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr; 
	grid-template-areas: "goals assignments funstuff";
	gap: 15px;
}

.goalgrid {
	grid-area: goals;
}

.assignmentgrid {
	grid-area: assignments;
}

.funstuffgrid {
	grid-area: funstuff;
}

.goalheader, .assignmentheader, .funstuffheader, .aboutheader, .favoriteheader {
	display: inline-block;
	background-color: #ff1493;
	border-radius: 5px;
	margin: 0.25rem;
	padding-right: 5px;
	padding-left: 5px;
}

.goalparagraph, #assignmentpages, #funstufflist, .aboutparagraph, .favoriteparagraph {
	background-color: black;
	color: white;
	padding: 15px;
	border: 2px solid #ff1493;
	border-radius: 4px;
	box-sizing: border-box;
}

#assignmentpages, #funstufflist {
	list-style-position: inside;
}

.languagestable {
	background-color: white;
	border: solid black;
	width: 100%;
	box-sizing: border-box;
}

th, td {
  border: 2px solid #949494;
  padding: 8px;
  text-align: left;
}
	
/* Contact Form Container */
.contactsection {
	max-width: 450px;
	margin: 2rem auto;
	background-color: #ff1493;
	padding: 20px;
	border-radius: 8px;
	color: black;
	box-sizing: border-box;
}

.contactsection h2 {
	margin-top: 0;
	font-size: 24px;
	margin-bottom: 15px;
}

.contactsection label {
	display: inline-block;
	margin-bottom: 5px;
	font-weight: bold;
}

.contactsection input[type="email"], .contactsection input[type="text"], 
.contactsection textarea {
	width: 100%;
	padding: 8px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.contactsection input[type="submit"] {
	background-color: black;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
	font-size: 16px;
}

.contactsection input[type="submit"]:hover {
	background-color: #333;
}


/* Design for tablets */
@media screen and (max-width: 1024px) {
#mainheader {
	font-size: 36px;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas:
	"goals"
	"assignments"
	"funstuff";
}
}

/* Design for mobile */
@media screen and (max-width: 768px) {
  #mainheader {
    font-size: 28px; 
    padding: 12px;
  }

  .portfolio-grid {
    display: block !important; 
    width: 100%;
  }

  .goalgrid, .assignmentgrid, .funstuffgrid {
    display: block;
    width: 100%;
    margin-bottom: 30px; 
  }

.goalparagraph, .aboutparagraph {
    font-size: 18px;
    line-height: 1.6;
}

.favoriteparagraph {
	font-size: 18px;
}

#assignmentpages li, #funstufflist li {
    font-size: 18px;
    margin-bottom: 10px;
}

.languagestable th, .languagestable td {
    font-size: 16px;
    padding: 10px;
}

.contactsection label {
    font-size: 18px;
}

.contactsection input[type="email"], .contactsection input[type="text"], 
.contactsection textarea {
    font-size: 16px;
    padding: 10px;
}
}