152 lines
2.9 KiB
CSS
152 lines
2.9 KiB
CSS
.bottomTabsSection {
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
/* height: 67.5rem; */
|
|
/* height: 100dvh; */
|
|
padding: 6.25rem 0;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
color: #fff;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.bottomTabsSectionBg {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: -1;
|
|
|
|
}
|
|
|
|
.bottomTabsSectionBgLayer {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
transition: opacity 0.5s ease;
|
|
}
|
|
|
|
/* Features Section */
|
|
.bottomTabsSectionContent {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: calc(100% - 32.5rem);
|
|
margin: 0 auto;
|
|
height: 31.25rem;
|
|
margin-top: 12.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.bottomTabsSectionContentContent {
|
|
width: 100%;
|
|
color: #FFFFFF;
|
|
|
|
.contentTitle {
|
|
font-weight: 500;
|
|
font-size: 1.875rem;
|
|
line-height: 2.5rem;
|
|
}
|
|
|
|
.contentText {
|
|
font-weight: 400;
|
|
font-size: 1.125rem;
|
|
line-height: 2.5rem;
|
|
margin-top: 1.25rem;
|
|
white-space: pre-line;
|
|
}
|
|
}
|
|
|
|
.bottomTabsSectionContentTabs {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-evenly;
|
|
gap: auto;
|
|
border-top: .0625rem solid rgba(255,255,255,0.5);
|
|
padding: 0 auto;
|
|
}
|
|
|
|
.bottomTabsSectionTabsWrap {
|
|
position: relative;
|
|
}
|
|
|
|
.bottomTabsSectionTabIndicator {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: .125rem;
|
|
background-color: #fff;
|
|
transition: transform 0.3s ease, width 0.3s ease, opacity 0.3s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.bottomTabsSectionContentTab {
|
|
font-weight: 500;
|
|
font-size: 1.25rem;
|
|
color: #FFFFFF;
|
|
line-height: 3.75rem;
|
|
height: 3.75rem;
|
|
cursor: pointer;
|
|
|
|
span {
|
|
display: inline-block;
|
|
line-height: 3.75rem;
|
|
height: 3.75rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 48rem) {
|
|
.bottomTabsSection {
|
|
height: auto;
|
|
min-height: auto;
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.bottomTabsSectionContent {
|
|
width: calc(100% - 8rem);
|
|
height: auto;
|
|
margin-top: 4rem;
|
|
gap: 3rem;
|
|
}
|
|
|
|
.bottomTabsSectionContentTabs {
|
|
flex-wrap: wrap;
|
|
gap: 0;
|
|
}
|
|
|
|
.bottomTabsSectionContentTab {
|
|
font-size: 1rem;
|
|
line-height: 3rem;
|
|
height: 3rem;
|
|
|
|
span {
|
|
line-height: 3rem;
|
|
height: 3rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 30rem) {
|
|
.bottomTabsSectionContent {
|
|
width: calc(100% - 2.5rem);
|
|
margin-top: 2rem;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.bottomTabsSectionContentContent .contentTitle {
|
|
font-size: 1.25rem;
|
|
line-height: 1.75rem;
|
|
}
|
|
|
|
.bottomTabsSectionContentContent .contentText {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.bottomTabsSectionContentTab {
|
|
font-size: 0.875rem;
|
|
}
|
|
} |