/* RESET STYLES & HELPER CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
    --level-1: green;
    --level-2: #dacc0d;
    --level-3: #08ef74;
    --level-4: #f27c8d;
    --black: black;
  }
  
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  ol {
    list-style: none;
  }
  
  /* body {
    margin: 50px 0 100px;
    text-align: center;
    font-family: "Inter", sans-serif;
  } */
/* Header CSS */
.Structure-1{
  max-width: 80%;
}
.container-2{
  max-width: 80%;
  margin-left: 320px;
}

/* End Header CSS */
  /* Start of Organogram CSS */
  .container10{
    max-width: 80%;
    padding: 0 10px;
    margin: 0 auto;
    z-index: 50;
  }
  .container10 h1{
    font-size: 25px;
    text-align: center;
    color: white;
    }
  .container10 h2{
      font-size: 25px;
      text-align: center;
    }
  .container10 h3{
      font-size: 20px;
      text-align: center;
  }
  .container10 h5,h6{
    font-size: 25px;
    text-align: center;
    color: white;
    }
  .rectangle {
    position: relative;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }
  /* LEVEL-0 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-0 {
    width: 50%;
    margin: 0 auto 40px;
    background: var(--level-1);
  }
  
  .level-0::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: var(--black);
  }
  /* LEVEL-01 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-01 {
    width: 50%;
    margin: 0 auto 40px;
    background: var(--level-1);
  }
  
  .level-01::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: var(--black);
  }
  /* LEVEL-02 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-02 {
    width: 50%;
    margin: 0 auto 40px;
    background: var(--level-1);
  }
  
  .level-02::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: var(--black);
  }
  /* LEVEL-1 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-1 {
    width: 50%;
    margin: 0 auto 40px;
    background: var(--level-1);
  }
  
  .level-1::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: blue;
  }
  /* .level-1::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--black);
  } */
  
  
  /* LEVEL-2 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-2-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .level-2-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 27.2%;
    width: 48.5%;
    height: 2px;
    background: green;
  }
  
  .level-2-wrapper::after {
    display: none;
    content: "";
    position: absolute;
    left: 90%;
    bottom: -20px;
    width: calc(100% + 20px);
    height: 20px;
    background: rgb(245, 209, 5);
  }
  
  .level-2-wrapper li {
    position: relative;
  }
  
  .level-2-wrapper > li::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgb(245, 209, 5);
  }
  /* Width of rectangles */
  .level-2 {
    width: 70%;
    margin: 0 auto 40px;
    background: var(--level-2);
  }
  
  .level-2::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    /* transform: translateX(-50%); */
    width: 2px;
    height: 20px;
    background: red;
  }
  
  .level-2::after {
    display: none;
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-100%, -50%);
    width: 20px;
    height: 2px;
    background: rgb(142, 36, 241);
  }
  
  
  /* LEVEL-3 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-3-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20px;
    width: 90%;
    margin: 0 auto;
  }
  
  .level-3-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: calc(25% + 18px);
    width: calc(48% + 5px);
    height: 2px;
    background: #ff4000;
  }
  
  .level-3-wrapper > li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 2px;
    height: 20px;
    background: rgb(233, 236, 19);
  }
  
  .level-3 {
    margin-bottom: 20px;
    background: var(--level-3);
  }
  .level-3::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--black);
  }
  
  
  /* LEVEL-4 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-4-wrapper {
    position: relative;
    width: 80%;
    margin-left: auto;
    align-items: center;
  }
  
  .level-4-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 2px;
    height: calc(100% + 20px);
    background: var(--black);
  }
  
  .level-4-wrapper li + li {
    margin-top: 20px;
  }
  
  .level-4 {
    font-weight: normal;
    background: var(--level-4);
  }
  
  .level-4::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;
    width: 20px;
    height: 30px;
    background: var(--black);
  }
  
  /* LEVEL-5 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-5-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 2px;
    height: calc(100% + 20px);
    background: var(--black);
  }
  
  .level-5 {
    width: 50%;
    margin: 0 auto 40px;
    background: var(--level-1);
  }
  
  .level-5::before {
    content: "";
    position: absolute;
    top: -38px;
    left: 0.2%;
    width: 100%;
    height: 2px;
    background: green;
  }
  .level-5::after {
    content: "";
    position: absolute;
    top: -54%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 37px;
    background: rgb(248, 17, 144);
  }
   /* LEVEL-6 STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  .level-6 {
    width: 50%;
    margin: 0 auto 40px;
    background: var(--level-1);
  }
  .level-6::before {
    content: "";
    position: absolute;
    top: -58%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: rgb(243, 99, 3);
  }
  
  /* .level-6::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: var(--black);
  } */
  
  
  /* MQ STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
  @media only screen and (max-width: 769px) {
    .Structure-1{
      max-width: 80%;
    }
    .container-2{
      max-width: 80%;
      margin-left: 50px;
    }
    .container-2 h2{
      margin-left: 40px;
      text-align: center;
    }
    .container-2 .horizon{
      color: black;
      margin-left: -50px;
    }
    .rectangle {
      padding: 10px 20px;
    }
    .level-1 {
      width: 100%;
    }
    .level-2 {
      width: 80%;
      margin-left: -10px;
    }
    .level-3 {
      width: 100%;
      margin-right:50px;
      padding: 10px 15px;
    }
    .level-1 {
      margin-bottom: 20px;
    }
    .level-3-wrapper{
      margin-left: -70px;
    }
    .level-3-wrapper h3{
      font-size: 1rem;
      /* margin-left: -20px; */
    }
    .level-2 .rectangle {
      padding: 10px 40px;
    }
  /* Code for Block down arrows */
  .level-2::after {
    display: none;
    content: "";
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-100%, -50%);
    width: 40px;
    height: 2px;
    background: rgb(142, 36, 241);
  }
  .level-3-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: calc(50% + 15px);
    width: calc(79% + 10px);
    height: 2px;
    background:rgb(10, 172, 194);
  }
    .level-1::before,
    .level-2-wrapper > li::before {
      display: none;
    }
    
    .level-2-wrapper,
    .level-2-wrapper::after,
    .level-2::after {
      display: block;
    }
  
    .level-2-wrapper {
      width: 90%;
      margin-left: 10%;
    }
  
    .level-2-wrapper::before {
      left: -20px;
      width: 2px;
      height: calc(100% + 40px);
    }
  
    .level-2-wrapper > li:not(:first-child) {
      margin-top: 50px;
    }
    .level-5-wrapper h5{
      font-size: 1rem;
    }
  }
  