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

html {
  background-color: #1e1e1e;
  color: #fff;
  font-size: 62.5%;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
}

nav,
section,
footer,
#begin div,
footer div {
  display: flex;
  gap: 2rem;
}

nav,
section,
footer {
  max-width: 96rem;
  margin: 0 auto;
  padding: 2rem;
  flex-direction: column;
}

h1,
h2 {
  font-size: 3rem
}

h3 {
  font-size: 2rem
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline
}

.bg-secondary {
  width: 100%;
  background-color: #162340
}

/* Barra de navegação */
nav {
  flex-direction: row;
  justify-content: flex-end;
}

/* Seção principal */
#begin img {
  border-radius: 100%;
  width: 24rem;
  height: 24rem;
  margin: 0 auto;
}

#begin div {
  flex-direction: column;
}

#begin a {
  border-radius: .2rem;
  background-color: #0039cc;
  padding: 1rem 2rem;
  max-width: max-content;
}

#education {
  gap: 3rem;
}

.education-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.education-item .details {
  display: flex;
  flex-direction: column;
}

.education-item h3 i {
  font-size: 1.7rem;
  color: rgba(255, 255, 255, .7);
}

/* Rodapé */
footer {
  align-items: center
}

/* Responsividade */
@media (min-width: 768px) {
  #begin {
    flex-direction: row
  }
}