practice-time-landing-page-.../styles.css
2022-10-08 01:27:10 -03:00

342 lines
5.4 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: 2vmin;
}
.header img{
width: 8.6vmin;
}
.top-banner-desktop,
.middle-banner-desktop,
.top-banner-mobile,
.middle-banner-mobile{
display: block;
width: 100%;
}
.top-desc{
display: flex;
align-items:center;
justify-content: center;
width: 100%;
margin: 8vh 0;
}
.top-texts{
margin-left:10vmin;
}
.top-texts h2{
font-size: 2.8vmin;
font-weight: 400;
}
.top-texts h1{
font-size: 3vw;
font-weight: 500;
text-transform: uppercase;
}
.top-texts p{
margin-top: 24px;
margin-right: 15.5vmin;
font-weight: 400;
font-size: 1.75vh;
}
.top-desc img{
width: 17vw;
margin-right: 8vw;
}
.cards{
display: grid;
grid-template-columns: repeat(3, max-content);
background:#F0F0F0;
justify-content: center;
padding:7.3vh 0;
gap: 2vmin;
width: 100%;
}
.cards div{
display: flex;
flex-direction: column;
align-items: center;
background: white;
padding: 3.5vmin 3.4vmin 2.7vmin;
width: 18.6vw;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.cards div img{
display: block;
margin-bottom: 26px;
width: 11vh;
height: auto;
}
.cards div p{
text-align: center;
font-size: 1.75vh;
}
.bottom-cards{
margin-top: 13.5vh;
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
padding-bottom: 8vmin;
}
.bottom-cards-wrapper{
position: relative;
display: grid;
grid-template-columns: repeat(2,max-content);
justify-content: center;
gap: 2vmin;
top: -4vmin;
}
.bottom-card{
display: flex;
padding: 4vmin 4vmin 5vmin;
flex-direction: column;
align-items: center;
background: white;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card img{
display: block;
width: 5.3vw;
margin-bottom: 14px;
}
.bottom-card p{
max-width: 20vw;
text-align: center;
font-size: 1.75vh;
}
.bottom-banner{
display:flex;
justify-content: center;
align-items: center;
padding: 14vmin 0 18vmin;
}
.bottom-banner img{
width: 60vmin;
margin-right: 4vmin;
}
.bottom-banner-text{
max-width: 550px;
}
.bottom-banner-text p{
font-size: 16px;
font-size: 1.75vh;
}
.bottom-banner-text h2{
margin-bottom: 18px;
font-size: 2.8vmin;
font: 600;
}
.footer{
display: flex;
flex-direction: column;
align-items: center;
background: #000000;
padding:3.5vmin;
}
.footer-desc{
text-transform: uppercase;
list-style: 12px;
font-size: 1vmin;
color: #bdbdbd;
}
.footer-icons{
display: flex;
list-style: none;
margin-bottom: 1.6vmin;
}
.footer-icons li{
margin: 0 0.8vmin;
}
.footer-icons img{
width: 2.5vh;
}
@media screen and (max-width: 414px) {
.top-banner-desktop,
.middle-banner-desktop{
display:none;
}
}
@media screen and (min-width: 415px){
.top-banner-mobile,
.middle-banner-mobile{
display: none;
}
}
@media screen and (max-width: 768px){
.cards{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.cards div{
margin-top: 15px;
width: 80%;
height: 250px;
}
.cards div p{
margin: 0 2vmin;
}
.bottom-card p{
max-width: 368px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-card img{
margin-top:20px;
width: 105px;
}
.bottom-cards{
margin-top: 114px;
padding: 0 26px;
}
.bottom-cards-wrapper{
grid-template-columns: 1fr;
top: -60px;
gap:16px;
}
.footer{
padding-bottom: 26px;
}
.footer-desc{
font-size: 10px;
max-width: 280px;
text-align: center;
}
}
@media screen and (max-width: 992px) {
.top-desc{
flex-direction: column;
}
.top-texts{
margin: 0 5vmin;
}
.top-texts h2{
margin:0;
font-size: 20px;
}
.top-texts h1{
font-size: 28px;
}
.top-texts p{
margin:0;
font-size: 16px;
margin-bottom:76px;
}
.top-desc img{
margin:0;
width: 239px;
}
.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;
}
.footer{
padding-bottom: 26px;
}
.footer-desc{
max-width: 280px;
text-align: center;
}
.footer-icons{
display: flex;
list-style: none;
margin: 38px 00 26px 0;
}
.footer-icons li{
margin: 0 8px;
}
}
@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{
display: grid;
grid-template-columns: repeat(2, max-content);
background:#F0F0F0;
justify-content: center;
padding:74px 0;
gap: 20px;
width: 100%;
}
.cards div img{
display: block;
margin-bottom: 26px;
}
.cards div p{
max-width: 300px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.bottom-banner img{
max-width: 480px;
}
.bottom-banner-text{
max-width: 400px;
}
.top-texts{
margin-right: 0;
}
}