/* ==========================================================================
   General Styles
   ========================================================================== */

/* Color Palette */

:root {
  --color-primary: #000000;
  --color-secondary: #0dffff;
  --color-blue-light: #5f83f1;
  --color-white: #fff;
  --color-black: #0f0d0d;
  --color-gray: #c0ccd1;

  --color-messageError: #ffc4c4;
  --color-messageSuccess: #00fff5;
  --color-fieldError: #eb5757;

  --font-title: "Unbounded", cursive;
  --font-text: "Roboto", sans-serif;
}

/* Main */

html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: var(--font-text);
  background: var(--color-black);
  color: var(--color-white);
  margin: 0;
  height: auto;
  overflow-x: auto !important;
}

body {
  width: 100%;
}

/* Titles */
h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: var(--font-title);
  text-transform: uppercase;
}

h1 {
  font-size: 60px;
  line-height: 68px;
  margin-bottom: 20px;
}

h2 {
  font-size: 54px;
  line-height: 58px;
  margin-bottom: 10px;
}

h3 {
  font-size: 28px;
  font-weight: normal;
}

h4 {
  font-size: 16px;
  margin-bottom: 20px;
}

p {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 1px;
  margin-top: 0px;
  font-size: medium;
}

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

.bold {
  font-size: 18px;
  font-weight: 700;
  margin-top: 0px;
}

.big-type {
  font-size: 20px;
  line-height: 24px;
}

.small-type {
  font-size: 14px;
  line-height: 18px;
}

.first {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
}

.team-map {
  position: relative;
  width: 1920px;
  min-width: 1920px;
  height: 1080px;
  margin: 0px auto;
  border-radius: 16px;
  background: url("/images/map.jpg");
  background-size: cover;
  flex: 0 0 auto;
}

.dev-pin {
  position: absolute;
  /* transform: translate(-50%, -50%); */
}

.dev-dot {
  position: absolute;
  left: calc(50% - 5px);
  bottom: -10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.dev-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 18, 25, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 5px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.dev-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  position: absolute;
  background: #474b52;
  bottom: 0px;
  width: 100%;
}

.dev-meta {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 3px;
  line-height: 1.35;
}

.dev-zone {
  background: rgb(14 15 20);
  border: 1px solid rgb(44, 44, 44);
  position: absolute;
  font-size: 10px;
  right: -15px;
  top: -10px;
  display: flex;
  padding: 5px;
  border-radius: 20px;
}

.dev-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.95;
}

.dev-time {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 1;
  text-align: center;
}

.dev-date {
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
  text-align: right;
  white-space: nowrap;
  font-size: 10px;
}

.dev-avatar {
  max-width: 80px;
}

.kostya {
  top: 12%;
  left: 23.5%;
}

.alex {
  top: 15%;
  left: 28%;
}

.alexander {
  bottom: 16%;
  right: 35%;
}

.kirill {
  bottom: 30%;
  right: 35%;
}

.zlata {
  top: 28%;
  left: 30%;
}

.alexey {
  top: 20%;
  right: 35%;
}

.elvira {
  top: 35%;
  left: 33%;
}

.andrey {
  top: 45%;
  left: 39%;
}

.nikita {
  top: 28%;
  left: 39%;
}

.me {
  top: 20px;
  left: 20px;
}

.me .dev-dot,
.me .dev-name,
.me .dev-zone,
.me .dev-avatar {
  display: none;
}

.me .dev-row {
  border-top: 0px;
  padding: 10px;
  text-align: center;
}

.dev-date {
  text-align: center;
}
