:root {
    --color-gray: #828282;
    --color-light-gray: #eee;
    --color-light-white: #FAFAFA;
    --border-radius: 7px;
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

textarea {
    resize: none;
}


.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1000;
}

.popup .popup_content {
    position: absolute;
    max-height: 85%;
    overflow-y: auto;
    scrollbar-width: none;
    top: 48%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    border-radius: 1em;
    -webkit-box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.2);
}
  
.popup .popup_content::-webkit-scrollbar {
    display: none; /* Chrome, Edge, Safari */
}

.popup .popup_content .popup_close {
    position: absolute;
    top: .75em;
    right: .75em;
    width: 1em;
    height: 1em;
    cursor: pointer;
}

.popup .popup_content h2 {
    margin-bottom: .75em;
}


/* radio-input */
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #eee;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
  }
  
  input[type="radio"]:checked {
    border-color: #555;
  }
  
  input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #555;
  }
  
input[type="radio"]:hover {
    border-color: #ccc;
    background-color: #f8f8f8;
}


/* checkbox-input */
input[type="checkbox"] {
    display: inline;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #828282;
    border-radius: 1px;
    outline: none;
    cursor: pointer;
    position: relative;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }
  
  /* Стиль для выбранного состояния */
  input[type="checkbox"]:checked {
    border-color: #828282;
    background-color: #828282;
  }
  
  input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    color: #eee;
    font-size: 14px;
    font-weight: bold;
  }
 

.black_btn {
    padding: 0.35rem 2rem;
    border: 1px #fff solid;
    border-radius: var(--border-radius);
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
}
