
.hex {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    width: 208px;
    height: 184px; /* width * 0.866 */
    background: rgb(235, 115, 2);
    box-sizing: border-box;
    -webkit-clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
    clip-path: polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
    overflow: hidden;
    transform: scale(1);
    transition:transform 0.5s;
}

.hex.selecionado{
    background-image: linear-gradient(rgb(245, 22, 141), red, rgb(185, 58, 235));
    transform: scale(1.09);
    filter: grayscale(0.4);
}


.imagens img {
    padding-top: 4px;
    width: 200px;
    height: 182px;
    transform: scale(0.98);
}


.imagens {
    filter: grayscale(0);
    cursor: pointer;
}

  
.parte1{
    padding-top: 23vh;
    display: flex;
    justify-content:center;
  }

.parte2{
    margin-top: -90px;

    display: flex;
    justify-content: center;
  }



.distancia{
    margin-left: 130px;
  }
.distancia2{
    margin-left: -28px;
    margin-top: 104px;
}

@media screen and (max-width: 685px){

    .conteiner{
        flex-direction: row;

    }
    .parte1{
        padding-top: 20vh;
    }
    .parte2{
        padding-top: 100px;
    }

    .parte1, .parte2{
        flex-direction: row;
    }
    .hex {
        width: 100px;
        height: 83px;
    }

    .imagens img {
        padding-top: px;
        width: 90px;
        height: 80px;
        transform: scale(0.98);
    }
    

    .distancia{
        margin-left: 20px;
      }
    .distancia2{
        margin-left: -17px;
        margin-top: 48px;
    }
    
}


@media screen and (max-width: 900px) and (min-width: 700px){

    .conteiner{
        flex-direction: row;

    }
    .parte1{
        padding-top: 25vh;
    }
    .parte2{
        padding-top: 40px;
    }

    .parte1, .parte2{
        flex-direction: row;
    }
    .hex {
        width: 180px;
        height: 150px;
    }

    .imagens img {
        padding-top: px;
        width: 165px;
        height: 140px;
        transform: scale(0.98);
    }
    

    .distancia{
        margin-left: 90px;
      }
    .distancia2{
        margin-left: -26px;
        margin-top: 91px;
    }
    
}
