@import "root.css"; 

* {
    font-family: var(--ff-default);
    font-size: var(--fs-default);
    user-select: none;
}

html {
    background-color: var(--szurke);
    
}

#login-form,
#sign-up-form {
    margin: auto;
    margin-top: 10%;
    padding: 20px 40px 40px 40px;
    border: black 1px solid;
    background-color: var(--fekete);
    color: #FFF;
    border-radius: 10px;
    width: 30vw;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.heading {
    font-size: var(--fs-big);
	margin-bottom: 1vh;
}

#register {
   padding-top: 1.5vh;
}

/*================              LOGIN SECTION             ==================*/
  [type="checkbox"] {
      position: relative;
      left: 30px;
      top: 10px;
      z-index: 0;
      -webkit-appearance: none;
    }
  [type="checkbox"] + label {
    position: relative;
    display: block;
    cursor: pointer;
    margin-left: 17%;
    padding-left: 65px;
    margin-bottom: 30px;
    line-height: 1;
    position: relative;
    margin-top: -30px;
  }
  [type="checkbox"] + label:before {
    width: 60px;
    height: 30px;
    border-radius: 30px;
    border: 1px solid #444;
    background-color: #EEE;
    content: "";
    margin-right: 15px;
    transition: background-color 0.5s linear;
    z-index: 5;
    position: absolute;
    left: 0px;
  }
  [type="checkbox"] + label:after {
    width: 28px;
    height: 28px;
    border-radius: 30px;
    background-color: #fff;
    content: "";
    transition: margin 0.1s linear;
    box-shadow: 0px 0px 5px #aaa;
    position: absolute;
    left: 2px;
    top: 2px;
    z-index: 10;
  }
  [type="checkbox"]:checked + label:before {
    background-color: hsla(196, 77%, 55%, 1);
  }
  [type="checkbox"]:checked + label:after {
    margin: 0 0 0 30px;
  }

.field-group {
    margin-top: 1.5vh;
    text-align: center;
}


.input-field {
    position: relative;
    padding: 7px 5px;
    width: 100%;
    border: #A3C3E7 1px solid;
    border-radius: var(--def-bord-rad);
    margin-top: 1vh
}

.form-submit-button {
	 --webkit-appearance: none;
    font-size: var(--fs-middle);
    background: var(--turkiz);
    font-size: large;
    border: 0;
    padding: 10px 0px;
    border-radius: var(--def-bord-rad);
    color: #111;
    width: 100%;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 3px 5px rgba(0,0,0,0.24);

}
.form-submit-button:hover {
    background-color: var(--turkiz-h);
    transition: all 250ms;
}
.error-message,
.error-msg {
    margin: 2vh 0;
    user-select: none;
    text-align: center;
    color: var(--piros-h);
}

.remember-container input {
    width: max(20px, 1.75vw);
    height: max(20px, 1.75vw);
    
}


.eye{
    width:1.5em;
    height:1em;
    position:relative;
    display:inline-block;
    --background:var(--szurke);
    --color:var(--turkiz);
  }
  .eye div{
    overflow:hidden;
    height:50%;
    position:relative;
    margin-bottom:-1px;
  }
  .eye div:before{
    content:'';
    background:currentColor;
    position:absolute;
    left:0;
    right:0;
    height:300%;
    border-radius:100%;
  }
  .eye div:last-child:before{
    bottom:0;
  }
  .eye:before{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:0.6em;
    height:0.6em;
    background:var(--color);
    border:0.15em solid var(--background);
    border-radius:100%;
    z-index:1;
  }
  .eye:after{
    content:'';
    position:absolute;
    top:-0.15em;
    left:calc(33.333% - 0.15em);
    transform:rotate(45deg) scaleX(0);
    transform-origin:left center;
    width:90%;
    height:0.1em;
    background:var(--color);
    border-top:0.1em solid var(--background);
    z-index:2;
    transition:transform 0.25s;
  }
  .eye.crossed:after{
    transform:rotate(45deg) scaleX(1);
  }
  .eye, .crossed {
      font-size: var(--fs-middle);
  }
  .showme_div {
    height: 2.5vh;
  }
  #showme_div {
    margin-top: 0px;
    font-size: var(--fs-middle);
  }
  #showme_text {
    cursor: pointer;
    display: inline-block;
    text-align: left;
    width: 90%;
    font-size: var(--fs-middle);
  }
  #showme {
    cursor: pointer;
    position: relative;
    display: inline-block;
  }
  /*input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    margin: 0;
  }
  input[type="checkbox"]:focus {
    outline: 0;
  }*/
  .cbx {
    position: absolute;
    width: 24px;
    height: 24px;
    top: calc(50vh - 12px);
    left: calc(50vw - 12px);
  }
  .cbx input {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #bfbfc0;
    border-radius: 50%;
  }
  .cbx label {
    width: 24px;
    height: 24px;
    background: none;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-filter: url("#goo");
    filter: url("#goo");
    transform: trasnlate3d(0, 0, 0);
    pointer-events: none;
  }
  .cbx svg {
    position: absolute;
    top: 5px;
    left: 4px;
    z-index: 1;
    pointer-events: none;
  }
  .cbx svg path {
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 19;
    stroke-dashoffset: 19;
    transition: stroke-dashoffset 0.3s ease;
    transition-delay: 0.2s;
  }
  .cbx input:checked + label {
    animation: splash 0.6s ease forwards;
  }
  .cbx input:checked + label + svg path {
    stroke-dashoffset: 0;
  }
  @-moz-keyframes splash {
    40% {
      background: #866efb;
      box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }
    100% {
      background: #866efb;
      box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
  }
  @-webkit-keyframes splash {
    40% {
      background: #866efb;
      box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }
    100% {
      background: #866efb;
      box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
  }
  @-o-keyframes splash {
    40% {
      background: #866efb;
      box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }
    100% {
      background: #866efb;
      box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
  }
  @keyframes splash {
    40% {
      background: #866efb;
      box-shadow: 0 -18px 0 -8px #866efb, 16px -8px 0 -8px #866efb, 16px 8px 0 -8px #866efb, 0 18px 0 -8px #866efb, -16px 8px 0 -8px #866efb, -16px -8px 0 -8px #866efb;
    }
    100% {
      background: #866efb;
      box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
  }
  

/*================          END OF LOGIN SECTION             ==================*/