/* Algemene reset */
@import url('https://fonts.googleapis.com/css?family=Audiowide|Bungee+Inline|Graduate|Iceland');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background-color: #0f172a;
    background-image: radial-gradient(circle, #141E35 1.5px, transparent 1px);
    background-size: 8px 8px; /* afstand tussen de puntjes */
}

h2{
	margin-top: 20px;
	font-size: 22px;
}
.img{
	max-width: 100%;
	border-radius: 10px;
	box-shadow: 0 0 12px hsla(0, 0%, 100%, .3);
	margin-top: 15px;
}
ul{
	margin: 18px;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    height: 400px;
    background: url('../afbeeldingen/design/bg.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
	padding: 10px;
	box-sizing: border-box;
}

/* Navigatie */
nav {
    background-color: #020617;
    background-image: repeating-linear-gradient(135deg, hsl(229, 70%, 13%) 0px, hsl(229, 70%, 13%) 2px, hsl(229, 70%, 9%) 2px, hsl(229, 70%, 9%) 6px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.20rem .5rem;
    position: relative;
}

nav ul {
    list-style: none;
    display: flex;
	align-items: center;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #e5e7eb;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3b82f6;
}

#logo {
    width: 40px;
}
/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 999;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
}

/* Responsive menu */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 20px;
        left:-18px;
        width: 100%;
        background-color: #020617;
        padding: 1rem 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0.75rem 0;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }
}

/* Header tekst */
.header-content h1{
	
    background-color: #000; /* zwart */
    background-image: radial-gradient(circle, #282828 1.5px, transparent 1px);
    background-size: 8px 8px; /* afstand tussen de puntjes */
	line-height: 3rem;
	padding: 8px 20px;
	border-radius: 10px;
	box-shadow: 0 0 15px hsla(0, 0%, 100%, .5);

    animation: dotsPulse 2s ease infinite;
}

.header-content h1 span{
 font-family: "Iceland", cursive;
    font-size: 4rem;
    background: linear-gradient(
        90deg,
        red,
        orange,
        yellow,
        green,
        #2196f3,
        #7b2cff,
        purple
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-content p {
    font-size: 1.2rem;
    color: #cbd5f5;
}

/* Container */
.container {
	background-color: hsla(0, 0%, 100%, .1);
    max-width: 1000px;
    margin: 30px auto;
	border-radius: 10px;
    padding: 40px;
}

/* Buttons */
button,
input[type="submit"],
.button {
	display: inline-block;
    background: #7b2cff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
	border: 1px solid #7b2cff;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
	margin-top: 20px;
}
.front{
	box-shadow: 0 0 15px hsla(0, 0%, 100%, .5);
}

.front:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(0, 0%, 100%, .5);
}
button:hover,
input[type="submit"]:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123,44,255,0.4);
}

/* Portfolio */
/* Portfolio thumbnail */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}
.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    background-color: #020617;
	width: 450px;
}

/* Afbeelding als thumb */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover zoom */
.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Overlay zichtbaar */
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Titel */
.portfolio-overlay h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    background: linear-gradient(90deg, #ff9800, #ffeb3b, #4caf50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Beschrijving */
.portfolio-overlay p {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Link reset */
.portfolio-item a {
    display: block;
    height: 100%;
    text-decoration: none;
}


/* Contact */
#contact{
	width: 100%;
}
.formgroup{
	width: 100%;
	margin: 10px 0;
}
#contact input, #contact label, #contact textarea{
	width: 100%;
}
#contact input, #contact textarea{
	border-radius: 5px;
	border: none;
}
#contact input[type=text], #contact input[type=email]{
	height: 40px;
}
#contact textarea{
	height: 150px;
	resize: vertical;
}
.fade {
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    will-change: opacity, transform;
}

/* Startposities */
.fade-left {
    transform: translateX(-200px);
}

.fade-right {
    transform: translateX(200px);
}

.fade-up {
    transform: translateY(60px);
}

/* Actieve staat */
.fade.show {
    opacity: 1;
    transform: translate(0, 0);
}


/* Footer */
footer {
	width: 100%;
    background-color: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 25px 0;
}
