@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html,
body {
  display: grid;
  height: 100%;
  width: 100%;
  place-items: center;
  background: linear-gradient(45deg, #111, #037ab6);
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.64);
}

::selection {
  background: #1a75ff;
  color: #fff;
}

.wrapper {
  overflow: hidden;
  max-width: 390px;
  background: #fff;
  padding: 30px;
  padding-top: 15px;
  border-radius: 20px;
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);
}

.wrapper .title-text {
  display: flex;
  width: 200%;
}

.wrapper .title {
  width: 50%;
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .slide-controls {
  position: relative;
  display: flex;
  height: 40px;
  width: 100%;
  overflow: hidden;
  margin: 30px 0 10px 0;
  justify-content: space-between;
  border: 1px solid lightgrey;
  border-radius: 6px;
}

.slide-controls .slide {
  height: 100%;
  width: 100%;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 38px;
  cursor: pointer;
  z-index: 1;
  transition: all 0.6s ease;
}

.slide-controls label.signup {
  color: #000;
}

.slide-controls .slider-tab {
  position: absolute;
  height: 100%;
  width: 50%;
  left: 0;
  z-index: 0;
  background: linear-gradient(#035e8b, #035e8b 8px, #2793c9);
  transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.control {
  cursor: pointer;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  background: linear-gradient(#035e8b, #035e8b 8px, #2793c9);
  color: #f9f9f9;
  border: 0;
  border-radius: 6px;
  margin-top: 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 2px;
  transition: all 0.375s;
}

input[type="radio"] {
  display: none;
}

#signup:checked~.slider-tab {
  left: 50%;
}

#signup:checked~label.signup {
  color: #fff;
  cursor: default;
  user-select: none;
}

#signup:checked~label.login {
  color: #000;
}

#login:checked~label.signup {
  color: #000;
}

#login:checked~label.login {
  cursor: default;
  user-select: none;
}

.wrapper .form-container {
  width: 100%;
  overflow: hidden;
}

.form-container .form-inner {
  display: flex;
  width: 200%;
}

.form-container .form-inner form {
  width: 50%;
  transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-inner form .field {
  height: 40px;
  width: 100%;
  margin-top: 20px;
}

.form-inner form .field input {
  height: 100%;
  width: 100%;
  outline: none;
  padding-left: 15px;
  border-radius: 6px;
  border: 1px solid lightgrey;
  border-bottom-width: 2px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-inner form .field input:focus {
  border-color: #2793c9;
}

.form-inner form .field input::placeholder {
  color: #303030;
  transition: all 0.3s ease;
}

form .field input:focus::placeholder {
  color: #2793c9;
}

.form-inner form .pass-link {
  margin-top: 5px;
}

.form-inner form .signup-link {
  text-align: center;
  margin-top: 30px;
}

.form-inner form .pass-link a,
.form-inner form .signup-link a {
  color: #1a75ff;
  text-decoration: none;
}

.form-inner form .pass-link a:hover,
.form-inner form .signup-link a:hover {
  text-decoration: underline;
}

.toggle {
  height: 100%;
  width: 15%;
  border: 1px solid lightgrey;
  margin-left: 2px;
  border-radius: 6px;
  border-bottom-width: 2px;
  background-image: url(../img/show.png);
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.toggle:focus {
  border-color: #2793c9;
}

.toggle.showing {
  background-image: url(../img/hide.png);
}

@media screen and (max-width: 738px) {
  .wrapper {
    max-width: 350px;
  }

  .slide-controls .slide {
    font-size: 12px;
  }
}

.header-a {
  width: 100%;
  vertical-align: middle;
  text-align: center;

}

.header-content {
  display: inline-block;
}

.pic-a {
  margin: 0 auto;
  margin-top: -2.5em;

  border-radius: 10em;
  height: 4em;
  width: 4em;
  background-image: url("../img/check.png");
  background-size: 100% auto;

  border: 2px solid #e0e0e0;
  transition: all 0.5s linear;

}

.pic-r {
  margin: 0 auto;
  margin-top: -2.5em;

  border-radius: 10em;
  height: 4em;
  width: 4em;
  background-image: url("../img/denied.png");
  background-size: 100% auto;

  border: 2px solid #e0e0e0;
  transition: all 0.5s linear;

}

.pic-e {
  margin: 0 auto;
  margin-top: -2.5em;

  border-radius: 10em;
  height: 4em;
  width: 4em;
  background-image: url("../img/time.png");
  background-size: 100% auto;
  background-color: #fff;
  border: 2px solid #e0e0e0;
  transition: all 0.5s linear;

}

.header-text {
  margin-top: 0.5em;
  margin-left: 1em;
}


.subtitle {
  font-family: "Poppins", sans-serif;
  padding-top: .1em;
  font-size: 0.68em;
  font-weight: 500;
  color: #424242;
}

.label-container {
  position: relative;
  bottom: 30px;
  right: 70px;
  display: table;
  visibility: hidden;
  float: right;
}

.label-text {
  color: #fff;
  background: rgba(51, 51, 51, 0.5);
  display: table-cell;
  vertical-align: middle;
  padding: 10px;
  border-radius: 3px;
}

.label-arrow {
  display: table-cell;
  vertical-align: middle;
  color: #333;
  opacity: 0.5;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: rgb(207, 72, 72);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px rgb(0, 0, 0, 0.6);
  z-index: 1000;
  animation: bot-to-top 2s ease-out;
}
.btn {
  clear: both;
}
ul {
  position: fixed;
  right: 40px;
  padding-bottom: 20px;
  bottom: 80px;
  z-index: 100;
}

ul li {
  list-style: none;
  margin-bottom: 10px;
}

ul li a {
  background-color: rgb(207, 72, 72);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px rgb(0, 0, 0, 0.6);
  width: 60px;
  height: 60px;
  display: block;
}

ul:hover {
  visibility: visible !important;
  opacity: 1 !important;
}

.my-float {
  font-size: 24px;
  margin-top: 18px;
}

a#menu-share + ul {
  visibility: hidden;
}

a#menu-share:hover + ul {
  visibility: visible;
  animation: scale-in 0.5s;
}

a#menu-share i {
  animation: rotate-in 0.5s;
}

a#menu-share:hover > i {
  animation: rotate-out 0.5s;
}

a.btn > div.label-container {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s ease;
}

a.btn:hover > div.label-container {
  visibility: visible;
  opacity: 1;
}

@keyframes bot-to-top {
  0% {
    bottom: -40px;
  }
  50% {
    bottom: 40px;
  }
}

@keyframes scale-in {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rotate-in {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-out {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
