/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
.layout {
  width: 1000px;
  display: grid;
  grid-gap: 20px;
  grid-template: "header header header" auto "left main right" auto "footer footer footer" auto;
}

* {
  box-sizing: border-box;
}

body {
  background: url(/mainbackground.webp);
  color: #CB8FD9;
  font-family: ubuntu;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-x: hidden;
}

header {
  grid-area: header;
  text-align: center;
  overflow-y: auto;
  padding-top: 50px;
  background: rgba(20, 3, 38, 0.65);
  border: 3px double #D16BEF;
  border-radius: 20px;
  box-shadow: 1px 1px 3px #2BDFFF;
  height: 200px;
  margin-top: 40px;
  margin-bottom: 40px;
  overflow: hidden;
  width: 1000px;
  }

h1 {
  font-size: 40px;
  font-family: bouncer;
  color: #F5BEFA;
}

h2 {
  font-size: 30px;
  text-align: center;
  font-family: bouncer;
  color: #F5BEFA;
}

h3 {
  font-size: 28px;
  text-align: center;
  font-family: winkle;
  font-weight: normal;
  color: #F5BEFA;
}

h4 {
  font-size:28px;
  text-align: left;
  font-family: winkle;
  font-weight: normal;
  color: #8259D4;
}

ul {
  list-style-type: none;
  padding: 0;
  font-weight: bold;
  color: #CB8FD9;
}

a {
  text-decoration: none;
  color: #CB8FD9;
}

a:active {
  color: #8259D4;
}

a:hover {
  text-shadow: 1px 1px 3px #38A0A6;
  text-decoration: underline;
}

main {
  grid-area: main;
  overflow-y: auto;
  padding:20px;
  background: rgba(20, 3, 38, 0.65);
  border: 3px double #D16BEF;
  border-radius: 20px;
  box-shadow: 1px 1px 3px #2BDFFF;
  width: 780px;
    overflow-x: hidden;

}

aside {
  grid-area: aside;
  border: 3px double #D16BEF;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(20, 3, 38, 0.65);
  box-shadow: 1px 1px 3px #2BDFFF;
  padding: 20px;
  width: 200px;
}

.left {
  grid-area: left;
}

.right {
  grid-area: right;
}

footer {
  grid-area: footer;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/*inner bits*/

.inner {
  padding: 20px;
  border: 2px #C750F2;
}

/*fonts*/

@font-face {
  font-family: winkle;
  src: url(/fonts/winkle.ttf);
}

@font-face {
  font-family: bouncer;
  src: url(/fonts/bouncer.ttf);
}

/*colors: #D16BEF light purple - #C750F2 border