/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, Helvetica, sans-serif;
  height: 100vh;
}

/* CONTAINER PRINCIPAL */
.container {
  display: flex;
  height: 100vh;
}

/* LADO ESQUERDO (APRESENTAÇÃO) */
.left {
  width: 70%;
  background: url("../img/tavern.gif") no-repeat center;
  background-size: cover;
  position: relative;
  color: white;
}

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

/* OVERLAY ESCURO */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* CONTEÚDO DO TEXTO */
.content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  text-shadow: 2px 2px 10px black;
}

.content h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.content p {
  font-size: 20px;
}

/* LADO DIREITO (LOGIN) */
.right {
  width: 30%;
  background: #121212;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CAIXA DE LOGIN */
.login-box{

  width:80%;

  display:flex;
  flex-direction:column;

  gap:15px;

  color:white;

  padding:40px;

  border-radius:20px;

  background:
  rgba(10,10,10,.65);

  backdrop-filter:blur(10px);

  border:
  1px solid rgba(168,85,247,.3);

  box-shadow:
  0 0 20px rgba(124,58,237,.15),
  0 0 40px rgba(124,58,237,.08);

  position:relative;

}

.login-box h2 {
  margin-bottom: 20px;
  text-align: center;
  color: white;
}
.senha-box {
  position: relative;
  width: 100%;
}

.senha-box input {
  width: 100%;
  padding-right: 40px;
}

.toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

/* INPUTS */
input {
  padding: 12px;
  margin: 8px 0;
  border: none;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
}

/* BOTÕES */
button {
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  background: #6a0dad;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* BOTÃO SECUNDÁRIO */
.secondary {
  background: transparent;
  border: 1px solid #6a0dad;
}

/* MENSAGEM */
#msg {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #ff4d4d;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .left {
    width: 100%;
    height: 40%;
  }

  .right {
    width: 100%;
    height: 60%;
  }
  
}

.link {
  color: #aaa;
  cursor: pointer;
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

.link:hover {
  color: #fff;
}

/* FUNDO ESCURO */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

/* CAIXA */
.modal-content {
  background: #fff;
  color: #000;
  margin: 10% auto;
  padding: 20px;
  width: 300px;
  border-radius: 10px;
  text-align: center;
}

/* BOTÃO FECHAR */
.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:#050505;
  overflow:hidden;
}

/* CONTAINER */
.container{
  width:100%;
  height:100vh;
  display:flex;
}

/* LADO ESQUERDO */
.left{
  width:70%;
  position:relative;

  background-image:url("../img/tavern.gif");
  background-size:cover;
  background-position:center;

  display:flex;
  align-items:center;
  justify-content:center;

  overflow:hidden;
}

/* ESCURECER BORDAS */
.left::after{
  content:"";
  position:absolute;
  inset:0;

  background:
    radial-gradient(
      circle,
      transparent 70%,
      rgba(0,0,0,0.35) 75%,
      rgba(0, 0, 0, 0.881) 100%
    );

  pointer-events:none;
}

/* ESCURECER FUNDO */
.overlay{
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    to right,
    rgba(0,0,0,.4),
    rgba(0,0,0,.7)
  );
}

/* CONTEÚDO */
.content{
  position:relative;
  z-index:2;

  text-align:center;
  color:white;
}

/* LOGO */
.logo{

  width:220px;

  filter:
  drop-shadow(0 0 10px #a855f7)
  drop-shadow(0 0 25px #7c3aed);

  animation:logoGlow 4s infinite;
}

/* ANIMAÇÃO */

@keyframes logoGlow{

  0%{
    filter:
    drop-shadow(0 0 5px #a855f7)
    drop-shadow(0 0 15px #7c3aed);
  }

  50%{
    filter:
    drop-shadow(0 0 15px #c084fc)
    drop-shadow(0 0 40px #7c3aed);
  }

  100%{
    filter:
    drop-shadow(0 0 5px #a855f7)
    drop-shadow(0 0 15px #7c3aed);
  }

}

/* TÍTULO */
.content h1{

  font-size:70px;

  margin-top:15px;

  color:#ffffff;

  font-family:Georgia, serif;

  text-shadow:
  0 0 20px #7c3aed;
}

/* TEXTO */
.content p{

  margin-top:10px;

  font-size:28px;

  color:#d4d4d4;
}

/* LADO DIREITO */
.right{
  width:30%;

  background:#050505;

  display:flex;
  justify-content:center;
  align-items:center;

  position:relative;
}



/* LOGIN */
.login-box{

  width:80%;

  display:flex;
  flex-direction:column;

  gap:15px;

  color:white;
}

/* TÍTULO LOGIN */
.login-box h2{

  text-align:center;

  font-size:40px;

  margin-bottom:20px;

  color:white;
}

/* INPUTS */
.login-box input{

  height:55px;

  border:none;

  border-radius:10px;

  padding:15px;

  font-size:16px;

  background:#111;

  color:white;

  border:1px solid #333;

  transition:.3s;
}

/* FOCUS */

.login-box input:focus{

  outline:none;

  border-color:#7c3aed;

  box-shadow:
  0 0 10px rgba(124,58,237,.5);

}

/* SENHA */
.senha-box{
  position:relative;
}

.toggle{

  position:absolute;

  right:15px;

  top:50%;

  transform:translateY(-50%);

  cursor:pointer;
}

/* BOTÕES */
.login-box button{

  height:55px;

  border:none;

  border-radius:10px;

  cursor:pointer;

  font-size:18px;

  transition:.3s;
}

/* BOTÃO ENTRAR */
#btnLogin{

  background:#6d28d9;

  color:white;
}

#btnLogin:hover{

  background:#7c3aed;

  transform:scale(1.02);
}

/* BOTÃO SECUNDÁRIO */
.secondary{

  background:transparent;

  color:white;

  border:1px solid #7c3aed !important;
}

.secondary:hover{
  background:#7c3aed20;
}

/* LINKS */
.link{

  text-align:center;

  cursor:pointer;

  color:#bdbdbd;
}

.link:hover{
  color:#a855f7;
}

/* MENSAGEM */
#msg{
  text-align:center;
  color:#ff7b7b;
}

/* MODAL */
.modal{

  display:none;

  position:fixed;

  inset:0;

  background:rgba(0,0,0,.8);

  z-index:999;
}

.modal-content{

  width:400px;

  background:#111;

  border:1px solid #7c3aed;

  border-radius:15px;

  padding:30px;

  position:absolute;

  top:50%;
  left:50%;

  transform:translate(-50%,-50%);

  color:white;
}

/* FECHAR */
.close{

  position:absolute;

  right:15px;
  top:10px;

  font-size:25px;

  cursor:pointer;
}

/* RUNAS */

.runas{

  position:absolute;

  inset:0;

  pointer-events:none;
}

/* RUNA */
.runa{

  position:absolute;

  color:#a855f7;

  font-size:22px;

  text-shadow:
  0 0 10px #a855f7,
  0 0 20px #7c3aed,
  0 0 40px #7c3aed;

  animation:pulsar 3s infinite;
}

/* POSIÇÕES */

.top-left{
  top:30px;
  left:30px;
}

.top-right{
  top:30px;
  right:30px;
}

.bottom-left{
  bottom:30px;
  left:30px;
}

.bottom-right{
  bottom:30px;
  right:30px;
}

/* ANIMAÇÃO */

@keyframes pulsar{

  0%{
    opacity:.4;
    transform:scale(1);
  }

  50%{
    opacity:1;
    transform:scale(1.2);
  }

  100%{
    opacity:.4;
    transform:scale(1);
  }

}

/* LINHA MÁGICA */

.linha-magica{

  width:100%;

  height:2px;

  margin-bottom:20px;

  background:
  linear-gradient(
    90deg,
    transparent,
    #7c3aed,
    transparent
  );

  box-shadow:
  0 0 10px #7c3aed;
}

.particulas{

  position:absolute;

  inset:0;

  background-image:
  radial-gradient(#a855f7 1px, transparent 1px);

  background-size:50px 50px;

  opacity:.08;

  animation:mover 20s linear infinite;
}

@keyframes mover{

  from{
    transform:translateY(0);
  }

  to{
    transform:translateY(-100px);
  }

}