@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'montserrat', sans-serif;
}

/* TEXTOS TOPO */
.textostopo {
  text-align: center;
  margin-bottom: 40px;
}

.textostopo h2 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 25px;
  margin-top: 45px;
  color:black;
}

.textostopo a {
  padding: 17px;
  font-weight: 500;
  font-size: 16px;
  width: 300px;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  background-color: #1F41BC;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.textostopo a:hover {
  background-color: #0051bf;
  cursor: pointer;
}

/* TEXTOS TOPO */

.app {
  display: none;
}

.container {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: white;
  padding: 40px;
  border-radius: 10px;
  max-width: 300px;
}

.menu-icon {
  background: none;
  font-size: 20px;
  color: white;
  border: none;
}

.side-menu {
  width: 250px;
  height: 100%;
  position: fixed;
  gap: 10px;
  top: 0;
  left: -250px;
  background: #191919;
  color: #ffffff;
  transition: all 0.3s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 20px;
}

.side-menu .close-menu {
  position: absolute;
  top: 10px;
  right: 15px;
  align-self: flex-start;
  font-size: 24px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

.side-menu .btn-config {
  margin-top: 35px;
}

.side-menu .btn-hamburger {
  width: 100%;
  padding: 8px 8px 8px 32px;
  font-size: 16px;
  color: #ffffff;
  background: none;
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}

.side-menu .btn-hamburger:hover {
  background: #1a2a40;
}

.side-menu .btn-hamburger i {
  padding-right: 10px;
}

.side-menu .btn-hamburger .fa-home:before {
  content: "\f015";
}

.side-menu .btn-hamburger .fa-user:before {
  content: "\f007";
}

.side-menu .btn-hamburger .fa-bell:before {
  content: "\f0f3";
}

/*
*
Login e registro
*
*
*/

/* Logo */
img {
  height: 140px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Titulo */
.title {
  color: black;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Formulario de login e registro */
.sign-in-form,
.sign-up-form {
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 300px;
}

.input-field {
  margin-bottom: 20px;
}

/* Entradas de texto da tela de login e registro */
input {
  width: 100%;
  padding: 10px;
  background-color: #F1F3FF;
  border: transparent;
  outline: none;
  box-shadow: none;
  border-radius: 10px;
  font-size: 16px;
  padding: 17px;
}

input:focus {
  outline: 2px solid #1F41BC;
}

/* Botão de login */
.btn {
  padding: 17px;
  font-weight: 500;
  font-size: 16px;
  width: 300px;
  border: none;
  border-radius: 10px;
  background-color: #1F41BC;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0051bf;
}

.btn.solid {
  background-color: #0051bf;
}

.forms-container {
  margin-top: 20px;
  text-align: center;
}

/* Botão de trocar login/registro */
.switch-btn {
  text-align: center;
  margin-top: 40px;
}

.switch-btn span {
  cursor: pointer;
}

.sign-up-form {
  display: none;
}

#signUp,
#signIn {
  color: black;
  font-weight: 500;
}

/*
*
*
Dashboard
*
*
*/
.custom-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #0051bf;
  width: 100%;
}

.custom-navbar .back-button {
  border: none;
  color: white;
  font-size: 20px;
  margin: 0;
  background: transparent;
}

.custom-navbar .back-button:hover {
  cursor: pointer;
}

.custom-navbar span {
  color: white;
}

.platform-buttons-container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: row;
  align-content: center;
}

.platform-button {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 20px;
  border: none;
  border-radius: 25px;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  background-position: center;
}

.platform-button .button-text {
  color: white;
  font-weight: bold;
  padding: 0 10px;
  font-size: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.74);
  z-index: 2;
}

.platform-button:hover {
  cursor: pointer;
}

.platform-button::after {
  content: '';
  position: absolute;
  border-radius: 25px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}

.platform-button.disabled {
  filter: grayscale(1);
  cursor: not-allowed;
}

/* Configurações */

#overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

#settingsPopup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 4px;
  z-index: 1001;
}

#settingsPopup #closePopupButton {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 25px;
  cursor: pointer;
}

#settingsPopup h2 {
  margin-top: 20px;
}

#settingsPopup .btn {
  width: 100%;
  margin-top: 25px;
}

#settingsPopup #changePasswordForm div {
  margin-top: 20px;
}

/*
*
*
Animações
*
*
*/
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 24px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader {
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid #3498db;
  width: 34px;
  height: 34px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

.loading-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  z-index: 9999;
}
/*
*
*
FOOTER
*
*
*/
footer {
  padding: 50px;
  display: flex;
  width: 100%;
  height: 100px;
  background:#0051bf;
  text-align: center;
  align-items: center;
  justify-content: center;
}

footer p {
  color: white;
}

footer a {
  width: 100%;
  font-size: 20px;
  color: yellow;
}

footer i {
  color: yellowgreen;
}
/*
*
*
Notificações
*
*
*/
.success,
.error,
.info {
  padding: 10px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  position: fixed;
  width: 100%;
  top: -100px;
}

.message.success {
  background: green;
}

.message.error {
  background: red;
}

.message.info {
  background: blue;
}

@keyframes slideIn {
  from {
    top: -100px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    top: 0;
    opacity: 1;
  }

  to {
    top: -100px;
    opacity: 0;
  }
}

.message {
  position: fixed;
  z-index: 1000;
  animation-fill-mode: forwards;
}

@media (max-width: 800px) {
  #settingsPopup {
    width: 85%;
  }
}