/* ==========================
  Define Color Variables
========================== */
:root {
  --color-green: hsl(75, 94%, 57%);
  --color-white: hsl(0, 0%, 100%);
  --color-grey-700: hsl(0, 0%, 20%);
  --color-grey-800: hsl(0, 0%, 12%);
  --color-gray-900: hsl(0, 0%, 8%);
}

/* ==========================
  Global Font Settings
========================== */
@font-face {
  font-family: "Inter-Regular";
  src: url("./assets/fonts/static/Inter-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Inter-SemiBold";
  src: url("./assets/fonts/static/Inter-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Inter-Bold";
  src: url("./assets/fonts/static/Inter-SemiBold.ttf") format("truetype");
}

/* ==========================
  Global Reset & Defaults
========================== */

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter-Regular", serif;
  color: var(--color-white);
  background-color: var(--color-gray-900);
}

/* ==========================
  Page Structure
========================== */

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.profile {
  width: 304px;
  padding: 40px;
  background-color: var(--color-grey-800);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
}

.person {
  margin: 24px 0;
  text-align: center;
}

.person h2 {
  font-family: "Inter-Regular";
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.location {
  font-family: "Inter-Regular";
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-green);
}

.profile p {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ==========================
  Skillset Section
========================== */
.skillset {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}

.skillset button {
  height: 45px;
  width: 100%;
  background-color: var(--color-grey-700);
  border: none;
  color: var(--color-white);
  font-family: "Inter-Bold";
  line-height: 1.5;
  border-radius: 8px;
}

.skillset button:hover {
  cursor: pointer;
  background-color: var(--color-green);
  color: var(--color-gray-900);
}

/* ==========================
  footer Section
========================== */

.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: var(--color-white);
  list-style: none;
}

/* ==========================
  Responsive Design
========================== */

/*Tablet: 768px ~ 1024px*/

@media (min-width: 768px) and (max-width: 1024px) {
  .profile {
    width: 376px;
  }
}

/*Mobile: 768px below*/
@media (max-width: 768px) {
  .profile {
    width: 279px;
  }
}
