Files
guild_front/src/pages/Landing/landing.scss
2024-07-30 15:51:29 +03:00

485 lines
9.8 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: auto;
@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;
z-index: 1;
&: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;
z-index: 1;
cursor: pointer;
@media (max-width: 431px) {
display: none;
}
}
&__signUp {
cursor: pointer;
display: flex;
column-gap: 8px;
align-items: center;
color: rgba(131, 131, 131, 1);
font-weight: 400;
font-size: 13px;
text-decoration: underline;
z-index: 1;
@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;
z-index: 1;
@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;
}
}
}
}
&__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;
}
}
}
}