lightlimx-website/components/FocusAreas/index.less

265 lines
4.6 KiB
Plaintext
Raw Permalink Normal View History

2024-07-10 14:57:22 +08:00
#home-circles,.spin-circle-container{
width: 100%;
height: 100%;
margin: 0 auto;
}
#home-hero {
overflow-x: hidden;
overflow-y: hidden;
min-height: 100%;
width: 100%;
height: 100%;
position: relative;
padding-top: 0;
// background-color: #010101;
color: #fff;
// background-image: url("../images/home-hero-mobile.jpg");
background-size: cover;
background-position: center bottom;
display: flex;
flex-direction: column;
// min-height: 1000px;
}
#home-hero .primary {
font-size: 1.125rem;
line-height: 1.8125rem;
font-weight: 700;
letter-spacing: 0.06em;
}
#home-hero .hero-circle-text {
text-align: center;
z-index: 1;
// padding: 4rem 2rem;
}
#home-hero .hero-circle-text p {
margin-left: auto;
margin-right: auto;
margin-bottom: 0;
font-size: 0.2rem;
font-family: Manrope;
font-weight: bold;
color: #FFFFFF;
opacity: 1;
line-height: 0.4rem;
}
@media (max-width: 991px) {
#home-content {
// padding-top: 8rem;
}
.hero-circle-text-container {
// padding-top: 18rem;
}
#home-hero .hero-circle-text{
bottom: 0.5rem !important;
}
.home-hero-mobile {
padding: 0 1rem;
}
.home-hero-mobile img {
width: 100%;
height: auto;
}
.heading {
max-width: 490px;
}
.primary,
.secondary {
max-width: 500px;
}
}
@media (max-width: 1024px) {
#home-hero .container {
max-width: 80%;
}
}
@media (min-width: 992px) {
#home-hero {
//overflow: hidden;
// background-image: url("../images/home-hero.jpg");
background-size: cover;
background-position: center bottom;
}
#home-hero .heading {
max-width: 560px;
}
#home-hero .primary {
max-width: 540px;
}
#home-hero .secondary {
max-width: 500px;
}
#home-hero .hero-circle-text {
background: none;
position: absolute;
// max-width: 520px;
left: 0;
right: 0;
bottom: 0.7rem ;
margin: 0 auto;
text-align: center;
}
#home-hero .hero-circle-text p {
max-width: none;
}
}
/* Spin Circle Containers */
.spin-circle-container {
position: relative;
display: flex;
flex-grow: 1;
text-align: center;
width: 100%;
}
.spin-outer-container,
.spin-inner-container {
position: absolute;
left: 0;
right: 0;
margin: 0 auto;
}
#spinOuterCircle,
#spinInnerCircle {
margin: 10px auto;
border: 2px solid #F49F00;
position: relative;
border-radius: 50%;
}
.inner-item,
.outer-item {
text-align: center;
border-radius: 50%;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
}
.inner-item img,
.outer-item img {
width: 100%;
height: auto;
border-radius: 100%;
}
#spinOuterCircle {
width: 600px;
height: 600px;
}
#spinInnerCircle {
width: 600px;
height: 600px;
}
.outer-item,
.inner-item {
width: 42px;
height: 42px;
line-height: 42px;
}
@media screen and (max-width: 768px){
#home-hero .hero-circle-text{
bottom: 0.65rem !important
}
#home-hero{
min-height: 530px;
}
}
@media (min-width: 768px) {
.outer-item {
width: 68px;
height: 68px;
line-height: 68px;
}
.inner-item {
width: 48px;
height: 48px;
line-height: 48px;
}
}
@media (min-width: 992px) {
.outer-item {
width: 60px;
height: 60px;
line-height: 60px;
}
.inner-item {
width: 51px;
height: 51px;
line-height: 51px;
}
}
@media (min-width: 1024px) {
.outer-item {
width: 80px;
height: 80px;
line-height: 80px;
}
.inner-item {
width: 68px;
height: 68px;
line-height: 68px;
}
#home-hero .hero-circle-text{
// bottom: 5rem;
}
}
@media (min-width: 1399px) {
.outer-item {
width: 109px;
height: 109px;
line-height: 109px;
}
.inner-item {
width: 93px;
height: 93px;
line-height: 93px;
}
}
#home-hero .hero-circle-text {
background: none;
position: absolute;
// max-width: 520px;
left: 0;
right: 0;
margin: 0 auto;
z-index: 1;
text-align: center;
// bottom: 2.8rem;
}
#home-hero .hero-circle-text p {
max-width: none;
}
@media (min-width: 1500px) {
#home-hero {
// min-height: 790px;
}
#home-hero .container {
width: 90%;
max-width: 1500px;
}
#home-hero .hero-circle-text{
bottom: 1rem;
}
}