@media only screen and (min-width: 930px) {
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    background-color: #ddc7af;
  }
  
  h1 {
    font-size: 1.9em;
    margin: 0;
    margin-bottom: 0.5em;
    line-height: 1.2em;
  }
  
  h3 {
    font-size: 1em;
    margin-bottom: 2.5em;
  }
  
  h4 {
    font-size: 0.9em;
    margin: 0;
    margin-bottom: 0.8em;
  }
  
  p {
    font-size: 0.8em;
  }
  
  
  #wrapper {
    height: 100vh;
    margin-left: 1em;
    margin-right: 1em;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.5em;
    box-sizing: border-box;
    align-items: center;
  }
  
  #left_column {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    height: 95vh;
  
  }
  
  #div_text {
    grid-column: 1 / span 1;
    grid-row: 1 / span 2;
    align-self: start;
  
  }
  
  #change_text {
    font-weight: 600;
  }
  
  #legend {
    align-self: end;
    margin-top: 2em;
  }
  
  #legend h3 {
    margin-top: 0;
    margin-bottom: 0.7em;
  }
  
  ul {
    padding: 0;
    margin-top: 0;
    
  }
  
  li {
    list-style-type: none;
    margin-bottom: 0.8em;
    font-size: 0.7em;
  }
  
  li.dot_01:before {
    content:"·";
    align-items: center;
    background-color: #e6ab38;
    border-radius: 50%;
    color: #e6ab38;
    display: inline-flex;
    height: 1.2em;
    margin-right: 1em;
    width: 1.2em;
  }
  
  li.dot_02:before {
    content:"·";
    align-items: center;
    background-color: #d87b37;
    border-radius: 50%;
    color: #d87b37;
    display: inline-flex;
    height: 1.2em;
    margin-right: 1em;
    width: 1.2em;
  }
  
  li.dot_03:before {
    content:"·";
    align-items: center;
    background-color: #c53f2f;
    border-radius: 50%;
    color: #c53f2f;
    display: inline-flex;
    height: 1.2em;
    margin-right: 1em;
    width: 1.2em;
  }
  
  
  
  #div_img {
    grid-column: 2 / span 3;
    height: 95vh;
    align-self: center;
    
  }
  
    svg {
      height: 100%;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
  
    svg text {
        pointer-events: none;
      }
  
  #blue_dotted, #pink-dotted, #red_dotted {
    visibility: hidden;
  }
  
  .cls-1 {
    opacity: 0.5;
  }
}

@media only screen and (max-width: 929px) {
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    background-color: #ddc7af;
  }
  
  h1 {
    font-size: 1.9em;
    margin: 0;
    margin-bottom: 0.5em;
    line-height: 1.2em;
  }
  
  h3 {
    font-size: 1em;
    margin-bottom: 2.5em;
  }
  
  h4 {
    font-size: 0.9em;
    margin: 0;
    margin-bottom: 0.8em;
  }
  
  p {
    font-size: 0.8em;
  }
  
  
  #wrapper {
    height: 100vh;
    margin-left: 1em;
    margin-right: 1em;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-sizing: border-box;
    align-items: center;
  }
  
  #left_column {
    grid-column: 1 / span 4 ;
    display: grid;
    grid-template-rows: repeat(1, 1fr);
  
  }
  
  #div_text {
    grid-row: 1 / span 2;
    align-self: start;
  
  }
  
  #change_text {
    font-weight: 600;
  }
  
  #legend {
    align-self: end;
    margin-top: 2em;
  }
  
  #legend h3 {
    margin-top: 0;
    margin-bottom: 0.7em;
  }
  
  ul {
    padding: 0;
    margin-top: 0;
    
  }
  
  li {
    list-style-type: none;
    margin-bottom: 0.8em;
    font-size: 0.7em;
  }
  
  li.dot_01:before {
    content:"·";
    align-items: center;
    background-color: #e6ab38;
    border-radius: 50%;
    color: #e6ab38;
    display: inline-flex;
    height: 1.2em;
    margin-right: 1em;
    width: 1.2em;
  }
  
  li.dot_02:before {
    content:"·";
    align-items: center;
    background-color: #d87b37;
    border-radius: 50%;
    color: #d87b37;
    display: inline-flex;
    height: 1.2em;
    margin-right: 1em;
    width: 1.2em;
  }
  
  li.dot_03:before {
    content:"·";
    align-items: center;
    background-color: #c53f2f;
    border-radius: 50%;
    color: #c53f2f;
    display: inline-flex;
    height: 1.2em;
    margin-right: 1em;
    width: 1.2em;
  }
  
  
  
  #div_img {
    grid-column: 1 / span 4;
    width: 100%;
    align-self: center;
   
    
  }
  
    svg {
      height: 100%;
      display: block;
      margin-left: auto;
      margin-right: auto;
      margin-top: 3em;
      margin-bottom: 3em;
    }
  
    svg text {
        pointer-events: none;
      }
  
  #blue_dotted, #pink-dotted, #red_dotted {
    visibility: hidden;
  }
  
  .cls-1 {
    opacity: 0.5;
  }
}

svg text {
  visibility: hidden;
}

