.dashboard-container {
  width: 100%;
  flex: 1;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.navbar {
  border-top: 1px solid #dadada;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  padding: 10px 80px;
}

.navbar > .logo > img {
  height: 45px;
  width: auto;
  display: block;
}

.dashboard-title {
  margin-left: 50px;
  font-size: 5.1rem;
  font-family: var(--font-secondary);
  color: var(--primary);
}

.block-row {
  display: flex;
  margin: 30px 90px;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s;
  width: 100%;
  font-weight: bold;
}

.block:hover {
  transform: scale(1.03);
}

.block > .title {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 2rem;
}

.big-row > .block {
  gap: 30px;
  max-width: 280px;
  height: 248px;
  text-align: center;
  padding-inline: 65px;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.big-row > .block > .dash-student-icon {
  width: 100px;
  height: 95px;
}

.big-row > .block > .request-icon {
  width: 50px;
  height: 80px;
}

.big-row > .block > .news-icon {
  width: 80px;
  height: 75px;
}

.big-row > a:nth-child(1) {
  background-color: var(--secondary);
}

.big-row > a:nth-child(1):hover {
  background-color: transparent;
  border: 5px solid var(--secondary);
}

.big-row > a:nth-child(1) > div {
  color: var(--bold-secondary);
}

.big-row > a:nth-child(2) {
  background-color: var(--color-warm-yellow);
}

.big-row > a:nth-child(2):hover {
  background-color: transparent;
  border: 5px solid var(--color-warm-yellow);
}

.big-row > a:nth-child(2) > div {
  color: var(--color-golden-ochre);
}

.big-row > a:nth-child(3) {
  background-color: var(--color-soft-pink);
}

.big-row > a:nth-child(3):hover {
  background-color: transparent;
  border: 5px solid var(--color-soft-pink);
}

.big-row > a:nth-child(3) > div {
  color: var(--color-earthy-red);
}

.big-row > a:nth-child(4) {
  background-color: var(--color-bright-green);
}

.big-row > a:nth-child(4):hover {
  background-color: transparent;
  border: 5px solid var(--color-bright-green);
}

.big-row > a:nth-child(4) > div {
  color: var(--color-vibrant-green);
}

.big-row > a:nth-child(5) {
  background-color: var(--color-lemon-yellow);
}

.big-row > a:nth-child(5):hover {
  background-color: transparent;
  border: 5px solid var(--color-lemon-yellow);
}

.big-row > a:nth-child(5) > div {
  color: var(--color-dark-amber);
}

.small-row {
  column-gap: 120px;
  justify-content: center;
}

.small-row > .block {
  gap: 70px;
  max-width: 210px;
  height: 248px;
  background-image: linear-gradient(#ffffff, #f1f1f1);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.small-row > .block:hover{
  background-image: none;
  background-color: var(--color-gainsboro);
}

.small-row > .block > .dash-student-icon {
  width: 70px;
  height: 60px;
  filter: brightness(0) saturate(100%) opacity(1);
}

.small-row > .block > .faq-icon,
.small-row > .block > .profil-icon {
  height: 70px;
}

.customize-link > a {
  text-decoration: underline;
  color: black;
}

.profile-dropdown {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  padding: 10px;
  width: 320px;
  z-index: 10;
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px;
}

.dropdown-header > .swipe-icon {
  height: 70px;
  width: 70px;
}

.dropdown-header > .dropdown-arrow {
  height: 20px;
  width: 20px;
}

.username {
  font-weight: bold;
  font-size: 1rem;
}

.dropdown-arrow{
  transform: rotate(180deg);
}

.dropdown-arrow.rotated {
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.dropdown-menu {
  margin-top: 10px;
  font-size: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0px;
  margin-top: 30px;
}

.dropdown-item {
  padding: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 30px;
  text-decoration: none;
  color: black;
}

.dropdown-item:hover {
  background-color: var(--primary);
}

.dropdown-item-icon {
  width: 40px;
  height: 40px;
}

.dropdown-item:hover > .dropdown-item-icon {
  filter: brightness(0) saturate(100%) opacity(1);
}

.dropdown-item > a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: normal;
}

.dropdown-item > strong {
  font-weight: bold;
}

.hidden {
  display: none;
}

@media (max-width: 660px) {
  .dashboard-title {
    margin-left: 0px;
  }
}
