@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: url('background.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    line-height: 1.6;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
}
.witvlakje {
    border: 2px outset black;
    background-color: white;
    color: black;
    border-radius: 25px;
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 10px;
    width: 90%;
    height: 50%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    opacity: 90%
}

.header .logo {
    font-size: 1.7em;
    color: #ffffff;
    text-decoration: none;
}
.nav a {
    position: relative;
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    margin-left: 40px;
}
.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transform: scaleX(0);
    transition: .5s;
}
.nav a:hover::after {
    transform: scaleX(1);
}

.home {
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 100px 0;
}
header h1 {
    font-size: 2.5em;
    color: #fff;
    font-weight: 700;
}

main.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px 100px;
}

.product {
    background-color: #100a61;
   
    border-radius: 8px;
   
    overflow: hidden;
    
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
   
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    
    margin: 20px;
  
    max-width: 300px;
    
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product p {
    color: #eeeeee;
    font-size: 1em;
    margin: 15px 0 10px;
}

.product h2 {
    color: #ffffff;
    font-size: 1.4em;
    margin: 15px 0 10px;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.1);
}

footer {
    background-color: #000;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}