Files
pixelstreamingwebreact/src/components/mainPart/mainPart.css
T
2022-07-26 11:55:17 +05:00

284 lines
4.7 KiB
CSS

.main-part-container {
position: relative;
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
color: #FFFFFF;
padding: 50px 200px 16px 200px;
box-sizing: border-box;
}
.background-image {
z-index: -1;
top: 0;
left: 0;
position: absolute;
width: 100%;
height: 100%;
background: url('backgroundImage.svg') 50% 50% no-repeat;
background-size: 100% 100%;
}
.main-part-header {
z-index: 1;
box-sizing: border-box;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.main-part-header-logo {
width: 53px;
height: 85px;
}
.main-part-header-lang {
font-weight: 400;
font-size: 18px;
line-height: 22px;
width: 90px;
display: flex;
justify-content: space-between;
gap: 8px;
}
.main-part-header-lang {
display: flex;
justify-content: center;
align-items: center;
border-radius: 4px;
}
.main-part-header-lang.ru {
background-color: #CE56C2;
}
.main-part-content {
display: flex;
flex-direction: column;
gap: 30px;
transition: .5s;
}
.main-part-text-container {
width: 800px;
display: flex;
flex-direction: column;
gap: 40px;
}
.main-part-text-title {
font-weight: 700;
font-size: 56px;
line-height: 100%;
max-width: 570px;
}
.main-part-text-descript {
font-weight: 400;
font-size: 18px;
line-height: 130%;
max-width: 450px;
}
.main-part-text-access-code {
font-weight: 400;
font-size: 56px;
line-height: 130%;
letter-spacing: 16px;
}
.main-part-text-button {
width: 320px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
font-weight: 700;
font-size: 17px;
line-height: 21px;
background: #CE56C2;
border-radius: 8px;
border: none;
color: #FFFFFF;
transition: .3s;
cursor: pointer;
}
.main-part-text-button:hover {
background-color: #FFFFFF;
color: #CE56C2;
border: 2px solid #CE56C2;
transition: .3s;
}
.main-part-content-or-line-container {
display: flex;
width: 320px;
justify-content: space-between;
align-items: center;
gap: 24px;
font-weight: 400;
font-size: 18px;
line-height: 130%;
}
.main-part-content-or-line {
height: 2px;
background-color: #FFFFFF;
width: 100%;
}
.main-part-footer-container {
font-weight: 500;
font-size: 14px;
line-height: 130%;
color: #F2F2F2;
display: flex;
flex-direction: column;
position: relative;
max-width: 600px;
gap: 8px;
}
.main-part-footer-text-container {
display: flex;
}
.main-part-footer-text-container::before {
content: '*';
}
.main-part-footer-text {
display: flex;
flex-direction: column;
}
.background-container {
z-index: 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(30, 22, 48, 0.8);
backdrop-filter: blur(12px);
}
.show-background-enter {
opacity: 0;
}
.show-background-enter-active {
opacity: 1;
transition: .3s;
}
.show-background-exit {
opacity: 1;
}
.show-background-exit-active {
opacity: 0;
transition: .3s;
}
/* starting ENTER animation */
.change-main-part-content-enter {
opacity: 0;
transform: translateY(0);
}
/* ending ENTER animation */
.change-main-part-content-enter-active {
opacity: 1;
transition: .3s;
transform: translateY(0);
}
/* starting EXIT animation */
.change-main-part-content-exit {
opacity: 1;
transform: translateY(0);
}
/* ending EXIT animation */
.change-main-part-content-exit-active {
opacity: 0;
transition: .3s;
transform: translateY(0);
}
.main-part-plan-content {
z-index: 1;
display: flex;
flex-direction: column;
padding: 80px 0;
margin-bottom: auto;
}
.plan-content-container {
display: flex;
flex-direction: column;
}
.plan-content-title {
font-weight: 700;
font-size: 40px;
line-height: 110%;
}
.plan-content-date {
margin-top: 40px;
font-weight: 600;
font-size: 24px;
line-height: 110%;
}
.plan-content-content {
margin: 40px 0 24px 0;
}
.legend-container {
display: flex;
gap: 8px;
align-items: center;
}
.legend-circle {
width: 12px;
height: 12px;
border-radius: 50px;
}
.legend-circle.active {
background-color: #CE56C2;
}
.legend-circle.disable {
background-color: #B196AF;
}
.legend-text {
font-weight: 400;
font-size: 14px;
line-height: 130%;
}
.legend-text.active {
color: #CE56C2;
}
.legend-text.disable {
color: #B196AF;
}
.plan-content-legend {
/* margin-top: 24px; */
display: flex;
gap: 32px;
}