:root {
  --bg: #05001f;
  --bg-block: #090035;
  --fg: #eaeaea;
  --muted: #9a9a9a;
  --border: #2a2a2a;
  --accent: #ffffff;
}

::selection {
    background: #0051ff;
    color: white;
}

*{
    color: var(--accent);
    font-family: arial;
}
body{
    background-color: var(--bg);
}
main{
    display: grid;
    flex: 1;
    padding: 30px;
    max-width: 1200px;
    margin: 20px auto;

}

header{
    display: flex;
    align-items: center;
    padding: 10px 30px;
}

/* Левая зона */
.title{
    flex: 0 0 auto; /* не растягивается */
}
/* Центральная зона */
.links {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    position: relative;
    padding: 10px 0;
}

.links_inner {
    display: inline-flex; /* чтобы ширина соответствовала только ссылкам */
    gap: 20px;
    position: relative;
}

/* линии сверху и снизу только над ссылками */
.links_inner::before,
.links_inner::after {
    content: "";
    position: absolute;
    margin-top: -10px;
    margin-bottom: -10px;
    left: 0;
    width: 100%; /* теперь ограничено шириной links-inner */
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #00a2ff 20%,
        #00a2ff 80%,
        transparent
    );
}

.links_inner::before {
    top: 0;
}

.links_inner::after {
    bottom: 0;
}

.links::before{
    top: 0;
}

.links::after{
    bottom: 0;
}

/* Правая зона */
.auth{
    flex: 0 0 auto; /* не растягивается */
}
@font-face {
  font-family: impact; /* set name */
  src: url("/demo/files/fonts/Impact.otf"); /* url of the font */
}
.headerTitile {
    font-size: 30px;
    font-family: impact;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;

}
.burger span {
  display: block;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.mobile-menu {
  position: fixed;
  display: none;
  bottom: 0px;
  flex-direction: column;
  gap: 10px;
  left: 0;
  right: 0;
  background: var(--bg-block);
  padding: 10px 20px;
  border-top: 1px solid #ddd;
  z-index: 100;
  visibility: visible;
}

.main__slogan,
.main__starterInfo{
    text-align: center;
}
.main__slogan{
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.3;
}

.main__starterInfo{
    font-size: clamp(16px, 2vw, 18px);
    max-width: 700px;
    margin: auto;
}
.main__slogan{
    font-size: 30px;
}
.main__starterInfo{
    font-size: 17px;
}
.main__prm_subtitle{
    color: var(--muted);
    text-align: center;
}
.main__prm_title{
    text-align: center;
}
.main__prm .prm{
    border: 1px solid #00a2ff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* вертикальное центрирование */

}
.main__prm{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.setcions_hr{
    width: 100%;
    background: linear-gradient(
        to right,
        transparent,
        #00a2ff 20%,
        #00a2ff 80%,
        transparent
    );
    height: 1px;
    border: 0;
    visibility: hidden;
}

.main__service_subtitle{
    color: var(--muted);
    text-align: center;
}
.main__service_title{
    text-align: center;
}
.main__services{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.main__services .service{
    border: 1px solid #00a2ff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* вертикальное центрирование */

}
.main__service_cost{
    margin-left: 10px;
}


.readmore_btn{
    text-align: center;
    margin-bottom: 8px;
    background-color: #00a2ff;
    border-radius: 5px;
    margin-left: 10px;
    margin-right: 10px;
}

.main__prm1_text{
    color: var(--accent);
    text-align: center;
}
.main__prm1 .prm{
    display: flex;
    flex-direction: column;
    justify-content: center;   /* вертикальное центрирование */

}
.main__prm1{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: rgb(141, 6, 6);
}

@media (max-width: 768px) {
  .links {
    display: none;
  }
  .header_auth_btn{
    display: none;
  }

  .burger {
    display: flex;
  }
  h2{ text-align: center;}
  section{
    margin-bottom: 15px;
  }
  .setcions_hr{
    visibility: visible;
  }
  .main__prm{
    grid-template-columns: 1fr;
  }
  .main__services{
    grid-template-columns: 1fr;
  }
  .main__prm1{
    grid-template-columns: 1fr;
  }
}


.notify{
    color: red;
    text-align: center;
}
