first
This commit is contained in:
544
resources/css/sass/section/_banner.scss
Normal file
544
resources/css/sass/section/_banner.scss
Normal file
@@ -0,0 +1,544 @@
|
||||
/*==========================================================================
|
||||
* Banner One CSS
|
||||
==========================================================================*/
|
||||
.banner__one {
|
||||
background-position: 0px -85px;
|
||||
background-repeat: no-repeat;
|
||||
padding-top: 110px;
|
||||
overflow: hidden;
|
||||
.container {
|
||||
max-width: 1460px;
|
||||
}
|
||||
&-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
h1 {
|
||||
font-size: 130px;
|
||||
line-height: 130px;
|
||||
}
|
||||
&-user {
|
||||
margin-top: 55px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 30px;
|
||||
h5 {
|
||||
font-weight: 400;
|
||||
max-width: 300px;
|
||||
}
|
||||
}
|
||||
&-award {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 20%;
|
||||
}
|
||||
}
|
||||
&-image {
|
||||
margin-top: -200px;
|
||||
position: relative;
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
/*==========================================================================
|
||||
* Banner Two CSS
|
||||
==========================================================================*/
|
||||
@keyframes activeBar {
|
||||
0% {width: 0;}
|
||||
100% {width:100%;}
|
||||
}
|
||||
.banner__two {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
&-area {
|
||||
padding-bottom: 120px;
|
||||
padding-top: 70px;
|
||||
&-image {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: cover;
|
||||
&::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: var(--color-1);
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
}
|
||||
&-content {
|
||||
padding: 170px 0;
|
||||
.subtitle {
|
||||
color: var(--text-white);
|
||||
}
|
||||
h2 {
|
||||
color: var(--text-white);
|
||||
font-size: 80px;
|
||||
line-height: 90px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
h1 {
|
||||
font-size: 150px;
|
||||
line-height: 160px;
|
||||
color: var(--text-white);
|
||||
letter-spacing: 1.6px;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
}
|
||||
&-slide {
|
||||
margin-top: -119px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
&-area {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
&-thumb {
|
||||
width: 100%;
|
||||
&-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 25px;
|
||||
padding: 29px 50px;
|
||||
border-right: 1px solid var(--border-color-1);
|
||||
border-bottom: 1px solid var(--border-color-1);
|
||||
background: var(--bg-white);
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
width: 33.33% !important;
|
||||
transition: 0.4s;
|
||||
&::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 0;
|
||||
height: 4px;
|
||||
background: #D8A743;
|
||||
}
|
||||
img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
min-width: 60px;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
}
|
||||
h6 {
|
||||
font-size: 20px;
|
||||
line-height: 30px;
|
||||
max-width: 150px;
|
||||
transition: 0.4s;
|
||||
}
|
||||
&:last-child {
|
||||
border-right: none;
|
||||
}
|
||||
&.swiper-slide-thumb-active {
|
||||
background: var(--primary-color-1);
|
||||
&::after {
|
||||
animation-name: activeBar;
|
||||
animation-duration: 4.7s;
|
||||
}
|
||||
h6 {
|
||||
color: var(--color-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&-arrow {
|
||||
display: flex;
|
||||
margin-left: -1px;
|
||||
width: 140px;
|
||||
.banner_next, .banner_prev {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin-top: 0;
|
||||
}
|
||||
.banner_prev {
|
||||
border-right: 1px solid var(--border-color-1);
|
||||
}
|
||||
&-next,
|
||||
&-prev {
|
||||
display: inline-block;
|
||||
i {
|
||||
font-size: 22px;
|
||||
width: 70px;
|
||||
height: 118.1px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--color-2);
|
||||
color: var(--text-heading-color);
|
||||
transition: 0.4s;
|
||||
&:hover {
|
||||
background: var(--color-1);
|
||||
color: var(--text-white);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/*==========================================================================
|
||||
* Banner Three CSS
|
||||
==========================================================================*/
|
||||
.banner__three {
|
||||
padding-top: 110px;
|
||||
overflow: hidden;
|
||||
background: var(--color-1);
|
||||
&-content {
|
||||
h1 {
|
||||
color: var(--text-white);
|
||||
font-size: 110px;
|
||||
line-height: 110px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 40px;
|
||||
img {
|
||||
height: 85px;
|
||||
width: 300px;
|
||||
object-fit: cover;
|
||||
object-position: center center;
|
||||
border-radius: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.slider-arrow i {
|
||||
color: var(--text-white);
|
||||
background: #313131;
|
||||
border-color: #313131;
|
||||
&:hover {
|
||||
color: var(--color-1);
|
||||
background: var(--primary-color-1);
|
||||
border-color: var(--primary-color-1);
|
||||
}
|
||||
}
|
||||
.container {
|
||||
max-width: 1620px;
|
||||
}
|
||||
&-slider {
|
||||
margin-top: 65px;
|
||||
margin-right: -250px;
|
||||
}
|
||||
.scroll__slider {
|
||||
margin-right: -250px;
|
||||
padding: 80px 0;
|
||||
ul li img {
|
||||
max-width: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*==========================================================================
|
||||
* Banner Four CSS
|
||||
==========================================================================*/
|
||||
.banner__four {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
overflow: hidden;
|
||||
padding: 250px 0 0 0;
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 90px;
|
||||
background: var(--bg-white);
|
||||
z-index: -1;
|
||||
}
|
||||
.bg-video {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
&-content {
|
||||
position: relative;
|
||||
img.h_rotate {
|
||||
position: absolute;
|
||||
right: 9%;
|
||||
bottom: 0;
|
||||
}
|
||||
.subtitle {
|
||||
color: var(--text-white);
|
||||
}
|
||||
h1 {
|
||||
font-size: 150px;
|
||||
line-height: 160px;
|
||||
font-weight: 600;
|
||||
color: var(--text-white);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
h2 {
|
||||
font-size: 100px;
|
||||
font-weight: 500;
|
||||
line-height: 100px;
|
||||
-webkit-text-stroke-width: 1px;
|
||||
stroke-width: 1px;
|
||||
-webkit-text-stroke-color: #FFFFFF;
|
||||
stroke: #FFFFFF;
|
||||
color: transparent;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
}
|
||||
.container {
|
||||
max-width: 1420px;
|
||||
}
|
||||
&-brand {
|
||||
background: var(--color-2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 150px;
|
||||
.title {
|
||||
padding: 0 30px 0 60px;
|
||||
min-width: 290px;
|
||||
}
|
||||
.scroll__slider {
|
||||
margin-right: -260px;
|
||||
padding: 85px 0;
|
||||
background: var(--color-2);
|
||||
border-left: 1px solid var(--border-color-2);
|
||||
.text-slide {
|
||||
margin-left: 60px;
|
||||
overflow: hidden;
|
||||
}
|
||||
ul li img {
|
||||
filter: invert(1);
|
||||
max-width: inherit;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 1350px) {
|
||||
.banner__one-content h1 {
|
||||
font-size: 110px;
|
||||
line-height: 120px;
|
||||
}
|
||||
.banner__three-content h1 {
|
||||
font-size: 95px;
|
||||
line-height: 105px;
|
||||
}
|
||||
.banner__four-content h1 {
|
||||
font-size: 130px;
|
||||
line-height: 140px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 1199px) {
|
||||
.banner__one {
|
||||
background-position: top;
|
||||
&-image {
|
||||
margin-top: -100px;
|
||||
}
|
||||
}
|
||||
.banner__three-content h1 {
|
||||
font-size: 80px;
|
||||
line-height: 90px;
|
||||
}
|
||||
.banner__four-content h1 {
|
||||
font-size: 110px;
|
||||
line-height: 120px;
|
||||
}
|
||||
.banner__four-content h2 {
|
||||
font-size: 90px;
|
||||
line-height: 90px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.banner__one-content h1 {
|
||||
font-size: 84px;
|
||||
line-height: 94px;
|
||||
}
|
||||
.banner__one {
|
||||
&-content-award {
|
||||
display: none;
|
||||
}
|
||||
&-image {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
.banner__three-content h1 {
|
||||
font-size: 60px;
|
||||
line-height: 70px;
|
||||
}
|
||||
.banner__three-content h1 {
|
||||
font-size: 60px;
|
||||
line-height: 70px;
|
||||
img {
|
||||
height: 70px;
|
||||
width: 100px;
|
||||
border-radius: 50px;
|
||||
}
|
||||
}
|
||||
.banner__four-content h1 {
|
||||
font-size: 60px;
|
||||
line-height: 70px;
|
||||
}
|
||||
.banner__four-content h2 {
|
||||
font-size: 50px;
|
||||
line-height: 50px;
|
||||
}
|
||||
.banner__four-content img.h_rotate {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (max-width: 575px) {
|
||||
.banner__one-content h1 {
|
||||
font-size: 54px;
|
||||
line-height: 64px;
|
||||
}
|
||||
.banner__three-content h1 {
|
||||
font-size: 50px;
|
||||
line-height: 60px;
|
||||
}
|
||||
.banner__four-brand {
|
||||
display: grid;
|
||||
.title {
|
||||
padding: 50px 0 0 30px;
|
||||
}
|
||||
.scroll__slider {
|
||||
padding: 50px 30px;
|
||||
border-left: 0;
|
||||
margin: 0;
|
||||
.text-slide {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 359px) {
|
||||
.banner__one-content h1 {
|
||||
font-size: 46px;
|
||||
line-height: 56px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.banner__two {
|
||||
&-slide-area-thumb-item {
|
||||
gap: 20px;
|
||||
padding: 29px 25px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 1010px) {
|
||||
.banner__two {
|
||||
&-slide-area {
|
||||
&-thumb-item {
|
||||
width: 100% !important;
|
||||
&:last-child {
|
||||
border-right: 1px solid var(--border-color-1);
|
||||
}
|
||||
}
|
||||
.thumb__area {
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
}
|
||||
&-arrow {
|
||||
display: block;
|
||||
width: 70px;
|
||||
.banner_prev {
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--border-color-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
&-content {
|
||||
h1 {
|
||||
font-size: 130px;
|
||||
line-height: 140px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 60px;
|
||||
line-height: 70px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.banner__two-content {
|
||||
h1 {
|
||||
font-size: 82px;
|
||||
line-height: 92px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 44px;
|
||||
line-height: 54px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 660px) {
|
||||
.banner__two-content {
|
||||
padding: 145px 0 195px 0;
|
||||
}
|
||||
.banner__two-slide-area {
|
||||
display: block;
|
||||
position: relative;
|
||||
.thumb__area {
|
||||
grid-template-columns: 100%;
|
||||
}
|
||||
&-arrow {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
top: -70px;
|
||||
z-index: 1;
|
||||
.banner_prev {
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.banner__two-slide-area-arrow-next i, .banner__two-slide-area-arrow-prev i {
|
||||
font-size: 22px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.banner__two-slide-area-thumb-item {
|
||||
border-left: 1px solid var(--border-color-1);
|
||||
h6 {
|
||||
font-size: 18px;
|
||||
line-height: 28px;
|
||||
max-width: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: 465px) {
|
||||
.banner__two-content {
|
||||
h2 {
|
||||
font-size: 32px;
|
||||
line-height: 42px;
|
||||
}
|
||||
h1 {
|
||||
font-size: 50px;
|
||||
line-height: 60px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user