/* FLAGS */
#overlaydiv {
  background-color: transparent;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:block;
    z-index: 0;
}

.langcontainer {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: absolute;
    background-color: white;
    padding: 5px;
    border-radius: 10px;
    margin-top: 4px;
    z-index: 2;
  }
  
  .lanselection {
    border-radius: 5px;
    width: 18px;
    height: 18px;
    border: none;
  }

  .lanselection:focus {
    border: none;
    outline: none;
  }
  
  .lanselection:hover {
    cursor: pointer;
  }
  
  #es {
    background-image: url("../img/icons/es.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  #en {
    background-image: url("../img/icons/en.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  #it {
    background-image: url("../img/icons/it.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  #fr {
    background-image: url("../img/icons/fr.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  #de {
    background-image: url("../img/icons/ge.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  #ca {
    background-image: url("../img/icons/cat.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  
  .notactive {
    order: 2;
    filter: saturate(60%);
  }
  
  .notactive:hover {
    filter: saturate(100%);
  }
  
  .active {
    order: 1;
  }
  
  @media only screen and (max-width: 991px) {
    .langcontainer {
        flex-direction: row;
        position: static;
        margin: 0;
        padding-left: 0;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    #overlaydiv {
      width: 100%;
      z-index: 0;
    }
  }