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.

302 lines
4.6 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
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
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. /* small mobile */
  2. /* Fix overlaps */
  3. .banner {
  4. background-image: url('../img/banner_img.png');
  5. background-repeat: no-repeat;
  6. background-size: contain;
  7. display: flex;
  8. flex-direction: column;
  9. justify-content: flex-end;
  10. height: 87.5vw;
  11. padding: 0 1vw;
  12. line-height: 8vw;
  13. letter-spacing: .125vw;
  14. }
  15. .banner h6 {
  16. color: #ff00ff;
  17. font-family: 'Lato', sans-serif;
  18. font-size: 5vw;
  19. border: 1vw solid #ff00ff;
  20. border-radius: 5vw;
  21. padding: 2vw 2vw;
  22. }
  23. .banner h6 a {
  24. text-decoration: none;
  25. color: #3dbd92;
  26. }
  27. .banner h6 a:active {
  28. opacity: 60%;
  29. }
  30. .height {
  31. height: 270vw;
  32. position: relative;
  33. }
  34. .container {
  35. font-family: 'Lato', sans-serif;
  36. background-image: url('../img/hero.png');
  37. background-size: contain;
  38. background-repeat: no-repeat;
  39. height: calc(100% - 30vh);
  40. }
  41. img {
  42. width: 100vw;
  43. z-index: 0;
  44. grid-row: 1/33;
  45. grid-column: 1/25;
  46. }
  47. .link {
  48. display: flex;
  49. flex-direction: column;
  50. z-index: 2;
  51. position: absolute;
  52. height: 60vw;
  53. width: 40vw;
  54. }
  55. .link button {
  56. display: flex;
  57. align-items: center;
  58. justify-content: center;
  59. width: 2rem;
  60. height: 2rem;
  61. border-radius: 50%;
  62. border: .1rem solid hsl(300, 100%, 50%);
  63. background-color: hsl(300, 100%, 50%);
  64. cursor: pointer;;
  65. align-self: center;
  66. justify-self: center;
  67. transition: all .4 ease-in-out;
  68. }
  69. .link button:active, .link button:hover {
  70. box-shadow: 0px 0px 10px hsl(300, 100%, 30%);
  71. }
  72. .link a {
  73. color: #fff;
  74. text-decoration: none;
  75. font-weight: 600;
  76. font-size: 3vw;
  77. transition: all .5s ease-in-out;
  78. }
  79. .link .sub_container {
  80. display: none;
  81. grid-column: 1/5;
  82. grid-row: 2/5;
  83. padding: 3vh 1vw 0 1vw;
  84. height: 45vw;
  85. width: 45vw;
  86. }
  87. .link .sub_container p {
  88. font-size: 4.5vw;
  89. text-align: center;
  90. color: #333;
  91. background-color: rgba(255, 255, 255, 0.7);
  92. border-radius: .03rem;
  93. width: 100%;
  94. height: 100%;
  95. align-self: center;
  96. display: flex;
  97. flex-direction: column;
  98. align-items: center;
  99. padding: 1vw 2vw;
  100. line-height: 5.5vw;
  101. letter-spacing: .05vw;
  102. }
  103. .link .sub_container p a {
  104. color: #333;
  105. text-decoration: none;
  106. font-size: 4.5vw;
  107. }
  108. .link .sub_container p a:active {
  109. opacity: 60%;
  110. color: #ff00ff;
  111. }
  112. .link .sub_container p a:hover {
  113. opacity: 60%;
  114. color: #ff00ff;
  115. }
  116. .banner .banner_img {
  117. height: 80vw;
  118. }
  119. @media(min-width: 300px) {
  120. #hemp {
  121. margin-left: 50vw;
  122. }
  123. #spider {
  124. margin-left: 56vw;
  125. }
  126. #cube {
  127. margin-left: 5vw;
  128. }
  129. #offgrid {
  130. margin-left: 56vw;
  131. }
  132. #machina {
  133. margin-left: 58vw;
  134. }
  135. #miner {
  136. margin-left: 30vw;
  137. }
  138. }
  139. @media(min-width: 400px) {
  140. #hemp {
  141. margin-left: 50vw;
  142. }
  143. #offgrid {
  144. margin-left: 60vw;
  145. }
  146. button {
  147. width: 2.5rem !important;
  148. height: 2.5rem !important;
  149. }
  150. }
  151. @media(min-width: 500px) {
  152. button {
  153. width: 3rem !important;
  154. height: 3rem !important;
  155. }
  156. }
  157. @media(min-width: 700px) {
  158. .banner {
  159. height: 47.5vw;
  160. line-height: 5vw;
  161. background-size: 60vw;
  162. background-position: center;
  163. }
  164. .banner h6 {
  165. font-size: 3vw;
  166. border: .5vw solid #ff00ff;
  167. }
  168. .link .sub_container p {
  169. font-size: 2.5vw;
  170. letter-spacing: .1vw;
  171. }
  172. .link .sub_container p a {
  173. font-size: 3.5vw;
  174. }
  175. }
  176. @media(min-width: 800px) {
  177. button {
  178. width: 3.5rem !important;
  179. height: 3.5rem !important;
  180. }
  181. }
  182. @media(min-width: 1000px) {
  183. button {
  184. width: 4.5rem !important;
  185. height: 4.5rem !important;
  186. }
  187. .banner {
  188. height: 32vw;
  189. line-height: 5vw;
  190. background-size: 40vw;
  191. background-position: center;
  192. }
  193. .banner h6 {
  194. font-size: 2.25vw;
  195. border: .45vw solid #ff00ff;
  196. padding: 1vw 2vw;
  197. }
  198. .link .sub_container p {
  199. font-size: 2.4vw;
  200. letter-spacing: .1vw;
  201. }
  202. .link .sub_container p a {
  203. font-size: 3.5vw;
  204. }
  205. #small_screen {
  206. display: none;
  207. }
  208. }
  209. @media (min-height: 500px) {
  210. #hemp {
  211. margin-top: 5vw;
  212. }
  213. #permapp {
  214. margin-top: 33vw;
  215. }
  216. #spider {
  217. margin-top: 60vw;
  218. }
  219. #cube {
  220. margin-top: 90vw;
  221. }
  222. #offgrid {
  223. margin-top: 130vw;
  224. }
  225. #cyber {
  226. margin-top: 145vw;
  227. }
  228. #machina {
  229. margin-top: 180vw;
  230. }
  231. #miner{
  232. margin-top: 210vw;
  233. }
  234. #miner .sub_container {
  235. width: 68vw;
  236. height: 40vw;
  237. }
  238. }