@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: #202225;
  color: white;
  overflow: hidden;
}

main.main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url("images/night.gif") center / cover no-repeat;
  position: relative;
  animation: fadeIn 2s ease-in;
}

.background {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.overlay {
  z-index: 10;
  background: rgba(0, 0, 0, 0.65);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  max-width: 600px;
  width: 90%;
  animation: zoomIn 1s ease;
  box-shadow: 0 0 20px rgba(114, 137, 218, 0.6);
}

.logoContainer {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
  animation: bounceIn 1.2s ease;
}

.text {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.divForm h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.serverInfo h2 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 1.5;
}

.server {
  font-weight: 700;
  font-size: 20px;
}

.by,
.name {
  font-size: 16px;
  color: #ccc;
}

.acceptBtn {
  background: #7289da;
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #7289da, 0 0 20px rgba(114, 137, 218, 0.6);
}

.acceptBtn:hover {
  background: #5a6bb5;
  transform: scale(1.05);
  box-shadow: 0 0 15px #7289da, 0 0 30px rgba(114, 137, 218, 0.8);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

@media (max-width: 600px) {
  .overlay {
    padding: 20px;
  }

  .logo {
    width: 100px;
  }

  .text {
    font-size: 20px;
  }

  .acceptBtn {
    padding: 12px 16px;
  }
}
