body {
  font-family: 'Montserrat', 'Arial', sans-serif;
}

.page {
  max-width: 1920px;
  display: flex;
  flex-direction: column;
  margin: auto;
  padding: 0 40px;
}

.header-container {
  background-color: #9696C0;
}

.header {
  margin: 0 auto;
  padding: 20px 40px;
  max-width: 1920px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.title {
  margin: 60px 0 40px 40px;
}

.subtitle {
  margin: 20px auto 20px auto;
}

.main {
  display: flex;
  flex-direction: row;
  border-radius: 20px;
  box-sizing: border-box;
  gap: 30px;
  height: 1200px;
  margin-bottom: 20px;
}

.aside {
  display: flex;
  flex-direction: column;
  max-width: 150px;
  border-radius: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 30px 5px rgba(211, 211, 211, 0.8), 
              0 0 60px 10px rgba(255, 255, 255, 0.5);
  border: none;
}

.content {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 30px 5px rgba(211, 211, 211, 0.8), 
              0 0 60px 10px rgba(255, 255, 255, 0.5);
  border: none;
  width: 100%;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 10px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
  color: #53555F;
  transition: color 0.3s ease;
  max-width: 130px;
}
.menu-item:hover {
  color: #007BFF;
}
.menu-item img {
  width: 32px;
  height: 32px;
  margin: auto;
  transition: transform 0.3s ease;
}
.menu-item:hover img {
  transform: scale(1.1);
}
.menu-item-active {
  transform: scale(1.1);
  color: #007BFF;
}
.menu-item-text {
  font-size: 16px;
}

.header-menu-list {
  display: flex;
  flex-direction: row;
  gap: 50px;
  padding: 10px;
}

.header-menu-item {
  display: flex;
  flex-direction: row;
  text-align: center;
  text-decoration: none;
  color: #53555F;
  transition: color 0.3s ease;
  align-items: center;
}
.header-menu-item:hover {
  color: #007BFF;
}
.header-menu-item img {
  width: 32px;
  height: 32px;
  margin: auto;
  transition: transform 0.3s ease;
}
.header-menu-item:hover img {
  transform: scale(1.1);
}
.header-menu-item-active {
  transform: scale(1.1);
  color: #007BFF;
}
.header-menu-item-text {
  font-size: 16px;
  margin-left: 10px;
}

.course {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: start;
  border-radius: 20px;
  box-sizing: border-box;
  border: none;
  background-color: #5278F766;
  width: 95%;
  margin: 0 auto 20px auto;
}

.course-image {
  border-radius: 20px;
  box-sizing: border-box;
  border: none;
  width: 220px;
  height: 110px;
  object-fit: cover;
  object-position: center;
}

.course-author-image {
  border-radius: 20px;
  box-sizing: border-box;
  border: none;
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: center; 
}

.course-details {
  display: flex;
  flex-direction: column;
  margin-right: 20px;
}

.course-labels {
  display: flex;
  flex-direction: row;
  gap: 50px;
  justify-content: end;
}

.course-title-and-status {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: start; 
  align-items: baseline;
}

.course-labels-status {
  background-color: #b5fcae;
  border-radius: 10px;
  padding: 5px 20px;
  font-weight: bold;
  color: #53555F;
}

.course-description {
  margin: 0;
  color: #2E2C4880;
}

.course-author {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: start;
  align-items: center;
}

.course-author-text {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.course-author-name {
  margin: 0;
  font-weight: bold;
  color: #53555F;
  font-size: 18px;
}

.course-author-title {
  margin: 0;
  color: #2E2C4880;
}

.course-author-and-price {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 50px;
  margin: 10px 20px 20px 0;
  align-items: center;
}

.course-title {
  font-weight: bold;
  font-size: 22px;
}

.course-price-text {
  font-weight: bold;
  font-size: 32px;
  color: #2E2C4880;
  margin: 0;
}

.course-price {
  color: #000;
}

.course-classes-amount {
  color: #2E2C4880;
  font-weight: bold;
  font-size: 20px;
  margin: 10px 0;
}

.course-labels-type {
  background-color: #F54464;
  border-radius: 10px;
  padding: 5px 20px;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  margin: 0 0 20px 0;
}

.course-image-and-labels {
  width: 220px;
}

.course-details-left {
  display: flex;
  flex-direction: column;
  margin: 20px 0 20px 20px;
  justify-content: space-between;
}

.course-buttons {
  display: flex;
  flex-direction: column;
}

.button {
  max-width: 200px;
  margin: 5px;
  padding: 5px;
  color: #fff;
  background-color: #5278F7;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.4); 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: scale(1.01);
  box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.5); 
}

.button-add {
  margin: 0 0 20px 40px;
  background-color: #009c1a;
  padding: 15px;
  max-width: 250px;
}

.button-delete {
  background-color: #F54464;
}

.course-labels-status-new {
  background-color: #5278F766;
}

.course-labels-status-closed {
  background-color: #f0a1a1;
}

.course-user-small {
  margin: auto 20px;
  width: 30px;
  height: 30px;
}

.user-field {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
}

.user-line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-radius: 20px;
  box-sizing: border-box;
  border: none;
  background-color: #5278F766;
  width: 95%;
  margin: 0 auto 20px auto;  
}

.user-info {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: baseline;
}

.user-text {
  margin: 5px 0 0 0;
}

.user-line-handlers {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: end;
  margin: auto 20px;
}

.user-info {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.avatar-image {
  border-radius: 50%;
  box-sizing: border-box;
  border: none;
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: center; 
}

.avatar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.user-data-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: flex-start; 
}

.field-container {
  display: flex;
  flex-direction: column;
}

.field-input {
  all: unset;
  width: 230px;
  height: 30px;
  border-bottom: 2px solid #2E2C4838;
  transition: border-color 0.3s ease;
  background-color: #F1F5F980;
  cursor: pointer;
  margin-bottom: 20px;
  padding: 5px;
}

.field-input:focus {
  border-bottom: 2px solid #5278F7;
}

.field-label {
  margin: 5px 0;
  color: #2E2C4880;
}

.main-image {
  width: 800px;
  margin: auto;
  object-fit: cover;
  object-position: center;
}

.content-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.courses-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.course-image-main {
  border-radius: 20px 20px 0 0;
  width: 320px;
  height: 180px;  
}

.course-main {
  display: flex;
  flex-direction: column;
  width: 320px;
  height: 540px;
  border-radius: 20px;
  box-sizing: border-box;
  border: none;
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.4);
}

.course-main-price {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.course-content-margin {
  margin: 10px 10px 0 10px;
}

.subtitle-main {
  margin-bottom: 50px;
}

.footer {
  margin-top: 50px;
}

.button-buy {
  margin: 15px auto 0 auto;
  padding: 5px 20px;
}