@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --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%);
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/static/inter-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/static/Inter-SemiBold.ttf') format('woff2');
    font-weight: 600;
    font-style: normal;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/static/Inter-Bold.ttf') format('woff2');
}
html{
  font-size: 16px;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--Grey-900);
  color: var(--White);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.container {
    background-color: var(--Grey-800);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 83vw; /* mobile first - wider on small screens */
    margin: 30px auto; /* auto centers it */
    height: auto;
    border-radius: 15px;
    padding: 10px;
}

/* tablet view */
@media (min-width: 768px) {
    .container {
        max-width: 330px;
    }
}

/* desktop view */
@media (min-width: 1024px) {
    .container {
        max-width: 360px;
    }
    .content-links{
        width: 43%;
    }
}

.content-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.content-header_image {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    margin-top: 5px;
    margin-bottom: 25px;
}

.content-header_name {
    font-size: 1.5rem;
    margin: 0;
    color: var(--White);
    font-family: var();
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.content-header_location {
    font-size: 0.9rem;
    color: var(--Green);
    margin-top: 5px;
    margin-bottom: 18px;
    font-weight: 700;

}

.content-header_bio {
    font-size: 0.9rem;
    color: var(--White);
    text-align: center;
    margin: 10px 0;
    font-weight: 400;
}

.content-links{
  margin-bottom: 20px;
}

.content-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-links li {
    background-color: var(--Grey-700);
    width: 169%;
    height: 18px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.9rem;
    border-radius: 8px;
    text-align: center;
    color: var(--White);
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;

}
.content-links li a {
    color: var(--White);
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.content-links li:hover {
    background-color: var(--Green);
    color: var(--Grey-700);
    transition: background-color 0.3s ease, color 0.3s ease;
}


.attribution { font-size: 14px; text-align: center; margin-top: 0; }
.attribution a { color: hsl(228, 45%, 44%); }

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 0;
}