
* {
   box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
   margin: 0;
   padding: 0;
   border: 0;
   
   font: inherit;
   vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
   display: block;
}
html {
   height: 100%;
}
body {
   line-height: 1;
}
ol,
ul {
   list-style: none;
}
blockquote,
q {
   quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
   content: '';
   content: none;
}
table {
   border-collapse: collapse;
   border-spacing: 0;
}

* {
   font-family: 'ProstoOne';
}

.App {
   text-align: center;
}
#root {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-direction: column;
   min-height: 100dvh;
}

.App-logo {
   height: 40vmin;
   pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
   .App-logo {
      animation: App-logo-spin infinite 20s linear;
   }
}

.App-header {
   background-color: #282c34;
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   font-size: calc(10px + 2vmin);
   color: white;
}

.App-link {
   color: #61dafb;
}

@keyframes App-logo-spin {
   from {
      transform: rotate(0deg);
   }
   to {
      transform: rotate(360deg);
   }
}
p {
   font-family: 'OnestRegular';
}
a {
   text-decoration: none;
   color: #1b1b1b;
   font-family: 'OnestRegular';
}

h1,
h2 {
   font-family: 'ProstoOne' !important;
}

button {
   transition: all 0.5s;
   font-family: 'OnesLight';
}

.App {
   margin: 0;
   display: flex;
   flex-direction: column;
   min-height: 100vh;
}

main {
   width: 100%;

   max-width: 1240px;
   flex-grow: 1;
   display: flex;
   flex-direction: column;
  
   @media (max-width: 780px) {
      gap: 62px;
   }
   @media (max-width: 540px) {
      gap: 32px;
   }
}
header {
   margin-bottom: 18px;
   @media (max-width: 980px) {
      margin: 0;
   }
}

footer {
   flex-shrink: 0;
   @media (max-width: 780px) {
      margin: 20px !important;
   }
}

.btn {
    font-family: 'Onest', sans-serif; /* Убедитесь, что шрифт подключен */
    color: light; /* Замените на нужный цвет */
    font-weight: 250; /* Если 250 не поддерживается, используйте 300 */
    line-height: 1.3rem;
    font-size: 1rem;
    padding: 8px 64px;
    background:#4DB0A7; /* Замените на нужный цвет, если переменная не используется */
    border-radius: 16px;
    transition: all 0.5s;
    border: 1px solid #4DB0A7; /* Замените на нужный цвет */
    text-align: center;
    color: #fff;
}

/* Стили при наведении */
.btn:hover {
    color: #4DB0A7; /* Замените на нужный цвет */
    background: transparent;
}
.btn-transparent {
    font-family: 'Onest', sans-serif; /* Убедитесь, что шрифт подключен */
    font-weight: 250; /* Если 250 не поддерживается, используйте 300 */
    line-height: 1.3rem;
    font-size: 1rem;
    padding: 8px 64px;
    border-radius: 16px;
    transition: all 0.5s;
    border: 1px solid transparent; /* Замените на нужный цвет */
    color: #4DB0A7; /* Замените на нужный цвет */
    background: transparent;
    text-align: center;
}

/* Стили при наведении */
.btn-transparent:hover {
    border: 1px solid #4DB0A7;  /* Замените на нужный цвет */
    background:#4DB0A7;  /* Замените на нужный цвет */
    color:#fff; /* Замените на нужный цвет */
}

h1 {
   font-family: 'ProstoOne';
   font-size: 60px;
   line-height: 74.1px;
   font-weight: 400;
   color: #1B1B1B;
   @media (max-width:580px) {
      font-size: 24px;
      line-height: 29.64px;
   }
}
h2 {
   font-family: 'ProstoOne';
   font-size: 36px;
   line-height: 46.8px;
   font-weight: 400;
   text-transform: uppercase;
   color: #1B1B1B;
   @media (max-width:580px) {
      font-size: 18px;
      line-height: 23.4px;
   }
}
h3 {
   font-size: 24px;
   line-height: 26.4px;
   font-weight: 400;
   color: #1B1B1B;
   @media (max-width:580px) {
      font-size: 18px;
      line-height: 19.8px;
   }
}
.text {
   font-size: 18px;
   font-weight: 300;
   line-height: 23.4px;
   font-family: OnestRegular;
   color: #1B1B1B;
}
.text-light {
   font-family: 'OnesLight';
   font-weight: 250;
   line-height: 23.4px;
   font-size: 18px;
   color: #1B1B1B;
   @media (max-width:580px) {
      font-size: 14px;
      line-height: 18.2px;
   }
}
.text-border {
   font-weight: 300;
   line-height: 22.95px;
   font-size: 18px;
   color: #1B1B1B;
   @media (max-width:580px) {
      font-size: 10px;
      line-height: 13px;
   }
}
.text-button{
   font-size: 24px;
   line-height: 31.2px;
   font-weight: 300;
   @media (max-width:780px) {
      font-size: 18px;
      line-height: 20px;
   }
}

.button{
   font-size: 24px;
   line-height: 31.2px;
   font-weight: 300;
   padding: 8px 64px;
   border-radius: 50px;
   background-color:#4DB0A7 ;
   border: 1px solid #4DB0A7;
   transition: all .5s;
   color: #fff;
   @media (max-width:580px) {
      font-size: 18px;
      line-height: 23.4px;
   }
}
.button:hover{
   background-color:transparent ;

   color:#1B1B1B;
}
.button-t{
   font-size: 24px;
   line-height: 31.2px;
   font-weight: 300;
   padding: 8px 64px;
   border-radius: 50px;
   color:#1B1B1B;
   background-color:transparent ;   
   border: 1px solid #4DB0A7;
   @media (max-width:580px) {
      font-size: 18px;
      line-height: 23.4px;
   }
}
.button-t:hover{
   background-color:#4DB0A7 ;
  
   color:#fff;
}
.b-decor{
   border-radius: 20px;
   border: 1px solid #4DB0A7;
   padding: 8px 16px ;
   font-size: 16px;
   line-height: 20.8px;
   @media (max-width:580px) {
      padding: 4px 8px;
      font-size: 14px;
      line-height: 13px;
   }
}
section{
   margin-top: 110px;
   @media (max-width:580px) {
      margin-top: 50px;
   }
}

.header { width: 100%;
   background: #fff;
   position: sticky;
   top: 0;
   display: flex;
   justify-content: center;
   z-index: 100;

   padding: 24px 10px;
   border: 1px solid #E5E5E5;
 }
 
 .header-inner {
   width: 100%;
   max-width: 1240px;
   display: flex;
   align-items: center;
   justify-content: space-between;
 }

 
 .header-navigation {
   display: flex;
   justify-content: space-around;
   align-items: center;
   gap: 24px;
   @media (max-width:980px) {
      display: none;
   }
 }
 
 .header-link {
 
   transition:  all .5s;
 color: #4DB0A7;
  
 }
 .header-link:hover {
   color: #61dafb;
 }
 
 
 


 .button-burger {
   display: none;
   flex-direction: column;
   justify-content: space-between;
   align-items: center;
   max-width: 40px;
   z-index: 100000;
   cursor: pointer;
   padding-right: 14px;
   padding-left: 14px;
   height: 25px;
   background: transparent;
   border: none;
   @media (max-width:980px) {
      display: flex;
   }
 }
 
 .button-burger div {
   background-color: #4DB0A7; /* decorColor заменен переменной */
   height: 2px;
   width: 18px;
   transition: transform 0.3s ease, opacity 0.3s ease;
 }
 
 .button-burger div:nth-of-type(1) {
   transform: none; /* или rotate(45deg) translate(5px, -2px) при открытом состоянии */
   background-color: #4DB0A7; /* decorColor заменен переменной */

 }
 
 .button-burger.open div:nth-of-type(1) {
   transform: rotate(45deg) translate(6px, 4px);
 }
 
 .button-burger div:nth-of-type(2) {
   opacity: 1; 
   background-color: #4DB0A7; /* decorColor заменен переменной */

 }
 
 .button-burger.open div:nth-of-type(2) {
   opacity: 0;
 }
 
 .button-burger div:nth-of-type(3) {
   background-color: #4DB0A7; /* decorColor заменен переменной */

   transform: none; /* или rotate(-45deg) translate(10px, -3px) при открытом состоянии */
 }
 
 .button-burger.open div:nth-of-type(3) {
   transform: rotate(-45deg) translate(10px, -10px);
 }

 .drawer-container {
   position: relative;
 }
 .drawer {
   position: fixed;
   top: 0;
   left: -100%;
   width: 150px;
   height: 100%;
   background-color: #333;
   color: white;
   transition: left 0.3s ease;
   z-index: 999;
 }
 
 .drawer.open {
   left: 0;
 }
 
 .drawer-content {
   padding: 20px;
 }

 .drawer-content{
   display: flex;
   flex-direction: column;
   gap: 20px;
   font-size: 20px;
  
 }