@font-face {
  font-family: 'alagard';
  src: url('fonts/alagard.ttf') format('truetype');
}

@font-face {
  font-family: 'ibm';
  src: url("fonts/Web437_IBM_VGA_8x14.woff") format("woff");
}

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

body {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 0;
}

.container_wrapper {
  position: relative;
  padding: 0;
  margin: auto;
  width: calc(100% - 2em);
}

.main_container {
  max-width: 72rem;
  border: 1px solid rgb(255 255 255);
  width: 100%;
  position: relative;
  margin: 2rem auto;
}

.background_rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  display: block;
}

main {
  background-color: #000c;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
}

.resume-text {
  position: absolute;
  top: -0.7rem;
  left: 4%;
  transform: translateX(-50%);
  background-color: black;
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 0 0.3rem;
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(40%, 1fr) 2fr;
  gap: 1rem;
  padding: 0.5rem 0.5rem 1.5rem;
}

.experience-title {
  margin-bottom: .25rem;
  margin-top: .45rem;
  font-size: 1.25rem;
  color: #ccc;
}

.company-name {
  margin-bottom: 0.35rem;
  margin-top: 0.35rem;
  font-size: 1rem;
  color: rgb(156 163 175);
}

.experience-desc {
  font-size: 0.765rem;
  margin-top: .45rem;
  margin-bottom: .25rem;
}

.projects-heading {
  font-size: 1.175rem;
  line-height: 1.75rem;
  margin-bottom: .75rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-square {
  position: relative;
  background: #0000004d;
  border: 1px solid rgba(255, 255, 255, .15);
  padding: .75rem;
}

.project-name {
  margin: 0 0 .15rem;
  font-size: 1rem;
}

.project-desc {
  color: rgb(156 163 175);
  font-size: .875rem;
  line-height: 1.25rem;
  margin-bottom: .5rem;
  margin-top: .5rem;
}

.project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.little-square {
  color: rgb(156 163 175);
  font-size: .75rem;
  line-height: 1rem;
  padding: .25rem .5rem;
  border: 1px solid rgb(75 85 99);
}

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

.header-section {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
  color: white;
  margin-top: 1rem;
  margin-left: 2%;
  margin-right: 2%;
}

.name {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
}

.title {
  font-size: .875rem;
  color: #ccc;
  margin-top: 0.2rem;
}

.info {
  display: flex;
  flex-direction: column;
  width: 45%;
  margin-top: 0.3rem;
  font-size: .75rem;
  line-height: 1rem;
}

.info p {
  margin: 0;
  line-height: 1.5;
  color: rgb(107 114 128);
  white-space: nowrap;
}

.info svg {
  width: 12px;
  height: 12px;
  vertical-align: -.2em;
}

.skills-section {
  margin-left: 2%;
  margin-right: 2%;
  padding: 0;
  margin-top: 1rem;
}

.skill {
  margin-bottom: 0.6rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3px;
}

.skill-name {
  color: white;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.skill-level-text {
  color: rgb(156 163 175);
  font-size: .75rem;
  line-height: 1rem;
  cursor: help;
  border-bottom: 1px dotted rgb(75 85 99);
}

.skill-bar {
  background-color: #111;
  height: 6px;
  position: relative;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #212529, #495057, #6c757d);
  transition: width 0.3s ease;
}

@media (max-width: 768px) {
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .info {
    width: 100%;
  }

  .name {
    font-size: 1.4rem;
  }
}
