:root {
    --tool-section-bg: var(--color-5);
    --tool-card-bg: #fff;
    --tool-card-color: black;
    --card-shadow-dark: var(--color-1);
    --card-shadow-light: var(--color-2);
}

html {
    scroll-behavior: smooth;
}

.tool-section {
    background-color: var(--tool-section-bg);
    font-family: 'changa', 'cursive';
    padding: 60px;
    font-family: var(--open-sans);
}

.tool-section-title {
    font-weight: bold;
    font-size: 42px;
    text-align: center;
    margin-bottom: 36px;
}

.tool-group {
    max-width: 1600px;
    margin: 0 auto;
}

.tool-group-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 44px;
}

.tool-group-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.tool-card-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.tool-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--tool-card-bg);
    border-radius: 14px;
    padding: 28px;
    color: var(--tool-card-color);
    z-index: 2;
    transition: all .2s ease-in-out;
    position: relative;
}

.tool-card-shadow {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card-shadow-dark);
    border-radius: 14px;
    z-index: 1;
}

.tool-card:hover {
    transform: translate(20px, -20px);
}

.tool-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 10px;
}

.tool-card-title {
    font-size: 30px;
    margin: 0;
}

.tool-card-text {
    font-size: 20px;
}

@media (min-width: 960px) {
    .tool-group-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (min-width: 1400px) {
    .tool-group-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
    }
}