body,
html {
  background-color: #273c54;
  font-family: 'Gidole';
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Gidole';
  src: url('../fonts/Gidole-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'roc-grotesk';
  src: url('../fonts/Roc-Grotesk-Bold.otf');
  font-weight: 400;
  font-style: normal;
}

#wrapper {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 1%;
  display: grid;
  grid-template-rows: 4em 1fr 2em;
  box-sizing: border-box;
}

#navbar {
  width: 100%;
  display: flex;
  gap: 4%;
  align-items: center;
  justify-content: space-evenly;
}

.navbar-link {
  text-decoration: none;
  color: whitesmoke;
  font-size: 24px;
  line-height: 30px;
}

.navbar-link:hover {
  color: #edd464;
}

#projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 24px;
  box-sizing: border-box;
  width: 98%;
  background-color: #273c54;
}

#title-bar {
  text-align: center;
  margin: auto;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  margin: 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

#projects-header {
  margin: 0 0 2% 0;
  font-size: 8em;
  margin: 0;
  font-family: 'roc-grotesk';
  color: whitesmoke;
}

#instructions {
  width: 80%;
  height: 80%;
  margin: 0;
  font-size: 24px;
  line-height: 30px;
  margin: 0;
  color: #edd464;
}

.divider {
  width: 50%;
  border-top: 3px solid whitesmoke;
  box-sizing: border-box;
}

.project {
  width: 50%;
  background: transparent;
  border-radius: 25px;
  text-align: center;
  display: grid;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
}

.project-image {
  width: 50%;
  margin: 0;
}

.curved-border {
  border-radius: 25px;
}

.project-description {
  height: 80%;
  margin: 0;
  font-size: 24px;
  line-height: 30px;
  margin: 0;
  color: whitesmoke;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  justify-self: center;
}

.project-bookmarklet {
  text-align: center;
  text-decoration: none;
  color: #273c54;
  background-color: whitesmoke;
  border-radius: 25px;
  padding: 16px 14px 16px 14px;
  width: max-content;
  height: min-content;
  justify-self: center;
}

#bottomBar {
  bottom: 1%;
  width: 98%;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.social-link {
  height: 100%;
  width: 2em;
}

#github-icon {
  margin: 0;
  height: 100%;
  background-size: contain;
  background-image: url('../images/github-mark-white.png');
}

#discord-icon {
  margin: 0;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-image: url('../images/discord-mark-white.png');
}

@media only screen and (max-width: 768px) {
  .project {
    width: 90%;
    grid-template-columns: 1fr;
    grid-template-rows: max-content min-content min-content;
    row-gap: 24px;
  }
  .divider {
    width: 90%;
  }
  #projects-header {
    font-size: 5em;
  }
  #instructions {
    font-size: 20px;
    width: 100%;
  }
}

@media only screen and (max-width: 150vh) {
  .project {
    width: 90%;
  }
  .divider {
    width: 90%;
  }
  #projects-header {
    font-size: 5em;
  }
}
