
* {
  box-sizing: border-box;
}

/* Style the body */
body {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  margin: 0;
}

/* Header/logo Title */
header {
  padding: 10px;
  text-align: center;
  background: #260033;
  color: white;
}

/* Increase the font size of the heading */
header h1 {
  font-size: 40px;
}

/* Sticky navbar - toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport - then it "sticks" in place (like position:fixed). The sticky value is not supported in IE or Edge 15 and earlier versions. However, for these versions the navbar will inherit default position */
nav {
  overflow: hidden;
  background-color: #333;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
}

/* Style the navigation bar links */
nav a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}


/* Right-aligned link */
nav a.right {
  float: right;
}

/* Change color on hover */
nav a:hover {
  background-color: #ddd;
  color: black;
}

/* Active/current link */
nav a.active {
  background-color: #666;
  color: white;
}

/* Column container */
.row {  
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
aside {
  -ms-flex: 40%; /* IE10 */
  flex: 40%;
  background-color: #39e600;
  padding: 20px;
}

/* Main column */
main {   
  -ms-flex: 60%; /* IE10 */
  flex: 60%;
  background-color: #db4dff;
  padding: 20px;
}


.Castle {
  background-color: #000000;
  width: 100%;
  padding: 10px;
  word-wrap: break-word;
}
.spooky {
  background-color: #000000;
  width: 100%;
  padding: 10px;
  word-wrap: break-word;
}

/* Footer */
footer {
  padding: 20px;
  text-align: center;
  background: #404040;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {   
    flex-direction: column;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  nav a {
    float: none;
    width: 100%;
  }
}