@import "~styles/mixins";

.instagram {
  display: flex;
  align-items: flex-start;
  .content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    .section-wrapper{
      padding: 20px;
      background-color: white;
      margin: 10px;
      @include card;
      max-width: 450px;
      .section-title{
        margin: 0;
        font-weight: bold;
        letter-spacing: 1.4px;
        padding-bottom: 5px;
        font-size: 23px;
        margin-bottom: 10px;
        border-bottom: 1px solid $color_border;
      }

      .section-text{
        margin-top: 10px;
      }

      .section-code{
        background-color: $color_dark;
        color: white;
        padding: 10px;
        font-size: 10px;
        border-radius: 4px;
        margin-top: 10px;
      }

      .section-small-button{
        width: auto;
        margin-top: 5px;
      }
    }
  }

  .posts{
    padding: 20px;
    background-color: white;
    margin: 10px;
    @include card;
    flex:1;

    .title{
      margin: 0;
      font-weight: bold;
      letter-spacing: 1.4px;
      padding-bottom: 5px;
      font-size: 23px;
      margin-bottom: 10px;
      border-bottom: 1px solid $color_border;
      display: flex;
      align-items: flex-end;

      .info{
        margin-left: auto;
        align-items: flex-end;
        display: flex;

        .text{
          font-size: 12px;
          opacity: 0.5;
        }
        
        .button{
          padding: 0 10px;
          margin-left: 10px;
          svg{
            font-size: 24px;
          }
        }
      }
    }
  }
}
