File size: 2,167 Bytes
25f22bf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/* Header.css - Styles for the Header component */

/* Ensure the header content doesn't overflow */
.header-content {
  overflow: hidden;
}

/* Desktop layout */
@media (min-width: 1024px) {
  .header-content > .hidden.lg\:flex {
    width: 100%;
  }
}

/* Mobile layout adjustments */
@media (max-width: 1023px) {
  .header-content > .lg\:hidden.grid {
    width: 100%;
  }
  
  /* Ensure the mobile menu button is properly aligned */
  .header-content > .lg\:hidden.grid > .justify-self-end {
    justify-self: end;
  }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
}

/* Mobile menu content */
.mobile-menu-content {
  background: white;
  width: 100%;
  min-height: 100vh;
  overflow-y: auto;
  position: relative;
}

/* Ensure mobile menu items are visible */
.mobile-menu-content .space-y-1 > a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 16px;
  color: #374151;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.mobile-menu-content .space-y-1 > a:hover {
  background-color: #f3f4f6;
  color: #2563eb;
}

/* Animation classes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.animate-slide-in {
  animation: slideIn 0.3s ease-in-out;
}

/* Ensure mobile menu is visible */
#mobile-menu {
  display: block !important;
}

/* Responsive adjustments for mobile menu */
@media (max-width: 768px) {
  .mobile-menu-content {
    max-width: 100%;
  }
  
  .mobile-nav-item {
    padding: 16px 20px;
    font-size: 18px;
  }
  
  .mobile-nav-icon {
    width: 24px;
    height: 24px;
  }
  
  /* Ensure mobile menu items are visible on small screens */
  .mobile-menu-content .space-y-1 > a {
    padding: 16px 20px;
    font-size: 18px;
  }
}

/* Ensure all content in mobile menu is visible */
#mobile-menu .flex-col {
  min-height: 100vh;
}

#mobile-menu .flex-1 {
  flex: 1 1 0%;
}