:root {
  --main: #070725;
  --light: #fff;
  --white: #ffffff;
  --navlink-color: #feab07;
  --general-font: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  --general-border: 1px solid #ffffff;
}

body {
  display: flex;
  font-family: var(--general-font);
  flex-direction: column;
  line-height: 1.3;
  background-color: var(--main);
}

a {
  color: var(--white);
  text-decoration: none;
}

p {
  font-size: 16px;
}

header {
  display: flex;
  justify-content: space-between;
  height: 100px;
  align-items: center;
  padding: 1%;
  background-color: var(--main);
  color: var(--light);
  border-bottom: var(--general-border);
  margin: 0;
}

h1 {
  font-size: 200%;
  margin: 0;
}

h2 {
  display: flex;
  margin: 2% 0;
  font-size: 250%;
}

h3 {
  margin: 2% 0;
  margin-bottom: 10px;
  font-size: 200%;
  text-align: center;
}

header nav,
footer nav {
  display: flex;
  padding-top: 15px;
  margin-right: 20px;
  float: right;
  font-family: var(--general-font);
  font-size: 20px;
}

nav ul {
  display: flex;
  justify-content: space-between;
  min-width: 300px;
}

header nav ul li {
  display: inline-block;
  margin-left: 25px;
}

nav a {
  background-color: unset;
  color: var(--navlink-color);
  font-weight: bold;
  text-decoration: none;
}

nav a:hover {
  color: var(--light);
}

main {
  display: flex;
  flex: 1 1 0;
  max-width: 100%;
  margin: 2% auto;
}

section p {
  display: flex;
  margin: auto auto;
}

.banner {
  display: flex;
  height: 200px;
  width: 100%;
  margin-bottom: 25px;
  background-image: url("../images/abstract-wallpaper-for-iphone-by-WALLSBYJFL-idownloadblog-touchid-768x1620.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: var(--general-border);
}

.float-left {
  float: left;
  margin-right: 25px;
}

.float-right {
  float: right;
  margin-left: 25px;
}

.content {
  display: flex;
  /* I want to have a few sections like the challenge photo
                            I am not sure where to do so to have a big first section,
                            then the smaller 4 sections below it, in a grid. What 
                            selectors/ way should I divvy it up?*/
  margin-left: auto auto;
}

.container {
  margin-bottom: 20px;
  padding: 25px;
  height: 300px;
  font-family: var(--general-font);
  background-color: var(--main);
  color: var(--white);
  /* border-bottom: var(--general-border); */
  /* Why does adding width for a border make the whole thing expand? How do I get those
     border-bottoms to be centered. This won't matter if the grid works*/
}

.container img {
  max-height: 150px;
  border-radius: 20%;
}

.container h2 {
  margin-bottom: 20px;
  font-size: 30px;
}

.project-grid {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  grid-gap: 40px;
}

.grid {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  color: var(--white) !important;
}

#about-me {
  display: flex;
  padding: 2px;
  height: 500px;
  font-family: var(--general-font);
  background-color: var(--main);
  color: var(--white);
  flex-direction: column;
  border-bottom: var(--general-border);
}

#about-me h2 {
  display: flex;
  margin-bottom: 20px;
  font-size: 36;
  justify-content: center;
}

#about-me img {
  display: flex;
  border-radius: 40%;
  margin: 10px auto;
  max-width: 150px;
  max-height: 200px;
}

#about-me-p1,
#about-me-p2 {
  display: flex;
  text-align: center;
  margin: auto auto;
  max-width: 768px;
  font-size: 110%;
}

/* #about-me-p2 {
  display: flex;
  text-align: center;
  margin: auto auto;
  max-width: 768px;
  font-size: 110%;
} */

#first-project {
  display: flex;
  padding: 2px;
  height: 500px;
  font-family: var(--general-font);
  background-color: var(--main);
  color: var(--white);
  flex-direction: row;
  border-bottom: var(--general-border);
  align-content: space-around;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

#first-project img {
  max-height: 326px;
  display: flex;
  border-radius: 20%;
  margin: 10px auto;
}

#first-project h2 {
  display: flex;
  margin-bottom: 20px;
  font-size: 44px;
  margin-right: auto;
  justify-content: center;
}

#first-project p {
  display: flex;
  margin: auto auto;
  max-width: 768px;
  text-align: center;
  font-size: 22px;
}

#no-border {
  border-bottom: none !important;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 2%;
  background-color: var(--main);
  color: var(--light);
  border-top: 2px solid var(--white);
  align-items: center;
  margin: 0;
}

footer h1 {
  display: flex;
  font-size: 48px;
}

/* footer nav {
  display: flex;
  padding-top: 15px;
  margin-right: 20px;
  float: right;
  font-family: var(--general-font);
  font-size: 20px;
} */

footer nav ul {
  display: flex;
  list-style-type: none;
}

footer nav ul li {
  display: flex;
  margin-left: 25px;
}


@media screen and (max-width: 980px) {

  body {
      max-width: 980px;
  }

  #wrapper {
      width: 100%;
  }
}


@media screen and (max-width: 640px) {

  body {
      max-width: 640px;
  }

  #wrapper {
      width: 100%;
  }

  #btn {
      margin-top: 20px;
  }

  #generate {
      margin-left: 22%;

  }

}