102 lines
1.7 KiB
CSS
102 lines
1.7 KiB
CSS
body {
|
|
margin: 0;
|
|
background-image: url("/public/images/background/index-background.jfif");
|
|
background-attachment: fixed;
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
body #div-content {
|
|
height: 48rem;
|
|
position: relative;
|
|
background-color: #1B4056;
|
|
z-index: 2;
|
|
padding-bottom: 7rem;
|
|
}
|
|
|
|
.grid {
|
|
position: absolute;
|
|
display: grid;
|
|
gap: 5rem;
|
|
grid-template-columns: repeat(1, 80rem);
|
|
grid-template-rows: repeat(1, 28rem);
|
|
justify-self: center;
|
|
justify-content: center;
|
|
margin-top: 12rem;
|
|
}
|
|
.grid-item {
|
|
align-self: center;
|
|
}
|
|
|
|
.grid-item img {
|
|
border: 0.25rem solid #1B4056;
|
|
border-radius: 2rem;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.grid .one {
|
|
background-color: #235573;
|
|
padding: 1rem;
|
|
border-radius: .40rem;
|
|
}
|
|
|
|
.right-text {
|
|
margin-left: 31rem;
|
|
}
|
|
|
|
.one img {
|
|
float: left;
|
|
}
|
|
|
|
@media screen and (max-width: 1280px) {
|
|
.grid {
|
|
grid-template-columns: 90%;
|
|
}
|
|
|
|
.right-text {
|
|
margin-left: 40%;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
.grid {
|
|
position: relative;
|
|
grid-template-columns: 90%;
|
|
grid-template-rows: auto;
|
|
gap: 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.grid-item img {
|
|
float: none;
|
|
display: block;
|
|
margin: 0 auto 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.one img {
|
|
float: none;
|
|
}
|
|
|
|
.right-text {
|
|
margin-left: 0;
|
|
}
|
|
|
|
body #div-content {
|
|
height: auto;
|
|
min-height: 30rem;
|
|
padding-bottom: 5rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.grid {
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.grid .one {
|
|
padding: 0.6rem;
|
|
}
|
|
}
|