.translate {
  bottom: 75px;
  display: flex;
  flex-direction: column-reverse;
  gap: .5em;
  left: 20px;
  position: fixed;
  z-index: 1000;
  
  @media (min-width: 768px) {
    align-items: flex-end;
    flex-direction: row;
  }

  .translate-icon {
    cursor: pointer;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
    height: 120px;
    width: 120px;
  }

  .translate-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.1);
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    transition: opacity .3s ease;
  
    &.active {
      opacity: 1;
      pointer-events: auto;
    }
  }
}

.translate-off-canvas {
  border-top: 1px solid #d2d2d2;
  display: flex;
  flex-direction: column;
  gap: .5em;
  padding-top: 2em;

  .translate-icon {
    width: 100px;
  }
}


.gtranslate_wrapper {
  display: flex;
  flex-direction: column;
  gap: .3em;

  .gt-current-lang {
    color: #2f70db;
  }

  .glink {
    transition: color .3s ease;
    align-items: center;
    display: flex;
    gap: .5em;

    &:hover {
      color: #2f70db;
    }

    img {
      border: 1px solid #d2d2d2;
      width: 20px;
    }
  
    span {
      margin-right: 0;
    }
  }
}
