@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');

.alert {
  display: none;
  }

@media (max-width: 768px) {
  .alert {
    display: block;
    padding: 20px;
    background-color: #f44336;
    color: white;
  }
  
  .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .closebtn:hover {
    color: black;
  }
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #36393f;
  padding: 10px 0;
}

.nav-menu {
  background-color: #36393f;
  padding: 10px;
}

.nav-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.nav-menu li {
  margin: 0 10px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}


body {
  background-image: url(https://e0.pxfuel.com/wallpapers/80/449/desktop-wallpaper-blue-hacker-windows-hacker.jpg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: Roboto, sans-serif;
}

.message {
  padding: 1.5em;
  border-radius: 1em;
  background: #36393f;
  color: #dcddde;
  width: 90vh;
  max-width: 70em;
}

.message__ref {
  position: relative;
  display: flex;
  align-items: center;
  height: 2rem;
  padding-left: 3.75rem;
}

.message__ref::before {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  content: '';
  display: block;
  width: 31px;
  height: 10px;
  border-top-left-radius: 6px;
  border-left: 2px solid #4f545c;
  border-top: 2px solid #4f545c;
}

.message__ref__avatar img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-top: 8px;
}

.message__ref__username {
  font-weight: 500;
  color: #afafaf;
  margin-left: 0.2em;
  font-size: 15px;
}

.message__ref__content {
  margin-left: 0.2em;
  font-size: 14px;
}

.message__root {
  display: flex;
}

.message__avatar {
  width: 3em;
  margin-right: 0.75em;
  border-radius: 50%;
}

.message__username {
  font-weight: 500;
  margin-bottom: 0.2em;
}

.message-container {
    background-color: #2f3136;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #36393f;
    padding: 10px;
    color: white;
    border-radius: 5px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
}

.profile-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.profile-username {
    font-size: 18px;
    font-weight: bold;
}

a
{
    color: #ffffff;
}

@keyframes fadeInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-from-top {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInFromTop 1.5s ease-in-out forwards;
}