practice-time-landing-page-.../assets/styles/main.css

404 lines
6.8 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header {
display: flex;
justify-content: center;
padding: 28px 0;
background: #000000;
}
.header-logo {
display: block;
}
.main-banner, .middle-banner {
display: block;
width: 100%;
}
.top-infocard {
display: flex;
align-items: center;
justify-content: center;
padding: 80px 0 96px;
gap: 124px;
}
.top-infocard-text {
max-width: 40%;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
}
.top-infocard-title {
margin-bottom: 24px;
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
}
.top-infocard-description {
line-height: 24px;
font-size: 16px;
}
.top-cards {
display: grid;
grid-template-columns: repeat(3, 33%);
gap: 20px;
justify-content: center;
padding: 74px 23%;
background: #F0F0F0;
}
.top-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 36px 0 26px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
display: block;
margin-bottom: 26px;
}
.top-card-description {
max-width: 85%;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-cards {
margin-top: 142px;
padding-bottom: 66px;
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
}
.bottom-cards-wrapper {
position: relative;
display: grid;
grid-template-columns: repeat(2, 50%);
gap: 20px;
justify-content: center;
margin-left: 27%;
margin-right: 27%;
top: -62px;
}
.bottom-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 36px 0 66px;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
display: block;
margin-bottom: 14px;
}
.bottom-card-description {
max-width: 85%;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-infocard {
display: flex;
align-items: center;
justify-content: center;
padding: 142px 0 180px;
gap: 40px;
}
.bottom-infocard-text {
max-width: 29%;
}
.bottom-infocard-title {
margin-bottom: 18px;
line-height: 32px;
font-size: 32px;
font-weight: 600;
}
.bottom-infocard-description {
line-height: 24px;
font-size: 16px;
}
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
background-color: #000000;
padding: 38px 0;
}
.footer-icons {
display: flex;
list-style: none;
margin-bottom: 16px;
gap: 8px;
}
.footer-text {
text-transform: uppercase;
line-height: 12px;
font-size: 10px;
color: #BDBDBD;
}
@media screen and (max-width: 340px) {
.top-card {
padding: 22px 0 20px;
}
.top-card-image {
margin-bottom: 16px;
max-width: 30%;
}
.top-card-description {
line-height: 22px;
font-size: 14px;
}
.bottom-card {
padding: 28px 0 40px;
}
.bottom-card-image {
max-width: 25%;
}
.bottom-infocard-description {
line-height: 20px;
font-size: 14px;
}
}
@media screen and (max-width: 1024px) {
.main-banner-desktop, .middle-banner-desktop {
display: none;
}
.top-infocard {
flex-direction: column;
padding: 84px 0 158px;
}
.top-infocard-text {
max-width: 85%;
margin: 0 0 68px;
}
.top-infocard-subtitle {
font-size: 20px;
}
.top-infocard-title {
margin-bottom: 20px;
font-size: 28px;
}
.top-infocard-image {
max-width: 240px;
}
.top-cards {
grid-template-columns: 100%;
padding: 36px 26px;
justify-items: center;
}
.top-card {
margin-left: 2%;
margin-right: 2%;
}
.bottom-cards {
margin-top: 134px;
padding-bottom: 30px;
}
.bottom-cards-wrapper {
grid-template-columns: 100%;
gap: 16px;
justify-items: center;
margin-left: 5.5%;
margin-right: 5.5%;
top: -80px;
}
.bottom-card-description {
max-width: 82%;
font-size: 14px;
}
.bottom-infocard {
flex-direction: column;
padding: 80px 0 135px;
}
.bottom-infocard-image {
width: 100%;
margin: 0 0 50px;
}
.bottom-infocard-text {
max-width: 85%;
}
.bottom-infocard-title {
line-height: 24px;
font-size: 24px;
}
.page-footer {
padding-bottom: 26px;
}
.footer-text-desktop {
display: none;
}
.footer-text-mobile {
text-align: center;
}
}
@media screen and (min-width: 1025px) {
.main-banner-mobile, .middle-banner-mobile, .footer-text-mobile {
display: none;
}
}
@media screen and (min-width: 2500px) {
.top-infocard {
padding: 160px 0 192px;
gap: 248;
}
.top-infocard-subtitle {
font-size: 64px;
}
.top-infocard-title {
font-size: 96px;
}
.top-infocard-description {
line-height: 48px;
font-size: 32px;
}
.top-infocard-image {
width: 600px;
}
.top-cards {
gap: 40px;
padding: 148px 25%;
}
.top-card {
padding: 72px 0 52px;
box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.23);
}
.top-card-image {
margin-bottom: 52px;
width: 30%;
}
.top-card-description {
line-height: 48px;
font-size: 32px;
}
.bottom-cards {
margin-top: 284px;
padding-bottom: 132px;
}
.bottom-cards-wrapper {
gap: 40px;
margin-left: 29%;
margin-right: 29%;
top: -124px;
}
.bottom-card {
padding: 72px 0 132px;
box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
margin-bottom: 28px;
width: 25%;
}
.bottom-card-description {
line-height: 48px;
font-size: 32px;
}
.bottom-infocard {
padding: 284px 0 360px;
gap: 80px;
}
.bottom-infocard-image {
width: 1200px;
}
.bottom-infocard-title {
margin-bottom: 32px;
line-height: 64px;
font-size: 64px;
}
.bottom-infocard-description {
line-height: 48px;
font-size: 32px;
}
.page-footer {
padding: 76px 0;
}
.footer-icons {
margin-bottom: 32px;
gap: 16px;
}
.footer-icon-image {
width: 50px;
}
.footer-text {
line-height: 24px;
font-size: 20px;
}
}