/*FONT SIZE SYSTEM (px)*/
/*10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98*/

/*SPACING SYSTEM (px)*/
/*2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128*/

/*
----- 01 TYPOGRAPHY SYSTEM -----

Font Weights:
Default: 400
Medium: 500
Semi-bold: 600
Bold: 700


Line heights:
Default:
Small:
Medium:
Large:

P:

----- 02 COLORS -----
Background: #212121
Text: #b0bec5



- Primary:

- Tints:

- Shadows:
#171717

- Accents:
- Grays:


----- 03 SHADOWS -----


----- 04 BORDER-RADIUS -----
Default:
Medium:

----- 05 WHITE-SPACE -----



*/

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

:root {
  --primary: #1d1d1d;
  --lightgray: #424242;
  --important: #e9ecef;
  --dim: #90a4ae;
}

html {
  font: 62.5% "Geist Sans", sans-serif;
}

body {
  background: var(--primary);
}

#education .container,
section#experience .container {
  padding: 6.4rem 1.6rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.border__radius__8 {
  border-radius: 0.8rem;
  -webkit-border-radius: 0.8rem;
  -moz-border-radius: 0.8rem;
  -ms-border-radius: 0.8rem;
  -o-border-radius: 0.8rem;
}

.button {
  display: block;
  padding: 1rem 1.2rem;
}

.button:hover {
  background: var(--primary);
}

.transition {
  transition: all 0.2s ease-out;
}

.nav {
  padding: 0.4rem 0.6rem;
  width: max-content;
  margin: 0 auto;
  background: #303030;
  gap: 0.4rem;
}

.nav li {
  list-style: none;
}

.nav li a {
  text-decoration: none;
  text-transform: capitalize;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--important);
}

.header {
  padding: 3.2rem 0 0;
}

body.sticky .header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100vw;
  padding: 1rem 0;
  z-index: 10;
  background: var(--primary);
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

body.sticky {
  padding-top: 8rem;
}

#about .container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  padding: 8rem 1.6rem 6.4rem;
}

.avatar__container {
  flex-flow: column;
  gap: 8rem;
}

.avatar {
  border-radius: 50%;
  width: max-content;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.avatar img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center 40%;
  box-shadow: 0 0 0 0.8rem var(--lightgray);
}

.avatar svg {
  width: 10rem;
}

.description {
  flex-flow: column;
  align-items: flex-start;
  align-self: flex-start;
  font-size: 1.6rem;
  line-height: 1.6;
}

.name {
  font-size: 3.6rem;
  color: var(--important);
  margin-bottom: 0.8rem;
}

.decription__text {
  margin-bottom: 2.4rem;
}

.cv__button {
  font-size: 1.2rem;
  align-self: flex-end;
  border: 1px solid var(--lightgray);
  background: none;
  display: block;
  margin: 0 2.4rem 4.8rem;
}

.cv__button a svg {
  width: 1.4rem;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.cv__button a {
  text-decoration: none;
  display: flex;
  gap: 0.8rem;
}

.cv__button:hover {
  border: 1px solid var(--primary);
  box-shadow: 0 0 0 0.4rem var(--lightgray);
}

.contact {
  width: 100%;
}

.contact .title {
  margin-bottom: 1.6rem;
  font-size: 1.8rem;
}

.contact__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.contact__info li a,
.button svg,
.education__entry h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact__info a {
  text-decoration: none;
  padding: 0.8rem;
}

.contact__info span,
.contact__info svg {
  transition: all 0.2s ease-out;
}

.contact__info svg,
.button svg,
.education__entry svg {
  width: 2.4rem;
  fill: var(--important);
  border-radius: 0.8rem;
  -webkit-border-radius: 0.8rem;
  -moz-border-radius: 0.8rem;
  -ms-border-radius: 0.8rem;
  -o-border-radius: 0.8rem;
}

.contact__info a:hover svg {
  background: var(--lightgray);
  box-shadow: 0 0 0 0.4rem var(--lightgray);
}

.contact__info a:hover {
  text-decoration: underline;
}

#education {
  background: #151515;
}

#education .container {
  justify-content: space-between;
}

#education .description {
  flex: 0 0 70%;
}

#education .avatar,
#experience .avatar {
  fill: var(--dim);
}

h2.title {
  font-size: 2.4rem;
  text-transform: uppercase;
  text-align: center;
}

.graduation {
  justify-self: flex-end;
  z-index: 1;
}

.education__entry,
.exp__entry {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--lightgray);
}

.education__entry:last-child,
.exp__entry:last-child {
  border-bottom: none;
}

.education__entry .details {
  flex: 0 0 70%;
}

.edu__title {
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
}

.edu__school {
  margin-bottom: 0.4rem;
}

.edu__location {
  margin-bottom: 0.8rem;
}

.education__entry p,
.education__entry i {
  font-size: 1.4rem;
  color: var(--dim);
}

.gpa p {
  font-size: 1.6rem;
}

#experience .container {
  justify-content: space-between;
}

#experience .description {
  flex: 0 0 60%;
}

.exp__entry {
  padding: 1.2rem 0;
}

.exp__entry:hover a {
  text-decoration: underline;
}

.exp__entry a {
  text-decoration: none;
}

.exp__entry h3 {
  font-size: 1.8rem;
}

.exp__heading {
  font-size: 1.8rem;
}

.exp__tip {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--dim) !important;
}

.exp__date {
  font-size: 1.6rem;
}

footer {
  padding-bottom: 1rem;
}

.copyright {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--dim);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  font-size: 1.2rem;
  padding: 1.4rem;
  cursor: default;
  text-align: center;
}

.circle,
.circle2 {
  background: var(--dim);
  opacity: 10%;
  width: 15rem;
  height: 15rem;
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.circle2 {
  opacity: 5%;
  width: 20rem;
  height: 20rem;
  z-index: -2;
}
