


article {
    display:flex;
    flex-wrap:wrap;
    font-family:'Arial Narrow';
    font-size: 1.5rem;
    padding:1vmin;
  }
  
  panel,
  [panel] {
  
    display: flex;
    background-color: #fff;
   background: var(--picture);
    border: solid 6px rgba(224, 224, 224, 1);
  box-shadow: 3.981781005859375px 2.0182342529296875px 41px -6px rgba(62, 87, 126, 0.32);
    display: inline-block;
    flex: 1 1;
    height: 400px;
    margin: 1vmin;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
  
    display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  box-sizing: border-box;
  /* padding: 50px 101px; */
  flex-basis: 400px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    max-width: 47%;
  }
  
  
  
  [panel]   dialog
  {
    
    border-radius: 12px;
    display: block;
    margin: .5em;
    padding: 0.6rem;
    position: relative;
    width: fit-content;
    /* max-width: 50%; */
  }
  
  [panel]   [pink]
  {
    background-color: rgba(255, 166, 196, 0.85);
    border: none;
    box-shadow: 2px 2px 0px darksalmon;
  }
  
  [panel]   [blue]
  {
    background-color: rgba(166, 226, 255, 0.85);
    border: none;
    box-shadow: 2px 2px 0px skyblue;
  }
  
  [panel]   [top]{top: 10%;}
  [panel]   [middle]{top: 15%;}
  [panel]   [bottom]{bottom: -37%;}
  
  [panel]   [start]{left: 10%;}
  [panel]   [center]{left: 37%;}
  [panel]   [end]{left: 40%;}
  
  [panel]   [top-left]:before
  {
    top: -23px;
    content: "";
    height: 25px;
    left: 5px;
    position: absolute;
    width: 27px;
    background: url("dialog-left-top.svg");
  }
  
  [panel]   [top-middle]{}
  
  [panel]   [top-right]
  {
  
  }
  
  [panel]   [top-right]:before
  {
    top: -23px;
    content: "";
    height: 25px;
    left: 5px;
    position: absolute;
    width: 27px;
    background: url("dialog-right-top.svg");
  }
  
  [panel]   [right-top]{}
  [panel]   [right-middle]{}
  
  [panel]   [right-bottom]:before
  {
    bottom: -23px;
    content: "";
    height: 25px;
    left: 5px;
    position: absolute;
    width: 27px;
    background: url("dialog-right-bottom.svg");
  }
  
  [panel]   [bottom-left]:before
  {
    bottom: -23px;
    content: "";
    height: 25px;
    left: 5px;
    position: absolute;
    width: 27px;
    background: url("dialog-left-bottom.svg");
  }
  
  [panel]  [bottom-middle]:before
  {
    bottom: -23px;
    content: "";
    height: 25px;
    left: 47%;
    position: absolute;
    width: 27px;
    background: url("dialog-left-middle.svg");
  }
  
  [panel]   [bottom-right]{}
  
  [panel]  [left-top]{}
  
  [panel]  [left-middle]
  {
    margin-left: 30px;
  }

  [panel]  [left-middle]:before
  {
    bottom: 50%;
    content: "";
    height: 25px;
    left: -24px;
    position: absolute;
    width: 27px;
    background: url("dialog-left-middle.svg");
  }
  
  [panel]  [left-bottom]{}
  
  
  
  [panel]   [text-top-left]::before
  {
    background-color: #fff;
    margin: 0;
    padding: 8px 20px;
    border: solid 6px rgba(224, 224, 224, 1);
    box-shadow: 3.981781005859375px 2.0182342529296875px 41px -6px rgba(62, 87, 126, 0.32);
    background: orange;
    transform: skew(-15deg);
  
  
    content: attr(text-top-left);
    display: block;
    left: -6px;
    position: absolute;
    top: -2px;
    
    border-radius: 0 0 10px 0;
    border-top: none;
    border-left: none;
  }
  
  
  [panel] [text-bottom-right]::after
  {
    background-color: #fff;
    margin: 0;
    padding: 8px 20px;
    border: solid 6px rgba(224, 224, 224, 1);
    box-shadow: 3.981781005859375px 2.0182342529296875px 41px -6px rgba(62, 87, 126, 0.32);
    background: orange;
    transform: skew(-15deg);
  
    
    content: attr(text-bottom-right);
    display: block;
  
    bottom: -2px;
    position: absolute;
    right: -6px;
    
    border-radius: 10px 0 0  0;
    border-bottom: none;
    border-right: none;
  }
  
  
  [panel] [left]
  {
    align-self: flex-start;
    margin: 5px  auto;
  }
  
  [panel] [right]
  {
    align-self: flex-end;
    margin: 5px  auto;
  }
  
  [panel]  [left][pink]:before
  {
    
    top: 10px;
    content: "";
    height: 25px;
    left: -24px;
    position: absolute;
    width: 27px;
    background: url("dialog-pink-left.svg");
  
  
  }
  
  [panel]  [left][blue]:before
  {
    top: 10px;
    content: "";
    height: 25px;
    left: -24px;
    position: absolute;
    width: 27px;
    background: url("dialog-blue-left.svg");
  
  
  }
  
  [panel]  [right][pink]:before
  {
    top: 10px;
    content: "";
    height: 25px;
    right: -24px;
    position: absolute;
    width: 27px;
    background: url("dialog-pink-right.svg");
  
  
  }
  
  [panel] [right][blue]:before
  {
    top: 10px;
    content: "";
    height: 25px;
    right: -24px;
    position: absolute;
    width: 27px;
    background: url("dialog-blue-right.svg");
  
  
  }
