style.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. :root {
  2. --primary-color: #6B2EEF;
  3. --blue-dark: #00416B;
  4. --blue-light: #092FB4;
  5. --blue-light-extra: #0877BE;
  6. --dark: #414141;
  7. --dark-light: #8B8888;
  8. --dark-light-extra: #C7C3C3;
  9. --white: #FFFFFF;
  10. --white-light: rgba(255, 255, 255, 0.7);
  11. --purple: #7D09B4;
  12. --green-blue: #09B4A9;
  13. --shadow-black: 0px 0px 40px rgba(213, 213, 213, 0.5);
  14. --shadow-blue: 0px 0px 40px rgba(0, 158, 253, 0.25);
  15. --shadow-light: 0px 0px 25px rgba(199, 195, 195, 0.25);
  16. --shadow-blog: 0px 0px 40px rgba(134, 134, 134, 0.25);
  17. --font-inter: 'Inter', sans-serif;;
  18. --font-noto: 'Noto Serif Bengali', serif;
  19. --gradient-btn: linear-gradient(180deg, #C765E9 0%, #6B2EEF 100%);
  20. --gradient-blue: linear-gradient(256.87deg, rgba(185, 102, 231, 0.39) 0%, rgba(47, 87, 239, 0.29) 100%), rgba(39, 0, 255, 0.8);
  21. }
  22. body {
  23. line-height: 1.4 !important;
  24. font-family: var(--font-noto) ;
  25. }
  26. a {
  27. text-decoration: none;
  28. color: inherit;
  29. }
  30. a:hover {
  31. text-decoration: none;
  32. color: inherit;
  33. }
  34. /* text color */
  35. .text-primary {
  36. color: var(--primary-color) !important;
  37. }
  38. .text-blue-dark {
  39. color: var(--blue-dark) !important;
  40. }
  41. .text-blue-light {
  42. color: var(--blue-light) !important;
  43. }
  44. .text-blue-light-extra {
  45. color: var(--blue-light-extra) !important;
  46. }
  47. .text-dark {
  48. color: var(--dark) !important;
  49. }
  50. .text-dark-light {
  51. color: var(--dark-light) !important;
  52. }
  53. .text-dark-light-extra {
  54. color: var(--dark-light-extra) !important;
  55. }
  56. .text-white {
  57. color: var(--white) !important;
  58. }
  59. .text-white-light {
  60. color: var(--white-light) !important;
  61. }
  62. .text-purple {
  63. color: var(--purple) !important;
  64. }
  65. .text-green-blue {
  66. color: var(--green-blue) !important;
  67. }
  68. /* backgorund color */
  69. .bg-primary {
  70. background: var(--primary-color) !important;
  71. }
  72. .bg-blue-dark {
  73. background: var(--blue-dark) !important;
  74. }
  75. .bg-blue-light {
  76. background: var(--blue-light) !important;
  77. }
  78. .bg-blue-light-extra {
  79. background: var(--blue-light-extra) !important;
  80. }
  81. .bg-dark {
  82. background: var(--dark) !important;
  83. }
  84. .bg-dark-light {
  85. background: var(--dark-light) !important;
  86. }
  87. .bg-dark-light-extra {
  88. background: var(--dark-light-extra) !important;
  89. }
  90. .bg-white {
  91. background: var(--white) !important;
  92. }
  93. .bg-white-light {
  94. background: var(--white-light) !important;
  95. }
  96. .bg-purple {
  97. background: var(--purple) !important;
  98. }
  99. .bg-green-blue {
  100. background: var(--green-blue) !important;
  101. }
  102. /* button */
  103. .btn-primary {
  104. background: var(--primary-color);
  105. color: var(--white);
  106. }
  107. .btn-primary:hover {
  108. background: var(--primary-color);
  109. color: var(--white);
  110. opacity: .9;
  111. }
  112. /* Navbar */
  113. #navbar.navbar {
  114. position: absolute;
  115. top: 0;
  116. left: 0;
  117. right: 0;
  118. padding: 0;
  119. }
  120. #navbar.sticky {
  121. position: sticky;
  122. top: 0;
  123. left: 0;
  124. right: 0;
  125. box-shadow: var(--shadow-black);
  126. }
  127. #navbar .logo {
  128. height: 5.2rem;
  129. transform: translateY(-5px);
  130. }
  131. #navbar .mobile-toggle-btn {
  132. height: 3.1rem;
  133. }
  134. #navbar .main-link {
  135. font-size: 1.2rem;
  136. font-weight: 500;
  137. font-family: var(--font-inter);
  138. }
  139. #navbar .main-link a {
  140. display: block;
  141. }
  142. #navbar .main-link a:hover,
  143. #navbar .main-link a.active {
  144. color: var(--primary-color);
  145. }
  146. #navbar .login-register a:hover {
  147. color: var(--white-light);
  148. }
  149. @media screen and (max-width: 992px) {
  150. #navbar.navbar {
  151. background: var(--white);
  152. box-shadow: var(--shadow-black) !important;
  153. }
  154. #navbar.show {
  155. position: fixed;
  156. height: 100vh;
  157. }
  158. #navbar .logo {
  159. height: 4rem;
  160. }
  161. #navbar .logo-mobile-btn {
  162. width: 100% !important;
  163. }
  164. #navbar .mobile-toggle-btn .open {
  165. display: block !important;
  166. }
  167. #navbar .mobile-toggle-btn .close {
  168. display: none !important;
  169. }
  170. #navbar.show .mobile-toggle-btn .open {
  171. display: none !important;
  172. }
  173. #navbar.show .mobile-toggle-btn .close {
  174. display: block !important;
  175. }
  176. #navbar .main-link {
  177. font-size: 1.5rem !important;
  178. display: none;
  179. }
  180. #navbar .login-register {
  181. width: fit-content;
  182. margin: 0 auto;
  183. display: none;
  184. }
  185. #navbar.show .main-link,
  186. #navbar.show .login-register {
  187. display: block;
  188. }
  189. }
  190. /* navbar end */
  191. /* hero section start */
  192. #hero {
  193. background: url(../images/hero-background.png) no-repeat center center/cover ;
  194. height: 100vh;
  195. font-family: var(--font-noto);
  196. }
  197. /* hero section end */