cannabinieri website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

256 lines
4.7 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. @font-face {
  2. font-family: 'Lato', sans-serif;
  3. src: url('fonts/Lato-Thin.ttf') format('truetype');
  4. font-style: normal;
  5. font-weight: 100;
  6. }
  7. .main_bar {
  8. background-color: #000;
  9. display: flex;
  10. flex-direction: row;
  11. justify-content: space-between;
  12. height: 100%;
  13. border-bottom: .2rem solid hsl(160, 51%, 49%);
  14. }
  15. .logo {
  16. width: auto;
  17. height: 4.5rem;
  18. margin: .25rem 0 0 .25rem;
  19. }
  20. .hamburger_wrapper {
  21. display: flex;
  22. align-items: center;
  23. }
  24. .hamburger_wrapper #icon {
  25. color: #fff;
  26. height: 2.5rem;
  27. width: 2.5rem;
  28. cursor: pointer;
  29. margin-right: .5rem;
  30. }
  31. .mobile_dropdown_container {
  32. background-color: rgb(0, 255, 170);
  33. opacity: 95%;
  34. position: absolute;
  35. margin-top: 5rem;
  36. width: 100%;
  37. height: 80%;
  38. display: none;
  39. justify-content: center;
  40. z-index: 9;
  41. }
  42. .mobile_dropdown_container #mobile_dropdown {
  43. display: flex;
  44. flex-direction: column;
  45. align-items: center;
  46. justify-content: space-evenly;
  47. margin-top: 2rem;
  48. }
  49. #mobile_dropdown ul {
  50. list-style: none;
  51. max-height: 16vh;
  52. }
  53. #mobile_dropdown ul li {
  54. display: flex;
  55. flex-direction: column;
  56. margin-top: .75rem;
  57. max-height: 5vh;
  58. }
  59. #mobile_dropdown ul li a {
  60. color:#000;
  61. text-decoration: none;
  62. font-family: 'Lato', sans-serif;
  63. font-size: 1.15rem;
  64. line-height: 1.8em;
  65. font-weight: 300;
  66. margin-bottom: .25rem;
  67. letter-spacing: .2rem;
  68. display: flex;
  69. align-items: center;
  70. }
  71. #mobile_dropdown ul li li a {
  72. font-weight: 300;
  73. letter-spacing: 1.5vw;
  74. }
  75. #mobile_dropdown ul li a:active {
  76. opacity: 50%;
  77. color: rgb(0, 255, 170);
  78. transition: all ease-in-out;
  79. }
  80. .drop {
  81. display: flex;
  82. justify-content: center;
  83. }
  84. .chevron {
  85. height: 1.5rem;
  86. width: 1.5rem;
  87. cursor: pointer;
  88. }
  89. .down {
  90. display: none;
  91. flex-direction: column;
  92. align-items: center;
  93. z-index: 200;
  94. max-height: 30vh;
  95. margin-top: 5rem;
  96. min-width: 80%;
  97. right: 10%;
  98. border-radius: .2rem;
  99. background-color: #0cffae;
  100. transition: all .7 ease;
  101. }
  102. #down_1, #down_2, #down_3{
  103. margin-top: 0;
  104. box-shadow: 0 0 15px 47px #0cffae;
  105. }
  106. #chevron_1, #chevron_2, #chevron_3 {
  107. z-index: 1000;
  108. }
  109. #hemp_dropdown, #spider_dropdown, #offgrid_dropdown {
  110. width: 25vw;
  111. }
  112. .desktop_navigation {
  113. display: none;
  114. }
  115. @media (min-width: 700px) {
  116. #hemp_dropdown, #spider_dropdown, #offgrid_dropdown {
  117. width: 15vw;
  118. }
  119. #hemp_dropdown a {
  120. padding-left: 3vw !important;
  121. }
  122. #mobile_dropdown ul li a {
  123. padding-left: 1vw;
  124. }
  125. }
  126. @media (min-width: 1000px) {
  127. .main_bar {
  128. z-index: 1;
  129. display: flex;
  130. align-items: center;
  131. border-bottom: .25rem solid rgb(62, 190, 147);
  132. height: 7.5rem;
  133. }
  134. .main_bar #logo_container {
  135. margin-top: .5rem;
  136. padding-bottom: 15vh;
  137. }
  138. .logo {
  139. z-index:3;
  140. height: 10rem;
  141. width: auto;
  142. margin-left: 2.5rem;
  143. margin-top: .5rem;
  144. position: absolute;
  145. }
  146. .hamburger_wrapper {
  147. display: none;
  148. }
  149. .mobile_dropdown_container {
  150. display: none;
  151. }
  152. .desktop_navigation {
  153. z-index: 2;
  154. display:flex;
  155. align-items:center;
  156. position: relative;
  157. width: 100%;
  158. margin-left: 30%;
  159. }
  160. .desktop_navigation ul {
  161. list-style: none;
  162. position: relative;
  163. align-items: center;
  164. padding-top: 1rem;
  165. }
  166. .desktop_navigation ul li {
  167. position: relative;
  168. text-align: center;
  169. padding-right: 1.5rem;
  170. transition: ease .2s;
  171. }
  172. .desktop_navigation ul li:hover {
  173. opacity: 90%;
  174. }
  175. .desktop_navigation ul li a {
  176. color: #fff;
  177. text-decoration: none;
  178. justify-content: space-between;
  179. line-height: 50px;
  180. font-family: 'Lato' , sans-serif;
  181. font-weight: 300 !important;
  182. padding: 2vw;
  183. }
  184. .desktop_navigation ul ul {
  185. border-top: 3px solid rgb(62, 190, 147);
  186. position: absolute;
  187. top: 80%;
  188. opacity: 0;
  189. visibility: hidden;
  190. max-height: 10vh;
  191. }
  192. #broader {
  193. min-width: 15vw;
  194. z-index: 1;
  195. }
  196. .desktop_navigation ul li li {
  197. position: relative;
  198. display: list-item;
  199. background-color: #000;
  200. opacity: 95%;
  201. padding-top: 1rem;
  202. }
  203. .desktop_navigation #fix {
  204. padding: 0;
  205. }
  206. .desktop_navigation ul li #fix {
  207. padding: 0 .6rem 0 .475rem;
  208. }
  209. .desktop_navigation ul li li a {
  210. font-size: 1.15rem;
  211. }
  212. .desktop_navigation ul li:hover > ul {
  213. opacity: 1;
  214. visibility: visible;
  215. }
  216. }