Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 117 additions & 98 deletions src/components/footer/footer.module.css
Original file line number Diff line number Diff line change
@@ -1,125 +1,144 @@
.footerContainer {
display: flex;
justify-content: center;
align-items: center;
padding: 20px 40px;
overflow: hidden;
margin-top: 100px;
background-color: rgb(24, 24, 24);
border-top-left-radius: 20px;
border-top-right-radius: 20px;
color: white;
height: 400px;
z-index: 0;
width: 100vw;
position: relative;
display: flex;
justify-content: center;
align-items: center;
padding-top: 20px;
padding-bottom: 20px;
overflow: hidden;
margin-top: 50px;
background-color: rgb(24, 24, 24);
border-top-left-radius: 20px;
border-top-right-radius: 20px;
color: white;
height: 350px;
z-index: 0;
width: 100vw;
position: relative;
}

.footerHead {
line-height: .9;
position: absolute;
left: 80px;
top: 40px;
font-family: "Impact", sans-serif;
font-size: 13vw;
color: #141414;
opacity: .4;
text-shadow:
1px 1px 0 #ffffff,
-1px -1px 0 #ffffff,
1px -1px 0 #ffffff,
-1px 1px 0 #ffffff;
font-weight: 800;
width: fit-content;
margin-bottom: 10px;
position: absolute;
top: 38%; /* ↑ was 42% — moves faded text up slightly */
left: 50%;
transform: translate(-50%, -50%);
font-family: "Impact", sans-serif;
font-size: 13vw;
color: rgba(255, 255, 255, 0.05);
font-weight: 800;
line-height: 1;
z-index: 0;
pointer-events: none;
}

.footerContent {
position: absolute;
right: 80px;
bottom: 40px;
}

.grid {
display: grid;
grid-template-columns: 1fr 1fr .7fr;
gap: 20px;
align-items: start;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 90px;
width: 100%;
max-width: 1200px;
padding: 0 40px;
display: grid;
grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
gap: 30px;
align-items: start;
z-index: 2;
box-sizing: border-box;
}

.gridCon {
color: white;
display: flex;
flex-direction: column;
justify-content: center;
padding: 20px;
text-align: right;
z-index: 20;
display: flex;
flex-direction: column;
text-align: left;
z-index: 2;
min-width: 0;
}

.link {
color: white;
text-decoration: none;
font-size: 20px;
font-weight: 500;
transition: all 0.3s ease-in-out;
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
font-size: 16px;
font-weight: 500;
transition: all 0.3s ease-in-out;
}

.link:hover {
color: rgba(255, 255, 255, 0.66);
color: rgba(255, 255, 255, 0.7);
}

.link:active {
color: rgba(143, 143, 143, 0.99);
.newsletter {
display: flex;
flex-direction: column;
gap: 8px;
}

.lowerCon {
padding: 0 20px;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 5px;
.newsletter input {
padding: 8px 12px;
border: none;
border-radius: 6px;
outline: none;
background-color: rgba(255, 255, 255, 0.1);
color: white;
font-size: 14px;
}

.newsletter button {
background: #fff;
color: #000;
padding: 8px 12px;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: 600;
transition: 0.3s;
}

.newsletter button:hover {
opacity: 0.85;
}

@media only screen and (max-width: 808px) {
.footerContainer {
height: 450px;
}
.lowerCon {
position: absolute;
bottom: 18px;
left: 40px;
right: 40px;
display: flex;
justify-content: space-between;
align-items: center;
}

.footerHead {
font-size: 19.5vw;
left: 50%;
top: 20px;
transform: translateX(-50%);
}
.footerContent {
right: 20px;
width: calc(100vw - 20px);
bottom: 20px;
}
.grid {
grid-template-columns: 1fr 1fr;
gap: 10px;
}

.gridCon, .link {
text-align: left;
}
.footerLogo {
position: absolute;
right: 40px;
bottom: 0.09px;
width: 50px;
height: 50px;
border-radius: 8px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.08);
z-index: 3;
}

.gridCon {
padding: 0 20px;
}
@media (max-width: 900px) {
.footerContent {
grid-template-columns: 1fr 1fr;
gap: 24px;
padding: 20px;
}
}

.link {
font-size: 16px;
}
@media (max-width: 420px) {
.footerContent {
grid-template-columns: 1fr;
gap: 16px;
padding: 16px;
}

.lowerCon {
margin-top: 10px;
padding: 0 20px;
display: flex;
flex-direction: column;
align-items: start;
gap: 5px;
}
}
.footerLogo {
right: 16px;
bottom: 12px;
width: 44px;
height: 44px;
}
}
Loading