/* DEVPedroMarino identity and color modes */
:root {
  --blue: #2471cd;
  --navy: #102d52;
  --ink: #14283f;
  --muted: #526781;
  --line: #cad8e8;
  --light: #e5edf7;
  --page: #eef3fa;
  --surface: #f4f7fc;
  --panel: #dce8f6;
}
body {
  background: var(--page);
}
header {
  max-width: 1400px;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0;
  font-size: 18px;
  white-space: nowrap;
}
.tech-logo {
  width: 39px;
  height: 39px;
  color: var(--blue);
  flex-shrink: 0;
}
.brand-word {
  font-family: Manrope, sans-serif;
  font-weight: 600;
  color: var(--ink) !important;
}
.brand-word b {
  color: var(--blue);
  font-weight: 800;
}
.preferences {
  display: flex;
  gap: 7px;
}
.utility {
  height: 34px;
  min-width: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  font:
    600 12px "DM Sans",
    sans-serif;
  cursor: pointer;
}
#theme,
#sound {
  font-size: 20px;
}
.hero {
  position: relative;
  gap: 70px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.13;
  mask-image: linear-gradient(90deg, transparent, black);
  z-index: -1;
}
.profile-panel {
  padding: 25px 26px 26px;
  background: linear-gradient(145deg, #183e6a, #0b203e);
  box-shadow: 12px 12px 0 var(--panel);
  position: relative;
  overflow: hidden;
}
.portrait-frame {
  height: 300px;
  display: flex;
  justify-content: center;
  margin: 16px -26px 0;
  background: radial-gradient(ellipse at 50% 60%, #3471a8 0, transparent 68%);
  border-bottom: 1px solid #ffffff26;
  overflow: hidden;
}
.portrait-frame img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.panel-name {
  margin-top: 19px;
}
.panel-lines {
  margin-top: 20px;
}
.project,
.systems article {
  background: var(--surface);
}
.master {
  background: var(--panel);
  border-color: var(--line);
}
.degree,
.skills span {
  background: var(--panel);
}
.certificate-tabs button {
  background: var(--surface);
}
.secondary {
  background: var(--surface);
}
.inline-icon {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  margin-right: 9px;
  flex-shrink: 0;
}
.social-icon {
  width: 25px;
  height: 25px;
  grid-row: span 2;
  color: #94c4ff;
}
.contact-links a {
  grid-template-columns: 44px 1fr;
}
.contact-links small {
  margin-top: 4px;
}
.contact {
  background: linear-gradient(115deg, #102d52, #081c35);
}
[data-theme="dark"] {
  --blue: #70b2ff;
  --ink: #e7f0fc;
  --muted: #a8b9ce;
  --line: #263e59;
  --light: #0c1d32;
  --page: #081525;
  --surface: #12243b;
  --panel: #152e4a;
}
[data-theme="dark"] .primary {
  background: #2875cc;
  color: #fff;
}
[data-theme="dark"] .profile-panel {
  box-shadow: 12px 12px 0 #152e4a;
}
[data-theme="dark"] .certificate-tabs button.active {
  background: #2875cc;
}
[data-theme="dark"] .nav-contact:hover {
  background: #152e4a;
}
.button:hover,
.utility:hover {
  filter: brightness(1.08);
}
footer .brand {
  font-size: 15px;
}
footer .tech-logo {
  width: 29px;
  height: 29px;
}
@media (max-width: 1100px) {
  header {
    padding: 0 25px;
    gap: 15px;
  }
  nav {
    gap: 20px;
  }
  .nav-contact {
    display: none;
  }
  .hero {
    gap: 35px;
  }
}
@media (max-width: 700px) {
  header {
    height: auto;
    min-height: 108px;
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
  }
  header > .brand {
    font-size: 15px;
  }
  .tech-logo {
    width: 31px;
    height: 31px;
  }
  header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 35px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 13px;
  }
  .preferences {
    margin-left: auto;
    gap: 5px;
  }
  .utility {
    height: 31px;
    min-width: 31px;
    padding: 0 6px;
    font-size: 11px;
  }
  .hero {
    padding-top: 37px;
  }
  .hero h1 {
    font-size: clamp(30px, 8.5vw, 40px);
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.3px;
  }
  .portrait-frame {
    height: 310px;
  }
  .profile-panel {
    max-width: 420px;
    width: 100%;
    margin: auto;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .contact h2 {
    font-size: 29px;
  }
  .email {
    font-size: 15px;
  }
  .systems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .systems h3 {
    font-size: 18px;
  }
  .degree {
    gap: 14px;
  }
  footer p {
    font-size: 11px;
  }
  footer .brand {
    font-size: 13px;
  }
  .contact-inner {
    gap: 20px;
  }
}
@media (max-width: 360px) {
  header > .brand {
    font-size: 12px;
  }
  .tech-logo {
    width: 26px;
    height: 26px;
  }
  .wrap {
    padding-left: 19px;
    padding-right: 19px;
  }
  .systems {
    grid-template-columns: 1fr;
  }
  .email {
    font-size: 13px;
  }
  .button {
    width: 100%;
    text-align: center;
  }
}
