.container { max-width: 1237px; margin: 0px auto; } h1, h2, h3, h4, p { margin: 0; padding: 0; } * { box-sizing: border-box; } body, html { font-family: "Poppins", sans-serif; font-size: 20px; margin: 0; padding: 0; scroll-behavior: smooth; background-color: #F4F4F4; color: #333333; } /* HEADER */ header { background-color: #4169E1; padding: 15px 0; } .header { display: flex; justify-content: space-between; align-items: center; } nav a { text-decoration: none; margin-right: 20px; color: #FFFFFF; font-weight: bold; transition: color 0.3s; } nav a:hover { color: #FF8C42; } /* MAIN */ main { margin-top: 40px; } /* FEED */ .feed { display: flex; flex-direction: column; align-items: center; } .post { background-color: #FFFFFF; padding: 20px; border-radius: 10px; margin-bottom: 20px; width: 100%; max-width: 800px; } .post-header { display: flex; align-items: center; margin-bottom: 10px; } .avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; } .post-info { margin-left: 10px; } .username { font-size: 18px; font-weight: bold; } .time { font-size: 14px; color: #666666; } .post-text { margin: 10px 0; font-size: 16px; } .post-image { width: 100%; border-radius: 8px; margin-bottom: 10px; } .post-actions { display: flex; justify-content: space-between; } .post-actions button { background: none; border: none; font-size: 16px; cursor: pointer; transition: color 0.3s; } .post-actions button:hover { color: #4169E1; } /* FRIENDS */ .friends { background-color: #FFFFFF; padding: 20px; border-radius: 10px; text-align: center; max-width: 800px; margin: 0 auto; text-align: left; } .friends-header { display: flex; gap: 55px; margin-bottom: 20px; align-items: center; } .friends-header h1 { font-weight: bold; font-size: 32px; color: black; } .friend { margin-bottom: 45px; display: flex; align-items: center; gap: 35px; position: relative; padding: 20px; border: 2px solid #eae3cd; border-radius: 15px; background-color: white; } .friend-info h1 { font-size: 26px; } .friend-info p { font-size: 14px; } .friend img { border-radius: 50%; } .friend:last-of-type { margin-bottom: 0px; } .friends-buttons { margin-top: 15px; display: flex; align-items: center; gap: 15px; } .friends-buttons a { text-decoration: none; color: rgb(42, 88, 133); font-size: 14px; transition: color 0.3s; } .button-delete { background: none; border: none; cursor: pointer; color: black; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); } /* Messages */ .messages { background-color: #FFFFFF; padding: 20px; border-radius: 10px; text-align: center; max-width: 800px; margin: 0 auto; text-align: left; } .message { display: flex; gap: 25px; margin-bottom: 20px; border-radius: 5%; } .message:hover { background-color: #f5f5f5; } .message:last-child { margin-bottom: 0; } .message-content span { font-weight: 600; font-size: 18px; color: black; } .message-content p { margin-top: 7px; font-size: 16px; color: black; line-height: 1.5; } .message img { width: 60px; height: 60px; border-radius: 40%; } /* GROUPS */ .groups { background-color: #FFFFFF; padding: 20px; border-radius: 10px; text-align: center; max-width: 800px; margin: 0 auto; text-align: left; } .groups-header { display: flex; gap: 55px; margin-bottom: 20px; align-items: center; } .groups-header h1 { font-weight: bold; font-size: 32px; color: black; } .group { margin-bottom: 45px; display: flex; align-items: center; gap: 35px; position: relative; padding: 20px; border: 2px solid #eae3cd; border-radius: 15px; background-color: white; } .group-info h1 { font-size: 26px; } .group-info p { font-size: 14px; } .group img { border-radius: 50%; object-fit: cover; } .group:last-of-type { margin-bottom: 0px; } .groups-buttons { margin-top: 15px; display: flex; align-items: center; gap: 15px; } .groups-buttons a { text-decoration: none; color: rgb(42, 88, 133); font-size: 14px; transition: color 0.3s; } .button-leave { background: none; border: none; cursor: pointer; color: black; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); } .group-subscribers { margin-top: 5px; font-size: 14px; color: #666; } /* Profile */ .profile { background-color: #FFFFFF; padding: 20px; border-radius: 15px; max-width: 800px; margin: 0 auto; } .profile-header { text-align: center; margin-bottom: 20px; } .profile-avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #eae3cd; margin-bottom: 15px; } .profile-header h1 { font-size: 32px; color: black; margin-bottom: 10px; } .profile-bio { font-size: 16px; color: #666; max-width: 500px; margin: 0 auto; } .profile-actions { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; } .button-edit, .button-message { padding: 10px 20px; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; transition: background-color 0.3s ease; } .button-edit { background-color: orange; color: white; } .button-edit:hover { background-color: #e67e22; } .button-message { background-color: green; color: white; } .button-message:hover { background-color: #2ecc71; } .profile-friends, .profile-groups { margin-bottom: 30px; } .profile-friends h2, .profile-groups h2 { font-size: 24px; color: black; margin-bottom: 15px; } .friends-list, .groups-list { display: flex; flex-wrap: wrap; gap: 15px; } .profile-friend, .profile-group { display: flex; align-items: center; gap: 10px; background-color: #f9f9f9; padding: 10px; border-radius: 10px; } .profile-friend img, .profile-group img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; } .profile-friend span, .profile-group span { font-size: 16px; color: black; }