/*==================== GOOGLE FONTS ====================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/*==================== VARIABLES ====================*/
:root {
  --header-height: 3rem;

  /*========== Colors ==========*/
  --hue-color: 230;
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: #fff;

  /*========== Font ==========*/
  --body-font: 'Poppins', sans-serif;
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margins ==========*/
  --mb-1: 0.5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*========== Z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Dark theme */
body.dark-theme {
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 75%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 28%, 12%);
  --container-color: hsl(var(--hue-color), 29%, 16%);
}

/*==================== BASE ====================*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 var(--header-height) 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/*==================== REUSABLE CLASSES ====================*/
.section {
  padding: 4rem 0 2rem;
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-2);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
  text-align: center;
}

/*==================== LAYOUT ====================*/
.container {
  max-width: 968px;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/*==================== HEADER ====================*/
.header {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
  box-shadow: 0 -1px 4px rgba(0,0,0,0.1);
}

.nav {
  max-width: 968px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-weight: var(--font-medium);
  font-size: var(--h2-font-size);
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.nav__link:hover {
  color: var(--first-color);
}

/*==================== HOME ====================*/
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.home__title {
  font-size: var(--big-font-size);
}

.home__subtitle {
  font-size: var(--h2-font-size);
  color: var(--first-color);
}

.home__description {
  margin: var(--mb-3) 0;
}

.home__button {
  margin-top: var(--mb-2);
}

/*==================== ABOUT ====================*/
.about__img {
  border-radius: 1rem;
  width: 250px;
  justify-self: center;
}

/*==================== SUMMARY ====================*/
.summary .section__description {
  text-align: center;
  max-width: 750px;
  margin: auto;
  font-size: var(--normal-font-size);
  line-height: 1.8;
}

/*==================== CERTIFICATIONS ====================*/
.certifications ul {
  max-width: 700px;
  margin: auto;
  padding-left: 1rem;
  list-style: square;
  line-height: 1.8;
}

/*==================== SKILLS ====================*/
.skills ul {
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
  list-style: disc;
}

/*==================== EXPERIENCE ====================*/
.experience .container div {
  margin-bottom: var(--mb-3);
}

.experience h3 {
  font-size: var(--h3-font-size);
  color: var(--first-color);
}

/*==================== PROJECTS ====================*/
.projects .container div {
  margin-bottom: var(--mb-2);
}

.projects h3 {
  color: var(--first-color);
}

/*==================== EDUCATION ====================*/
.education .container p {
  margin-bottom: var(--mb-2);
}

/*==================== VOLUNTEER ====================*/
.volunteer .container {
  text-align: center;
  max-width: 700px;
}

/*==================== BUTTONS ====================*/
.button {
  display: inline-flex;
  align-items: center;
  background-color: var(--first-color);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: 0.3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button__icon {
  margin-left: var(--mb-1);
}

/*==================== FOOTER ====================*/
.footer {
  padding: 2rem 0;
  background: var(--first-color);
  color: #fff;
  text-align: center;
}

.footer__social i {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  color: #fff;
}

.footer__copy {
  margin-top: var(--mb-2);
  font-size: var(--small-font-size);
}
