*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; 
    scroll-behavior: smooth;
}

body {
    font-size: 2rem;
    background: linear-gradient(90deg, rgba(133,118,255,1) 0%, rgba(123,201,255,1) 98%);
    font-family: 'Arial', sans-serif;
    color: #fff;
    line-height: 1.6;
}

.socialHeader {
    background: linear-gradient(90deg, rgba(28,22,120,1) 0%, rgb(13, 9, 75) 98%);
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 10rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.navItems{
    display:flex;
    justify-content: center;
    align-items: center;
    gap:16rem;
}

.navItems a {
    color: #fff;
    text-decoration: none;
    font-size: 2.5rem;
    padding: 2rem;
    transition: color 0.3s ease;
}

.navItems a:hover {
    color: rgba(123, 201, 255, 0.8);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}


.post {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 40rem;
    margin: 3rem auto;
    padding: 2rem;
    gap: 1rem;
    border: 0.3rem solid rgba(0, 0, 0, 0.2);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.25);
}

.postUser {
    font-size: 4rem;
    text-align: center;
    color: rgba(123,201,255,0.9);
}

.postImage {
    height: 12rem;
    width: 12rem;
    object-fit: cover;
    border-radius: 50%;
    border: 0.2rem solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.postContent {
    font-size: 2.2rem;
    text-align: center;
}

.postDate {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.postTitle {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .navItems a {
        font-size: 2rem;
        padding: 1rem;
    }

    .post {
        width: 95%;
    }

    .postUser {
        font-size: 3.5rem;
    }

    .postImage {
        height: 8rem;
        width: 8rem;
    }

    .postContent {
        font-size: 2rem;
    }
}
