import styled from "styled-components";
import { Grid, Typography } from "@mui/material";
import selectedTheme from "../../../themes";
import { ReactComponent as Pocket } from "../../../assets/images/svg/pocket.svg";

export const ProfileMainInfoContainer = styled(Grid)`
  display: flex;
  justify-content: start;
  align-items: start;
`;
export const AvatarImageContainer = styled(Grid)`
  display: flex;
  justify-content: start;
  align-items: center;
`;
export const AvatarImage = styled.img`
  min-height: 144px;
  min-width: 144px;
  width: 144px;
  height: 144px;
  border-radius: 100%;
  @media (max-width: 600px) {
    min-height: 90px;
    min-width: 90px;
    width: 90px;
    height: 90px;
  }
`;
export const ProfileMainInfoGrid = styled(Grid)`
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-left: 16px;
`;
export const ProfileName = styled(Typography)`
  color: ${(props) =>
    props.isMyProfile
      ? selectedTheme.primaryYellow
      : selectedTheme.primaryPurple};
  font-weight: 700;
  font-size: 24px;
  font-family: "Open Sans";
  margin-bottom: 5px;
  @media (max-width: 600px) {
    font-size: 18px;
  }
`;
export const ProfilePIBContainer = styled(Grid)`
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  left: 5px;
`;
export const PocketIcon = styled(Pocket)`
  width: 22px;
  height: 22px;
  position: relative;
  left: -5px;
  top: 2px;
  & path {
    stroke: #b4b4b4;
  }
  @media (max-width: 600px) {
    width: 14px;
    height: 14px;
  }
`;
export const ProfilePIB = styled(Typography)`
  color: ${(props) =>
    props.isMyProfile ? "white" : selectedTheme.primaryDarkText};
  margin-top: 0.18rem;
  font-family: "Open Sans";
  font-size: 16px;
  padding-top: 1px;
  @media (max-width: 600px) {
    font-size: 14px;
  }
`;
