/*
@import url("../../font/style_font.css");
*/

@font-face {
    font-family: 'NotoSans';
    src: local('NotoSansR'),
    url('../font/Noto Sans/NotoSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansB';
    src: local('NotoSansR'),
    url('../font/Noto Sans/NotoSans-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: local('Roboto Regular'), url('../font/Roboto/Roboto-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Roboto-thin';
    src: local('Roboto-Thin'), url('../font/Roboto/Roboto-Thin.ttf') format('truetype');
}

:root #designlogin4 {
--main-padding-one: 2px;
--main-padding-two: 8px;
--main_white: #ffffff;
--main_red: #921a1d;
--grey: #eee;
--hover: #dfdede;
--text: black;
--main_border_radius: .6em;

--colorWhite: #fff;
--colorGrey: #E2E2E2;
--colorRed: #872624;
--main_bg: #F5F5F5;
--mainFontBlack: #252525;
--RedGradient:  linear-gradient(92.14deg, #872624 0.27%, #BC3835 100.03%);
--GreyShadow: 0px 5px 10px 0px #00000026;
}

html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    height: auto!important;
    height: 100%;
    min-height: 100%;
    font-family: 'Roboto';
    font-size: 16px;
    color: #FFFFFF;
    overflow: hidden;
    background: #272932;
}

h1 {
/*    text-shadow: 0px 0px 3px #FFC107;*/
    text-align: center;
    padding-top: 6%;
    margin: 0;
    font-family: monospace;
    color: black;
    font-weight: 100;
}

h1::after {
    content: " ";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 1%;
    background:  linear-gradient( 90deg, #00000000 0%, #1c4f50 20%, #368285 50%, #1c4f50 80%, #00000000 100%);
}

h2 {
    font-family: 'Roboto-Thin';
    text-align: center;
    color: #982825;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 1.3em;
}

#form_container {
    width: 22%;
    height: fit-content;
    border-radius: 8px 8px 0 0;
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    top: 26vh;
    margin: 0 auto;
}

form {
    width: 80%;
    margin: 0 auto;
}

table {
    width: 100%;
    color: grey;
}

input[type='text'],
input[type='password'] {
    width: 96%;
    height: 2.6em;
    padding-left: 1em;
}

input {
    font-size: 1em;
    cursor: pointer;
    margin-top: 1%;
    background: #202128;
    color: #7e7e7e;
    border: 1px solid transparent;
}

input:focus,
input:active {
    outline: none;
    border: 1px solid #4f6483;
    color: black;
}

input:hover {
    border: 1px solid #313f42;
    color: black;
}

input[type="submit" i]{
    border: 0;
    width: 100%;
    height: 2.6em;
    outline: none;
    margin: 0 auto;
    display: block;
}

form tbody tr:nth-child(3) {
    margin-top: 4%;
    display: grid;
}

form tbody tr:nth-child(3) {
    margin-top: 4%;
    display: grid;
}

input[type="submit"]:hover{
    color: #fff;
    background: #2d3c52;
}

/***********************костыль для хрома который не может менять цвет инпута заполненного логина*****/
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
select:-webkit-autofill,
select:-webkit-autofill:focus,
select:-webkit-autofill:hover,
textarea:-webkit-autofill,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:hover {
    -webkit-text-fill-color: black;
    transition: background-color 5000s ease-in-out 0s;
}

#designlogin4 {
    background: #fff;
}

#designlogin4 #form_container {

}

#designlogin4 h1,
#designlogin4 h2,
#designlogin4 body,
#designlogin4 input{
    font-family: 'NotoSans';
}

#designlogin4 #btn_comein {
    background-color: #97303f;
    border: 1px solid var(--colorGrey);
    border-radius: .6em;
    color: white;
    font-weight: 100;
    margin: 2em 0 1em 0;
}

#designlogin4 #btn_comein:hover {
    border: 1px solid transparent;
    font-weight: bold;
}

#designlogin4 #form_container {
    border: 1px solid #c0c0c0;
    border-radius: 1em;
    padding-bottom: 3em;
}

#designlogin4 input {
    background: white;
    border-radius: .6em;
    border: 1px solid #c0c0c0;
}

#designlogin4 h1::after{
    background: linear-gradient( 90deg, #00000000 0%, #993a3d 20%, var(--colorRed) 50%, #993a3d 80%, #00000000 100%);
}

#logo_ran {
    background: url(../img/logo/logo_ranhigs.png) center center / contain no-repeat;
    width: 100%;
    height: 4em;
    margin-top: 2em;
}

#btn_registration {
    width: 100%;
    height: 2.6em;
    display: inline-block;
    text-align: center;
    line-height: 2.6em;
    border: 1px solid silver;
    border-radius: .6em;
}

#dont_remember_pass,
#btn_registration {
    color: #982825;

}

#dont_remember_pass:hover,
#btn_registration:hover {
    cursor: pointer;
}

@media screen and (min-width: 3400px) {
    h1 {
        font-size: 4em;
    }

    h2 {
        font-size: 2em;
    }

    form {
        font-size: 1.8em;
    }

    input[type="text"],
    input[type='password'] {
        height: 40px;
}

    input[type="submit"] {
        height: 80px;
    }

    input[type="submit"]:hover{
        background: #2d3c52;
        box-shadow: 0px 0px 0 1px #4f6483;
    }

}
