body {
  margin: 0;
  padding: 0;
  background-color: #2e314c;
}
main {
  background-color: rgb(255, 255, 255);
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h1,
h2,
h3 {
  font-family: 'Nunito';
}
#content {
  padding: 20px;
  min-height: 800px;
}

.box {
  margin: 0 auto;
}
/*----- EXPLORE PAGE CSS ------------------------*/
.explore-grid {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 10px;
  justify-content: center;
}
.explore-grid > div {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin: 10px;
  flex: 1 1 200px;
}
.gallery {
  height: 250px;
  justify-content: center;
}

img.inactive {
  cursor: not-allowed;
}
/*----- POSTS ON HOME FEED ------------------------*/

.post {
  margin: 0 auto;
  max-width: 500px;
  text-align: left;
  margin-bottom: 30px;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  background-color: white;
  box-shadow: 0 2px 2px 0 rgba(255, 227, 251, 0.2),
    0 6px 10px 0 rgba(0, 0, 0, 0.1);
}

.post-description {
  text-align: left;
  font-size: 18px;
}

.socialpost {
  max-width: 500px;
  height: 500px;
}

.username,
.username-disabled,
.username-post {
  color: #000d85;
  font-weight: bold;
  text-align: left;
  text-decoration: none;
  margin: 0%;
  font-family: 'Nunito';
}

.center {
  text-align: left;
}

.user-align {
  margin-top: 10px;
}

.username,
.username-disabled {
  font-size: 24px;
}

.comment-content {
  background-color: rgb(210, 215, 233);
  border-radius: 5%;
  padding: 10px;
}
.username-post {
  font-size: 18px;
}

.username-disabled {
  cursor: not-allowed;
}

.uploadbtn {
  background-color: #251d80;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  border-radius: 10px;
  width: 100px;
  opacity: 0.9;
  cursor: not-allowed;
}

.to-feed {
  margin-top: 10px;
  text-align: center;
}
.registerbtn:hover {
  opacity: 1;
}

textarea {
  max-width: 300px;
  max-height: 125px;
  min-width: 300px;
  min-height: 125px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/*-----INDIVIDUAL POST PAGE ------------------------*/
.interactions {
  text-align: center;
  display: flex;
  flex-direction: row;
}
button.likeBtn {
  border: none;
  cursor: pointer;
  background-color: transparent;
}
button.likeBtn.active svg {
  fill: rgb(220, 143, 143);
}
.user-tags {
  width: 80%;
  display: flex;
}
.comment-icon {
  font-size: 30px;
  padding-left: 10px;
  padding-right: 5px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.post-box {
  max-width: 500px;
  height: 500px;
}

.upload-box {
  max-width: 600px;
  margin-right: 30px;
}
.post-row {
  color: black;
  font-size: 20px;
  justify-content: center;
}

.user-row {
  max-width: 200px;
}

.user-row,
.post-row {
  display: flex;
  flex-direction: row;
}

.profile-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-left: 40px;
  max-width: 999px;
}

.icon {
  display: flex;
  flex-direction: row;
  max-width: 30%;
}

table {
  width: 350px;
}

.tag,
.active-tag {
  background-color: #beb9c7;
  color: rgb(34, 0, 40);
  padding: 5px;
  font-size: 12px;
  margin-left: 5px;
  margin-bottom: 5px;
  display: inline-block;
}

.tag {
  cursor: not-allowed;
}
.active-tag {
  cursor: pointer;
}

.no-bg {
  width: 80px;
}

/*-----PROFILE PAGE ------------------------*/
.sign-out {
  text-align: right;
}
a {
  color: #000d85;
  text-decoration: none;
}
.big-profile {
  max-width: 200px;
  border-radius: 20px;
  margin-left: 10px;
  margin-right: 30px;
}

.little-profile {
  max-width: 50px;
  border-radius: 10px;
  background-color: #2e314c;
  margin-right: 10px;
  margin-bottom: 5px;
}
/*----- MEDIA 800 ------------------------*/

@media (max-width: 800px) {
  .post-row,
  .profile-row {
    flex-direction: column;
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  .div-profile {
    text-align: center;
  }

  .post-box {
    width: fit-content;
  }

  table {
    width: 100%;
  }

  textarea {
    max-width: 500px;
    min-width: 500px;
  }
}
/*----- SEARCHBAR  ------------------------*/
/*
.searchbar {
  background-color: rgb(123, 92, 52); }*/

/*----- MEDIA 767 ------------------------*/

@media (max-width: 767px) {
  .socialpost,
  .post,
  .post-box,
  .upload-box {
    width: 370px;
  }

  .socialpost,
  .post-box,
  .upload-box {
    height: 370px;
  }

  textarea {
    max-width: 350px;
    min-width: 350px;
  }
}

/*----- MEDIA 600 ------------------------*/
@media (max-width: 569px) {
  .gallery {
    width: 100%;
    height: 100%;
  }
  .center {
    text-align: center;
  }
}
/*----- MEDIA 450 ------------------------*/

@media (max-width: 450px) {
  .socialpost,
  .post-box,
  .upload-box {
    width: 100%;
  }

  .post {
    width: 350px;
  }
  .socialpost,
  .post-box,
  .upload-box {
    height: 100%;
  }
}
