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

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

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

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

:root {
  --primary-color: #d4ddef;
  --primary-color: #b9dcff;
  --primary-color: #2427ab;
  --text-color: #4f4f4f;
}

* {
  padding: 0;
  margin: 0;
  /* color: var(--text-color); */
  /* border: 1px solid orangered; */
  -webkit-font-smoothing: antialiased;
  font-family: "Roobert Regular", sans-serif;
}

html {
  background-color: #e6e7e9;
  /* background: radial-gradient(black 15%, transparent 16%) 0 0,
    radial-gradient(black 15%, transparent 16%) 8px 8px,
    radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%) 0 1px,
    radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%) 8px 9px;
  background-color: #282828;
  background-size: 16px 16px; */

  /* 
  background-image: url(https://thegrue.com/wp-content/themes/gridmag/assets/images/background.png);
  background-position: left top;
  background-size: auto;
  background-repeat: repeat; */

  background-color: #bde;
  background-color: #2f2f2f33;
  background-image: radial-gradient(#bbb 10%, transparent 11%),
    radial-gradient(#bbb 10%, transparent 11%);
  background-size: 10px 10px;
  background-position: 0 0, 5px 5px;
  background-repeat: repeat;
}

.cover {
  z-index: 0;
  height: 100vh;
  width: 100%;
}

.a4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
  height: 100vh;
}

.left {
  display: block;
  min-width: 6vw;
}

.right {
  display: block;
  /* min-width: 10vw; */
}

.a4 {
  z-index: 100;
  background: white;
  margin: 9em 0em 18em 0em;
  /*  */
  width: 56.5rem;
  aspect-ratio: 1 / 1.4;

  box-shadow: 20px 13px 30px #0002;

  position: relative;
}

.hidden {
  display: none;
}

li a:hover {
  outline: none;
  border: 1px solid #0006;
}

li a:active span,
li a:active {
  /* opacity: 0.9; */
  opacity: 0.9;
  /* color: #555; */
}

li a,
li a:active {
  box-shadow: none;
  transform: unset;
  transition: 70ms;
  border: 1px solid #0003;
  border-radius: 4px;
  background-color: var(--primary-color);
  padding: 0 1.6rem;
  text-decoration: none;
  cursor: pointer;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.full-name {
  font-family: "Roobert Medium", sans-serif;
  font-weight: bold;

  color: var(--primary-color);
  margin-left: 20px;
  margin-bottom: 14px;
  font-weight: 300;
  font-size: 29px;

  line-height: 1em;
  letter-spacing: -0.07rem;
}

.profession:before {
  z-index: 1;
  /* content: ''; */
  position: absolute;
  bottom: 0;
  left: 99%;
  width: 8px;
  height: 0;
  border-top: 30px solid var(--primary-color);
  border-right: 1.6em solid transparent;
}

.profession:after {
  z-index: -2;

  content: "";
  position: absolute;
  bottom: 28px;
  left: -1%;
  width: 32rem;
  height: 2px;
  background-color: #0001;
}

.title {
  position: relative;
}

.headline {
  margin-left: 20px;
  font-family: "Roobert Medium", sans-serif;
  font-size: 16px;
  letter-spacing: normal;
}

h1,
h2,
h3,
h4 {
  font-family: "Roobert Bold", sans-serif;
  font-weight: bold;
}

h2 {
  color: var(--primary-color);
  font-family: "Roobert Light", sans-serif;
  letter-spacing: -0.01em;

  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 18px;
  font-weight: 400;
  line-height: 130%;
  text-decoration: none;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  /* letter-spacing: 0.2rem; */
}

h4 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

strong {
  opacity: 0.9;
}

h6 {
  font-size: 12px;
  opacity: 0.7;
}

.job-meta {
  font-family: "Roobert Regular", sans-serif;
  font-weight: normal;
  color: #777;
}

.job-meta a {
  color: inherit;
  text-decoration: none;
}

hr {
  border: none;
  height: 2px;
  background-color: #ddd;
}

h3.experience-name {
  position: relative;
  display: inline-block;

  margin: 0.6rem 0 0.2rem;
  z-index: 2 !important;
  /* color: var(--primary-color); */
}

ul {
  padding-left: 1em;
  /* margin-bottom: 40px; */
  margin-bottom: 8px;
}

p {
  color: var(--text-color);
  font-size: 12px;
}

li {
  color: var(--text-color);

  font-size: 12px;
  padding-left: 6px;
}

li strong {
  font-family: "Roobert Bold", sans-serif;
  font-weight: bold;
  color: var(--text-color);
}

.project-cta {
  display: flex;
  justify-content: start;
  flex-direction: row-reverse;
  gap: 0.5rem;
  margin-top: -1em;
  margin-left: -1.5em;
}

.project-cta a:last-child {
  padding: 0 0.5rem;
}

.project-cta a:hover .code-expand-icon-show,
.project-cta a .code-expand-icon-hide {
  display: inline-block;
}

.project-cta a:hover .code-expand-icon-hide,
.project-cta a .code-expand-icon-show {
  display: none;
}

.project-cta span {
  display: flex;
  gap: 0.5rem;
}

.code-expand-icon-hide,
.code-expand-icon-show {
  height: 18px;
  opacity: 0.6;
  color: #0001;
}

footer {
  height: 0px;
}

.a4 .wrapper {
  padding: 2rem 50px 1rem;
  overflow: hidden;
}

.a4 header {
  /* background-color: darkgray; */
  margin-bottom: 40px;
  letter-spacing: 0.3rem;
}

.a4 .content {
  padding: 0 20px;
}

.a4 .content ul:last-child {
  margin-bottom: 0;
}

.about,
.skills,
.experience,
.projects,
.certifications,
.education {
  margin-bottom: 0.9rem;
}

.skills li,
.education li,
.certifications li,
.languages li {
  margin-bottom: 3px;
}

.education .date {
  float: right;
  opacity: 0.7;
}

#download svg {
  width: 2em;
  stroke: #666;
}

#download span {
  color: #666;
}

#download {
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1.25em;
  width: 10em;

  background-color: #fffa;
  /* border-radius: 10% / 1.5%; */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 10px 10px 25px #0002;

  border-radius: 10000px;

  text-decoration: none;
  position: fixed;
  padding: 0.5em 1.5em;
  left: 50%;
  top: 3em;
  transform: translate(-50%);
}

.pdf-mode-btn:is(:hover, :focus) {
  color: unset !important;
}

.pdf-mode-btn {
  white-space: nowrap;
  width: 7.5rem !important;
  justify-content: start !important;
  user-select: none;
  cursor: pointer;
  top: unset !important;
  left: unset !important;
  right: 2rem !important;
  bottom: 2rem !important;
  transform: unset !important;
  box-shadow: none !important;
}

.pdf-mode-btn div {
  color: #757575 !important;
  display: inline;
  font-weight: bolder;
}

.text-primary div {
  color: rgb(0, 143, 232) !important;
}

section.pdf-mode-contacts {
  display: none;
}

section.pdf-mode-contacts a {
  color: inherit;
  text-decoration: none;
}

.cursor-pointer {
  cursor: pointer;
}
