Files
estate-solution/src/components/Header/styles.css
T
DmitriyB bb1fa6b6c6 first
2023-02-06 11:27:55 +05:00

510 lines
9.2 KiB
CSS

.main-block__container {
margin: 0 auto 80px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 56px;
}
.main-block__caption_l {
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 140%;
margin: 0;
color: #ebebeb;
}
.main-block__subblock-container {
display: flex;
flex-direction: column;
align-items: center;
}
.main-block_subblock {
width: 480px;
display: flex;
margin: 0 auto;
flex-direction: column;
align-items: flex-start;
gap: 40px;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 140%;
/* or 25px */
/* Landing/White */
color: #ebebeb;
}
.main-block__title {
font-style: normal;
font-weight: 400;
font-size: 64px;
line-height: 100%;
color: #ebebeb;
margin: 0;
}
.main-block__title_small {
font-style: normal;
font-weight: 400;
line-height: 100%;
color: #ebebeb;
margin: 0;
font-size: 40px;
}
.main-block__title_gardient {
font-style: normal;
font-weight: 400;
font-size: 64px;
line-height: 100%;
margin: 0;
background-image: linear-gradient(56.75deg, #d375ff 19.74%, #798fff 82.32%);
background-size: 100%;
background-repeat: repeat;
background-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.main-block__title_gardient_small {
font-style: normal;
font-weight: 400;
line-height: 100%;
margin: 0;
background-image: linear-gradient(56.75deg, #d375ff 19.74%, #798fff 82.32%);
background-size: 100%;
background-repeat: repeat;
background-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 40px;
}
.main-block__caption {
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 140%;
margin: 20px 0 0 0;
color: #ebebeb;
}
.main-block__caption_color {
margin-top: 20px;
margin-bottom: 0px;
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 150%;
color: #ebebeb;
letter-spacing: 0.02em;
text-transform: uppercase;
color: #d375ff;
width: 416px;
}
.main-block__button {
font-family: "GilroyWebRegular";
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 125%;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 125%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 14px 18px 12px 24px;
gap: 8px;
box-sizing: border-box;
width: 164px;
height: 40px;
border: 1px solid #454545;
border-radius: 32px;
background-color: transparent;
color: #ebebeb;
cursor: pointer;
}
.main-block__icon {
opacity: 1;
width: 8px;
height: 8px;
margin: 0;
opacity: 0;
}
.main-block__icon_container {
display: flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
border-radius: 100%;
border: 1px solid #ffffff;
}
.main-block__button:hover > div > img {
transition: opacity ease-out 0.2s;
opacity: 1;
}
.main-block__button:hover {
border: 1px solid #ffffff;
transition: border ease-out 0.2s;
}
.link {
text-decoration: none;
}
@media screen and (min-width: 1600px) {
.main-block__title {
font-size: 76px;
}
.main-block__title_gardient {
font-size: 76px;
}
.main-block__caption_color {
width: 87%;
font-size: 17px;
margin-top: 24px;
}
.main-block__caption_l {
font-size: 22px;
}
.main-block__caption {
font-size: 22px;
}
.main-block__title_small {
font-size: 48px;
}
.main-block__title_gardient_small {
font-size: 48px;
}
.main-block_subblock {
width: 576px;
font-size: 22px;
}
.main-block__button {
width: 196px;
height: 60px;
padding: 14px 18px 12px 24px;
gap: 9.6px;
font-weight: 400;
font-size: 20px;
line-height: 125%;
}
.main-block__icon_container {
width: 19px;
height: 19px;
}
.main-block__icon {
width: 9.5;
height: 9.5;
}
}
.popup__container {
width: 494px;
background: #262626;
border-radius: 32px;
padding: 40px 48px 16px;
box-sizing: border-box;
}
.logo__popup {
height: auto;
width: 100%;
margin-bottom: 48px;
object-fit: cover;
}
.popup {
font-style: normal;
font-weight: 600;
font-size: 18px;
line-height: 22px;
color: #ffffff;
display: flex;
flex-direction: column;
gap: 24px;
}
.button__container {
display: flex;
flex-direction: column;
gap: 16px;
}
.button__title {
margin: 0;
}
.button {
width: 100%;
display: flex;
padding-top: 20px;
padding-bottom: 20px;
justify-content: center;
background-color: #567ece;
border-radius: 12px;
outline: none;
border: none;
color: #ffffff;
font-style: normal;
font-weight: 600;
font-size: 16px;
line-height: 20px;
cursor: pointer;
box-sizing: border-box;
}
.button:hover {
background: #6a92e2;
transition: 0.3s ease;
}
.button:disabled {
background-color: #404040;
transition: 0.3 ease;
}
.button__disabled:hover {
background: #595959;
transition: 0.3 ease;
}
.button__disabled {
background-color: #404040;
transition: 0.3 ease;
}
.line {
height: 1px;
background-color: #404040;
width: 280px;
margin: 0 auto;
margin-top: 8px;
}
.popup__caption {
margin: 0 auto;
font-style: normal;
font-weight: 400;
font-size: 18px;
cursor: pointer;
padding: 10px 8px;
border: none;
background-color: transparent;
line-height: 20px;
color: #ffffff;
}
.popup__caption:hover {
opacity: 0.8;
transition: 0.3s ease;
}
@media screen and (max-width: 1279px) {
.main-block__container {
gap: 44px;
}
}
@media screen and (max-width: 1024px) {
.main-block__container {
margin: 30px 12px 60px;
gap: 40px;
}
.main-block__caption {
font-size: 2.8vw;
font-style: normal;
font-weight: 400;
line-height: 140%;
}
.main-block__caption_color {
font-size: 2.1vw;
width: fit-content;
}
.main-block__caption_l {
font-size: 2.5vw;
font-style: normal;
font-weight: 400;
line-height: 140%;
}
.main-block__title {
font-size: 10.6vw;
font-style: normal;
font-weight: 400;
line-height: 100%;
}
.main-block__title_gardient {
font-size: 10.6vw;
font-style: normal;
font-weight: 400;
line-height: 100%;
}
.main-block_subblock {
font-weight: 400;
line-height: 140%;
font-size: 2.8vw;
}
.main-block__title_small {
font-style: normal;
font-weight: 400;
line-height: 100%;
font-size: 6.25vw;
}
.main-block__title_gardient_small {
font-size: 6.25vw;
}
.main-block__subblock-container {
display: block;
margin: 0 0;
}
.main-block_subblock {
width: 80%;
margin: 0;
font-size: 3vw;
}
}
@media screen and (max-width: 639px) {
.popup__container {
width: 100%;
border-radius: 0px;
height: 100%;
padding: 32px 10px 67px;
height: 100vh;
}
.logo__popup {
margin-bottom: 40px;
}
.line {
width: 80%;
}
.popup {
font-size: 16px;
}
.popup__caption {
font-size: 16px;
}
.main-block__container {
margin: 42px 0px 40px;
gap: 30px;
width: 100%;
}
.button {
font-size: 14px;
padding-top: 14px;
padding-bottom: 14px;
}
.main-block_subblock {
gap: 30px;
width: 100%;
}
.main-block__caption_color {
width: 100%;
margin-top: 10px;
font-size: 3.6vw;
}
.main-block__caption {
margin: 10px 0 0 0;
}
.main-block__caption_l {
font-size: 4.5vw;
font-style: normal;
font-weight: 400;
line-height: 140%;
}
.main-block__button {
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 125%;
}
.main-block__caption {
font-size: 4.5vw;
font-style: normal;
font-weight: 400;
line-height: 140%;
}
.main-block__title_gardient {
font-size: 13.3vw;
font-style: normal;
font-weight: 400;
line-height: 100%;
}
.main-block__title_gardient_small {
font-size: 9.25vw;
}
.main-block__title {
font-size: 13.3vw;
font-style: normal;
font-weight: 400;
line-height: 100%;
}
.main-block__title_small {
font-style: normal;
font-weight: 400;
line-height: 100%;
font-size: 9.25vw;
}
.main-block_subblock {
font-weight: 400;
line-height: 140%;
font-size: 4.5vw;
}
}