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.

285 lines
4.3 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
  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. }
  163. .banner h6 {
  164. font-size: 3vw;
  165. border: .5vw solid #ff00ff;
  166. }
  167. }
  168. @media(min-width: 800px) {
  169. button {
  170. width: 3.5rem !important;
  171. height: 3.5rem !important;
  172. }
  173. }
  174. @media(min-width: 1000px) {
  175. button {
  176. width: 4.5rem !important;
  177. height: 4.5rem !important;
  178. }
  179. .banner {
  180. height: 32vw;
  181. line-height: 5vw;
  182. background-size: 40vw;
  183. background-position: center;
  184. }
  185. .banner h6 {
  186. font-size: 2.25vw;
  187. border: .45vw solid #ff00ff;
  188. padding: 1vw 2vw;
  189. }
  190. .link .sub_container p {
  191. font-size: 3vw;
  192. }
  193. #small_screen {
  194. display: none;
  195. }
  196. }
  197. @media (min-height: 500px) {
  198. #hemp {
  199. margin-top: 5vw;
  200. }
  201. #permapp {
  202. margin-top: 33vw;
  203. }
  204. #spider {
  205. margin-top: 60vw;
  206. }
  207. #cube {
  208. margin-top: 90vw;
  209. }
  210. #offgrid {
  211. margin-top: 130vw;
  212. }
  213. #cyber {
  214. margin-top: 145vw;
  215. }
  216. #machina {
  217. margin-top: 180vw;
  218. }
  219. #miner{
  220. margin-top: 210vw;
  221. }
  222. #miner .sub_container {
  223. width: 68vw;
  224. height: 40vw;
  225. }
  226. }