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

.friends-tab {
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 136, 237, 0.3);
    text-align: center;
    color: #fff;
}

.friends-tab h2 {
    color: #ff88ed;
    font-family: 'Patrick Hand', cursive;
    font-size: 30px;
    margin-bottom: 20px;
}

.friend {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
    padding-right: 20px; 
    margin-right: 20px; 
    border-right: 1px solid #555;
}

.friend:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.friend-name {
    font-size: 18px;
    font-weight: bold;
    color: #ff88ed;
    margin-bottom: 10px;
    font-family: 'Patrick Hand', cursive;
}

.friend p {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 10px;
    max-width: 500px;
    color: #9df7ff;
    word-spacing: 2px;
}

.friend-image-button {
    display: inline-block;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.friend-image {
    width: 100px; 
    height: 100px;
    border-radius: 50%; 
    transition: transform 0.3s ease;
}

.friend-image-button:hover .friend-image {
    transform: scale(1.1); 
}


.friend {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid #555;
}

.friend:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.friend-name {
    font-size: 18px;
    font-weight: bold;
    color: #ff88ed;
    margin-bottom: 10px;
    font-family: 'Patrick Hand', cursive;
}

.friend p {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 10px;
    max-width: 500px;
    color: #9df7ff;
    word-spacing: 2px;
}

.friend-image-button {
    display: inline-block;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.friend-image {
    width: 100px; 
    height: 100px;
    border-radius: 50%; 
    transition: transform 0.3s ease;
}

.friend-image-button:hover .friend-image {
    transform: scale(1.1); 
}


@media (max-width: 768px) {
    .friends-tab {
        padding: 10px; 
    }

    .friends-tab h2 {
        font-size: 24px; 
        text-align: center; 
        margin-bottom: 20px;
    }

    .friend {
        width: 100%; 
        max-width: 350px; 
        margin-left: auto;
        margin-right: auto; 
        flex-direction: row; 
        align-items: flex-start; 
        gap: 15px; 

        border-right: none;
        padding-right: 0;
        margin-right: auto;
        border-bottom: 1px solid #555;
        padding-bottom: 15px;
        margin-bottom: 15px; 
        padding-top: 15px; 
    }

    .friend:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0; 
    }

    .friend-name {
        font-size: 16px;
        text-align: left; 
        margin-bottom: 5px;
    }

    .friend p {
        font-size: 14px;
        max-width: 100%;
        text-align: left; 
        margin-top: 0; 
    }

    .friend-image {
        width: 80px;
        height: 80px;
        flex-shrink: 0; 
    }
}

@media (max-width: 480px) {
    .friends-tab h2 {
        font-size: 20px; 
    }

    .friend {
        flex-direction: column;
        align-items: center; 
        text-align: center; 
        gap: 5px; 
    }

    .friend-image {
        width: 60px; 
        height: 60px;
        margin-bottom: 10px;
    }

    .friend-name {
        font-size: 14px; 
        text-align: center; 
    }

    .friend p {
        font-size: 13px;
        text-align: center;
    }
}

.goback-btn {
    padding: 8px 16px;
    background-color: #ff86e0;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.goback-btn:hover {
    background-color: #ff6ba3;
}
