/* Сброс стилей */

*, *::before, *:after{
    padding: 0;
    margin: 0;
    border: none;
    /* В размер элемента уже будут включены все отступы */
    box-sizing: border-box;
    
    font-family: var(--hind);
    font-weight: 400;
}

/* убираем обводку у ссылок при клике и фокусе */
a:focus, a:active {
    outline: none;
}

a, a:visited, a:hover {
    text-decoration: none;
}


/* Убираем маркеры у списков */
ul {
    list-style: none;
}

/* -----СТИЛИЗАЦИЯ----- */

.section {
    width: 100%;
    height: 100vh;
    min-height: 1000px;
	background: #27292d;
}

.container {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    padding: 15px 15px;
}
.main {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    
}
.reg {
    padding: 10px 20px;
    margin: 20px auto 0 auto;
    width: 30%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;  
}

/* Лейблы к инпутам */
.label {
    float: left;
    color: #FFF;
    font-size: 18px;
}
/* Текстовые поля */
.input { 
    display: inline-flex;
    width: 100%;
    height: 40px;
    margin: 10px 0 10px 0;
    padding: 5px 0 5px 5px;
    
    background-color: transparent;
    border: 1px solid #FFF;
    color: #FFF;
    font-size: 18px;
}

.reference {
    text-align: left;
    width: 100%;
    color: var(--dark_grey);
    font-size: 14px;
}

.sign_btn, .reg_btn {
    width: 80%;
    height: 40px;
    margin: 10px auto;
    
    border: none;
    font-size: 20px;
    background: var(--red);
    color: #FFFFFF;
    cursor: pointer;
    
    transition: 0.2s linear;
}

.sign_btn:hover, .reg_btn:hover {
    box-shadow: 300px 0 0 0 rgba(0,0,0,.3) inset;
    
}

.quest {
    color: var(--white);
    font-size: 15px;
}
.reg_link, .auth_link {
    transition: color 0.3s;
}
.reg_link:hover, .auth_link:hover {
    color: red;
}

.error {
    border: 1px solid var(--red);
}


/* Блок с сообщением, при отправке формы */
.msg{
	border: 2px solid var(--red);
    width: 100%;
	align-items: center;
    border-radius: 3px;
    padding: 5px;
    font-size: 1em;
    text-align: center;
    margin: 10px auto;
    color: var(--white);
}

/* Скрываем msg, пока нет никакого сообщения */
.none {
    display: none;
}