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

333 lines
6.4 KiB
CSS
Raw Permalink Normal View History

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
2022-10-07 22:41:48 +00:00
body{
font-family: 'Inter', sans-serif;
color: #000;
}
.page-header{
display: flex;
justify-content: center;
padding: 28px 0;
background-color: #000;
}
2022-10-07 23:45:13 +00:00
.main-banner ,
.middler-banner{
max-width: 100%;
2022-10-07 23:45:13 +00:00
display: block;
}
2022-10-07 22:41:48 +00:00
.top-infocard{
display: flex;
align-items: center;
justify-content: center;
padding: 80px 0 96px;
}
.top-infocard-text{
margin-right: 6%;
max-width: 40%;
2022-10-07 22:41:48 +00:00
}
.top-inforcard-subtitle{
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
2022-10-07 22:41:48 +00:00
}
.top-infocard-title{
margin-bottom: 1%;
2022-10-07 22:41:48 +00:00
text-transform: uppercase;
font-weight: 500;
font-size: 48px;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
}
.top-cards{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
justify-content: center;
padding: 5% 15%;
background: #F0F0F0;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 36px;
background: #FFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image{
display: block;
margin-bottom: 2%;
}
.top-card-description{
font-size: 16px;
line-height: 24px;
text-align: center;
}
.bottom-cards{
margin-top: 7%;
background:linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
}
.bottom-card-wrapper{
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
padding: 0 23% ;
justify-content: center;
position: relative;
top: -60px;
}
.bottom-card{
display: flex;
flex-direction: column;
align-items: center;
padding: 36px 32px 66px;
background: #FFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image{
display: block;
margin-bottom: 14px;
}
.bottom-card-description{
max-width: 368;
text-align: center;
line-height: 24px;
font-size: 16px;
}
2022-10-08 21:40:08 +00:00
.bottom-infocard{
display: flex;
align-items: center;
justify-content: center;
padding: 7% 0 9%;
}
.bottom-infocard-image{
margin-right: 40px;
}
.bottom-infocard-text{
max-width: 28%;
}
.bottom-infocard-title{
margin-bottom: 18px;
font-weight: 600;
font-size: 32px;
line-height: 20px;
}
.bottom-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.page-footer{
display: flex;
flex-direction: column;
align-items: center;
padding: 38px 0 66px;
background-color: #000;
}
.footer-icons{
display: flex;
margin-bottom: 17px;
gap: 21px;
list-style: none;
}
.footer-text{
font-weight: 400;
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
.footer-text-mobile{
display: none;
}
/* o incone do youtube ficou um pouco acima do que deveria */
#youtube-icon{
margin-top: 4%;
}
@media screen and (min-width:2200px) {
.header-logo{
height: 84px;
}
.page-header{
padding: 56px 0
}
.top-infocard-text{
margin-right: 248px;
max-width: 52%;
}
.top-infocard-title{
font-size: 96px;
}
.top-infocard-image{
width: 100%;
max-width: 550px;
}
.top-infocard-description{
font-size: 32px;
}
.top-inforcard-subtitle{
font-size: 64px;
}
.top-card{
padding: 52px 52px 72px;
box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.23);
}
.top-card-description{
font-size: 32px;
line-height: 48px;
}
.top-card-description{
max-width: 500px;
font-size: 32px;
line-height: 48px;
}
2022-10-07 23:45:13 +00:00
.main-banner-desktop,
.middler-banner-desktop {
width: 100%;
object-fit: contain;
}
.top-infocard-description,
.top-card-description{
font-size: 32px;
}
.bottom-card-description {
font-size: 32px;
line-height: 48px;
}
.bottom-infocard-description {
font-size: 32px;
line-height: 48px;
}
.bottom-infocard-image {
margin-right: 80px;
}
.bottom-infocard-title {
margin-bottom: 36px;
font-size: 64px;
line-height: 40px;
}
.footer-icons{
margin-bottom: 34px;
gap: 42px;
}
.footer-text{
font-size: 20px;
line-height: 24px;
}
.icons{
min-width: 48px;
min-height: 16px;
}
}
@media screen and (min-width: 993px) and (max-width: 1280px) {
.top-infocard-text{
margin-right: 70px;
2022-10-08 01:21:27 +00:00
}
.top-infocard {
padding: 80px 96px;
}.bottom-card-wrapper {
padding: 0 13%;
}
2022-10-08 01:21:27 +00:00
}
@media screen and (min-width: 769px) and (max-width: 993px) {
.top-cards{
grid-template-columns: repeat(2, 1fr)
}
.bottom-card-wrapper{
padding: 0 10%;
}
}
2022-10-07 22:41:48 +00:00
@media screen and (max-width: 992px) {
.top-infocard{
flex-direction: column;
padding: 84px 26px 158px;
}
.top-infocard-text{
margin: 0 0 68px;
}
.top-inforcard-subtitle{
font-size: 20px;
}
.top-infocard-title{
margin-bottom: 20px;
font-size: 28px;
}
.top-infocard-image{
width: 100%;
max-width: 240px;
}
2022-10-08 21:40:08 +00:00
.bottom-infocard{
flex-direction: column;
padding: 80px 0 136px;
}
.bottom-infocard-image{
width: 100%;
max-width: 650px;
margin: 0 0 50px;
}
.bottom-infocard-text{
max-width: 95%;
padding: 0 5px;
2022-10-07 22:41:48 +00:00
}
2022-10-08 21:40:08 +00:00
@media screen and (max-width: 768px) {
.top-cards{
grid-template-columns: 1fr;
padding: 36px 26px;
}
.bottom-card-wrapper{
grid-template-columns: 1fr;
gap: 16px;
padding: 0 26px;
2022-10-07 22:41:48 +00:00
}
.bottom-cards{
margin-top: 114px;
2022-10-08 01:21:27 +00:00
}
.top-infocard-text{
max-width: none;
2022-10-08 01:21:27 +00:00
}
.bottom-card-description{
font-size: 14px;
2022-10-08 01:21:27 +00:00
}
2022-10-08 21:40:08 +00:00
.bottom-card-wrapper {
padding: 0 5%;
2022-10-08 01:21:27 +00:00
}
2022-10-08 21:40:08 +00:00
.bottom-infocard-title{
font-size: 24px;
}
.page-footer{
padding-bottom: 26px;
}
}
@media screen and (max-width: 450px) {
.footer-text{
display: none;
}
.footer-text-mobile{
display: flex;
max-width: 261px;
min-width: 261px;
font-weight: 400;
font-size: 10px;
line-height: 12px;
text-align: center;
text-transform: uppercase;
color: #BDBDBD;
}
2022-10-08 21:40:08 +00:00
}}