* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  height: 100vh;
  width: 100vw;

  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;

  color: #f8f9fa;
  background-color: #f8f9fa;
  background: linear-gradient(#b5179e, #3f37c9);
}

p {
  font-size: 2rem;
  font-family: "Exo", serif;
  font-weight: 500;
  letter-spacing: 0.05rem;

  margin-bottom: 1rem;
}

main {
  height: 95%;
  width: 60%;
  background-color: #212529;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 2rem;
  border-radius: 1rem;

  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5),
    0 -5px 10px rgba(255, 255, 255, 0.1);
}

input {
  width: 60%;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: none;

  padding: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;

  background-color: #343a40;
  color: #f8f9fa;
}

input:focus {
  /* outline-color: #f72585; */
  border-color: #f72585;
}

button {
  width: 60%;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 1.3rem;
  margin-bottom: 1rem;

  background-color: #f8f9fa;
  transition: 0.2s;
}

/* classes */
.icon {
  font-size: 7rem;
  color: #f72585;
  margin-bottom: 0.1rem;
}

.the-social-app {
  margin-bottom: 2.8rem;
  font-family: "Cairo Play", serif;
  letter-spacing: 0.1rem;
}

.new-text {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.new-text span {
  color: #4895ef;
}

.password-condition,
.email-condition {
  font-size: 0.8rem;
  width: 80%;
  text-align: center;
}

.email-condition {
  color: #dc2f02;
}

.sign-in-button:hover {
  background-color: #4895ef;
  transform: scale(1.02);
}

.sign-in-button {
  margin-bottom: 2rem;
}

hr {
  width: 90%;
  border: 0;
  border-top: 1px solid #f72585;
  margin-bottom: 2rem;
}

.terms-text {
  width: 60%;
  font-size: 0.8rem;
  margin-bottom: 2rem;
}

.terms-text .a {
  color: #4895ef;
}

.tag {
  color: #f8f9fa;
  width: 100%;
  text-align: end;
  margin-right: 20%;
}

/* Camera */
main.camera {
  justify-content: end;
  align-items: center;
}

main.camera div {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

main.camera button {
  width: 4rem;
  height: 4rem;
  border-radius: 100%;
  transition: 0.1s ease;
}

main.camera button:hover {
  background: linear-gradient(60deg, #ffe76e, #fffceb);
  transform: scale(1.03);
}

.cam-icon {
  font-size: 2.8rem;
  color: #3f37c9;
}

.cam-flash {
  font-size: 1.5rem;
  color: #dc562e;
}

main.camera button.camera-flash {
  width: 2.5rem;
  height: 2.5rem;
}

/* ---------------------- responsive ----------------- */

@media screen and (max-width: 800px) {
  body {
    background: linear-gradient(#b5179e, #3f37c9);
  }
  p {
    font-size: 1.3rem;
  }
  main {
    width: 90%;
  }
  input,
  button {
    width: 80%;
    height: 2.5rem;
  }

  .terms-text {
    width: 80%;
    font-size: 0.8rem;
  }
}

@media screen and (min-width: 1200px) {
  body {
    justify-content: right;
  }
  main {
    width: 30%;
    margin-right: 10%;
  }
}

/* HIDE */
.hide {
  display: none;
}
