:root {
--bg-color: #f4f4f4;
--text-color: #333333;
--link-text: purple;
--brand-color: darkorange;
--hover-bg: orange;
--card-bg: burlywood;
--main-font: system-ui, -apple-system, sans-serif;
}
- {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--main-font);
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
}
/* Header & Navigatie */
header {
background: linear-gradient(to right, red, orange, white);
padding: 20px;
text-align: center;
}
header h1 {
margin-bottom: 15px;
}
nav ul {
list-style-type: none;
display: flex;
justify-content: center;
gap: 20px;
}
nav a {
text-decoration: none;
color: var(--link-text);
font-weight: bold;
border: 2px solid var(--brand-color);
padding: 10px 15px;
background-color: white;
display: inline-block;
transition: background-color 0.3s;
}
nav a:hover,
nav a.active {
background-color: var(--hover-bg);
}
/* Algemene Layout */
main {
padding: 20px;
display: grid;
gap: 30px;
}
/* Boek Items (Catalogus) */
.boek-item {
background-color: var(--card-bg);
border: 2px solid var(--brand-color);
border-radius: 20px;
padding: 20px;
text-align: center;
transition: transform 200ms ease, border-width 200ms ease;
}
.boek-item:hover {
transform: scale(1.2);
border-width: 5px;
}
.boek-item img {
width: 40%;
height: auto;
margin-bottom: 10px;
}
.boek-item h2 {
font-size: 1.2rem;
margin-bottom: 10px;
}
.prijs {
font-weight: bold;
margin: 10px 0;
}
/* Contact Pagina */
.adres-lijst {
list-style: none;
font-style: italic;
margin-bottom: 15px;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 2px solid var(--brand-color);
}
fieldset {
border: none;
margin-bottom: 15px;
}
button {
background-color: var(--brand-color);
color: white;
border: none;
padding: 12px 25px;
font-weight: bold;
cursor: pointer;
}
/* Footer */
footer {
background-color: var(--brand-color);
text-align: center;
padding: 15px;
margin-top: 20px;
}
/* Media Query voor Desktop (vanaf 1025px) */
@media (min-width: 1025px) {
main {
max-width: 1200px;
margin: 0 auto;
}
.catalogus {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
}
.contact-page {
grid-template-columns: 1fr 1fr;
gap: 50px;
}
}
:root {
--bg-color: #f4f4f4;
--text-color: #333333;
--link-text: purple;
--brand-color: darkorange;
--hover-bg: orange;
--card-bg: burlywood;
--main-font: system-ui, -apple-system, sans-serif;
}
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--main-font);
background-color: var(--bg-color);
color: var(--text-color);
line-height: 1.6;
}
/* Header & Navigatie */
header {
background: linear-gradient(to right, red, orange, white);
padding: 20px;
text-align: center;
}
header h1 {
margin-bottom: 15px;
}
nav ul {
list-style-type: none;
display: flex;
justify-content: center;
gap: 20px;
}
nav a {
text-decoration: none;
color: var(--link-text);
font-weight: bold;
border: 2px solid var(--brand-color);
padding: 10px 15px;
background-color: white;
display: inline-block;
transition: background-color 0.3s;
}
nav a:hover,
nav a.active {
background-color: var(--hover-bg);
}
/* Algemene Layout */
main {
padding: 20px;
display: grid;
gap: 30px;
}
/* Boek Items (Catalogus) */
.boek-item {
background-color: var(--card-bg);
border: 2px solid var(--brand-color);
border-radius: 20px;
padding: 20px;
text-align: center;
transition: transform 200ms ease, border-width 200ms ease;
}
.boek-item:hover {
transform: scale(1.2);
border-width: 5px;
}
.boek-item img {
width: 40%;
height: auto;
margin-bottom: 10px;
}
.boek-item h2 {
font-size: 1.2rem;
margin-bottom: 10px;
}
.prijs {
font-weight: bold;
margin: 10px 0;
}
/* Contact Pagina */
.adres-lijst {
list-style: none;
font-style: italic;
margin-bottom: 15px;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 2px solid var(--brand-color);
}
fieldset {
border: none;
margin-bottom: 15px;
}
button {
background-color: var(--brand-color);
color: white;
border: none;
padding: 12px 25px;
font-weight: bold;
cursor: pointer;
}
/* Footer */
footer {
background-color: var(--brand-color);
text-align: center;
padding: 15px;
margin-top: 20px;
}
/* Media Query voor Desktop (vanaf 1025px) */
@media (min-width: 1025px) {
main {
max-width: 1200px;
margin: 0 auto;
}
}