@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap");

body, html {
  font-family: Arial, sans-serif;
  text-align: center;
  height: 100%;
  margin: 0;
  background-color: #f0f0f0;
  padding: 0;
  flex-direction: column;
  display: flex;
}

/* General styles for header */
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-color: #1e1e1e;
  font-family: 'Roboto', sans-serif;
  padding: 30px 20px;
  user-select: none;
}

header h1 {
  color: #98DB7C;
  margin: 0;
  font-size: 2.5rem;
}

header .line {
  width: 100%;
  max-width: 80%;
  height: 2px;
  background-color: #ffffff;
  margin: 15px auto;
}

header p {
  color: white;
  margin: 10px 0 0 0;
  font-size: 1.1rem;
  line-height: 1.5;
  word-wrap: break-word;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  header {
    padding: 20px 10px;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
    margin-top: 10px;
  }

  header .line {
    max-width: 90%;
  }
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2e2e2e;
  padding: 5px 5px;
}

nav a {
  color: #bbb;
  text-decoration: none;
  padding: -15px;
  transition: all 0.3s ease;
  margin-top: -10px;
  margin-bottom: -10px;
  margin-left: 10px;
  margin-right: 10px;
}

nav a:hover {
  color: white;
  transform: scale(1.2);
}

#section1-1 {
  text-align: center;
  padding: 20px;
  background-color: #383838;
  margin-top: -16px;
  color: #ffffff;
}

#section1-2 {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #404040;
  flex: 1;
}

#section1-3 {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #484848;
  flex: 1;
}

footer {
  background-color: #2e2e2e;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: auto;
}

.button {
  background-color: #04AA6D;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
}

.button:hover {
  background-color: #03885A;
  color: white;
  text-decoration: none;
}

.myanimelist-icon {
    height: 36px;  /* Original size */
    filter: invert(1);
    transition: filter 0.3s ease;
}

.btn:hover .myanimelist-icon {
    filter: invert(0); /* Invert the icon color to black on hover */
}

/* Navbar styles */
.centered-menu {
  background-color: #404040;
  text-align: center;
  border-radius: 8px;
}

/* Center items in the collapsed burger menu */
.centered-menu .navbar-nav {
  flex-direction: column;
  align-items: center;
}

/* Styling for links in the burger menu */
.centered-menu .navbar-nav .nav-item .nav-link {
  font-size: 1.5rem;
  padding: 10px 15px;
}

/* Custom margin only for desktop (when the burger menu is not shown) */
@media (min-width: 992px) {
  .custom-ms {
    margin-left: 9%;
    margin-right: 9%;
  }
}

/* Remove margin-left and center items in the burger menu */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .custom-ms {
    margin-left: 0;
  }
}

/* Navbar toggler icon styling */
.navbar-toggler-icon {
  filter: brightness(0);
}

