ldc-legaulois/resources/sass/club/components/info-section.scss
2026-05-13 16:23:48 +02:00

255 lines
5.4 KiB
SCSS

.gc-info-section {
position: relative;
padding: 55px 0 65px;
}
.gc-info-title {
color: #fff;
font-family: BourtonBase,sans-serif;
font-size: 56px;
letter-spacing: .01em;
line-height: 42px;
text-transform: uppercase;
}
.gc-info-title span,
.gc-info-description span {
color: $color-hex-gc-dark-yellow;
}
.gc-info-underline {
width: var(--underline-width);
height: 57px;
margin-top: 20px;
margin-bottom: 40px;
background: url('/resources/assets/images/golden-crush/image.png') center / contain no-repeat;
}
.gc-info-description {
margin: 70px auto 105px;
color: #fff;
font-family: BourtonBase, sans-serif;
font-size: 24px;
letter-spacing: .01em;
line-height: 31px;
text-transform: uppercase;
}
.gc-info-button-wrap {
padding-bottom: 80px;
}
.gc-info-btn-shadow, .badge-wrap {
display: inline-block;
filter: drop-shadow(0 6px 12px rgb(0 0 0 / 45%));
}
.gc-info-btn {
display: inline-flex;
min-width: 520px;
align-items: center;
justify-content: center;
padding: 18px 36px;
clip-path: polygon(38.47% 9.34%, 73% 1%, 100% 10%, 100% 100%, 53.65% 92.32%, 0% 100%, 0% 0%);
cursor: default;
font-family: BourtonBase, sans-serif;
font-size: 34px;
letter-spacing: .01em;
line-height: 44px;
text-align: center;
text-transform: uppercase;
transform: rotate(0.38deg);
}
.gc-info-btn--orange {
background: $color-hex-gc-dark-orange;
color: #fff;
}
.gc-info-btn--orange:hover {
background: $color-hex-gc-dark-yellow;
color: $color-hex-dark-blue;
}
.gc-info-deco {
position: absolute;
z-index: 1;
pointer-events: auto;
transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.gc-info-deco--left {
top: 75%;
left: -19%;
width: 230px;
height: 150px;
}
.gc-info-deco--left:hover {
transform: rotate(7deg);
}
.gc-info-deco--right {
top: 21.21%;
right:-22%;
width: 280px;
height: 190px;
}
.gc-info-deco--right:hover {
transform: rotate(7deg);
}
.gc-info-date-badge {
display: inline-flex;
height: 60px;
align-items: center;
justify-content: center;
padding: 6px 16px;
margin: 0 6px;
background: #fff;
clip-path: polygon(0 0, -0.78% -0.25%, 45.41% 6px, 100% 8%, 95.08% 52.28%, 100% 100%, 49.87% 90.69%, 1px 100%, 5.93% 62.2%);
color: $color-hex-dark-blue;
font-family: BourtonBase, sans-serif;
font-size: 22px;
font-weight: normal;
transform: rotate(-6deg) translateY(-4px);
vertical-align: super;
}
.gc-info-winner-badge {
display: inline-flex;
width: 312px;
min-width: 180px;
height: 80px;
align-items: center;
justify-content: center;
padding: 14px 32px;
margin: 20px auto 28px;
margin-right: 20px;
background: $color-hex-gc-dark-yellow;
clip-path: polygon(31% 7%,73% 1%,100% 10%,100% 100%,44% 97%,0% 100%,0% 0%);
color: $color-hex-dark-blue;
filter: drop-shadow(0 4px 4px rgb(0 0 0 / 25%));
font-family: BourtonBase, sans-serif;
font-size: 34px;
transform: rotate(2deg);
}
.gc-info-subtitle {
color: #fff;
font-family: BourtonBase, sans-serif;
font-size: 44px;
letter-spacing: .01em;
text-transform: uppercase;
}
.gc-info-underlined-title {
margin-top: -40px;
margin-bottom: 55px;
color: #fff;
font-family: BourtonBase, sans-serif;
font-size: 44px;
letter-spacing: .08em;
text-decoration: underline;
text-transform: uppercase;
text-underline-offset: 6px;
}
@media (width >= 768px) {
.gc-info-title br {
display: none;
}
}
@media (width >= 768px) and (width <= 1199.98px) {
.gc-info-deco {
display: none;
}
.gc-info-underline {
width: 680px !important;
}
}
@media (width <= 767.98px) {
.gc-info-section {
padding: 38px 0 42px;
}
.gc-info-title {
max-width: 330px;
margin: 0 auto;
font-size: 44px;
line-height: 1.35;
text-align: center;
}
.gc-info-title br, .thanks-for {
display: block !important;
}
.gc-info-description .desc-no-br br {
display: none;
}
.gc-info-underline {
width: 305px !important;
height: 58px;
margin-bottom: 1.5rem;
background: url("/resources/assets/images/club/game-golden-crush/underline-mobile.png") center no-repeat;
background-size: contain;
}
.gc-info-description {
margin: 60px 5px 68px;
font-size: 24px;
letter-spacing: .01em;
line-height: 31px;
text-align: center;
}
.gc-info-button-wrap {
padding-bottom: 0;
}
.gc-info-btn {
min-width: 0;
height: 266px;
padding: 63px 14px;
clip-path: polygon(24.14% 4.87%, 73% 1%, 100.56% 5.9%, 100% 100%, 53.65% 92.69%, 0% 100%, 0% 0%);
font-size: 34px;
letter-spacing: .01em;
line-height: 44px;
}
.gc-info-deco {
display: none;
}
.gc-info-date-badge {
height: 60px;
padding: 4px 15px;
font-size: 24px;
transform: rotate(-6deg) translateY(-2px);
}
.gc-info-winner-badge {
width: min(210px, 80vw);
height: 58px;
font-size: 22px;
}
.gc-info-subtitle {
font-size: 24px;
line-height: 1.3;
}
.gc-info-underlined-title {
margin-top: 0;
margin-bottom: 60px;
font-size: 34px;
line-height: 1.3;
}
}