/*Reboot*/

*{
    padding: 0;
    margin: 0;
    border: 0;
 }
 *,*::before,*::after{
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
 }
 :focus,:active{outline: none;}
 a:focus,a:active{outline: none;}
 nav,footer,header,aside{display: block;}
 html,body{
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
 }
 .btn, button{
    -webkit-appearance: none;
    -moz-appearance:    none;
    appearance:         none;
 }
 
 .btn:focus, button:focus{
   outline: none;
 } 
 a[href^=tel]{
    color: #000;
 }
 input,button,textarea{font-family: inherit;}
 input::-ms-clear{display: none;}
 button{cursor: pointer;}
 button::-moz-focus-inner{padding: 0;border: 0;}
 a,a:visited{text-decoration: none;}
 a:hover{text-decoration: none;}
 img{vertical-align: top;}
 h1,h2,h3,h4,h5,h6{font-size: inherit;font-weight: inherit;}


body {
    max-width: 100%;
    min-width: 320px;
    font-size: 1.1vw;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    background-color: #000;
    background-image: url(../images/main_bg.png);
    background-size: 70%;
    background-position: 50%;
    background-repeat: no-repeat;
}
.li {
    list-style: none;
}

/*-----LINK ANIMATION--------------------------------------------*/

.link_animation{
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: 0% 0.06em;
    transition: all 0.5s;
    padding-bottom: 0.1em;
}
.link_animation:hover{
    background-size: 100% 0.07em;
}


/* Window with login */

.login_button{
    color: white;
    background-color: rgba(0, 0, 0, 0);
    font-size: 1.39vw;
    position: absolute;
    top: 2em;
    left: 92.4%;
    transition: 0.1s all;
}
.login_button2{
    color: white;
    background-color: rgba(0, 0, 0, 0);
    font-size: 1.39vw;
    position: absolute;
    top: 2em;
    left: 85%;
    transition: 0.1s all;
}
.login_button:hover{
    transform: scale(1.3);
    color: #005E63;
}
.login_button2:hover{
    transform: scale(1.3);
    color: #005E63;
}
.overlay {
    position: fixed;
    z-index: 5;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.6);
    display: none;
  }
.header_form{
    display: flex;
    padding-bottom: 1em;
}
.form_title{
    font-size: 1.7vw;
}
.form_login{
    width: 20em;
    height: 20em;
}
.form-control{
    background-color: #d3d3d35b;
    width: 100%;
    padding: 1em;
    border-radius: 5px;
    margin-top: 0.8em;
    font-size: 0.75vw;
}
.input_title{
    margin-top: 1.5em;
}
.btn{
    width: 100%;
    padding: 0.4em;
    margin-top: 2.5em;
    border-radius: 5px;
    border: 1px solid #005E63;
    background-color: rgba(0, 0, 0, 0);
    color: #005E63;
    font-size: 1.1vw;
    transition: 0.1s all;
}
.btn:hover{
    background-color: #005E63;
    color: white;
    cursor: pointer;
}
.registration_link{
    display: flex;
    justify-content: center;
    margin-top: 1.5em;
    justify-content: space-between;
}
.nema_acaunta{
    font-size: 0.9vw;
}
.reg_button{
    color: #005E63;
    font-size: 0.9vw;
    background-color: rgba(0, 0, 0, 0);
}
.icon_login_page{
    display: flex;
    width: 20%;
    margin: 0px auto;
    justify-content: center;
    justify-content: space-between;
}
.icon_log{
    width: 100%;
}
.icon_log_containg{
    width: 40%;
    margin-top: 1em;
    transition: 0.1s all;
}
.icon_log_containg:hover{
    transform: scale(1.2);
}

  .header_form2{
    display: flex;
    padding-bottom: 1em;
    margin-top: 1em;
}
.form_title2{
    font-size: 1.7vw;
}
.img_close2{
    width: 7%;
    margin-left: 6em;
}
.close_popap{
    background-color: rgb(255, 255, 255);
    width: 100%;
    transition: 0.1s all;
}
.form-control2{
    background-color: #d3d3d35b;
    width: 100%;
    padding: 1em;
    border-radius: 5px;
    margin-top: 1em;
    font-size: 0.75vw;
}
.input_title2{
    margin-top: 0.8em;
    margin-left: 0;
    text-align: left;
}
.input_title3{
    margin-top: 2em;
    margin-left: 0;
    text-align: left;
}
.reg_last_cont{
    display: flex;
    justify-content: center;
    justify-content: space-between;
    width: 70%;
    margin-left: 15%;
    margin-top: 1em;
}
.center_images {
    display: flex;
    justify-content: center;
    position: relative;
    top: 14em;
}
.center_image1 {
    width: 18%;
}
.center_image2 {
    width: 10%;
    position: absolute;
    margin-top: 3.5em;
    filter: blur(0.7px);
}
.center_image {
    width: 100%;
}

/* Rotate image */

img.rot {
    animation: 3s linear 0s normal none infinite running rot;
    -webkit-animation: 3s linear 0s normal none infinite running rot;
  }
  @keyframes rot {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  @-webkit-keyframes rot {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  /* Icons */

.main_screen_icons {
    display: flex;
    position: absolute;
    width: 5%;
    justify-content: space-between;
    margin-top: 23em;
    margin-left: 92%;
}
.reg_move_ico{
    margin-top: 38em;
}
.main_page_karbovanec{
    color: white;
    text-transform: uppercase;
    text-align: center;
    font-size: 3.333vw;
    font-weight: 300;
    margin-top: 0.5em;
}
.main_screen_ico {
    width: 40%;
    transition: 0.1s all;
}
.main_screen_ico:hover{
    transform: scale(1.3);
}
.ico_main_screen {
    width: 100%;
}

.form_block{
    background-color: white;
    position: absolute;
    width: 24.5%;
    margin-left: 38.25%;
    border-radius: 15px;
    margin-top: 7em;
    padding: 1em;
    padding-bottom: 2em;
}
.form_block2{
    background-color: white;
    position: absolute;
    width: 24.5%;
    margin-left: 38.25%;
    border-radius: 15px;
    margin-top: 7em;
    padding: 1em;
    padding-bottom: 2em;
}
.hide{
    display: none;
}
.error{
    font-size: 0.7vw;
    position: absolute;
    color: red;
    margin-top: 6.2em;
    margin-left: 2%;
}
.error2{
    font-size: 0.7vw;
    position: absolute;
    color: red;
    margin-top: 14.5em;
    margin-left: 2%;
}
.error3{
    font-size: 0.7vw;
    position: absolute;
    color: red;
    margin-top: 22.5em;
    width: 80%;
    margin-left: 2%;
    line-height: 120%;
}
.margin_fix{
    margin-top: 1.5em;
}