/* Fonts from Google Fonts - more at https://fonts.google.com */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

html {
  background-color: #2ace82;
}

body {
  max-width: 1080px;
  min-width: 850px;
  margin: 0 auto;
  padding: 5px 25px;
  font-size: 18px;
  color: #444;
  background-color: #a7e351;
}

h1 {
  font-family: "Open Sans", sans-serif;
}

p {
  font-family: "Roboto", sans-serif;
}

/* nav */
.navbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
}

.navbar div {
  height: 50px;
  text-align: center;
}

.nav-item-logo {
  grid-column: 1;
  border: 3px solid #32e7c8;
  box-shadow: 3px 3px 7px 5px #696969;
}

.nav-item-1 {
  grid-column: 2;
  border: 3px solid #32e7c8;
  margin-top: 50px;
  padding: 25px 0 0 0;
  box-shadow: 3px 3px 7px 5px #696969;
}

.nav-item-2 {
  grid-column: 3;
  border: 3px solid #32e7c8;
  margin-top: 50px;
  padding: 25px 0 0 0;
  box-shadow: 3px 3px 7px 5px #696969;
}

.nav-item-3 {
  grid-column: 4;
  border: 3px solid #32e7c8;
  margin-top: 50px;
  padding: 25px 0 0 0;
  box-shadow: 3px 3px 7px 5px #696969;
}

.navbar a {
  text-decoration: none;
}

.nav-item-1:hover {
  text-decoration: none;
  background-color: #f9c629;
  cursor: pointer;
}

.nav-item-2:hover {
  text-decoration: none;
  background-color: #f9c629;
  cursor: pointer;
}

.nav-item-3:hover {
  text-decoration: none;
  background-color: #f9c629;
  cursor: pointer;
}

/* search bar */

input[type=text] {
  width: 130px;
  -webkit-transition: width 0.4s ease-in-out;
  transition: width 0.4s ease-in-out;
}

input[type=text]:focus {
  width: 100%;
}

.searcher-home{
  float: right;
  padding-top: 10px;
}
.searcher-beginner{
  grid-column: 4;
}

.searcher-directory{
  padding-top: 10px;
  margin-left: 76%;
}

/* Home Page Styling */

.home-section {
  padding-top: 100px;
}

.home-section img {
  display: block;
  margin: auto;
  height: 500px;
  border: 5px outset #32E7C8;
  border-radius: 10px;
}

.citations {
  text-align: center;
  background-color: white;
  border-radius: 3px;
  border: 5px outset #32E7C8;
  width: 50%;
  margin-left: 25%;
}

.home-section h1 {
  text-align: center;
}

.home-section p {
  width: 900px;
  margin: auto;
}

/* Footer */

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 50px;
}

#copyright {
  margin-top: 40px;
  padding-top: 0;
  grid-row: 1;
}

.social {
  grid-column: 2;
  text-align: right;
  margin-bottom: 55px;
}

/* Beginner's page */

.beginner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 25px;
  text-align: justify;
}

.beginner-heading {
  padding-top: 100px;
  padding-bottom: 25px;
  text-align: center;
}

.beginner-container section {
  display: inline;
}

.beginner-container img {
  width: 100%;
  height: 100%;
}

.beginner-section1:not(img) {
  grid-column: 1;
  grid-row: 1;
}

.beginner-section2:not(img) {
  grid-column: 2;
  grid-row: 2;
}

.beginner-section3:not(img) {
  grid-column: 1;
  grid-row: 3;
}

.beginner-img-right {
  grid-column: 2;
  grid-row: 1;
  padding-top: 10px;
  border: 5px outset #32E7C8;
  border-radius: 10px;
}

.beginner-img-left {
  grid-column: 1;
  grid-row: 2;
  border: 5px outset #32E7C8;
  border-radius: 10px;
}

.beginner-img-right2 {
  grid-column: 2;
  grid-row: 3;
  border: 5px outset #32E7C8;
  border-radius: 10px;
}

.beginner-img-right-cite {
  grid-column: 2;
  grid-row: 1;
  display: inline;
  background-color: white;
  width: 100%;
  height: 25px;
  border-radius: 3px;
  border: 5px outset #32E7C8;
}

.beginner-img-left-cite {
  grid-column: 1;
  grid-row: 2;
  background-color: white;
  width: 100%;
  height: 25px;
  border-radius: 3px;
  border: 5px outset #32E7C8;
}

.beginner-img-right2-cite {
  grid-column: 2;
  grid-row: 3;
  background-color: white;
  width: 100%;
  height: 25px;
  border-radius: 3px;
  border: 5px outset #32E7C8;
}

/* Directory page */

ul{
  list-style-type: none;
}

.directory-list {
  padding-top: 100px;
}
.directory-list li {
  border: 1px solid #32e7c8;
  width: 25%;
  padding: 5px;
  text-align: center;
}

.directory-list a {
  text-decoration: none;
  background-color: #f9c629;
  cursor: pointer;
}
.directory-list li:hover {
  text-decoration: none;
  background-color: #f9c629;
  cursor: pointer;
}

.directory-img-1 {
  width: 50%;
  height: 50%;
  float: right;
  border: 5px outset #32E7C8;
  border-radius: 10px;
  margin-top: 10px;
}
.directory-img-2 {
  width: 50%;
  height: 500px;
  float: right;
  border: 5px outset #32E7C8;
  border-radius: 10px;
}

.directory-cite-1 {
  /*   margin: 0;
  margin-left: 50%;
  padding: 0; */
  float: right;
  background-color: white;
  border-radius: 3px;
  border: 5px outset #32E7C8;
  margin-right: -350px;
  margin-top: 10px;
}
.directory-cite-2 {
  /*   margin: 0;
  margin-left: 50%;
  padding: 0; */
  float: right;
  background-color: white;
  border-radius: 3px;
  border: 5px outset #32E7C8;
  margin-right: -350px;
}
