body, html {
    margin: 0;
    padding: 0;
    background-color: rgb(58, 58, 58);
}

.topnav {
    background-color: #0074D9;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.topnav #paginas a {
    position: relative;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 25px;
    padding: 8px 12px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.topnav #paginas a:hover {
    text-decoration: underline;
}

.topnav a.active {
    background-color: rgba(100, 100, 100, 0.9);
    padding: 8px 12px;
    border-radius: 4px;
}

.topnav a[href="nieuws.html"] {
    margin-right: 60px;
}

.topnav a[href="tutorials.html"] {
    margin-right: 60px;
}

.topnav a[href="home.html"] {
    margin-right: 60px;
}

.topnav a[href="../nieuws.html"] {
    margin-right: 60px;
}

.topnav a[href="../tutorials.html"] {
    margin-right: 60px;
}

.topnav a[href="../home.html"] {
    margin-right: 60px;
}

.top_icon {
    right: 60px;
	top: 2px;
    position: relative;
}
.website_icon{
	width: 50px;
	height: auto;
}

.name {
	position: relative;
	top: 0px;
	margin: 0;
	padding: 0;
	font-size: 24px;
	font-weight: bold;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    z-index: 1;
}

.name {
	margin: 0;
	padding: 0;
    color: #4f4f4d;
    position: relative;
    left: 70px;
}

.artikelen {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px;
}

.artikel_image {
    height: 300px;
    width: auto;
    border: 2px solid black;
    object-fit: cover;
    margin: 10px;
}

.artikel_image_small {
    height: 50px;
    width: auto;
    border: 2px solid black;
    object-fit: cover;
    margin: 10px;
}

.artikel_image_med {
    height: 150px;
    width: auto;
    border: 2px solid black;
    object-fit: cover;
    margin: 10px;
}

.artikel_image_big {
    height: 500px;
    width: auto;
    border: 2px solid black;
    object-fit: cover;
    margin: 10px;
}

.nav_button {
	background: #0074D9;
	color: #ffffff;
	text-decoration: none;
	font-size: 20px;
    padding: 5px 10px;
	border: 2px solid #000000;
	border-radius: 6px;
	transition: 0.3s;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	top: 50px;
    float: left;
    margin: 5px;
}

.nav_button:hover {
    opacity: 0.6;
}

.container {
    position: relative;
}

.text-block {
    width: 78%;
    height: 120px;
    bottom: 7px;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
    background-color: rgb(0, 0, 0, 0.7);
    color: white;
    align-items: center;
    right: 80px;
}

.text-block h4 {
    font-size: 20px;
}

.artikel_text {
    font-size: 18px;
    padding: 20px;
    width: 500px;
    height: auto;
    color: #ffffff;
    right: 200px;
}

.small {
    position: relative;
    left:  20px;
    font-size: 15px;
}

nav .home {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 6px 0;
    background: #0074D9;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .home a {
    text-decoration: none;
    font-size: 25px;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

nav .home a:hover {
    text-decoration: underline;
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
    background-color: rgb(100, 100, 100);
    color: #ffffff;
    margin-bottom: 2rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.hero h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin: 0;
}

.container1 {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: rgb(100, 100, 100);
    border-radius: 18px;
    overflow: hidden;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: white;
    box-shadow: 0 6px 14px rgba(0,0,0,0.09);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

.image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.title {
    padding: 1.2rem;
    text-align: center;
    font-size: 1.2rem;
    background: rgb(100, 100, 100);
    font-weight: 500;
}