.Container { margin: 0 auto; max-width: rem(1540px); display: grid; gap: rem(10px); padding: rem(10px); @include iftablet { grid-template-columns: auto rem(400px); justify-items: center; gap: rem(20px); padding: rem(20px); } @include iflaptop { padding: rem(28px); } @include ifdesktop { padding: rem(40px); gap: rem(40px); } } .Block { display: flex; flex-direction: column; gap: rem(20px); h3 { font-family: $font-roboto; font-weight: 500; font-size: rem(32px); line-height: 130%; color: $color-text; margin-bottom: rem(20px); } p { font-family: $font-roboto; font-weight: 300; font-size: rem(16px); line-height: 110%; color: $color-text; @include iftablet{ font-size: rem(18px); } } ul { display: flex; flex-direction: column; list-style-type: disc; margin-left: rem(16px); margin-bottom: rem(16px); } li { font-family: $font-roboto; font-weight: 300; font-size: rem(16px); line-height: 130%; color: $color-text; list-style: unset; @include iftablet{ font-size: rem(18px); } } .ListShift{ margin-left: rem(40px); } } .Photo { .Image { width: rem(200px); height: auto; } }