forked from M3-Academy/practice-time-landing-page
248 lines
3.7 KiB
CSS
248 lines
3.7 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body{
|
|
font-family: 'Inter', sans-serif;
|
|
color: #000000
|
|
}
|
|
|
|
.header {
|
|
background-color: #000000;
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 28px;
|
|
}
|
|
.banner img,
|
|
.middle img{
|
|
width: 100%;
|
|
}
|
|
.middle-banner-desktop{
|
|
display: block;
|
|
}
|
|
|
|
|
|
.top-desc{
|
|
display:flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-top: 80px;
|
|
padding-bottom:96px;
|
|
}
|
|
|
|
.top-desc div{
|
|
max-width: 766px;
|
|
margin-right: 124px;
|
|
}
|
|
|
|
.top-desc h2{
|
|
text-transform: uppercase;
|
|
font-size: 32px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.top-desc h1{
|
|
text-transform: uppercase;
|
|
font-size: 48px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.top-desc p{
|
|
margin-top: 24px;
|
|
font-size: 16;
|
|
|
|
}
|
|
|
|
.cards{
|
|
display: grid;
|
|
grid-template-columns: repeat(3, max-content);
|
|
background:#F0F0F0;
|
|
justify-content: center;
|
|
padding:74px 0;
|
|
gap: 20px;
|
|
width: 100%;
|
|
|
|
}
|
|
.cards div{
|
|
margin: 0px 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: white;
|
|
padding: 26px 26px 34px;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
|
|
}
|
|
|
|
.cards div img{
|
|
display: block;
|
|
margin-bottom: 26px;
|
|
|
|
}
|
|
|
|
.cards div p{
|
|
max-width: 300px;
|
|
text-align: center;
|
|
line-height: 24px;
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
.bottom-cards{
|
|
margin-top: 140px;
|
|
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
|
|
}
|
|
.bottom-cards-wrapper{
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: repeat(2,max-content);
|
|
justify-content: center;
|
|
gap: 20px;
|
|
top: -60px;
|
|
}
|
|
.bottom-card{
|
|
display: flex;
|
|
padding: 36px 32px 66px;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: white;
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.bottom-card img{
|
|
display: block;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.bottom-card p{
|
|
max-width: 368px;
|
|
text-align: center;
|
|
line-height: 24px;
|
|
font-size: 16px;
|
|
}
|
|
.bottom-banner{
|
|
display:flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 142px 0 180px;
|
|
}
|
|
|
|
.bottom-banner img{
|
|
margin-right: 40px;
|
|
}
|
|
.bottom-banner-text{
|
|
max-width: 550px;
|
|
}
|
|
.bottom-banner-text p{
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.bottom-banner-text h2{
|
|
margin-bottom: 18px;
|
|
line-height: 20px;
|
|
font-size: 32px;
|
|
font: 600;
|
|
}
|
|
@media screen and (max-width: 414px) {
|
|
.banner-desktop,
|
|
.middle-banner-desktop{
|
|
display:none;
|
|
|
|
}
|
|
}
|
|
@media screen and (max-width: 768px){
|
|
.cards{
|
|
grid-template-columns: 1fr;
|
|
padding:36px 26px;
|
|
}
|
|
.bottom-card p{
|
|
font-size: 14px;
|
|
}
|
|
.bottom-cards{
|
|
margin-top: 114px;
|
|
padding: 0 26px;
|
|
}
|
|
.bottom-cards-wrapper{
|
|
grid-template-columns: 1fr;
|
|
gap:16px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 992px) {
|
|
.top-desc{
|
|
flex-direction: column;
|
|
padding: 84px 26px 158px;
|
|
}
|
|
|
|
.top-desc h2{
|
|
font-size: 20px;
|
|
}
|
|
|
|
.top-desc h1{
|
|
margin-bottom: 20px;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.top-desc p{
|
|
margin-bottom:68px;
|
|
}
|
|
.top-desc img{
|
|
width: 100%;
|
|
max-width: 240px;
|
|
}
|
|
.bottom-banner{
|
|
flex-direction: column;
|
|
padding: 80px 0 136px;
|
|
}
|
|
.bottom-banner-text{
|
|
padding: 0 26px;
|
|
}
|
|
.bottom-banner img{
|
|
width: 100%;
|
|
max-width: 596px;
|
|
margin: 0 0 50px;
|
|
}
|
|
.bottom-banner-text h2{
|
|
font-size: 24px;
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 993px) and (max-width: 1280px){
|
|
.top-desc p{
|
|
max-width: 520px;
|
|
margin-right: 70px;
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 769px) and (max-width: 992px){
|
|
.bottom-card p{
|
|
max-width: 280px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 769px) and (max-width: 1200px){
|
|
.cards{
|
|
grid-template-columns: repeat(2, max-content);
|
|
|
|
}
|
|
.bottom-banner img{
|
|
max-width: 480px;
|
|
}
|
|
.bottom-banner-text{
|
|
max-width: 400px;
|
|
}
|
|
}
|
|
|
|
|
|
@media screen and (min-width: 415px){
|
|
.banner-mobile,
|
|
.middle-banner-mobile{
|
|
display: none;
|
|
}
|
|
}
|