it seems like a bad file path to one of your images. the 404 errors i usually get a related to miss-Capitalization of a file path or file name.
Incorrect file paths like:
- drive/“Spaces sometimes need quotations around them”/pic.jpg.
- drive/realfilenameiscapitalized/Pic.jpg.
I notice you have no user accounts or user generated data, why is it that you are linking cloud flair via this line here?:
it seems to me that this cloud flair normalization is better used to workout compatibility issues with lines of code, as those are the errors mybrowser is returning on my end.
i asked microsofts ai simplify your styles and this is what it returned! feel free to tinker with it
@charset "utf-8";
/* Root Variables */
:root {
--primary-color: #E94D40;
--secondary-color: #0C243C;
--background-color: #FAF3E0;
--text-color: #333;
--white: #ffffff;
--border-radius: 8px;
--box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Base Styles */
body {
font-size: 1.2em;
line-height: 1.5;
font-family: Arial, sans-serif;
background-color: var(--background-color);
color: var(--text-color);
padding: 0 40px;
margin: 0;
}
h1, h2, h3 {
color: var(--primary-color) !important;
margin-top: 0;
}
a {
color: var(--primary-color);
text-decoration: none;
transition: all 0.3s ease;
}
a:hover, a:focus {
text-decoration: underline;
}
/* Layout Components */
header, section {
padding: 20px;
margin: 20px 0;
background-color: var(--white);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
}
/* Header Specific */
header h1 {
color: var(--primary-color) !important;
padding-left: 120px;
margin-bottom: 20px;
}
/* Navigation */
nav {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
nav a {
color: var(--secondary-color) !important;
padding: 10px;
transition: background-color 0.3s ease;
}
nav a:hover, nav a:focus {
background-color: #f1f1f1;
border-radius: var(--border-radius);
}
/* Images */
.logo, .banner-image, .shop-image, .about-image, .product-image {
max-width: 100%;
display: block;
margin: 0 auto;
border-radius: var(--border-radius);
}
.banner-image {
height: 360px;
object-fit: cover;
}
.shop-image, .about-image, .product-image {
height: auto;
}
.product-image {
width: 300px;
cursor: pointer;
transition: transform 0.3s ease;
}
.product-image:hover {
transform: scale(1.05);
}
/* Products Section */
.products {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: space-around;
}
article {
flex: 1 1 300px;
max-width: 400px;
padding: 20px;
text-align: center;
}
/* Tables */
.prices, .job-opportunities {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}
.prices th, .prices td, .job-opportunities th, .job-opportunities td {
border: 1px solid #ddd;
padding: 12px;
text-align: left;
}
.prices th, .job-opportunities th {
background-color: #f2f2f2;
color: var(--secondary-color) !important;
}
.prices tr:hover, .job-opportunities tr:hover {
background-color: #f1f1f1;
}
/* Forms */
.form-group {
margin-bottom: 20px;
}
label {
display: block;
font-weight: bold;
margin-bottom: 5px;
color: var(--secondary-color);
}
input, select, textarea {
width: 100%;
padding: 12px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: var(--border-radius);
box-sizing: border-box;
font-size: 1em;
}
textarea {
resize: vertical;
min-height: 100px;
}
.submit-button, input[type="submit"] {
width: 100%;
background-color: var(--primary-color);
color: var(--white);
padding: 14px 20px;
border: none;
border-radius: var(--border-radius);
cursor: pointer;
font-size: 1em;
transition: background-color 0.3s ease;
}
.submit-button:hover, input[type="submit"]:hover {
background-color: #d32f2f;
}
/* Footer */
footer {
color: var(--secondary-color);
text-align: center;
padding: 20px;
margin-top: 40px;
}
/* Utility Classes */
.burntred { color: var(--primary-color); }
.navyblue { color: var(--secondary-color); }
.floatleft { float: left; }
.floatright { float: right; }
.clearboth { clear: both; }
/* Media Queries */
@media screen and (max-width: 768px) {
body {
padding: 0 20px;
}
header h1 {
padding-left: 0;
text-align: center;
}
nav {
flex-direction: column;
align-items: center;
}
.banner-image {
height: 200px;
}
article {
flex: 1 1 100%;
}
}
The smallness of your page is not very proportional to the amount of “css” you have going on, though your css is interesting and clever!
My end is not working very well today, so ill check back in when i get that worked out.