challenge-landing-page-carl.../assets/styles/main.css

123 lines
1.8 KiB
CSS
Raw Normal View History

*{
margin:0;
padding:0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
}
.header{
text-align: center;
background: #000000;
width: 100%;
height: 100px;
padding:28px;
}
.header img{
}
.topbanner img{
height: 100%;
width: 100%;
}
.topinfo{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.topinfo-texts{
text-align: center;
margin-top: 73px;
width: 43%;
}
.topinfo-subtitle{
text-transform: uppercase;
font-weight: 400;
font-size: 32px;
line-height: 39px;
}
.topinfo-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.topinfo-text{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
text-align: left;
}
.topinfo-img{
margin-top:70px;
}
@media screen and (max-width: 1439px){
.topinfo-texts{
min-width: 86%;
}
.topinfo-subtitle{
font-weight: 400;
font-size: 20px;
line-height: 24px;
}
.topinfo-title{
font-weight: 500;
font-size: 28px;
line-height: 34px;
}
.topinfo-text{
text-align: center;
font-size: 16px;
line-height: 24px;
}
.figuretopinfo{
text-align: center;
}
.topinfo-img{
width: 75%;
}
}
@media screen and (min-width: 2500px){
.topinfo-subtitle{
font-size: 64px;
line-height: 78px;
}
.topinfo-title{
font-size: 96px;
line-height: 116px;
}
.topinfo-text{
font-size: 32px;
line-height: 48px;
margin-top: 28px;
}
.figuretopinfo{
width: 100%;
text-align: center;
}
.topinfo-img{
width: 20%;
}
}