AS215085.net/css/style.css

95 lines
No EOL
1.5 KiB
CSS

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
color: #333;
}
header {
position: relative;
background: url('../img/extern-bureaublad-1024x638-1.webp') no-repeat center center;
background-size: cover;
color: white;
padding: 40px 20px;
text-align: center;
}
header::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}
header h1, header p {
position: relative;
z-index: 2;
}
header h1 {
margin: 0;
font-size: 2.5em;
}
nav {
background-color: #07AAF9;
padding: 10px 0;
text-align: center;
}
nav a {
color: white;
text-decoration: none;
margin: 0 15px;
font-weight: bold;
}
nav a:hover {
text-decoration: underline;
}
main {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}
section {
background: white;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
section h2 {
color: #07AAF9;
margin-top: 0;
}
footer {
background-color: #2D2E43;
color: white;
text-align: center;
padding: 10px 0;
margin-top: 20px;
}
.container {
display: flex;
gap: 50px;
}
.upstreamcon {
border: 2px solid #07AAF9;
border-radius: 8px;
padding: 10px;
width: 45%;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}