@use "variables" as *; @mixin main-link-hover { color: $text-special-light; transform: translateY(-0.3rem); } @mixin flex-sp-around-center { display: flex; align-items: center; justify-content: space-around; } @mixin flex-column-center { display: flex; flex-direction: column; align-items: center; justify-content: center; } @mixin standard-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-content: center; } @mixin wide-container { margin: 10rem auto; width: 80%; h2 { margin-bottom: 5rem; } } @mixin medium-container { margin: 8rem auto; width: 80%; } @mixin mobile-container { margin: 3rem auto; } // media queries @mixin responsive($breakpoint) { @if $breakpoint == phone { @media screen and (max-width: 600px) { @content; } } @if $breakpoint == tablet { @media screen and (max-width: 980px) { @content; } } @if $breakpoint == laptop { @media screen and (max-width: 1400px) { @content; } } }