.features {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  gap: 72px;
}

.header {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header h2 {
    font-family: 'Audiowide';
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--minor-text-color);
}

.header h2 .highlight {
    color: var(--primary-color);
}

.header p {
    font-family: 'Roboto Mono';
    color: var(--secondary-text-color);
}

.containers {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 27px;
    justify-content: center;
}

.feat {
    width: 385px;
    height: 250px;
    background-color: var(--sidebar-bg);
    border-radius: 4px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(250, 194, 99, 0.17);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    background-image: url('../icons/dashboard-icon.svg');
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

.progress-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(120, 20, 30, 0.17);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background-image: url('../icons/stock-icon.svg');
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

.document-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(184, 184, 184, 0.17);
    border: 1px solid var(--secondary-text-color);
    border-radius: 5px;
    background-image: url('../icons/folder-icon.svg');
    background-size: 32px 32px;
    background-position: center;
    background-repeat: no-repeat;
}

.summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary h3{
    font-family: 'Audiowide';
    color: var(--minor-text-color);
    font-size: 1.375rem;
}

.summary p {
    font-family: 'Roboto Mono';
    color: var(--secondary-text-color);
    font-size: 0.875rem;
}


@media screen and (max-width: 1024px) {
    .features {
        gap: 60px;
        padding: 1.5rem;
    }

    .containers {
        gap: 20px;
    }

    .feat {
        width: 340px;
        height: auto;
        min-height: 230px;
        padding: 20px;
    }

    .header h2 {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 768px) {
    .features {
        gap: 50px;
        padding: 1.5rem 1rem;
    }

    .header h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .header p {
        font-size: 0.95rem;
        text-align: center;
    }

    .containers {
        flex-direction: column;
        gap: 20px;
    }

    .feat {
        width: 100%;
        max-width: 500px;
        padding: 20px;
        gap: 20px;
    }

    .summary h3 {
        font-size: 1.25rem;
    }

    .summary p {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .features {
        gap: 40px;
        padding: 1rem 0.75rem;
    }

    .header h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .header p {
        font-size: 0.875rem;
    }

    .feat {
        padding: 18px;
        gap: 18px;
    }

    .dashboard-icon,
    .progress-icon,
    .document-icon {
        width: 56px;
        height: 56px;
        background-size: 28px 28px;
    }

    .summary h3 {
        font-size: 1.125rem;
    }

    .summary p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}