website/sass/pages/support.scss
borntojesus 3d8bee56e0 add
2023-11-23 04:32:18 +02:00

69 lines
No EOL
1.3 KiB
SCSS

@import "../variables/media";
.section-support {
padding: var(--container-mob-section) 0;
&__container {
display: grid;
grid-template-columns: 2fr minmax(200px, 1fr);
gap: 22rem;
@media (max-width: $media-md) {
display: flex;
flex-direction: column;
}
}
&__title {
@media (max-width: $media-sm) {
padding: 20rem 0 20rem 75rem;
}
}
&__item {
background: var(--common-green);
color: var(--common-white);
padding: 30rem;
border-radius: 10rem;
display: flex;
justify-content: space-between;
align-items: center;
gap: 36rem;
&:nth-child(2) {
grid-row: 3/1;
grid-column: 2/2;
flex-direction: column-reverse;
justify-content: center;
@media (max-width: $media-md) {
flex-direction: row;
justify-content: space-between;
}
}
@media (max-width: $media-sm) {
position: relative;
padding: 20rem;
}
}
&__content {
max-width: 388rem;
}
&__line {
width: 256rem;
height: 2rem;
background-color: var(--common-line-color);
margin: 20rem 0;
}
&__img {
max-width: 184rem;
@media (max-width: $media-sm) {
max-width: 63rem;
position: absolute;
top: 24rem;
left: 17rem;
}
}
}