/* Mobile: 375px - Desktop: 1440px */
/* Green: hsl(75, 94%, 57%) - White: hsl(0, 0%, 100%) - Grey 700: hsl(0, 0%, 20%) - Grey 800: hsl(0, 0%, 12%) - Grey 900: hsl(0, 0%, 8%) */
/* Family: [Inter](https://fonts.google.com/specimen/Inter) */
/* Weights: 400, 600, 700 */
/* Font size (paragraph): 14px */

:root {
    --green: hsl(75, 94%, 57%);
    --white: hsl(0, 0%, 100%);
    --grey700: hsl(0, 0%, 20%);
    --grey800: hsl(0, 0%, 12%);
    --grey900: hsl(0, 0%, 8%);
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter-VariableFont_slnt\,wght.ttf') format('truetype');
    font-weight: 400 600 700;
    font-style: normal;
    font-display: swap;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--white);
    background-color: var(--grey900);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.page {
  width: 100%;
  min-height: calc(100vh - 80px);
  align-items: center;
  justify-content: center;
}

.profile-card {
    max-width: 375px;
    width: 320px;
    background-color: var(--grey800);
    display: flex;
    border-radius: 12px;
    flex-direction: column;
    align-items: center;
    padding: 28px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.profile-image img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.profile-header {
    text-align: center;
}

.profile-name {
    font-weight: 700;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 0;
}

.profile-location {
    font-weight: 600;
    color: var(--green);
    margin-top: 10px;
}

.profile-description {
    font-weight: 400;
    text-align: center;
    line-height: 1.5;
    margin-top: 30px;
    margin-bottom: 5px;
}

.social-links { 
    width: 100%;
    max-width: 260px;
    gap: 12px;
    margin-top: 18px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links .btn {
    width: 100%;
    display: block;
    text-decoration: none;
    color: var(--white);
    background-color: var(--grey700);
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25);
    transition: transform 120ms ease, background-color 150ms ease;
}

.social-links .btn:hover,
.social-links .btn:focus { 
    background-color: var(--green);
    color: black;
    outline: none;
}
