/* Reset some default styles for better cross-browser consistency */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General body styling */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

.body_login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
}

.login-container {
  text-align: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.logo img {
  max-width: 100px;
}

div.input{ 
padding: 10px;
}
.login-form {
  margin-top: 20px;
  padding: 15px;
}

.login-form label {
  display: block;
  margin-bottom: 5px;
}

.login-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-form button {
  width: 100%;
  padding: 10px;
  background-color: #007BFF;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}

.login-form button:hover {
  background-color: #0056b3;
}

.links {
  margin-top: 10px;
}

.links a {
  color: #007BFF;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}
/* Sidebar styling */
.sidebar {
  width: 200px;
  position: fixed; /* Stick sidebar to the left */
  left: 0;
  top: 0;
  bottom: 0; /* Expand sidebar to bottom of the viewport */
  background-color: #0783ff;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto; /* Enable vertical scrolling if content overflows */
}


.sidebar-welcome {
  margin-bottom: 20px;
}

.sidebar-link {
  color: white;
  text-decoration: none;
  margin: 10px 0;
}

.sidebar-link:hover {
  text-decoration: underline;
}

/* Main content styling */
.main-content {
  margin-left: 220px; /* Add some space between the sidebar and main content */
  padding: 20px; /* Padding around the content */
  margin-top: 30px; /* Space from the top */
}

.header {
  font-size: 24px;
  margin-bottom: 20px;
}

/* Container for the layout */
.container {
  display: flex;
  flex-direction: column;
}

/* Magazines list styling */
.magazines-list {
  display: flex;
  flex-wrap: wrap;
}

.magazine-item {
  width: calc(2480px / 10);
  box-sizing: border-box;
  margin: 10px;
  text-align: left;
}

.magazine-item:hover {
  transform: scale(1.05);
}

.magazine-placeholder {
  width: 100%;
  padding-top: 141.42%; /* Maintain 2480x3508 aspect ratio */
  position: relative;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Ensure the image fits within the div */
}

.magazine-placeholder img {
  position: fixed;
  width: 195px;
  height: 252px;;
  margin-bottom: 300px;
  object-fit: cover;
}

.magazine-placeholder-text {
  position: fixed;
  font-size: 16px;
  color: #999;
}

.magazine-item-name {
  margin: 10px 0;
  font-size: 1.2em;
  text-align: center; /* Ensure the text is centered */
}
