418 lines
No EOL
6.4 KiB
CSS
418 lines
No EOL
6.4 KiB
CSS
body {
|
|
font-family: 'Montserrat', sans-serif;
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
background-color: #FAF3E0;
|
|
/* Warm, cozy background color */
|
|
}
|
|
|
|
header {
|
|
background-color: #333;
|
|
color: #fff;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.container {
|
|
width: 90%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.logo img {
|
|
width: 150px;
|
|
}
|
|
|
|
.topnav {
|
|
text-align: center;
|
|
}
|
|
|
|
.topnav a {
|
|
color: #fff;
|
|
margin: 0 15px;
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.topnav a:hover {
|
|
color: #FFD700;
|
|
}
|
|
|
|
.products {
|
|
padding: 60px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.products h2 {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 2.5em;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.product-grid {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.product-card {
|
|
background-color: #fff;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
width: calc(33.333% - 20px);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.product-card img {
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.product-card h3 {
|
|
font-size: 1.5em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.product-card p {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.product-card button {
|
|
background-color: #333;
|
|
color: #fff;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
border-radius: 5px;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.product-card button:hover {
|
|
background-color: #FFD700;
|
|
color: #333;
|
|
}
|
|
|
|
.hero {
|
|
position: relative;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
height: 60vh;
|
|
/* Adjust height as needed */
|
|
}
|
|
|
|
.carousel {
|
|
position: relative;
|
|
height: 100%;
|
|
}
|
|
|
|
.carousel-inner {
|
|
display: flex;
|
|
transition: transform 0.5s ease-in-out;
|
|
height: 100%;
|
|
}
|
|
|
|
.carousel-item {
|
|
position: absolute;
|
|
opacity: 0;
|
|
transition: opacity 1s ease-in-out;
|
|
/* Smooth fade effect */
|
|
width: 100%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.carousel-item.active {
|
|
opacity: 1;
|
|
position: relative;
|
|
}
|
|
|
|
.carousel-item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
/* Ensure images cover the container without distortion */
|
|
}
|
|
|
|
.carousel-caption {
|
|
position: absolute;
|
|
bottom: 20%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
color: #fff;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
background: rgba(0, 0, 0, 0.5);
|
|
/* Semi-transparent background for better readability */
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
max-width: 90%;
|
|
/* Ensure the caption doesn't overflow */
|
|
text-align: center;
|
|
}
|
|
|
|
.carousel-caption h1 {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 3em;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.carousel-caption p {
|
|
font-size: 1.2em;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.carousel-caption .btn {
|
|
background-color: #FFD700;
|
|
color: #333;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.prev,
|
|
.next {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #fff;
|
|
font-size: 2em;
|
|
cursor: pointer;
|
|
padding: 16px;
|
|
margin-top: -22px;
|
|
user-select: none;
|
|
}
|
|
|
|
.prev {
|
|
left: 10px;
|
|
}
|
|
|
|
.next {
|
|
right: 10px;
|
|
}
|
|
|
|
.prev:hover,
|
|
.next:hover {
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.about,
|
|
.products,
|
|
.contact {
|
|
padding: 60px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.about h2,
|
|
.products h2,
|
|
.contact h2 {
|
|
font-family: 'Playfair Display', serif;
|
|
font-size: 2.5em;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.about p,
|
|
.products p,
|
|
.contact p {
|
|
font-size: 1.1em;
|
|
line-height: 1.8;
|
|
margin-bottom: 20px;
|
|
max-width: 800px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.product-grid {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.product-card {
|
|
background-color: #fff;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
width: calc(33.333% - 20px);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.product-card img {
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.product-card h3 {
|
|
font-size: 1.5em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.product-card p {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.productbtn {
|
|
background-color: #333;
|
|
color: #fff;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.contact .btn {
|
|
background-color: #333;
|
|
color: #fff;
|
|
padding: 10px 20px;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.news {
|
|
padding: 60px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.news h2, .news h3 {
|
|
font-family: 'Playfair Display', serif;
|
|
}
|
|
|
|
.news h2 {
|
|
font-size: 2.5em;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.news h3 {
|
|
font-size: 1.8em;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.news p {
|
|
font-size: 1.1em;
|
|
line-height: 1.8;
|
|
margin-bottom: 20px;
|
|
max-width: 800px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.news img {
|
|
width: 100%;
|
|
border-radius: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.footer {
|
|
background-color: #333;
|
|
color: #fff;
|
|
padding: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer .social-media a {
|
|
color: #FFD700;
|
|
margin: 0 10px;
|
|
font-size: 1.5em;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer .social-media a:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
/* Media Queries for Responsiveness */
|
|
|
|
@media (max-width: 768px) {
|
|
.product-card {
|
|
width: calc(50% - 20px);
|
|
}
|
|
|
|
.products p {
|
|
font-size: 1em;
|
|
max-width: 90%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.product-card {
|
|
width: calc(100% - 20px);
|
|
}
|
|
|
|
.products p {
|
|
font-size: 0.9em;
|
|
max-width: 90%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.news p {
|
|
font-size: 1em;
|
|
max-width: 90%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.news p {
|
|
font-size: 0.9em;
|
|
max-width: 90%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero {
|
|
height: 40vh;
|
|
/* Adjust height for smaller screens */
|
|
}
|
|
|
|
.carousel-caption h1 {
|
|
font-size: 2em;
|
|
}
|
|
|
|
.carousel-caption p {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.prev,
|
|
.next {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.about p {
|
|
font-size: 1em;
|
|
max-width: 90%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero {
|
|
height: 30vh;
|
|
/* Adjust height for smaller screens */
|
|
}
|
|
|
|
.carousel-caption h1 {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.carousel-caption p {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.prev,
|
|
.next {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.about p {
|
|
font-size: 0.9em;
|
|
max-width: 90%;
|
|
}
|
|
}
|
|
|
|
/* I fucking hate css */ |