body {
    background: rgba(0, 0, 0, 0.9);
    margin: 0;
    color: #fafafa;
    font-family: sans-serif;
    font-size: 16px;
    padding-top: 40px;
    padding-bottom: 40px;
    line-height: 1.4;
 }
 
 html{
    box-sizing: border-box;
 }
 
 *, *::after, *::before{
    box-sizing: inherit;
 }
 
 h1, h2, h3, h4, p, ul{
    margin: 0;
 }
 
 button{
    padding: 0;
    cursor: pointer;
 }
 
 a{
    text-decoration: none;
    color: #16a085;
 }
 a:hover{
    color: #52cab2;
 }
 a:focus{
    outline: 1px solid #16a085;
    outline-offset: 3px;
 }

 .main{
    display: grid;
    grid-template-columns: 1fr 800px 1fr;
    width: 99%;
    margin: 0 auto;
 }
 
 .container{
    width: 800px;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
 }

 .rekblock{
    position: relative;
    box-sizing: border-box;
 }

 .rekblock__container{
    width: 95%;
    margin: 0 auto;
    position: sticky;
    top: 0;
 }
 
 .code{
    display: block;
    background: black;
    padding: 20px;
    margin-bottom: 20px;
 }


 .inline-code{
    color: #16a085;
 }

 .colored{
    color: #16a085;
 }

 .nav__list{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
    margin-top: 0;
 }

 .nav__item:not(:last-child){
    margin-right: 20px;
 }
 
 .main_header{
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    color: #16a085;
 }
 
 .main_text{
    margin-bottom: 20px;
 }
 .main_text:last-child{
    margin-bottom: 0;
 }
 
 .header2{
    font-size: 25px;
    margin-bottom: 20px;
    color: #16a085;
 }
 
 .header3{
    font-size: 20px;
    margin-bottom: 20px;
    color: #16a085;
 }
 
 .multiform {
    position: relative;
    margin: 0 auto;
    /* position   : absolute;
    top        : 50%;
    left       : 50%;
    margin-top : -100px;
    margin-left: -250px; */
    width      : 500px;
    height     : 200px;
    max-width: 100%;
    border     : 4px dashed #fff;
    margin-bottom: 120px;
 }
 
 .multiform p {
    width      : 100%;
    height     : 100%;
    text-align : center;
    /* line-height: 170px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color      : #ffffff;
    font-family: Arial;
    margin-bottom: 20px;
 }
 
 .multiform input {
    position: absolute;
    margin  : 0;
    padding : 0;
    width   : 100%;
    height  : 100%;
    outline : none;
    opacity : 0;
 }
 
 .multiform button {
    margin       : 0;
    color        : #fff;
    background   : #16a085;
    border       : none;
    width        : 100%;
    height       : 35px;
    margin-top   : -20px;
    margin-left  : -4px;
    border-radius: 4px;
    border-bottom: 4px solid #117A60;
    transition   : all .2s ease;
    outline      : none;
    margin: 0 auto;
    margin-bottom: 10px;
 }
 
 .multiform button:hover {
    background: #149174;
    color     : #0C5645;
 }
 
 .multiform button:active {
    border: 0;
 }
 
 .footer{
    background: #000;
    padding: 20px;
    font-size: 12px;
 }

 #yandex_rtb_R-A-2125978-2{
    margin-bottom: 20px;
 }

 /*
 CHECKBOX
 */

  .checkbox_panel{
    display: flex;
    justify-content: center;
  }
  
  .checkbox_item{
    display: flex;
    align-items: center;
    margin-right: 30px;
  }
  .checkbox_item:last-child{
    margin-right: 0;
  }
  
  .custom-checkbox{
    display: none;
  }
  
  .footer__label {
    font-weight: 400;
    /* font-size: 16px; */
  }
  
  .custom-checkbox:checked+span::before {
    background: #16a085;
    background-size: contain;
  }
  
  .custom-checkbox+span::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #16a085;
    margin-right: 4px;
    margin-bottom: -2px;
    background-repeat: no-repeat;
    background-position: center center;
  }

 /*
 CODE
 */
 pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: visible;
    background: black;
    padding: 20px;
 }
 .hljs-name, .hljs-tag {
    color: #e8bf6a;
 }
 .hljs-comment, .hljs-quote {
    color: #bc9458;
    font-style: italic;
 }
 .hljs-attr, .hljs-built_in, .hljs-builtin-name, .hljs-bullet, .hljs-link, .hljs-symbol {
    color: #6d9cbe;
 }


 .donate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
 }



 .modal_window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: opacity;
    pointer-events: none;
    opacity: 0;
}

.modal_window.active {
    opacity: 1;
    pointer-events: all;
    z-index: 2;
}

.modal__container {
    background: rgba(25, 25, 25, 1);
    padding: 35px;
    border-radius: 15px;
    max-height: 80%;
    overflow: auto;
}

.modal_form {
    margin-bottom: 20px;
}

.modal__picture {
    width: 100%;
    min-height: 100px;
    /* aspect-ratio: 1; */
    align-items: center;
    justify-content: center;
    display: none;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><radialGradient id="a12" cx=".66" fx=".66" cy=".3125" fy=".3125" gradientTransform="scale(1.5)"><stop offset="0" stop-color="%2316a085"></stop><stop offset=".3" stop-color="%2316a085" stop-opacity=".9"></stop><stop offset=".6" stop-color="%2316a085" stop-opacity=".6"></stop><stop offset=".8" stop-color="%2316a085" stop-opacity=".3"></stop><stop offset="1" stop-color="%2316a085" stop-opacity="0"></stop></radialGradient><circle transform-origin="center" fill="none" stroke="url(%23a12)" stroke-width="15" stroke-linecap="round" stroke-dasharray="200 1000" stroke-dashoffset="0" cx="100" cy="100" r="70"><animateTransform type="rotate" attributeName="transform" calcMode="spline" dur="2" values="360;0" keyTimes="0;1" keySplines="0 0 1 1" repeatCount="indefinite"></animateTransform></circle><circle transform-origin="center" fill="none" opacity=".2" stroke="%2316a085" stroke-width="15" stroke-linecap="round" cx="100" cy="100" r="70"></circle></svg>') center no-repeat; */
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle fill="%2316a085" stroke="%2316a085" stroke-width="15" r="15" cx="40" cy="65"><animate attributeName="cy" calcMode="spline" dur="2" values="65;135;65;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.4"></animate></circle><circle fill="%2316a085" stroke="%2316a085" stroke-width="15" r="15" cx="100" cy="65"><animate attributeName="cy" calcMode="spline" dur="2" values="65;135;65;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.2"></animate></circle><circle fill="%2316a085" stroke="%2316a085" stroke-width="15" r="15" cx="160" cy="65"><animate attributeName="cy" calcMode="spline" dur="2" values="65;135;65;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="0"></animate></circle></svg>') center no-repeat;
    background-size: 30%;
}

.modal__picture.active {
    display: flex;
}

.modal__svg {
    width: 30%;
    width: 30%;
    display: none;
}

.modal__svg.active {
    display: block;
}

.final__img {
    border-radius: 20px;
    max-width: 100%;
    display: none;
    width: 300px;
    max-width: 100%;
    object-fit: cover;
}

.final__img.active {
    display: block;
}

.modal__label {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.modal__input {
    border: 3px solid #16a085;
    border-radius: 10px;
    background: none;
    font-size: 18px;
    padding: 15px 12px;
    outline: none;
    color: #16a085;
}

.modal__input::placeholder {
    color: rgba(22, 160, 133, 0.6);
}

.modal_btn {
    background: #16a085;
    padding: 15px 12px;
    color: #FFF;
    border: 2px solid #16a085;
    border-radius: 15px;
    width: 100%;
    font-size: 18px;
}

.modal_btn.disabled {
    background: #0c4b3e;
    pointer-events: none;
}

 @media (max-width: 550px) {
    body{
       font-size: 14px;
    }

    .nav__list {
        /* justify-content: flex-start;
        max-width: 100%;
        overflow-x: auto;
        gap: 20px; */
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .nav__item {
        flex-shrink: 0;
        text-align: center;
    }

    .nav__item:not(:last-child){
        margin-right: 8px;
    }
 
    .main_header{
       font-size: 20px;
    }
 
    .header2{
       font-size: 18px;
       margin-bottom: 20px;
    }
    
    .header3{
       font-size: 16px;
       margin-bottom: 20px;
    }
 
    .code span{
       font-size: 12px !important;
       word-break: break-all;
       white-space: normal;
    }

    .rekblock{
        display: none;
    }

    .main{
        display: block;
    }

    .donate {
        flex-direction: column;
    }

    .donate iframe {
        width: 267px;
    }
 }