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

122 lines
1.7 KiB
CSS
Raw Normal View History

2022-10-08 22:06:05 +00:00
@charset "UTF-8";
* {
2022-10-08 22:06:05 +00:00
margin: 0;
padding: 0;
}
2022-10-08 23:43:02 +00:00
/*Header*/
2022-10-08 22:06:05 +00:00
.page-header {
2022-10-08 22:06:05 +00:00
display: flex;
justify-content: center;
align-items: center;
background-color: black;
height: 101px;
}
.logo-header {
2022-10-08 22:06:05 +00:00
display: block;
}
/* Body*/
2022-10-08 23:43:02 +00:00
.main-banner {
width: 100%;
}
.section-1 {
2022-10-08 23:43:02 +00:00
display: flex;
flex-direction: column;
text-align: center;
2022-10-08 23:43:02 +00:00
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;
}
2022-10-08 23:43:02 +00:00
.main-title p {
max-width: 766px;
margin-top: 28px;
}
2022-10-08 23:43:02 +00:00
.computer-image{
max-width: 239px;
}
2022-10-08 23:43:02 +00:00
.cards-wrapper {
display: flex;
gap: 21px;
margin-top: 179px;
}
.card {
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 350px;
2022-10-08 23:43:02 +00:00
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:820px) {
.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;
}
2022-10-08 23:43:02 +00:00
}