
@import url('https://fonts.googleapis.com/css?family=Alata&display=swap');

html {
    background: linear-gradient(135deg, #F59E67, #A08878); 
    box-sizing: border-box;
}

body {
    display: grid;
    margin: 1rem auto;
    grid-gap: 0.25rem;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 100px auto auto 100px;
    grid-template-areas: 
        "a a a a a a a a"
        "b b b b b b b b"
        "d d c c c c c c"
        "d d c c c c c c" 
        "d d c c c c c c" 
        "d d c c c c c c" 
        "g g g g g g g g";
    padding: 2rem;
    text-align: center;
    border-radius: 1rem;
    font-family: 'Alata', sans-serif;
    color: #4B3E35; 
}

h1, h2, h3, ul {
    font-family: 'Alata', sans-serif;
    color: #4B3E35; 
}

strong{
    font-family: 'Alata', sans-serif;
    }

header {
    grid-area: a;
    background: linear-gradient(90deg, #A08878, #F59E67);
    color: white;
    padding: 1rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

main, aside, article {
    background-color: #fff8ec;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

main {
    grid-area: c;
}

aside {
    grid-area: d;
}

aside .btn {
    margin-top: 10rem;
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #4B3E35;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

aside .btn:hover {
    background-color: #A08878;
}

nav {
    grid-area: b;
    background: linear-gradient(90deg, #F59E67, #A08878);
    padding: 4rem;
    display: flex;
    justify-content: center;
    border-radius: 0.10rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

nav ul li:hover {
    background-color: #A08878;
}

nav ul {
    display: flex;
    list-style-type: none;
    gap: 2rem;
}

nav ul li {
    padding: 1rem 2rem; 
    background-color: #4B3E35;
    border-radius: 0.5rem;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

footer {
    grid-area: g;
    background: linear-gradient(90deg, #A08878, #F59E67);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: center;
}

a {
    color: #F59E67;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #4B3E35;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #A08878;
}

.project-item img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.info-list {
    list-style-type: none;
    padding: 0;
}

.info-list li {
    margin-bottom: 0.5rem;
}

.social-icon i {
    padding-top: 10rem;
    font-size: 5rem;
    display: flex;
    justify-content: center;
}

.social-icon:hover {
    color: #F59E67;
}

/* ABOUT */

.about-me {
    text-align: center;
    margin: 2rem;
}
.profile-pic img {
    border-radius: 50%;
    width: 150px;
    margin-bottom: 0.5rem;
}
.profile-pic figcaption {
    font-size: 0.9rem;
    color: #555;
}

.hobbies {
    margin: 2rem;
}
.hobbies ul {
    padding-right: 3rem;
    list-style-type: none;
}

.photo-gallery {
    margin: 0 auto; 
    text-align: center;
    max-width: 80%; 
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    justify-items: center;
    padding-left: 10rem; 
}

.about-gallery figure {
    margin: 0;
    text-align: center;
}

.about-gallery img {
    width: 100%;
    border-radius: 8px;
}

.about-galleryfigcaption {
    font-size: 0.9rem;
    color: #333;
    margin-top: 0.25rem;
}

/*Contact Tijdelijk*/

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
}

.contact-form h2 {
    text-align: center;
    font-family: alata;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-size: 1rem;
}

.contact-form button {
    align-self: center;
    padding: 1rem 2rem;
    background-color: #4B3E35;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #A08878;
}

/*Projects*/

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(400px, 1fr));
    gap: 2rem;
    justify-items: end; 
}

.gallery-grid figure {
    margin: 0;
    text-align: right; 
}

.gallery-grid img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-grid figcaption {
    font-size: 0.9rem;
    color: #333;
    margin-top: 0.5rem;
    text-align: right;
}
