/* 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.jpg") 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%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
}

.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;
}