@mixin fluid-type($min-vw, $max-vw, $min-value, $max-value) {
$factor: 1 / ($max-vw - $min-vw) * ($max-value - $min-value);
$calc-value: unquote("#{ $min-value - ($min-vw * $factor) } + #{ 100vw * $factor }");
font-size: clamp(#{ if($min-value > $max-value, $max-value, $min-value) }, #{ $calc-value }, #{ if($min-value > $max-value, $min-value, $max-value) });
}
.class {
align-items: flex-start;
}
.grid {
grid-template-columns: 1fr 1fr;
@media (max-width: 767px) {
grid-template-columns: 1fr;
}
}