﻿.best_grid {
    transition: ease all 0.5s;
}


.best_library {
    margin-top: 83px;
    padding: 20px;
    background-color: rgb(255, 255, 255);
}

.best_library_container {
    text-align: center;
}

    .best_library_container h1 {
        color: rgb(68, 79, 96);
        font-size: 35px;
        font-weight: 800;
    }

    .best_library_container p {
        color: rgb(153, 153, 153);
        font-size: 20px;
        font-weight: 300;
        margin-top: -15px;
    }

.best_grid {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin: 50px 200px;
}

.best_grid_item {
    text-align: center;
    padding: 20px;
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    transition: all ease .5s;
}

    .best_grid_item:hover {
        transform: scale(1.1);
    }

.best_grid_item_header {
    color: rgb(68, 79, 96);
    font-size: 15px;
    font-weight: 500;
}

.best_grid_item_description {
    color: rgb(142, 155, 175);
    font-size: 13px;
}

.best_icon_container img {
    width: 30px;
    margin: 10px;
}

.best_icon_box {
    padding: 8px;
    border-radius: 50px;
    border: 2px solid rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 0px 15px 0px rgba(140, 140, 249, 0.65);
    width: 70px;
    margin: auto;
    margin-bottom: 10px;
    transition: all ease .5s;
}

.best_grid_item:hover .best_icon_box {
    border: 2px solid rgb(255, 255, 255);
}
/*---------------------------------------------*/
.best_grid_download_button {
    padding: 10px 50px;
    border: 2px solid rgb(114, 24, 204);
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: rgb(114, 24, 204);
    white-space: nowrap;
}

    .best_grid_download_button:hover {
        color: rgb(114, 24, 204);
        background-color: transparent;
        text-decoration: none;
    }

.best_grid_button_container {
    margin-top: -50px;
}

@media (max-width:1150px) {
    .best_grid {
        margin: 50px 100px;
    }
}

@media (max-width:900px) {
    .best_grid {
        grid-gap: 10px;
        margin: 50px 5px;
    }
}

@media (max-width:680px) {
    .best_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:500px) {
    .best_grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(max-width:350px) {
    .best_grid_download_button {
        padding: 10px 15px;
        white-space: nowrap;
    }
}

@media (max-width:250px) {
    .best_grid {
        grid-gap: 5px;
        margin: 50px 2px;
    }
}
