challenge-landing-page-emer.../assets/style.css

122 lines
1.7 KiB
CSS

@charset "UTF-8";
* {
margin: 0;
padding: 0;
}
/*Header*/
.page-header {
display: flex;
justify-content: center;
align-items: center;
background-color: black;
height: 101px;
}
.logo-header {
display: block;
}
/* Body*/
.main-banner {
width: 100%;
}
.section-1 {
display: flex;
flex-direction: column;
text-align: center;
justify-content: center;
align-items: center;
padding: 0 28px;
}
.main-title {
font-family: 'Inter', sans-serif;
padding: 73px 0;
}
.main-title h2,
.main-title h1 {
text-transform: uppercase;
}
.main-title h1 {
font-size: 48px;
line-height: 58px;
font-weight: 500;
}
.main-title h2 {
font-size: 32px;
line-height: 39px;
font-weight: 400;
}
.main-title p {
max-width: 766px;
margin-top: 28px;
}
.computer-image{
max-width: 239px;
}
.cards-wrapper {
display: flex;
gap: 21px;
margin-top: 179px;
}
.card {
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 350px;
padding: 35px 26px 27px 26px;
}
.card p {
font-family: 'Inter', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
margin-top: 27px;
}
@media screen and (max-width:1024px) {
.main-title{
padding: 73px 0 65px;
}
.main-title h1{
font-size: 28px;
line-height: 34px;
min-height: 49px;
}
.main-title h2{
font-size: 20px;
line-height: 24px;
}
.main-title p{
margin-top: 0;
}
.cards-wrapper{
flex-direction: column;
margin-top: 90px;
padding: 0 4px;
}
}