#footer {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3vh 0;
    background: linear-gradient(to bottom,black 0%, 
    #c2d7c6 50%,
    #d0e2d1 75%,
    #d7ead6 100%); 
    background-size: contain;
    background-repeat: no-repeat;
    height: 450px;
    overflow: hidden;
    /* z-index: -2; */
    
  }
  


  #footer a {
    color: black;
  }
  
  #footer a:hover {
    color: var(--bleu) !important;
    border-color: var(--bleu);
    text-shadow: 1px 1px 10px #ddd;
  }
  
  #footer_left {    
    width: 33%;
    text-align: center;
    z-index: 2;
  }
  
  #footer_logo {
    width: 110px;
    margin: auto;
  }
  
  #footer_contacts p {
    font-size: 16px;
    line-height: 16px;
  }
  
  #footer_middle {
    width: 33%;
    font-size: 16px;
    text-align: center;
    z-index: 2;
  }
  
  #footer_middle #social i {
    font-size: 3rem;
    margin: 15px 15px;
  }
  
  #footer_right {
    width: 33%;
    text-align: center;
    z-index: 2;
  }

  #footer_right li{
    text-decoration: underline;
  }


  .footer-imgbg{
    position: absolute;
    bottom: -30px;
    width: 600px;
    height: 400px;
    z-index: 1;
  }

  .imgbg-1{
    background: url(/img/footer/footerImage-1.webp);
    left: -20px;
    background-size: auto 100% ;
    background-repeat: no-repeat;
    background-position: left;

  }

  .imgbg-2{
    background: url(/img/footer/footerImage-2.webp);
    background-size: auto 100% ;
    background-repeat: no-repeat;
    background-position: right;
    right: -20px;
  }

@media (max-width: 480px) {
  
  #footer{
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto;
    grid-gap: 10px;
    height: unset;
    grid-template-areas: 
    "footer_left footer_right"
    "footer_middle footer_middle";
    padding: 80px 0 200px 0;
  }
  
  
  #footer_left {
    grid-area: footer_left;
    width: auto;
  }
  
  #footer_logo {
    width: 30%;
  }
  
  #footer_middle {
    grid-area: footer_middle;
    width: 100%;
    text-align: center; 
  } 
  
  #footer_right {
    grid-area: footer_right;
    width: auto;
  }
  
  #footer_right {
    font-size: 16px;
  }

}