body{
  background: var(--colour-blue);
  color: white;
}

h1, h2{
  color: white;
}

header #loggedin-indicator {
  #userInfo {
    color: white;
  }
  #log-out{
    filter: invert(1);
  }
}

.edit-btn{
  background-image: url("/wp-content/themes/legendary/images/pen-solid-blue.svg");
  background-color: white;
}

.push-btn {
  padding: 0px;
  border: initial !important;
  width: 25px;
  flex: 0 0 25px;
  height: 25px;
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("/wp-content/themes/legendary/images/arrow-up.png");
  background-color: white;
  background-position: calc(50% - 0px) calc(50% - 0px);
  background-size: calc(50% + -2px);
}

.push-bottom-btn {
  transform: rotate(180deg);
}

.hashtag-list{
    margin: 30px -20px 20px -20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0px;
    white-space: nowrap;
    width: initial;
    @media only screen and (max-width: 800px) {
      padding-right: 0px;
      margin: 30px -11px 20px -11px;
      row-gap: 8px;
    }
    &>p{
      margin: initial;
    }
  .tag-button{
      border: initial;
      color: white;
      padding: 16px 20px;
      text-transform: initial;
      @media only screen and (max-width: 800px) {
		padding: 5px 11px 9px 11px;
		margin: -3px 0;
      }
    }
}

#create-note{
  display: flex;
  align-items: flex-start;
  gap: 20px;
  /* height: 90px; */
  margin-top: 48px;
  @media only screen and (max-width: 800px) {
    flex-wrap: wrap;
    column-gap: 15px;
  }
  #imageInput{
    display: none;
  }
  textarea{
    border-radius: 20px;
    border: initial;
    padding: 13px 20px;
    color: black;
    outline: initial;
    min-height: 150px;
    display: block;
    width: 100% !important;
  }
  .field.image-upload{
    display: flex;
    align-items: center;
    label{
      filter: invert(1);
      cursor: pointer;
      flex: 0 0 45px;
      height: 57px;
      display: flex;
      align-items: center;
    }
    .image-preview img{
      margin-left: 20px;
      width: 90px;
      height: 90px;
      object-fit: cover;
      border-radius: 15px;
      @media only screen and (max-width: 800px) {
        margin-left: 15px;
        width: 50px;
        height: 50px;
      }
    }
  }
  .field.text-input{
    flex-grow: 1;
    @media only screen and (max-width: 800px) {
      flex: 0 0 100%;
    }
    input{
      width: 100%;
    }
  }
  #tagInput{
    width: 190px;
    @media only screen and (max-width: 800px) {
      padding: 13px 20px;
      height: 52px;
    }
  }
  #addNoteBtn{
    transform: rotate(45deg);
    height: 57px;
    display: flex;
    align-items: center;
  }

}

.notes-list{
  &>h2{
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: left;
    @media only screen and (max-width: 800px) {
      margin-top: 0px;
    }
  }
  .notes-list-container{
    text-align: left;
    &>p{
      text-align: left;
    }
    ul{
      list-style: none;
      padding: 0px;
      margin: 0px;
      li{
        border-bottom: 2px solid white;
        padding: 20px 0;
      }
      .note-content{
        textarea{
          flex-grow: 1;
          width: initial !important;
          border-radius: 20px;
          border: initial;
          padding: 13px 20px;
          color: black;
          outline: initial;
          min-height: 150px;
          @media only screen and (max-width: 800px) {
            padding: 11px 15px;
          }
        }
        input{
          @media only screen and (max-width: 800px) {
              padding: 13px 20px;
              height: 52px;
              flex: 0 0 100%;
          }   
        }
        .display-mode{
          display: flex;
          flex-direction: column;
          margin: auto;
          gap: 13px;
          column-gap: 20px;
        }
        .edit-mode{
          column-gap: 20px;
          @media only screen and (max-width: 800px) {
            flex-wrap: wrap;
            row-gap: 15px;
          } 
          .edit-form-actions{
            display: flex;
            gap: 10px;
            align-items: center;
            align-self: flex-start;
            button[type="submit"], button.cancel-edit, .add-image-btn {
              padding: 12px;
              border-color: white;
              @media only screen and (max-width: 800px) {
                padding: 9px;
              }
              img{
                width: 30px;
                height: auto;
                filter: invert(1);
                @media only screen and (max-width: 800px) {
                  width: 14px;
                }
              }
            }
            .add-image-btn {
              background-color: transparent;
              border: 0;
              border-radius: 0;
              padding: 0px;
              img {
                filter: invert(1);
                width: 57px !important;
                @media only screen and (max-width: 800px) {
                  width: 37px !important;
                }
              }
            }
          }
        }
        .image-wrap-edit {
            position: relative;
            display: inline-block;
            .remove-image-btn {
                position: absolute;
                top: 5px;
                right: 5px;
                background: rgba(0,0,0,0.5);
                border: none;
                border-radius: 50%;
                cursor: pointer;
                padding: 5px;
                img {
                    width: 15px;
                    height: 15px;
                    display: block;
                }
            }
        }
        img{
          display: block;
          cursor: pointer;
          border-radius: 20px;
          width: 200px;
          height: 200px;
          object-fit: cover;
          @media only screen and (max-width: 800px) {
            height: 190px;
          }
        }
        .note-tag, .note-text{
          margin: 0px;
          display: block;
          text-align: left;
          overflow-wrap: break-word;
          width: 100%;
          a{
            color: white;
            &:hover{
              text-decoration: initial;
            }
          }
          @media only screen and (max-width: 800px) {
            flex-grow: 1;
            line-height: normal;
          }
        }
        .note-tag{
          align-self: flex-end;
          cursor: pointer;
          position: relative;
          bottom: 2px;
          @media only screen and (max-width: 800px) {
            bottom: 0px;
            display: block;
            line-height: normal;
          } 
        }
        &.image-content{
          .display-mode{
            flex-direction: row;
            justify-content: space-between;
            @media only screen and (max-width: 800px) {
              flex-direction: column;
            }
          }
          .image-wrap{
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 18px;
            padding-bottom: 5px;
            @media only screen and (max-width: 800px) {
              padding-bottom: 0px;
            }
          }
        }
        &:not(.image-content){
          .display-mode{
            max-width: initial;
            justify-content: space-between;
            @media only screen and (max-width: 800px) {
              align-items: flex-start;
            }
          }
        }
        .tag-wrapper{
          display: flex;
          /* align-self: flex-end; */
          align-items: center;
          gap: 8px;
          line-height: normal;
          align-items: flex-end;
          @media only screen and (max-width: 800px) {
            flex-wrap: wrap;
            flex: initial;
            align-self: flex-start;
            margin-top: 5px;
            align-items: center;
            button{
              margin: initial;
              position: relative;
              top: 2px;
            }
          } 
        }
      }
    }
  }
}
.tag-button.active {
    background-color: white;
    color: black;
  }

.hide-tag-button {
  cursor: pointer;
  font-family: var(--button-font);
  font-size: 20px;
  font-weight: 600;
  color: white;
  text-decoration: initial;
  padding: 10px 20px;
  display: inline-block;
  margin-inline: -20px;
  background: transparent;
  border: none;
  margin-top: 20px;
  text-transform: capitalize;
  border: initial !important;
}

.hide-tag-button.hidden {
  margin-inline: 0px;
  background: white;
  color: black;
  border-radius: 100px;
}