dressed_for_succes_store/frontend old/styles/Home.module.css
2025-03-11 22:42:30 +07:00

410 lines
6.8 KiB
CSS

.container {
min-height: 100vh;
background-color: transparent;
font-family: 'Cormorant Garamond', serif;
position: relative;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2rem 4rem;
background-color: rgba(26, 26, 26, 0.8);
color: #ffffff;
border-bottom: 1px solid rgba(255, 215, 0, 0.3);
backdrop-filter: blur(10px);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
}
.logo h1 {
font-size: 2.5rem;
font-weight: 600;
letter-spacing: 2px;
color: #ffd700;
margin: 0;
text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.cartIcon {
font-size: 1.2rem;
cursor: pointer;
padding: 0.5rem 1rem;
border: 1px solid #ffd700;
border-radius: 4px;
background-color: rgba(255, 215, 0, 0.1);
transition: all 0.3s ease;
}
.cartIcon:hover {
background-color: rgba(255, 215, 0, 0.2);
}
.layout {
margin-top: 2rem;
position: relative;
z-index: 1;
}
.sidebar {
width: 250px;
padding: 2rem;
background-color: rgba(248, 248, 248, 0.8);
backdrop-filter: blur(10px);
border-right: 1px solid rgba(224, 224, 224, 0.5);
}
.navLink {
display: block;
padding: 1rem;
margin: 0.5rem 0;
color: #333;
text-decoration: none;
font-size: 1.1rem;
transition: all 0.3s ease;
border-left: 3px solid transparent;
background-color: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(5px);
border-radius: 4px;
}
.navLink:hover {
background-color: rgba(255, 255, 255, 0.2);
border-left: 3px solid #ffd700;
color: #000;
}
.main {
flex: 1;
padding: 2rem;
}
.glassEffect {
background-color: rgba(255, 255, 255, 0.1) !important;
backdrop-filter: blur(10px) !important;
border: 1px solid rgba(255, 255, 255, 0.2) !important;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37) !important;
}
.hero {
text-align: center;
padding: 4rem 2rem;
background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
color: #ffffff;
margin-bottom: 3rem;
border-radius: 15px;
}
.hero h2 {
font-size: 3rem;
margin-bottom: 1rem;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.products {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
padding: 2rem;
}
.productCard {
padding: 1rem;
transition: all 0.3s ease;
text-align: center;
border-radius: 10px;
}
.productCard:hover {
transform: translateY(-5px);
box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}
.productImage {
width: 100%;
height: 300px;
overflow: hidden;
margin-bottom: 1rem;
border-radius: 8px;
}
.productImage img {
width: 100%;
height: 100%;
object-fit: cover;
transition: all 0.3s ease;
}
.productCard:hover .productImage img {
transform: scale(1.05);
}
.price {
font-size: 1.2rem;
color: #ffd700;
font-weight: 600;
margin: 1rem 0;
text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}
.addToCartButton {
background-color: rgba(26, 26, 26, 0.8);
color: #ffffff;
border: 1px solid #ffd700;
padding: 0.8rem 1.5rem;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
font-family: 'Cormorant Garamond', serif;
border-radius: 4px;
backdrop-filter: blur(5px);
}
.addToCartButton:hover {
background-color: rgba(255, 215, 0, 0.2);
border-color: #ffffff;
}
.footer {
width: 100%;
height: 100px;
border-top: 1px solid #eaeaea;
display: flex;
justify-content: center;
align-items: center;
}
.footer img {
margin-left: 0.5rem;
}
.footer a {
display: flex;
justify-content: center;
align-items: center;
}
.title a {
color: #0070f3;
text-decoration: none;
}
.title a:hover,
.title a:focus,
.title a:active {
text-decoration: underline;
}
.title {
margin: 0;
line-height: 1.15;
font-size: 4rem;
}
.title,
.description {
text-align: center;
}
.description {
line-height: 1.5;
font-size: 1.5rem;
}
.code {
background: #fafafa;
border-radius: 5px;
padding: 0.75rem;
font-size: 1.1rem;
font-family:
Menlo,
Monaco,
Lucida Console,
Liberation Mono,
DejaVu Sans Mono,
Bitstream Vera Sans Mono,
Courier New,
monospace;
}
.grid {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
max-width: 800px;
margin-top: 3rem;
}
.card {
margin: 1rem;
flex-basis: 45%;
padding: 1.5rem;
text-align: left;
color: inherit;
text-decoration: none;
border: 1px solid #eaeaea;
border-radius: 10px;
transition:
color 0.15s ease,
border-color 0.15s ease;
}
.card:hover,
.card:focus,
.card:active {
color: #0070f3;
border-color: #0070f3;
}
.card h3 {
margin: 0 0 1rem 0;
font-size: 1.5rem;
}
.card p {
margin: 0;
font-size: 1.25rem;
line-height: 1.5;
}
.logo {
height: 1em;
}
.brandHero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 6rem 2rem;
position: relative;
overflow: hidden;
}
.brandContent {
max-width: 1200px;
margin: 0 auto;
text-align: center;
color: #ffffff;
animation: fadeIn 1.5s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.brandTitle {
font-family: 'Playfair Display', serif;
font-size: 5rem;
font-weight: 700;
margin-bottom: 1rem;
background: linear-gradient(45deg, #ffd700, #ffffff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}
.brandTagline {
font-size: 2rem;
font-weight: 400;
margin-bottom: 3rem;
color: rgba(255, 255, 255, 0.9);
font-style: italic;
}
.brandDescription {
max-width: 800px;
margin: 0 auto 4rem;
font-size: 1.2rem;
line-height: 1.8;
color: rgba(255, 255, 255, 0.8);
}
.brandDescription p {
margin-bottom: 1.5rem;
}
.brandValues {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
margin-top: 4rem;
padding: 2rem;
}
.valueItem {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
padding: 2rem;
border-radius: 15px;
border: 1px solid rgba(255, 215, 0, 0.2);
transition: all 0.3s ease;
}
.valueItem:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 215, 0, 0.4);
}
.valueItem h3 {
font-family: 'Playfair Display', serif;
font-size: 1.5rem;
color: #ffd700;
margin-bottom: 1rem;
}
.valueItem p {
color: rgba(255, 255, 255, 0.8);
font-size: 1.1rem;
}
@media (max-width: 768px) {
.brandHero {
padding: 4rem 1rem;
}
.brandTitle {
font-size: 3rem;
}
.brandTagline {
font-size: 1.5rem;
}
.brandValues {
grid-template-columns: 1fr;
gap: 1rem;
}
.layout {
flex-direction: column;
}
.sidebar {
width: 100%;
border-right: none;
border-bottom: 1px solid rgba(224, 224, 224, 0.5);
}
.header {
padding: 1rem 2rem;
}
.products {
padding: 1rem;
}
}