body, html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-image: url('http://localhost:8080/images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-areas:
        "header header header"
        "left center right"
        "footer footer footer";
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
}

.top-bar {
    grid-area: header;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

.top-bar img {
    height: 40px;
}

.main-content {
    display: contents;
}

.left-card {
    grid-area: left;
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #000;
}

.profile-pic-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f9c9e2;
    margin-bottom: 20px;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tags span {
    background-color: #f9c9e2;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
}

.icon-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.icon-buttons img {
    width: 50px;
    height: 50px;
}

.center-bubble {
    grid-area: center;
    background-color: #fff;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    position: relative;
    border: 2px solid #000;
}

.center-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #fff;
}

.center-bubble h1 {
    font-size: 36px;
    margin: 0 0 10px;
    color: #333;
}

.center-bubble p {
    font-size: 20px;
    margin: 5px 0;
    color: #555;
}

.right-timeline {
    grid-area: right;
    padding: 20px;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 20px;
    width: 2px;
    height: 100%;
    background-color: #f9c9e2;
}

.timeline-item::after {
    content: '▼';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    color: #f9c9e2;
}

.timeline-content {
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #000;
}

.timeline-content p {
    margin: 0;
    font-size: 14px;
}

.bottom-bar {
    grid-area: footer;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 20px 0;
}

.bottom-bar img {
    height: 60px;
}

@media (max-width: 768px) {
    .container {
        grid-template-areas:
            "header"
            "left"
            "center"
            "right"
            "footer";
        grid-template-columns: 1fr;
    }

    .top-bar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar img {
        height: 30px;
        margin: 5px;
    }

    .center-bubble h1 {
        font-size: 28px;
    }

    .center-bubble p {
        font-size: 16px;
    }

    .bottom-bar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .bottom-bar img {
        height: 40px;
        margin: 5px;
    }
}
