

@font-face {
  font-family: "NotoSans";
  src: url("assets/fonts/sans_serif/noto/noto.ttf") format("truetype");
}

@font-face {
  font-family: "NotoSerif";
  src: url("assets/fonts/serif/NotoSerif.ttf") format("truetype");
}

@font-face {
  font-family: "NotoMono";
  src: url("assets/fonts/serif/NotoMono.ttf") format("truetype");
}

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

@font-face {
  font-family: "chart";
  src: url("assets/fonts/Charter/charter_regular.woff2") format("woff2");
}

/* ---------- variables (were $profileBg, $skillsBg, ...) ---------- */

:root {
  --profile-bg: #fff;
  --skills-bg: #e0e4e6;
  --profile-color: #222222;
  --skills-color: #222222;
  --link-color: #124a9b;
  --bold-color: #4a4e51;
  --time: 0.6s;
}

/* ---------- base ---------- */

*,
*::after,
*::before {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "DM", sans-serif;
  font-size: 16px;
  line-height: 1.5em;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

.clearfix::after,
.clearfix::before {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

.bold {
  color: var(--bold-color);
  font-weight: 400;
}

.resume-wrapper {
  position: relative;
  text-align: center;
  height: 100%;
}

.container {
  min-height: 600px;
}

/* ---------- left column: profile ---------- */

.profile {
  background: var(--profile-bg);
  width: 40%;
  float: left;
  color: var(--profile-color);
}

.profile .name-wrapper {
  float: left;
  width: 60%;
}

.profile h1 {
  font-size: 2.5em;
  text-align: left;
  font-family: "DM", sans-serif;
  color: var(--bold-color);
  text-transform: uppercase;
  line-height: 1em;
  padding-top: 40px;
}

.profile li {
  margin-bottom: 10px;
}

.profile .picture-resume-wrapper {
  width: 40%;
  display: block;
  float: left;
}

.profile .picture-resume {
  width: 220px;
  height: 220px;
  background-size: cover;
  border-radius: 50%;
  margin-right: 0px;
  display: table;
  position: relative;
  vertical-align: middle;
}

.profile .picture-resume span {
  display: table-cell;
  vertical-align: middle;
  position: relative;
  margin: 0 auto;
  z-index: 10;
  text-align: center;
}

.profile .picture-resume img {
  border-radius: 50%;
  width: 130px;
}

.profile .contact-info {
  margin-top: 100px;
  font-weight: 300;
}

.profile .list-titles {
  float: left;
  text-align: left;
  font-weight: 600;
  width: 40%;
  color: var(--bold-color);
}

.profile .list-content {
  float: left;
  width: 60%;
  text-align: left;
  font-weight: 300;
}

.profile .contact-presentation {
  text-align: left;
  font-weight: 300;
  margin-top: 100px;
  margin-bottom: 100px;
  font-size: 20px;
}

.profile svg {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  /* display: none; */
}

.profile .st0,
.profile .st1 {
  fill: #66cc99;
}

/* ---------- right column: experience ---------- */

.experience {
  background: var(--skills-bg);
  width: 60%;
  float: left;
  position: relative;
  color: var(--skills-color);
  font-weight: 300;
  min-height: 100%;
  min-height: 100vh;
}

.experience h3.experience-title {
  color: #222222;
  text-align: left;
  text-transform: uppercase;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: 800;
  font-family: 'DM';
}

.experience .company-wrapper {
  width: 30%;
  float: left;
  text-align: left;
  padding-right: 5%;
  margin-bottom: 60px;
}

.experience .job-wrapper {
  width: 70%;
  float: left;
  text-align: left;
  padding-right: 5%;
  margin-bottom: 60px;
}

.experience .experience-title {
  color: #222222;
  margin-bottom: 15px;
  font-weight: 600;
  font-family: 'DM';
}

/* ---------- shared sections ---------- */

.section-padding {
  padding: 60px 60px 40px 40px;
}

.section-wrapper {
  width: 50%;
  float: left;
  text-align: left;
  color: var(--skills-color);
  font-weight: 300;
  margin-bottom: 20px;
}

.section-wrapper:nth-child(3) {
  padding-right: 8%;
}

.section-wrapper h3.section-title {
  color: var(--link-color);
  text-align: left;
  text-transform: uppercase;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: 400;
}

/* ---------- skill bars ---------- */

.section-wrapper .skill-percentage {
  margin-bottom: 10px;
  position: relative;
}

.section-wrapper .skill-percentage::after {
  content: "";
  width: 100%;
  height: 6px;
  background: white;
  display: block;
  margin-top: 3px;
}

.section-wrapper .skill-percentage::before {
  content: "";
  height: 6px;
  background: var(--link-color);
  position: absolute;
  margin-top: 3px;
  bottom: 0;
}

.section-wrapper .skill-percentage:nth-child(1)::before {
  width: 100%;
  animation: skill_1 var(--time) ease;
}

.section-wrapper .skill-percentage:nth-child(2)::before {
  width: 95%;
  animation: skill_2 var(--time) ease;
}

.section-wrapper .skill-percentage:nth-child(3)::before {
  width: 90%;
  animation: skill_3 var(--time) ease;
}

.section-wrapper .skill-percentage:nth-child(4)::before {
  width: 80%;
  animation: skill_4 var(--time) ease;
}

.section-wrapper .skill-percentage:nth-child(5)::before {
  width: 70%;
  animation: skill_5 var(--time) ease;
}

.section-wrapper .skill-percentage:nth-child(6)::before {
  width: 40%;
  animation: skill_6 var(--time) ease;
}


@keyframes skill_1 { from { width: 0%; } to { width: 100%; } }
@keyframes skill_2 { from { width: 0%; } to { width: 95%; } }
@keyframes skill_3 { from { width: 0%; } to { width: 90%; } }
@keyframes skill_4 { from { width: 0%; } to { width: 80%; } }
@keyframes skill_5 { from { width: 0%; } to { width: 70%; } }
@keyframes skill_6 { from { width: 0%; } to { width: 40%; } }
@keyframes skill_7 { from { width: 0%; } to { width: 70%; } }

/* ============================================================
   Breakpoints
   Widest first, narrowest last, because they all use max-width
   and the last matching rule wins.
   ============================================================ */

/* ---------- papa-bear ---------- */
@media (max-width: 1500px) {
  .profile .picture-resume {
    width: 150px;
    height: 150px;
  }

  .profile .picture-resume img {
    width: 80px;
  }
}

/* ---------- mama-bear ---------- */
@media (max-width: 1200px) {
  .profile h1 {
    padding-top: 20px;
  }

  .profile .picture-resume-wrapper {
    width: 100%;
  }

  .profile .picture-resume {
    width: 200px;
    height: 200px;
  }

  .profile .picture-resume img {
    width: 120px;
    height: 120px;
  }

  .profile .contact-info {
    margin-top: 70px;
  }

  .profile .contact-presentation {
    margin-top: 70px;
    margin-bottom: 70px;
  }
}

/* ---------- brother-bear ---------- */
@media (max-width: 850px) {
  .profile {
    width: 100%;
  }

  .profile .contact-presentation {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .experience {
    width: 100%;
  }

  .section-padding {
    padding: 80px 15% 40px 10%;
  }
}

/* ---------- baby-bear ---------- */
@media (max-width: 450px) {
  .profile h1 {
    font-size: 1.8em;
    padding-top: 20px;
  }

  .profile .picture-resume {
    width: 180px;
    height: 180px;
  }

  .profile .contact-info {
    margin-top: 50px;
  }

  .experience .company-wrapper {
    width: 100%;
    margin-bottom: 20px;
  }

  .experience .job-wrapper {
    width: 100%;
    margin-bottom: 40px;
  }

  .section-padding {
    padding: 40px 10% 20px 5%;
  }

  .section-wrapper {
    width: 100%;
  }
}