You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.4 KiB
SCSS

.panel {
max-width: 1500px;
padding: 0 30px;
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
.panel__image {
max-width: 640px;
img {
width: 100%;
border-radius: 4px;
}
}
.panel__body {
margin-right: 10px;
.body__title {
font-size: $font-heading;
font-weight: $font-bold;
}
.body__content {
margin: 40px 0;
max-width: 700px;
}
}
}
.panel-sec {
flex-direction: row-reverse;
.panel__body {
margin-right: 0;
margin-left: 10px;
}
}
@media only screen and (max-width: 1100px) {
.panel, .panel-sec {
flex-direction: column-reverse;
.panel__image {
margin-bottom: 30px;
}
.panel__body {
.body__number {
display: none;
}
.body__cta {
display: flex;
justify-content: center;
}
}
}
}
@media only screen and (max-width: 500px) {
.panel {
padding: 0;
.panel__body {
.body__cta {
flex-direction: column;
align-items: center;
a:first-child {
margin-bottom: 20px;
}
}
}
}
}