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

172 lines
3.2 KiB
CSS
Raw Normal View History

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
*{
margin: 0;
padding: 0;
}
html, body{
box-sizing: border-box;
font-family: 'Inter', sans-serif;
color: black;
}
.header{
background: black;
display: flex;
justify-content: center;
padding: 28px 0;
}
.imgLogoM3{
display: block;
}
.main-banner{
width: 100%;
display: block;
}
/*---------------------------------------------------------------------------------------*/
.top-infocard{
display: flex;
align-items: center;
justify-content: center;
margin-top: 80px;
margin-bottom: 95px;
}
.top-infocard-text{
max-width: 766px;
margin-right: 124px;
}
.top-infocard-subtitle{
font-weight: 400;
font-size: 32px;
text-transform: uppercase;
}
.top-infocard-title{
font-weight: 500;
font-size: 48px;
text-transform: uppercase;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
margin-top: 24px;
}
/*-------------------------------------------------------------------*/
.section-background{
display: flex;
background:#F0F0F0;
justify-content: center;
gap: 20px;
padding: 74px 0;
}
.section-cards{
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 350px;
padding: 26px 26px 34px;
}
.section-img-cards{
display: block;
margin-bottom: 26px;
}
.section-p-card{
max-width: 300px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
/*----------------------------------------------------------------*/
.img-pc{
width: 100%;
}
@media screen and (max-width: 1024px) {
.main-banner-desktop{
display: none;
}
.img-pc-descktop{
display: none;
}
.top-infocard{
flex-direction: column;
margin-top: 54px;
margin-left: 31px;
margin-right: 26px;
margin-bottom: 158px;
}
.top-infocard-text{
margin: 0 0 68px;
}
.top-infocard-subtitle{
font-weight: 400;
font-size: 20px;
}
.top-infocard-title{
font-weight: 500;
font-size: 28px;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
margin-top: 19px;
}
.top-infocard-img{
margin: 0 86px 0 86px;
max-width: 240px;
}
/*------------------------------------------------------------------*/
.section-background{
display: flex;
flex-direction: column;
padding: 36px 32px;
align-items: center;
}
}
@media screen and (min-width: 1025px) {
.main-banner-mobile{
display: none;
}
.img-pc-mobile{
display: none;
}
}
@media screen and (min-width: 1026px) and (max-width: 1220px){
.top-infocard-text{
max-width: 550px;
margin-right: 70px;
}
}
@media screen and (min-width: 2500px) {
.top-infocard-subtitle{
font-weight: 400;
font-size: 60px;
}
.top-infocard-title{
font-weight: 500;
font-size: 96px;
}
.top-infocard-description{
font-weight: 400;
font-size: 32px;
}
.top-infocard-text{
max-width: 45%;
margin-right: 70px;
}
}