/* Variables */
:root {
  --font-color: rgb(190, 220, 245);
  --link-color: rgb(150, 150, 255);
  --accent-color-1: rgb(3, 150, 0);
  --background-color: rgb(10, 10, 30);
  --text-shadow: 5px 5px 5px rgb(0, 0, 0);
}

/* Global Styles  */

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--background-color);
  color: var(--font-color);
  text-shadow: var(--text-shadow);
  font-family:'Courier New', Courier, monospace;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

body section {
  margin: 15px
}

body section ul, li{
  margin-top: 15px;
  list-style-type: none;
}

a {
  color: var(--link-color)
}

h1 {
  font-size: 48pt;
}

section {
  padding: 5px
}

/* Header */

header {
  order: 0;
}

header button {
  background-color: var(--link-color);
  color: var(--background-color);
  border: none;
  border-radius: 5px;
  padding: 8px;
  width: 100px;
}

header button:hover {
  background-color: var(--accent-color-1);
  cursor: pointer;
  font-weight: bold;
  font-style: italic;
  box-shadow: var(--text-shadow);
}

/* Summary Section */

#summary {
  order: 2;
}

/* Technologies Section */

#technologies {
  order: 3;
}

/* Projects Section */

#projects {
  order: 4;
}

/* Certifications Section */

#certifications{
  order: 5;
}

/* Education Section */

#education {
  order: 5;
}

/* Experience Section  */

#experience {
  order: 1;
  grid-row: span 6;
}

/* Footer Section  */

footer {
  background-color: var(--background-color);
  font-size: 10pt;
  position: fixed;
  bottom: 0;
  text-align: center;
  width: 100%
}

/* Styling for small screens */

@media screen and (max-width: 800px){
  body {
    grid-template-columns: 1fr;
  }

  header {
    order: 0;
  }

  #summary {
    order: 1;
  }

  #technologies {
    order: 2;
  }

  #certifications {
    order: 3;
  }

  #projects {
    order: 4;
  }

  #experience {
    order: 5;
  }

  #education {
    order: 6;
  }
}