* {
  margin: 0;
  padding: 0;
  font-family: "font1";
  box-sizing: border-box;
}
body {
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

@font-face {
  font-family: "font1";
  src: url(fonts/MADE\ TOMMY\ Light_PERSONAL\ USE.otf);
}
.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #ffff;
  transition: 0.3s ease;
}
.contai {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #ffff;
  transition: 0.4s;
}

.regi,
.contai {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #ffff;
  transition: 0.4s;
}
.contai {
  top: 0;
}
.regi {
  top: -100%;
  position: absolute;
  background-color: #fffdf1;
}
.box {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
  background: #ffff;
  box-shadow: 2px 5px 20px -3px rgba(0, 0, 0, 0.22);
  height: 500px;
  border-radius: 8px;
}
.left {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffefe;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 0px 6px 60px -20px rgba(0, 0, 0, 0.145);
}
.left .img {
  position: relative;
  width: 300px;
  height: 300px;
}
.left .img img {
  width: 100%;
  height: 100%;
}

.right {
  position: relative;
  padding: 25px 40px;
}

h2,
.h2 {
  font-family: "login1";
  font-size: 35px;
  position: relative;
  padding-bottom: 40px;
  margin-bottom: 15px;
  font-weight: lighter;
  color: #ffa401;
  text-transform: uppercase;
}

label {
  font-family: "login1";
  font-size: 17px;
  color: #000;
}
.text {
  width: 100%;
  padding: 13px;
  background-color: #ffff;
  outline: none;
  border: 1.5px solid lightgray;
  font-size: 16px;
  border-radius: 8px;
  margin-top: 13px;
  margin-bottom: 24px;
  font-family: "login1";
  transition: 0.2s;
}
.reg {
  margin-top: 3px;
  margin-bottom: 4px;
}
.text:focus {
  border: 1.5px solid #ffccb5d9;
}

.error {
  position: absolute;
  top: 20px;
  left: 8px;
  background: #f8c096;
  width: 97%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #ffa401;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: "login1";
  font-weight: 300;
}

.error i {
  font-size: 24px;
  margin-right: 14px;
}

.text::placeholder {
  color: rgb(195, 192, 192);
  font-size: 15px;
  text-transform: capitalize;
}
.submit {
  display: inline-block;
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 19px;
  color: #fff;
  margin-top: 20px;
  background: #ffa401;
  border: none;
  border-radius: 8px;
  transition: 0.2s ease;
}
.subtwo {
  background-color: rgb(255, 209, 217);
}
.submit:hover {
  box-shadow: 7px 6px 0px 0px #d6a7422f;
}
.lnik {
  width: 100%;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*user*/

.email-fullname,
.pass-group {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.email-fullname .email,
.pass-group .pass {
  width: 60%;
}

@media screen and (max-width: 880px) {
  .box {
    grid-template-columns: 1fr;
    margin: 10px;
    border-radius: 10px;
    height: 98%;
    overflow: hidden;
  }
  .left {
    margin-top: -50px;
    height: 330px;
  }
  .error {
    margin-top: -10px;
    width: 110%;
  }
  h2 {
    margin-bottom: -10px;
  }
  .error p {
    font-size: 14px;
    margin-left: -10px;
  }
}

@media screen and (max-width: 375px) {
  .left {
    margin-top: -40px;
    height: 270px;
  }
}
