guild_front/src/pages/Landing/landing.scss
Gubar Nikita ec1e2a8a7f layout pages outstaffing and main page, refactor
footer and adaptive footer, add font BebasNeue
2024-05-14 06:14:04 +03:00

614 lines
12 KiB
SCSS

.landing {
background: #eeeeee;
min-height: 100vh;
padding: 20px 0;
font-family: "GT Eesti Pro Display";
&__container {
max-width: 1100px;
margin: 0 auto;
display: flex;
flex-direction: column;
position: relative;
height: 100%;
width: 100%;
}
&__head {
display: flex;
column-gap: 45px;
align-items: center;
z-index: 1;
@media (max-width: 431px) {
padding: 0 24px;
z-index: auto;
}
.head {
&__logo {
margin-bottom: 0;
color: #4a4a4a;
font-size: 44px;
font-weight: 900;
position: relative;
letter-spacing: 4px;
&:before {
content: "";
position: absolute;
background: rgba(167, 202, 96, 1);
width: 31px;
height: 31px;
border-radius: 50px;
left: 41%;
top: -35px;
}
@media (max-width: 431px) {
display: none;
}
}
&__signIn {
padding: 12px 30px 15px;
color: rgba(30, 30, 30, 1);
font-size: 13px;
background: rgba(167, 202, 96, 1);
font-weight: 400;
border-radius: 32px;
@media (max-width: 431px) {
display: none;
}
}
&__signUp {
display: flex;
column-gap: 8px;
align-items: center;
color: rgba(131, 131, 131, 1);
font-weight: 400;
font-size: 13px;
text-decoration: underline;
@media (max-width: 431px) {
display: none;
}
}
&__tracker {
display: flex;
align-items: center;
column-gap: 5px;
border-radius: 38px;
background-color: #ffffff;
border: 0.5px solid #e3e3e9;
padding: 6px 20px 6px 6px;
margin: 0 auto;
@media (max-width: 431px) {
margin: 0;
}
span {
color: #4a4a4a;
font-size: 14px;
font-weight: 700;
line-height: 30px;
}
div {
display: flex;
align-items: center;
justify-content: center;
background-color: #a7ca60;
border-radius: 62px;
border: 3px solid #ffffff;
width: 34px;
height: 34px;
}
}
&__auth {
display: none;
@media (max-width: 431px) {
display: block;
margin: 0 0 0 auto;
}
}
}
.burger-menu {
cursor: pointer;
display: flex;
column-gap: 14px;
margin: 0 auto;
@media (max-width: 431px) {
margin: 0;
z-index: 9;
}
&__logo {
color: #838383;
font-weight: 700;
font-size: 14px;
line-height: 16.24px;
text-decoration: underline;
@media (max-width: 431px) {
display: none;
}
}
.burger {
padding: 1px;
display: flex;
flex-direction: column;
row-gap: 3px;
@media (max-width: 431px) {
padding: 0;
}
&__line {
width: 19px;
border-radius: 39px;
height: 3.8px;
background-color: #a7ca60;
transition: 0.4s;
&:last-child {
width: 10.6px;
}
}
.l1.change {
transform: rotate(-45deg) translate(-5px, 5px);
}
.l2.change {
opacity: 0;
}
.l3.change {
transform: rotate(45deg) translate(-5px, -5px);
width: 19px;
}
}
}
}
.auth-body {
padding: 40px 10px;
visibility: hidden;
transition: 0.2s ease-in-out;
opacity: 0;
z-index: 8;
position: absolute;
top: 0;
left: 0;
height: 100%;
background: #e1fccf;
width: 0;
flex-direction: column;
align-items: stretch;
&__title {
display: flex;
margin-top: 24px;
img {
width: 160px;
@media (max-width: 431px) {
width: 120px;
}
}
}
&__navigation {
margin-top: 28px;
padding: 0;
list-style: none;
font-size: 14px;
line-height: 20px;
display: flex;
flex-direction: column;
row-gap: 15px;
a,
a:hover,
a:active {
color: #000000;
}
}
&__politic {
margin-top: 42px;
font-size: 14px;
line-height: 22px;
color: #000000;
@media (max-width: 431px) {
font-size: 11px;
}
}
&__contacts {
margin-top: 127px;
color: #000000;
h4 {
font-size: 20px;
line-height: 33px;
}
p {
font-size: 14px;
}
}
}
.auth-body.active {
visibility: visible;
transition: 0.1s ease-in-out;
opacity: 1;
display: flex;
width: calc(100vw / 2.5);
left: 0;
overflow: hidden;
}
&__info {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 75px;
column-gap: 45px;
@media (max-width: 431px) {
margin-top: 217px;
justify-content: center;
flex-direction: column;
}
.info {
&__title {
font-weight: 900;
font-size: 49px;
color: #4a4a4a;
max-width: 444px;
line-height: 1;
position: relative;
@media (max-width: 431px) {
font-weight: 900;
font-size: 42px;
line-height: 46.62px;
text-align: center;
z-index: 2;
}
.code {
position: absolute;
left: -260px;
top: -55px;
}
span {
color: #a7ca60;
}
}
&__signIn {
padding: 12px 30px 15px;
color: rgba(30, 30, 30, 1);
font-size: 13px;
background: rgba(167, 202, 96, 1);
font-weight: 400;
border-radius: 32px;
margin-top: 45px;
@media (min-width: 432px) {
display: none;
}
}
&__block {
backdrop-filter: blur(8.699999809265137px);
box-shadow: 10px 9px 14px 0 rgba(0, 0, 0, 0.03);
background: linear-gradient(
137deg,
rgba(255, 255, 255, 0.34) 0%,
rgba(239, 239, 239, 0.34) 100%
);
border: 0.5px solid;
border-image-source: linear-gradient(
137.79deg,
#ffffff 9.15%,
#f4f4f4 76.22%
);
border-radius: 8px;
padding: 59px 89px 68px 102px;
position: relative;
z-index: 1;
@media (max-width: 431px) {
backdrop-filter: none;
box-shadow: none;
background: none;
border: none;
border-image-source: none;
// border-radius: none;
padding: 46px 40px 63px 40px;
text-align: center;
}
p {
font-weight: 250;
font-size: 14px;
line-height: 137%;
color: #4a4a4a;
@media (max-width: 431px) {
font-size: 17px;
line-height: 23.29px;
}
span {
font-weight: 400;
}
}
}
}
}
&__background {
position: absolute;
right: -200px;
top: -100px;
@media (max-width: 431px) {
right: auto;
top: 100px;
display: flex;
justify-content: center;
}
h3 {
font-family: "Geraspoheko";
color: rgba(255, 255, 255, 1);
font-size: 343px;
font-weight: 400;
margin-bottom: 0;
@media (max-width: 431px) {
font-size: 180px;
font-weight: 700;
z-index: 1;
background: linear-gradient(to bottom, #fffefe, #eeeeee);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: 2px;
}
}
.clue {
width: 130px;
height: 120px;
top: 165px;
position: absolute;
right: 147px;
@media (max-width: 431px) {
right: auto;
top: auto;
bottom: -150px;
left: -105px;
}
}
.code {
position: absolute;
width: 360px;
height: 134px;
right: -5px;
@media (max-width: 431px) {
right: auto;
top: -30px;
left: -30px;
}
}
&:after {
content: "";
position: absolute;
width: 82px;
height: 82px;
border-radius: 50px;
background: rgba(167, 202, 96, 0.8);
right: 160px;
bottom: -75px;
@media (max-width: 431px) {
right: auto;
bottom: auto;
top: -25px;
}
}
}
&__opportunities {
margin: 120px 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
@media (max-width: 431px) {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
column-gap: 20px;
row-gap: 19px;
width: 100%;
margin: 0 0 86px 0;
}
}
&__opportunity {
padding: 52px 60px;
@media (max-width: 431px) {
padding: 0;
width: 40%;
div {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
background: linear-gradient(95.54deg, #ffffff 5.13%, #f1f1f1 97.48%);
border: 0.5px solid #ffffff;
border-radius: 18px;
padding: 10px;
}
}
p {
font-weight: 500;
font-size: 20px;
line-height: 21.4px;
color: #838383;
@media (max-width: 431px) {
font-size: 14px;
font-weight: 500;
line-height: 14.12px;
text-align: center;
min-height: 55px;
}
}
img {
display: none;
position: absolute;
right: -50px;
bottom: -15px;
@media (max-width: 431px) {
display: block;
position: relative;
right: auto;
bottom: auto;
}
}
@media (max-width: 431px) {
&:hover {
p {
font-weight: 700;
color: rgba(74, 74, 74, 1);
max-width: 165px;
span {
color: rgba(167, 202, 96, 1);
}
}
}
}
@media (min-width: 432px) {
&:hover {
padding: 16px 12px 14px 2px;
border-right: 1px solid rgba(245, 245, 245, 1);
border-bottom: 1px solid rgba(245, 245, 245, 1);
cursor: pointer;
div {
display: flex;
background: linear-gradient(95.54deg, #ffffff 5.13%, #eeeeee 97.48%);
border-radius: 5px;
padding: 24px 0px 25px 33px;
height: 100%;
align-items: center;
position: relative;
}
p {
font-weight: 700;
color: rgba(74, 74, 74, 1);
max-width: 165px;
span {
color: rgba(167, 202, 96, 1);
}
}
img {
display: block;
}
}
}
}
&__opportunity:nth-child(-n + 3) {
border-bottom: 1px solid rgba(245, 245, 245, 1);
}
&__opportunity:nth-child(-n + 2) {
border-right: 1px solid rgba(245, 245, 245, 1);
}
&__opportunity:nth-child(4) {
border-right: 1px solid rgba(245, 245, 245, 1);
}
&__opportunity:nth-child(5) {
border-right: 1px solid rgba(245, 245, 245, 1);
}
.outstaffing__offers {
padding: 10px 0 25px 10px;
cursor: pointer;
@media (max-width: 431px) {
padding: 0;
width: 40%;
}
div {
display: flex;
background: rgba(255, 255, 255, 1);
border-radius: 5px;
height: 91px;
padding: 24px 35px 24px 42px;
align-items: center;
justify-content: space-between;
@media (max-width: 431px) {
height: 100%;
padding: 0;
flex-direction: column;
justify-content: space-evenly;
border-radius: 18px;
border: 0.5px solid #ffffff;
}
p {
color: rgba(167, 202, 96, 1);
font-weight: 500;
font-size: 20px;
line-height: 21.4px;
max-width: 215px;
@media (max-width: 431px) {
font-weight: 500;
font-size: 16px;
line-height: 17.12px;
text-align: center;
}
}
img {
width: 27px;
height: 15px;
}
}
}
}