Files
streaming-landing1/src/components/animationComponent/animationComponent.css
T
2022-09-30 15:34:08 +05:00

238 lines
3.3 KiB
CSS

.animation-container {
overflow: hidden;
height: 900px;
}
.test {
z-index: -1;
top: -118.2%;
left: 22%;
width: 100%;
position: absolute;
}
.mapblock__container {
color: #ebebeb;
background-image: url(./Map.svg);
background-repeat: no-repeat;
height: 780px;
background-position: 300px;
margin-bottom: 160px;
}
.title__container {
padding-left: 80px;
z-index: 99;
display: flex;
flex-direction: column;
gap: 30px;
padding-top: 140px;
}
.title__main {
position: relative;
font-style: normal;
font-weight: 300;
font-size: 96px;
line-height: 80%;
margin: 0;
color: #ebebeb;
}
.title__gardient_pos {
background: linear-gradient(to right, #D375FF 0%, #798FFF 45%);
}
.title__gardient {
font-style: normal;
font-weight: 300;
font-size: 96px;
line-height: 80%;
margin: 0;
background-repeat: repeat;
background-color: transparent;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-moz-background-clip: text;
-moz-text-fill-color: transparent;
}
.button__demo {
box-sizing: border-box;
background-color: transparent;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 14px 14px 12px 20px;
gap: 4px;
border: 1px solid #454545;
border-radius: 32px;
color: #ebebeb;
width: 156px;
margin-top: 31px;
}
.title__caption {
font-style: normal;
font-weight: 500;
font-size: 14px;
line-height: 150%;
margin-bottom: 20px;
/* or 21px */
letter-spacing: 0.02em;
text-transform: uppercase;
/* Landing/White */
color: #ebebeb;
opacity: 0.8;
}
.title {
font-style: normal;
font-weight: 300;
font-size: 96px;
line-height: 80%;
/* or 77px */
/* Landing/White */
color: #ebebeb;
margin: 0;
}
.animation__pos {
position: relative;
}
@media screen and (min-width: 1600px) {
.title {
font-size: 115.2px;
}
.test {
top: -87.2%;
left: 17%;
}
.title__gardient {
font-size: 115.2px;
}
.title__caption {
font-size: 17px;
width: 424px;
}
}
@media screen and (max-width: 1599px) {
.title__caption {
width: 354px;
}
}
@media screen and (max-width: 1279px) {
.title__container {
padding-left: 56px;
}
.title__caption {
width: 354px;
}
.test {
top: -65.2%;
left: 19%;
}
}
@media screen and (max-width: 1024px) {
.title__container {
padding-top: 170px;
margin-left: 20px;
padding-left: 0;
}
.animation-container {
box-sizing: border-box;
}
.test {
top: 3%;
left: 8%;
}
}
@media screen and (max-width: 639px) {
.animation-container {
}
.title__container {
padding-top: 70px;
}
.title__caption {
width: 100%;
}
.test {
visibility: hidden;
opacity: 0;
}
.title__caption {
font-size: 4vw;
}
.animation-container {
height: 100vh;
background-image: url(./Map.svg);
background-repeat: no-repeat;
padding: 10px;
background-repeat: no-repeat;
background-position: 1px 180px;
background-size: contain;
}
.title {
font-weight: 300;
font-size: 17.9vw;
line-height: 80%;
}
.title__gardient {
font-weight: 300;
font-size: 15vw;
line-height: 80%;
}
.title__container {
margin-left: 0;
}
}