/* Глобальные стили проекта */
html {
  scroll-behavior: smooth;
}

/* общие стили */
.links {
  text-decoration: underline solid;
  text-underline-offset: 1px;
}

address {
  font-style: normal;
}


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

body {
  margin: 0 auto;
  max-inline-size: 2560px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

picture,
img {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

button,
a,
input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: currentColor;
  text-decoration: none;
  cursor: pointer;
}

.links {
  text-decoration: underline solid;
  text-underline-offset: 1px;
}

address {
  font-style: normal;
}

blockquote {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0 0 0 0);
  inline-size: 1px;
  block-size: 1px;
  clip-path: inset(50%);
}

 .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

svg {
  display: block;
  width: 100%;
  height: 100%;
}

dl,
dt,
dd {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}