.description {
    position: relative;
    text-align: center;
}

.tales-container {
    display: flex;
    flex-wrap: wrap;
    padding: 0 68px 42px;;
    border-radius: 20px;
    justify-content: center;
}

.tile-app{
    position:relative;
    width: 15.6666%;
    min-height: 200px;
    margin: 2px;
    padding: 20px;
    text-align: center;
    float:left;
    box-sizing: border-box;
    overflow:hidden;
    border-radius: 4px;
    background-color: var(--light-brown);
    transition: width 1s, background-color 0.5s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tile-app:hover .app-description .app-title {
    box-shadow: 0 0 10px 1px var(--white);
    color: black;
}

.tile-app:hover .icon-transition{
    transform: scale(350%);
}

.tile-app:hover{
    background-color: var(--white-smoke);
}

.icon-transition {
    transform: scale(300%); 
    margin: 20px; 
    align-self: start;
    transition: 0.3s;
}

.app-title {
    font-size: 1.3rem;
    display: block;
    margin: 10px 0;
    color: black;
}

.app-description{
    font-size: 1rem;
    color: var(--dark-gray);
}

.bg-img {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 300px;
}

.header {
    background-color: var(--light-brown);
    border-bottom-right-radius: 10vw;
    display: flex;
    justify-content: center;
    width: 100%;
}

@media screen and (max-width: 1607px)
{
    .tile-app
    {
        width:19%;
    }
}

@media screen and (max-width: 1293px) {
    .tile-app
    {
        width: 24%;
    }
}

@media screen and (max-width: 980px) {
    .tile-app
    {
        width: 32.3%;
        border-radius: 11px;
        padding: 2%;
    }
}

@media screen and (max-width: 767px) {
    .tile-app
    {
        width: 49%;
        border-radius: 14px;
        padding: 2%;
    }
    .app-description {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 667px) {
    .tile-app
    {
        width: 98%;
        margin: 1%;
        padding: 5%;
        border-radius: 16px;
    }
    
    .app-description {
        font-size: 1rem;
    }
    
    .tales-container {
        padding: 1%;
    }
}