challenge-landing-page/css/style.css

222 lines
3.3 KiB
CSS
Raw Normal View History

2022-10-12 01:07:45 +00:00
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
padding: 0;
margin: 0;
font-family: "Inter", sans-serif;
2022-10-11 19:06:41 +00:00
}
2022-10-13 02:39:25 +00:00
/*--------------------Header-------------------------------*/
2022-10-12 01:07:45 +00:00
.header-logo {
background-color: black;
display: flex;
justify-content: center;
2022-10-11 19:06:41 +00:00
}
2022-10-13 02:39:25 +00:00
2022-10-12 01:07:45 +00:00
.logo {
width: 12%;
margin-top: 29px;
margin-bottom: 29px;
2022-10-11 19:06:41 +00:00
}
2022-10-13 02:39:25 +00:00
2022-10-12 01:07:45 +00:00
.header-computer {
width: 100%;
2022-10-11 20:44:28 +00:00
}
2022-10-13 02:39:25 +00:00
2022-10-12 01:07:45 +00:00
.computers {
width: 100%;
display: flex;
justify-content: center;
margin-top: 73px;
2022-10-11 20:44:28 +00:00
}
2022-10-13 02:39:25 +00:00
2022-10-12 01:07:45 +00:00
.info {
text-align: center;
margin: 73px;
}
2022-10-13 02:39:25 +00:00
2022-10-12 01:07:45 +00:00
p {
font-size: 16px;
font: weight 400px;
text-align: center;
2022-10-13 19:09:55 +00:00
line-height: 24px;
2022-10-12 01:07:45 +00:00
justify-content: center;
2022-10-11 20:44:28 +00:00
}
2022-10-13 02:39:25 +00:00
2022-10-12 01:07:45 +00:00
.text {
margin-top: 28px;
2022-10-11 20:44:28 +00:00
}
2022-10-13 02:39:25 +00:00
2022-10-12 01:07:45 +00:00
.lorem {
font-size: 32px;
font-weight: 400px;
line-height: 38px;
2022-10-11 20:44:28 +00:00
}
2022-10-13 02:39:25 +00:00
2022-10-12 01:07:45 +00:00
.dolor {
font-size: 48px;
font-weight: 500px;
line-height: 58px;
}
2022-10-13 02:39:25 +00:00
2022-10-13 02:31:18 +00:00
/*----------------Section-2--------------------------*/
2022-10-13 00:26:29 +00:00
.square {
box-shadow: 0px 4px 20px #0000003b;
text-align: center;
padding: 1em;
flex: 1 1 250px;
background-color: white;
padding: 3em 0;
align-items: center;
}
2022-10-13 02:39:25 +00:00
2022-10-13 00:26:29 +00:00
.container-3 {
2022-10-13 19:09:55 +00:00
margin-top: 6rem;
margin-bottom: 3rem;
2022-10-13 00:26:29 +00:00
display: flex;
gap: 1em;
flex-wrap: wrap;
padding: 1em;
}
2022-10-13 02:39:25 +00:00
/*----------------Section-3--------------------------*/
2022-10-13 00:26:29 +00:00
.container-notebooks {
display: flex;
2022-10-13 19:09:55 +00:00
text-align: center;
2022-10-13 00:26:29 +00:00
justify-content: center;
2022-10-13 19:09:55 +00:00
background-color: #E0E0E0;
gap: 0,1em;
padding: 1em;
}
.notebook{
width: 100%;
translate: 0px 64px;
margin-top: -62px;
2022-10-12 01:07:45 +00:00
}
2022-10-13 02:39:25 +00:00
2022-10-13 02:31:18 +00:00
/*----------------Section-4--------------------------*/
2022-10-13 02:39:25 +00:00
.container-4 {
2022-10-13 19:09:55 +00:00
margin-top: 62px;
width: 100%;
2022-10-13 01:45:49 +00:00
}
2022-10-13 02:39:25 +00:00
.title {
2022-10-13 01:45:49 +00:00
text-align: center;
font-size: 32px;
font-weight: 600;
}
2022-10-13 02:39:25 +00:00
.text-container {
2022-10-13 01:45:49 +00:00
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
2022-10-13 02:39:25 +00:00
.text-p {
2022-10-13 01:45:49 +00:00
align-items: center;
2022-10-13 19:09:55 +00:00
width: 550px;
height: 120px;
line-height: 24px;
2022-10-13 01:45:49 +00:00
margin-bottom: 50px;
}
2022-10-13 02:39:25 +00:00
.image-final {
2022-10-13 01:45:49 +00:00
display: flex;
justify-content: center;
}
2022-10-13 02:39:25 +00:00
.image-container {
2022-10-13 19:09:55 +00:00
display: flex;
justify-content: center;
margin-bottom: 4rem;
2022-10-13 01:45:49 +00:00
}
2022-10-13 02:39:25 +00:00
.retangle {
2022-10-13 01:45:49 +00:00
width: 70%;
}
2022-10-13 02:39:25 +00:00
2022-10-13 02:31:18 +00:00
/*----------------Footer--------------------------*/
2022-10-13 02:39:25 +00:00
footer {
2022-10-13 01:45:49 +00:00
background-color: black;
2022-10-13 02:31:18 +00:00
}
2022-10-13 02:39:25 +00:00
.image-footer {
2022-10-13 01:45:49 +00:00
padding: 1em;
display: flex;
justify-content: center;
gap: 1em;
}
2022-10-13 02:39:25 +00:00
2022-10-13 19:09:55 +00:00
2022-10-13 02:39:25 +00:00
.text-footer {
2022-10-13 02:31:18 +00:00
color: white;
font-size: 10px;
font-weight: 400;
2022-10-13 19:09:55 +00:00
}
@media only screen and (min-width: 2500px){
p{
font-size: 32px;
}
}
@media only screen and (max-width:1024px){
.container-4{
display: flex;
flex-direction: column;
}
.section-4{
order: 2;
}
.image-final{
order: 1;
width: 100%;
}
.image-container{
width: 414px;
height: 414px;
object-fit: fill;
}
.retangle{
width: 100%;
object-fit: fill;
transform: scale(-3,1);
zoom: normal;
}
2022-10-13 20:55:41 +00:00
.header-computer{
position: relative;
object-fit: cover;
}
2022-10-13 19:09:55 +00:00
}
@media only screen and (max-width:700px){
.text-p{
width: 350px;
height: 152px;
margin-bottom: 6rem;
}
}
@media only screen and (max-width:1024px){
.container-notebooks{
2022-10-13 20:55:41 +00:00
display: grid;
grid-template-columns: 1fr 1fr;
gap: 23px;
}
.notebook{
display: grid;
grid-column: 1 / 3;
place-items: center;
width: 100%;
}
.image3{
display: grid;
place-items: center;
margin-top: 1px;
2022-10-13 19:09:55 +00:00
align-items: center;
justify-content: center;
2022-10-13 20:55:41 +00:00
margin-left: 60%;
2022-10-13 19:09:55 +00:00
}
2022-10-13 02:39:25 +00:00
}