body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fafafa;
}

.profile-header {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px 16px;
    border-bottom: 1px solid #ddd;
    flex-direction: column;
    text-align: center;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-image: url(pfp.png);
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
}

.profile-info h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.profile-info p {
    color: #777;
    font-size: 14px;
    margin-top: 5px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    width: 100%;
}

.profile-stats div {
    text-align: center;
}

.profile-stats strong {
    font-size: 16px;
}

.follow-button {
    width: 100%;
    margin-top: 16px;
    text-align: center;
}

.hidden-checkbox {
    display: none;
}

.follow-label {
    display: block;
    width: 90%;
    max-width: 350px;
    background-color: #3897f0;
    color: white;
    padding: 10px 0;
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 auto;
}

.hidden-checkbox:checked + .follow-label {
    background-color: #ccc;
    color: #000;
}

.follow-label:hover {
    background-color: #2a72b5;
}

.dots-container {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    text-align: center;
}

.dot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dot {
    width: 60px;
    height: 60px;
    background-color: #ccc;
    border-radius: 50%;
}

.dot-text {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 16px;
    gap: 8px;
    background-color: #fff;
}

.gallery-item {
    width: calc(33.33% - 6px);
    aspect-ratio: 1/1;
    background-color: #ddd;
    cursor: pointer;
}

#item1 {
    background-image: url(square1.jpg);
    background-size: cover;
    background-position: center;
}

#item2 {
    background-image: url(square2.jpg);
    background-size: cover;
    background-position: center;
}

#item3 {
    background-image: url(square3.jpg);
    background-size: cover;
    background-position: center;
}

#item4 {
    background-image: url(attracties.jpg);
    background-size: cover;
    background-position: center;
}

#item5 {
    background-image: url(water.jpg);
    background-size: cover;
    background-position: center;
}

#item6 {
    background-image: url(trekker.jpg);
    background-size: cover;
    background-position: center;
}

@media (max-width: 430px) {
    .profile-header {
        padding: 16px;
    }

    .profile-pic {
        width: 80px;
        height: 80px;
    }

    .profile-info h2 {
        font-size: 16px;
    }

    .profile-info p {
        font-size: 12px;
    }

    .profile-stats strong {
        font-size: 14px;
    }

    .gallery-item {
        width: calc(33.33% - 4px);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    justify-content: center;
    align-items: center;
    display: flex;
}

.post-container {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.header {
    display: flex;
    align-items: center;
    padding: 10px;
}

.header .profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.header .post-info {
    flex-grow: 1;
}

.header .options {
    cursor: pointer;
    font-size: 20px;
    color: #777;
}

.post-image img {
    width: 100%;
    height: auto;
}

.post-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px;
}

.icon-container {
    display: flex;
    gap: 10px;
}

.icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.liked path {
    fill: red;
}

.likes,
.caption,
.comments {
    padding: 0 10px;
    margin-bottom: 10px;
}

.likes p,
.caption strong,
.comments p {
    margin: 0;
}

.add-comment {
    padding: 10px;
    border-top: 1px solid #eee;
}

.add-comment input {
    width: 100%;
    border: none;
    padding: 10px;
    font-size: 14px;
    outline: none;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
