/* framework */
.sidebar {
  width: 232px;
  height: 100vh;
  padding: 64px 40px;
  box-sizing: border-box;
  background: #2a3647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 100px;
  height: 122px;
}

.logo_nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.summery:hover {
  background-image: url(./assets/icon/summary_on.svg);
}

.add_task:hover {
  background-image: url(./assets/icon/add_on.svg);
}

.board:hover {
  background-image: url(./assets/icon/board_on.svg);
}

.contact:hover {
  background-image: url(./assets/icon/contact_on.svg);
}

.sidebar li a {
  color: #cdcdcd;
}

.police_legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content {
  display: flex;
  flex-direction: column  ;
  width: 100%;
  height: 100vh;
}

/* header */
.header_framework {
  position: sticky;
  width: 100%;
  height: 96px;
  padding: 0px 24px 0px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  box-shadow: 0px 4px 4px 0px #00000011;
}

.header_framework p {
  font-size: 20px;
  font-weight: 400;
}

.header_framework div {
  display: flex;
  gap: 16px;
}

.help_link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.join_logo_respo {
  display: none;
}

.header_framework div a img:hover {
  scale: 1.1;
}

.help_content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2a3647;
}

#user {
  width: 56px;
  height: 56px;
  border-style: solid;
  border-color: #2a3647;
  border-width: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  color: #29abe2;
  cursor: pointer;
}

/* logout menu */
.logout_menu {
  width: 150px;
  height: 158px;
  position: absolute;
  top: 96px;
  right: 16px;
  background: #2a3647;
  border-radius: 10px 0px 10px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  gap: 26px;
}

.logout_menu.open {
  display: flex;
  align-items: start;
  animation: slideRightLogoutmenu 125ms forwards;
}

.logout_menu.close {
  animation: slideLeftLogoutmenu 125ms forwards;
}

@keyframes slideRightLogoutmenu {
  from {
    transform: translateX(250px);
  }

  to {
    transform: translateX(0px);
  }
}

@keyframes slideLeftLogoutmenu {
  from {
    transform: translateX(0px);
  }

  to {
    transform: translateX(250px);
  }
}

.help_logout_menu {
  display: none;
}

/* Show logout menu on user_name hover or when hovering logout_menu itself 
#user:hover+.logout_menu,
.logout_menu:hover {
  display: flex;
}*/

.logout_menu a {
  color: rgba(205, 205, 205, 1);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.logout_menu a:hover {
  color: #29abe2;
}

/* main */
.main_framework {
  display: flex;
  flex-direction: column;
  width: 100%;
  /*height: calc(100vh - 96px);*/
  flex: 1;
  background: #f6f7f8;
}

.main_header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  padding: 80px 104px;
  padding-bottom: 16px;
}

/* splash screen */
.splash_screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  animation: fadeOut 1s ease 1s forwards;
}

.splash_logo {
  width: 150px;
  animation: zoomIn 1s ease;
  will-change: transform;
}

.splash_logo_mobile {
  display: none;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* footer */
.responsive_menu {
  display: none;
}

@media(min-width: 1160px) and (max-width:1250px) {
  .main_header {
    padding: 64px 104px;
    padding-bottom: 24px;
  }
}

@media(min-width: 1116px) and (max-width:1159px) {
  .main_header {
    padding: 40px 16px;
    padding-bottom: 16px;
  }
}

@media(min-width: 320px) and (max-width:1115px) {
  .content {
    display: flex;
    flex-direction: column;
  }

  .main_framework {
    overflow-y: auto;
    max-height: 100%;
    /*height: calc(100vh - 176px);*/
  }

  .main_header {
    position: static;
    flex-direction: column;
    align-items: start;
    gap: 16px;
    padding: 24px 16px;
  }

  .sidebar {
    display: none;
  }

  .header_framework {
    position: sticky;
    padding: 16px 20px;
    z-index: 3;
  }

  .help_link {
    display: none;
  }

  #user {
    height: 40px;
    width: 40px;
    border-width: 2px;
    font-size: 20px;
  }

  .join_logo_respo {
    display: block;
    width: 32px;
    height: 40px;
  }

  .join_header_text {
    display: none;
  }

  .logout_menu {
    position: absolute;
    top: 72px;
    right: 16px;
    z-index: 3;
    height: 208px;
    width: 140px;
  }

  .help_logout_menu {
    display: block;
  }

  .responsive_menu {
    position: sticky;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: rgba(205, 205, 205, 1);
    height: 80px;
    background-color: rgba(42, 54, 71, 1);
    padding: 16px 16px;
    z-index: 3;
  }

  .responsive_menu_text {
    font-size: 16px;
  }
}