Fix ─ Responsive UI

This commit is contained in:
nocode committed 2026-05-04 14:13:28 +02:00
1 parent 443a430195
commit c5a9f000dc
8 files changed
+758 -493

No files matched your search

+53 -2
View File
@@ -12,8 +12,6 @@ body #div-content {
background-color: #1B4056; background-color: #1B4056;
z-index: 2; z-index: 2;
padding-bottom: 7rem; padding-bottom: 7rem;
} }
.grid { .grid {
@@ -33,6 +31,8 @@ body #div-content {
.grid-item img { .grid-item img {
border: 0.25rem solid #1B4056; border: 0.25rem solid #1B4056;
border-radius: 2rem; border-radius: 2rem;
max-width: 100%;
height: auto;
} }
.grid .one { .grid .one {
@@ -48,3 +48,54 @@ body #div-content {
.one img { .one img {
float: left; 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;
}
}
+79 -2
View File
@@ -12,8 +12,6 @@ body #div-content {
background-color: #1B4056; background-color: #1B4056;
z-index: 2; z-index: 2;
padding-bottom: 7rem; padding-bottom: 7rem;
} }
.grid { .grid {
@@ -33,6 +31,8 @@ body #div-content {
.grid-item img { .grid-item img {
border-radius: 2rem; border-radius: 2rem;
max-width: 100%;
height: auto;
} }
.grid .one { .grid .one {
@@ -75,3 +75,80 @@ body #div-content {
.contact:hover{ .contact:hover{
transform: scale(1.01); transform: scale(1.01);
} }
@media screen and (max-width: 1280px) {
.grid {
grid-template-columns: 90%;
}
.right-text {
margin-left: 45%;
}
}
@media screen and (max-width: 1024px) {
.grid {
position: relative;
grid-template-columns: 90%;
grid-template-rows: auto;
gap: 2rem;
margin-top: 4rem;
}
.grid-item {
height: auto;
}
.grid-item img {
float: none;
display: block;
margin: 0 auto 1rem;
width: 100%;
max-width: 30rem;
}
.one img {
float: none;
}
.right-text {
margin-left: 0;
}
.contact {
width: 100%;
max-width: 30rem;
margin: 0 auto;
label, input, textarea {
margin: 1rem;
}
textarea {
width: calc(100% - 2rem);
box-sizing: border-box;
}
input {
width: calc(100% - 2rem);
box-sizing: border-box;
}
}
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;
}
.contact {
box-shadow: 0.5rem 0.5rem 0rem #000000;
}
}
+54 -2
View File
@@ -7,7 +7,6 @@
justify-self: center; justify-self: center;
justify-content: center; justify-content: center;
margin-top: 5rem; margin-top: 5rem;
} }
.grid-item { .grid-item {
@@ -23,5 +22,58 @@
background-color: #1B4056; background-color: #1B4056;
z-index: 2; z-index: 2;
padding-bottom: 10rem; padding-bottom: 10rem;
}
@media screen and (max-width: 1280px) {
.grid {
grid-template-columns: repeat(3, 20rem);
grid-template-rows: repeat(3, 18rem);
gap: 2.5rem;
}
#div-content {
height: 64rem;
}
}
@media screen and (max-width: 1024px) {
.grid {
grid-template-columns: repeat(2, 20rem);
grid-template-rows: repeat(4, 18rem);
}
#div-content {
height: 84rem;
}
}
@media screen and (max-width: 768px) {
.grid {
position: relative;
grid-template-columns: minmax(0, 90%);
grid-template-rows: auto;
gap: 1.5rem;
margin-top: 2rem;
padding: 0 1rem;
}
.grid-item {
min-height: 8rem;
}
#div-content {
height: auto;
min-height: 30rem;
padding-bottom: 5rem;
}
}
@media screen and (max-width: 480px) {
.grid {
gap: 1rem;
}
#div-content {
padding-bottom: 4rem;
}
} }
+43 -3
View File
@@ -7,7 +7,6 @@
justify-self: center; justify-self: center;
justify-content: center; justify-content: center;
margin-top: 5rem; margin-top: 5rem;
} }
.grid-item { .grid-item {
@@ -16,12 +15,53 @@
border-radius: .4rem; border-radius: .4rem;
} }
body #div-content { body #div-content {
height: 42rem; height: 42rem;
position: relative; position: relative;
background-color: #1B4056; background-color: #1B4056;
z-index: 2; z-index: 2;
padding-bottom: 10rem; padding-bottom: 10rem;
}
@media screen and (max-width: 1024px) {
.grid {
grid-template-columns: repeat(2, 20rem);
grid-template-rows: repeat(3, 18rem);
gap: 2.5rem;
}
body #div-content {
height: 64rem;
}
}
@media screen and (max-width: 768px) {
.grid {
position: relative;
grid-template-columns: minmax(0, 90%);
grid-template-rows: auto;
gap: 1.5rem;
margin-top: 2rem;
padding: 0 1rem;
}
.grid-item {
min-height: 8rem;
}
body #div-content {
height: auto;
min-height: 30rem;
padding-bottom: 5rem;
}
}
@media screen and (max-width: 480px) {
.grid {
gap: 1rem;
}
body #div-content {
padding-bottom: 4rem;
}
} }
+328 -434
View File
@@ -1,490 +1,384 @@
@media screen and (max-width: 1920px) and (min-width: 1080px) { .nav-toggler {
.nav-toggler { position: fixed;
position: fixed; z-index: 1002;
z-index: 1002; top: 0.25%;
top: 0.25%; left: 2.5%;
left: 2.5%; height: 5%;
height: 5%; width: 3%;
width: 3%; border-radius: 20%;
border-radius: 20%; border: none;
border: none; outline: none;
outline: none; cursor: pointer;
cursor: pointer; display: flex;
display: flex; justify-content: center;
justify-content: center; align-items: center;
align-items: center; background: transparent;
background: transparent; }
}
.line { .line {
position: absolute; position: absolute;
display: block; display: block;
width: 100%; width: 100%;
height: 5%; height: 5%;
background-color: #235573; background-color: #235573;
transition: transform 0.3s ease-out, opacity 0.1s ease-out; transition: transform 0.3s ease-out, opacity 0.1s ease-out;
} }
.l1 { .l1 {
transform: translateY(-450%); transform: translateY(-450%);
} }
.l3 { .l3 {
transform: translateY(450%); transform: translateY(450%);
} }
.nav-toggler.active .l1 { .nav-toggler.active .l1 {
transform: translateY(0%) rotate(45deg); transform: translateY(0%) rotate(45deg);
} }
.nav-toggler.active .l2 { .nav-toggler.active .l2 {
opacity: 0; opacity: 0;
} }
.nav-toggler.active .l3 { .nav-toggler.active .l3 {
transform: translateY(0%) rotate(-45deg); transform: translateY(0%) rotate(-45deg);
} }
nav {
position: fixed;
width: 12%;
height: 101%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #1B4056;
border-right: 0.3px solid black;
border-radius: 0.5rem;
transform: translateX(-100%);
transition: transform 0.3s cubic-bezier(.17,.67,.17,.67);
z-index: 1001;
}
nav.active {
transform: translate(-1%);
}
nav a {
font-family: Quicksand, sans-serif;
color: #000000;
font-size: 100%;
display: flex;
margin: 10% 0;
text-decoration: none;
background-color: #235573;
justify-content: center;
align-items: center;
width: 100%;
height: 2rem;
border-radius: 0.4rem;
}
nav a:hover {
background-color: #2a658a;
}
#ingame {
position: fixed;
z-index: 1002;
border-radius: 20%;
border: none;
outline: none;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
background: #235573;
width: 70%;
height: 5%;
border-radius: 20px;
}
.wallpaper {
height: 55rem;
background-image: linear-gradient( #1b1b1b00, #1B4056 );
display: flex;
justify-content: center;
}
#nav-menu {
position: relative;
}
#logo {
margin-left: 90%;
}
#header-box, #nav-ui button {
margin-left: 10%;
}
body #arrow-down {
display: flex;
flex-direction: row;
justify-self: center;
align-items: end;
position: absolute;
}
#arrow-down {
background-color: #ffffff00;
top: 80%;
left: 48.75%;
border: none;
z-index: 1;
}
#title {
display: flex;
flex-direction: column;
color: #ffffff;
align-items: center;
justify-content: center;
}
h1 {
position: fixed;
font-size: 60px;
}
h2 {
position: fixed;
margin-top: 10rem;
font-size: 30px;
}
body #footer-box {
width: 100%;
height: 5.10%;
width: 100%;
bottom: 0;
background-color: #173344;
z-index: 100;
}
body header {
background-color: #173344;
position: fixed;
width: 100%;
z-index: 1000;
}
.level-one{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 1rem;
}
#footer-box a {
font-family: Quicksand, sans-serif;
color: #0a1d29;
display: flex;
text-decoration: none;
}
t {
color: #265370;
}
#footer-box a:hover {
background-color: #1d445e8e;
border: 1.5px solid #142c3b;
border-radius: 0.4rem;
}
#footer-box .level-two{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
}
.level-two p {
color: black;
font-size: 12px;
}
#footer-box .level-three{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
font-size: small;
}
nav fieldset {
color: #447797;
border: 0.15rem dashed #834206ec;
border-radius: 2rem;
}
nav legend {
padding: 0.5rem;
}
#field-ing legend {
margin-left: 3.3rem;
}
#field-rp legend {
margin-left: 2.8rem;
}
#field-outofgame legend {
margin-left: 2.9rem;
}
#bar {
background-color: #000000;
padding: 0.02%;
width: 80%;
margin-left: 10%;
margin-right: 10%;
}
@media screen and (max-width: 1024px) {
nav { nav {
position: fixed; width: 30%;
width: 12%;
height: 101%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #1B4056;
border-right: 0.3px solid black;
border-radius: 0.5rem;
transform: translateX(-100%);
transition: transform 0.3s cubic-bezier(.17,.67,.17,.67);
z-index: 1001;
} }
nav.active { .nav-toggler {
transform: translate(-1%); width: 6%;
} height: 4%;
nav a {
font-family: Quicksand, sans-serif;
color: #000000;
font-size: 100%;
display: flex;
margin: 10% 0;
text-decoration: none;
background-color: #235573;
justify-content: center;
align-items: center;
width: 100%;
height: 2rem;
border-radius: 0.4rem;
}
nav a:hover {
background-color: #2a658a;
}
#ingame {
position: fixed;
z-index: 1002;
border-radius: 20%;
border: none;
outline: none;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
background: #235573;
width: 70%;
height: 5%;
border-radius: 20px;
}
.wallpaper {
height: 55rem;
background-image: linear-gradient( #1b1b1b00, #1B4056 );
display: flex;
justify-content: center;
}
#nav-menu {
position: relative;
} }
#logo { #logo {
margin-left: 90%; margin-left: 85%;
} }
#header-box, #nav-ui button { .wallpaper {
margin-left: 10%; height: 40rem;
}
body #arrow-down {
display: flex;
flex-direction: row;
justify-self: center;
align-items: end;
position: fixed;
}
#arrow-down {
background-color: #ffffff00;
top: 80%;
left: 48.75%;
border: none;
z-index: 1;
}
#title {
display: flex;
flex-direction: column;
color: #ffffff;
align-items: center;
justify-content: center;
}
h1 {
position: fixed;
font-size: 60px;
}
h2 {
position: fixed;
margin-top: 10rem;
font-size: 30px;
}
body #footer-box {
width: 100%;
height: 5.10%;
width: 100%;
bottom: 0;
background-color: #173344;
z-index: 100;
}
body header {
background-color: #173344;
position: fixed;
width: 100%;
z-index: 1000;
}
.level-one{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 1rem;
}
#footer-box a {
font-family: Quicksand, sans-serif;
color: #0a1d29;
display: flex;
text-decoration: none;
}
t {
color: #265370;
}
#footer-box a:hover {
background-color: #1d445e8e;
border: 1.5px solid #142c3b;
border-radius: 0.4rem;
}
#footer-box .level-two{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
}
.level-two p {
color: black;
font-size: 12px;
}
#footer-box .level-three{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
margin-bottom: 1rem;
font-size: small;
}
nav fieldset {
color: #447797;
border: 0.15rem dashed #834206ec;
border-radius: 2rem;
}
nav legend {
padding: 0.5rem;
}
#field-ing legend {
margin-left: 3.3rem;
}
#field-rp legend {
margin-left: 2.8rem;
}
#field-outofgame legend {
margin-left: 2.9rem;
}
#bar {
background-color: #000000;
padding: 0.02%;
width: 80%;
margin-left: 10%;
margin-right: 10%;
} }
} }
/* @media screen and (max-width: 10240px) { @media screen and (max-width: 768px) {
.nav-toggler {
position: fixed;
z-index: 1002;
top: 0.25%;
left: 2.5%;
height: 5%;
width: 3%;
border-radius: 20%;
border: none;
outline: none;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
background: transparent;
}
.line {
position: absolute;
display: block;
width: 100%;
height: 5%;
background-color: #235573;
transition: transform 0.3s ease-out, opacity 0.1s ease-out;
}
.l1 {
transform: translateY(-450%);
}
.l3 {
transform: translateY(450%);
}
.nav-toggler.active .l1 {
transform: translateY(0%) rotate(45deg);
}
.nav-toggler.active .l2 {
opacity: 0;
}
.nav-toggler.active .l3 {
transform: translateY(0%) rotate(-45deg);
}
nav { nav {
position: fixed; width: 50%;
width: 12%;
height: 101%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #1B4056;
border-right: 0.3px solid black;
border-radius: 0.5rem;
transform: translateX(-100%);
transition: transform 0.3s cubic-bezier(.17,.67,.17,.67);
z-index: 1001;
} }
nav.active { .nav-toggler {
transform: translate(-1%); width: 10%;
height: 4%;
} }
nav a { nav a {
font-family: Quicksand, sans-serif; font-size: 90%;
color: #000000;
font-size: 100%;
display: flex;
margin: 10% 0;
text-decoration: none;
background-color: #235573;
justify-content: center;
align-items: center;
width: 100%;
height: 2rem;
border-radius: 0.4rem;
}
nav a:hover {
background-color: #2a658a;
}
.wallpaper {
height: 55rem;
background-image: linear-gradient( #1b1b1b00, #1B4056 );
}
#nav-menu {
position: relative;
} }
#logo { #logo {
margin-left: 90%; margin-left: 80%;
} }
#header-box, #nav-ui button { #logo img {
margin-left: 10%; width: 40px;
} height: auto;
body #arrow-down {
display: flex;
flex-direction: row;
justify-self: center;
align-items: end;
position: fixed;
}
#arrow-down {
background-color: #ffffff00;
top: 80%;
left: 48.75%;
border: none;
z-index: 1;
} }
.wallpaper { .wallpaper {
display: flex; height: 45rem;
justify-content: center;
}
#title {
display: flex;
flex-direction: column;
color: #ffffff;
align-items: center;
justify-content: center;
} }
h1 { h1 {
position: fixed; font-size: 40px;
font-size: 60px;
} }
h2 { h2 {
position: fixed; font-size: 22px;
margin-top: 10rem; margin-top: 7rem;
font-size: 30px;
} }
body #footer-box { #arrow-down {
width: 100%; left: 45%;
height: 5.10%;
width: 100%;
bottom: 0;
background-color: #173344;
z-index: 100;
} }
body header { #arrow-down img {
background-color: #173344; width: 45px;
position: fixed; height: auto;
width: 100%;
z-index: 1000;
} }
.level-one{ .level-one img {
display: flex; max-width: 100%;
flex-direction: row; height: auto;
justify-content: center;
align-items: center;
gap: 1rem;
}
#footer-box a {
font-family: Quicksand, sans-serif;
color: #0a1d29;
display: flex;
text-decoration: none;
}
t {
color: #265370;
}
#footer-box a:hover {
background-color: #1d445e8e;
border: 1.5px solid #142c3b;
border-radius: 0.4rem;
}
#footer-box .level-two{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
} }
.level-two p { .level-two p {
color: black; font-size: 11px;
font-size: 12px; text-align: center;
}
#footer-box .level-three{
display: flex;
flex-direction: row;
justify-content: center;
align-items: start;
gap: 1rem;
margin-bottom: 1rem;
font-size: small;
} }
nav fieldset { nav fieldset {
color: #447797; margin: 0.5rem 0;
border: 0.15rem dashed #834206ec;
border-radius: 2rem;
}
nav legend {
padding: 0.5rem;
}
#field-ing legend {
margin-left: 3.3rem;
}
#field-rp legend {
margin-left: 2.8rem;
} }
#field-ing legend,
#field-rp legend,
#field-outofgame legend { #field-outofgame legend {
margin-left: 2.9rem; margin-left: 1.5rem;
}
}
@media screen and (max-width: 480px) {
nav {
width: 75%;
} }
#bar { .nav-toggler {
background-color: #000000; width: 12%;
padding: 0.02%; height: 4%;
width: 80%; left: 3%;
margin-left: 10%;
margin-right: 10%;
} }
} */
#logo {
margin-left: 75%;
}
#logo img {
width: 35px;
}
.wallpaper {
height: 40rem;
}
h1 {
font-size: 28px;
}
h2 {
font-size: 18px;
margin-top: 5rem;
}
#arrow-down {
left: 42%;
top: 75%;
}
#arrow-down img {
width: 35px;
}
#footer-box .level-three {
font-size: 10px;
flex-wrap: wrap;
}
.level-two p {
font-size: 10px;
}
}
+57 -3
View File
@@ -4,7 +4,6 @@ body #div-content {
background-color: #1B4056; background-color: #1B4056;
z-index: 2; z-index: 2;
padding-bottom: 7rem; padding-bottom: 7rem;
} }
.grid { .grid {
@@ -16,6 +15,7 @@ body #div-content {
justify-content: center; justify-content: center;
margin-top: 5rem; margin-top: 5rem;
} }
.grid-item { .grid-item {
height: 96rem; height: 96rem;
align-self: center; align-self: center;
@@ -23,13 +23,14 @@ body #div-content {
.grid-item img { .grid-item img {
border-radius: 2rem; border-radius: 2rem;
max-width: 100%;
height: auto;
} }
.grid-item img:hover { .grid-item img:hover {
box-shadow: 0.2rem 1rem 2rem #000000; box-shadow: 0.2rem 1rem 2rem #000000;
transform: scale(1.01); transform: scale(1.01);
cursor: default; cursor: default;
} }
.grid .one ,.three,.five { .grid .one ,.three,.five {
@@ -42,7 +43,6 @@ body #div-content {
background-color: #235573; background-color: #235573;
padding: 1rem; padding: 1rem;
border-radius: .40rem; border-radius: .40rem;
} }
.grid, .one img { .grid, .one img {
@@ -56,3 +56,57 @@ body #div-content {
.grid-item p { .grid-item p {
font-size: 20px; font-size: 20px;
} }
@media screen and (max-width: 1280px) {
.grid {
grid-template-columns: 90%;
}
}
@media screen and (max-width: 1024px) {
.grid {
position: relative;
grid-template-columns: 90%;
gap: 2rem;
margin-top: 2rem;
}
.grid-item {
height: auto;
}
.grid-item img {
float: none;
display: block;
margin: 0 auto 1rem;
width: 100%;
}
.grid .one img {
float: none;
}
.right-text {
margin-left: 0;
}
.grid-item p {
font-size: 18px;
}
body #div-content {
height: auto;
min-height: 30rem;
padding-bottom: 5rem;
}
}
@media screen and (max-width: 480px) {
.grid {
gap: 1.5rem;
}
.grid-item p {
font-size: 16px;
}
}
+66 -3
View File
@@ -4,7 +4,6 @@ body #div-content {
background-color: #1B4056; background-color: #1B4056;
z-index: 2; z-index: 2;
padding-bottom: 7rem; padding-bottom: 7rem;
} }
.grid { .grid {
@@ -17,19 +16,21 @@ body #div-content {
justify-content: center; justify-content: center;
margin-top: 15rem; margin-top: 15rem;
} }
.grid-item { .grid-item {
align-self: center; align-self: center;
} }
.grid-item img { .grid-item img {
border-radius: 2rem; border-radius: 2rem;
max-width: 100%;
height: auto;
} }
.grid-item img:hover { .grid-item img:hover {
box-shadow: 0.2rem 1rem 2rem #000000; box-shadow: 0.2rem 1rem 2rem #000000;
transform: scale(1.01); transform: scale(1.01);
cursor: default; cursor: default;
} }
.grid .one ,.three { .grid .one ,.three {
@@ -42,7 +43,6 @@ body #div-content {
background-color: #235573; background-color: #235573;
padding: 1rem; padding: 1rem;
border-radius: .40rem; border-radius: .40rem;
} }
.grid, .two img { .grid, .two img {
@@ -63,3 +63,66 @@ body #div-content {
.grid-item p { .grid-item p {
font-size: 20px; font-size: 20px;
} }
@media screen and (max-width: 1280px) {
.grid {
grid-template-columns: 90%;
}
.right-text {
margin-left: 50%;
}
}
@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%;
}
.grid .one img,
.grid .two img,
.grid .three img {
float: none;
}
.right-text {
margin-left: 0;
}
.grid-item p {
font-size: 18px;
}
body #div-content {
height: auto;
min-height: 30rem;
padding-bottom: 5rem;
}
}
@media screen and (max-width: 480px) {
.grid {
gap: 1.5rem;
}
.grid-item p {
font-size: 16px;
}
.grid .one,
.grid .two,
.grid .three {
padding: 0.6rem;
}
}
+78 -44
View File
@@ -1,77 +1,111 @@
body #div-content { body #div-content {
height: 198rem;
position: relative; position: relative;
background-color: #1B4056; background-color: #1B4056;
z-index: 2; z-index: 2;
padding-bottom: 7rem; padding: 5rem 0 7rem;
} }
.grid { .grid {
position: absolute;
display: grid; display: grid;
gap: 5rem; gap: 5rem;
grid-template-columns: repeat(1, 80rem); grid-template-columns: 80%;
grid-template-rows: repeat(6, 28rem);
justify-self: center;
justify-content: center; justify-content: center;
margin-top: 5rem;
} }
.grid-item { .grid-item {
align-self: center; align-self: center;
background-color: #235573;
padding: 1rem;
border-radius: .40rem;
overflow: hidden;
} }
.grid-item img { .grid-item img {
border-radius: 2rem; border-radius: 2rem;
max-width: 50%;
height: auto;
} }
.grid-item img:hover { .grid-item img:hover {
box-shadow: 0.2rem 1rem 2rem #000000; box-shadow: 0.2rem 1rem 2rem #000000;
transform: scale(1.01); transform: scale(1.01);
cursor: default; cursor: default;
} }
.grid .one ,.three,.five { .grid .one img,
background-color: #235573; .grid .three img,
padding: 1rem; .grid .five img {
border-radius: .40rem;
}
.grid .two ,.four, .six {
background-color: #235573;
padding: 1rem;
border-radius: .40rem;
}
.grid, .two img {
float: right;
}
.right-text {
margin-left: 44.5rem;
}
.grid, .four img {
float: right;
}
.grid, .six img {
float: right;
}
.grid, .one img {
float: left; float: left;
margin-right: 1.5rem;
} }
.grid, .three img { .grid .two img,
float: left; .grid .four img,
} .grid .six img {
float: right;
.grid, .five img { margin-left: 1.5rem;
float: left;
} }
.grid-item p { .grid-item p {
font-size: 20px; font-size: 20px;
text-align: justify;
}
@media screen and (max-width: 1280px) {
.grid {
grid-template-columns: 90%;
gap: 3rem;
}
.grid-item img {
max-width: 45%;
}
}
@media screen and (max-width: 1024px) {
.grid {
grid-template-columns: 90%;
gap: 2rem;
}
.grid-item img,
.grid .one img,
.grid .two img,
.grid .three img,
.grid .four img,
.grid .five img,
.grid .six img {
float: none;
display: block;
margin: 0 auto 1rem;
max-width: 100%;
width: 100%;
}
.grid-item p {
font-size: 18px;
}
body #div-content {
padding: 3rem 0 5rem;
}
}
@media screen and (max-width: 480px) {
.grid {
grid-template-columns: 95%;
gap: 1.5rem;
}
.grid-item p {
font-size: 16px;
}
.grid-item {
padding: 0.6rem;
}
body #div-content {
padding: 2rem 0 4rem;
}
} }