/*General Formatting*/
* {
  font-family: "DM Sans", sans-serif;
  background-color: white;
  color: rgb(51, 51, 51);
  font-size: 18px;
  font-weight: 400;
}

html,
body {
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

::selection {
  background-color: rgb(51, 51, 51);
}

h1 {
  font-size: 64px;
  text-decoration: underline;
  font-weight: bold;
}

h2 {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}

b {
  font-weight: bold;
}

p {
  line-height: 30.6px;
}

/*Header Bar CSS*/
.nav-bar {
  box-sizing: border-box;
  width: 100%;
  height: 75px;
  overflow: hidden;
  position: fixed;
  display: flex;
  justify-content: space-evenly;
  text-align: center;
  gap: 20px;
  align-items: center;
  padding: 1rem 4rem;
  /*background-color: darkblue*/
}

.nav-bar > a {
  cursor: pointer;
  font-weight: 400;
  margin: auto;
  padding: 0.5rem;
}

.nav-bar > button {
  cursor: pointer;
  font-weight: 400;
  margin: auto;
  order: 3;
  padding: 0.5rem;
}

.logo {
  margin: auto;
  padding: 0.5rem;
  order: 1;
  flex: 2;
  flex-basis: 20%;
  text-align: left;
  /*background-color: aquamarine;*/
}

.nav-item {
  margin: 0.5rem;
  text-align: center;
  text-decoration: none;
  order: 2;
  flex: 1;
  /*background-color: brown;*/
}

.nav-item:hover {
  background-color: rgb(192, 192, 192);
  color: white;
  border-radius: 3%;
  padding: 0.5rem;
}

/*Content CSS*/

main {
  overflow-y: scroll;
  flex: auto;
}

.content {
  display: flex;
  box-sizing: border-box;
  max-width: 2184px;
  width: auto;
  /*background-color: bisque;*/
  margin-top: 75px;
}

.introduction {
  /*background-color: aquamarine;*/
  margin: 4rem;
  padding: 1rem;
  justify-content: center;
  align-items: flex-start;
}

#profile-pic {
  margin: 2rem;
  height: 33rem;
  max-width: 800px;
  width: auto;
  border-radius: 50%;
  /*background-color: blueviolet;*/
  padding: 1rem;
  justify-content: center;
  align-items: center;
}

/*Use for the Forms for Wealthly App*/
form {
  text-align: center;
  line-height: 30px;
  height: 80%;
  overflow: auto;
}

.finance-form {
  box-sizing: border-box;
  width: 100%;
  margin-top: 75px;
}

#overlay {
  width: 80%;
  margin: 3% auto;
  height: 85px;
  background-color: gray;
  border-radius: 40px;
}

/*Use for the NFT Gallery*/
.gallery-container {
  display: grid;
  box-sizing: border-box;
  margin-top: 75px;
  height: auto;
  padding: 0.5rem 2rem 2rem 2rem;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  /*background-color: aqua;*/
}

.nft-cell {
  /*background-color: bisque;*/
  padding: 1rem;
  justify-self: center;
}

.nft-cell > a > img {
  width: 20rem;
  height: 20rem;
  border-radius: 20%;
}

.nft-cell > a > video {
  width: 20rem;
  height: auto;
  border-radius: 20%;
}

.nft-cell > h3 > a {
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: underline;
}

/*Footer CSS*/
.contact-info {
  box-sizing: border-box;
  display: flex;
  position: fixed;
  height: 40px;
  left: 0;
  bottom: 0;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  /*background-color: aquamarine;*/
  overflow: hidden;
}

.contact-info > a {
  padding: 1rem;
}

.contact-info > a > img {
  width: 35px;
  height: auto;
}

/* Bottom padding keeps the © line visible above the 40px fixed
   .contact-info bar, which otherwise covers content at document end. */
.copyright-footer {
  padding-bottom: 48px;
}
