challenge-landing-page/assets/styles/styles.css

423 lines
6.5 KiB
CSS
Raw Normal View History

2022-10-09 22:31:30 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
2022-10-10 01:33:36 +00:00
font-family: "Inter", sans-serif;
color: #000000;
2022-10-09 22:31:30 +00:00
}
header {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100px;
background: #000000;
}
2022-10-09 23:25:31 +00:00
2022-10-11 23:23:47 +00:00
/* Estilos do banner superior */
2022-10-09 23:25:31 +00:00
.banner-desktop {
display: flex;
justify-content: center;
width: 100%;
}
.banner-desktop figure img {
2022-10-10 14:12:11 +00:00
display: block;
2022-10-09 23:25:31 +00:00
width: 100%;
}
.banner-mobile {
display: none;
}
2022-10-11 23:23:47 +00:00
/* Estilos do inforcard superior */
2022-10-10 01:33:36 +00:00
.infocard {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.infocard-title {
2022-10-10 01:33:36 +00:00
display: flex;
flex-direction: column;
align-items: center;
2022-10-10 01:33:36 +00:00
margin: 74px 0;
width: 80%;
}
.infocard h2 {
2022-10-11 23:23:47 +00:00
font-weight: 400;
2022-10-10 01:33:36 +00:00
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.infocard h1 {
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.infocard-paragraph {
display: flex;
justify-content: center;
width: 100%;
}
2022-10-10 01:33:36 +00:00
.infocard p {
display: flex;
justify-content: center;
2022-10-10 01:33:36 +00:00
font-size: 16px;
line-height: 24px;
margin-top: 28px;
width: 100%;
}
.infocard figure {
display: flex;
justify-content: center;
margin-bottom: 90px;
}
2022-10-11 23:23:47 +00:00
/* Estilos do top cards */
2022-10-11 19:32:46 +00:00
.top-cards {
2022-10-10 14:12:11 +00:00
display: flex;
justify-content: center;
margin: 90px 0 80px;
width: 100%;
}
2022-10-11 19:32:46 +00:00
.top-cards-container {
2022-10-10 14:12:11 +00:00
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
justify-content: center;
2022-10-11 02:04:31 +00:00
gap: 20px;
2022-10-10 14:12:11 +00:00
width: 57%;
}
2022-10-11 19:32:46 +00:00
.top-cards-container div {
2022-10-10 14:12:11 +00:00
display: flex;
flex-direction: column;
align-items: center;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 35px 26px 26px;
width: 100%;
}
2022-10-11 19:32:46 +00:00
.top-cards-container img {
2022-10-10 14:12:11 +00:00
display: block;
margin-bottom: 27px;
}
2022-10-11 19:32:46 +00:00
.top-cards-container p {
2022-10-10 14:12:11 +00:00
text-align: center;
font-size: 16px;
line-height: 24px;
}
2022-10-11 23:23:47 +00:00
/* Estilos da galeria */
2022-10-11 02:04:31 +00:00
.gallery {
display: flex;
justify-content: center;
width: 100%;
background: #e0e0e0;
2022-10-11 19:32:46 +00:00
margin-bottom: 190px;
2022-10-11 02:04:31 +00:00
}
.gallery-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
justify-content: center;
gap: 40px;
width: 92%;
}
.gallery-container figure {
display: flex;
justify-content: center;
position: relative;
top: 60px;
width: 100%;
}
.gallery-container img {
width: 100%;
}
2022-10-11 23:23:47 +00:00
/* Estilos do bottom cards */
2022-10-11 19:32:46 +00:00
.bottom-cards {
display: flex;
justify-content: center;
margin-bottom: 108px;
width: 100%;
}
.bottom-cards-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(415px, 1fr));
justify-content: center;
gap: 16px;
width: 92%;
}
.bottom-cards-container div {
display: flex;
flex-direction: column;
align-items: center;
background: #ffffff;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
padding: 35px 32px 65px 32px;
width: 100%;
}
.bottom-cards-container img {
display: block;
margin-bottom: 15px;
}
.bottom-cards-container p {
text-align: center;
font-size: 16px;
line-height: 24px;
}
2022-10-11 23:23:47 +00:00
/* Estilos do infocard inferior desktop*/
2022-10-11 21:56:44 +00:00
.bottom-ifocard-desktop {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 116px;
width: 100%;
}
.bottom-ifocard-desktop img {
width: 100%;
}
.bottom-ifocard-desktop-container {
display: flex;
justify-content: center;
text-align: center;
width: 70%;
margin-bottom: 50px;
}
.bottom-ifocard-desktop-container div {
width: 40%;
}
2022-10-11 23:23:47 +00:00
.bottom-ifocard-desktop-container h1 {
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bottom-ifocard-desktop-container p {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
2022-10-11 21:56:44 +00:00
.bottom-ifocard-mobile {
display: none;
}
2022-10-11 23:23:47 +00:00
/* Estilos do footer */
footer {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
background: #000000;
}
footer p {
font-size: 10px;
line-height: 12px;
text-align: center;
text-transform: uppercase;
color: #bdbdbd;
margin-bottom: 38px;
}
.footer-container div {
display: flex;
justify-content: center;
gap: 16px;
margin: 38px 0 16px;
}
/* Media queries */
2022-10-11 22:18:31 +00:00
@media (min-width: 1920px) {
.top-cards-container {
display: flex;
}
.bottom-cards-container {
display: flex;
}
}
@media (min-width: 1623px) and (max-width: 1912px) {
.top-cards-container {
width: 75%;
}
}
@media (min-width: 1264px) and (max-width: 1622px) {
.top-cards-container {
width: 90%;
}
}
@media (min-width: 600px) and (max-width: 1123px) {
.bottom-ifocard-desktop-container div {
width: 75%;
}
}
@media (min-width: 415px) and (max-width: 599px) {
.gallery-container {
grid-template-columns: repeat(auto-fill, minmax(94%, 1fr));
}
.gallery-container img {
width: 94%;
}
.bottom-cards-container {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.bottom-ifocard-desktop-container div {
width: 85%;
}
}
2022-10-11 23:23:47 +00:00
/* Estilos mobile */
2022-10-09 23:25:31 +00:00
@media (max-width: 414px) {
.banner-desktop {
display: none;
}
.banner-mobile {
display: flex;
justify-content: center;
width: 100%;
}
.banner-mobile figure img {
width: 100%;
}
2022-10-10 01:33:36 +00:00
.infocard div {
width: 86%;
}
.infocard h2 {
font-size: 20px;
line-height: 24px;
}
.infocard h1 {
font-size: 28px;
line-height: 34px;
}
.infocard figure img {
width: 58%;
}
2022-10-10 14:12:11 +00:00
.infocard p {
text-align: center;
}
2022-10-11 19:32:46 +00:00
.top-cards {
2022-10-10 14:12:11 +00:00
margin-top: 0;
}
2022-10-11 02:04:31 +00:00
2022-10-11 21:56:44 +00:00
.gallery {
margin-bottom: 112px;
}
2022-10-11 02:04:31 +00:00
.gallery-container {
gap: 24px 14px;
}
.gallery-container figure {
top: 30px;
}
.image03 {
position: relative;
left: 54%;
}
.image03 img {
width: 208%;
}
2022-10-10 14:12:11 +00:00
2022-10-11 19:32:46 +00:00
.bottom-cards-container {
2022-10-10 14:12:11 +00:00
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
2022-10-11 21:56:44 +00:00
.bottom-ifocard-desktop {
display: none;
}
.bottom-ifocard-mobile {
display: flex;
flex-direction: column;
margin-bottom: 87px;
}
.bottom-ifocard-mobile img {
width: 100%;
}
.bottom-ifocard-mobile-container {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 0 32px;
}
.bottom-ifocard-mobile-container h1 {
margin: 50px 0 9px;
}
2022-10-11 23:23:47 +00:00
.footer-container {
width: 63%;
}
2022-10-11 21:56:44 +00:00
}
2022-10-11 19:32:46 +00:00
@media (min-width: 350px) and (max-width: 380px) {
.top-cards-container {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
2022-10-11 13:43:17 +00:00
}
}
2022-10-11 19:32:46 +00:00
@media (min-width: 280px) and (max-width: 349px) {
.top-cards-container {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.bottom-cards-container {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
2022-10-11 13:43:17 +00:00
}
}