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.

200 lines
2.9 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
  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. /* small mobile */
  8. .height {
  9. height: 270vw;
  10. position: relative;
  11. }
  12. .container {
  13. font-family: 'Lato', sans-serif;
  14. background-image: url('../img/hero.png');
  15. background-size: contain;
  16. background-repeat: no-repeat;
  17. height: calc(100% - 30vh);
  18. }
  19. img {
  20. width: 100vw;
  21. z-index: 0;
  22. grid-row: 1/33;
  23. grid-column: 1/25;
  24. }
  25. .link {
  26. display: flex;
  27. flex-direction: column;
  28. z-index: 2;
  29. position: absolute;
  30. height: 60vw;
  31. width: 40vw;
  32. }
  33. .link button {
  34. display: flex;
  35. align-items: center;
  36. justify-content: center;
  37. width: 2rem;
  38. height: 2rem;
  39. border-radius: 50%;
  40. border: .1rem solid hsl(300, 100%, 50%);
  41. background-color: hsl(300, 100%, 50%);
  42. cursor: pointer;;
  43. align-self: center;
  44. justify-self: center;
  45. }
  46. .link button:active {
  47. box-shadow: 0px 0px 10px hsl(300, 100%, 30%);
  48. }
  49. .link a {
  50. color: #fff;
  51. text-decoration: none;
  52. font-weight: 600;
  53. font-size: 3vw;
  54. transition: all .5s ease-in-out;
  55. }
  56. .link .sub_container {
  57. display: none;
  58. grid-column: 1/5;
  59. grid-row: 2/5;
  60. padding: 3vh 1vw 0 1vw;
  61. }
  62. .link .sub_container p {
  63. font-size: 2vw;
  64. text-align: center;
  65. color: #333;
  66. background-color: rgba(255, 255, 255, 0.7);
  67. border-radius: .03rem;
  68. width: 100%;
  69. height: 100%;
  70. align-self: center;
  71. display: flex;
  72. flex-direction: column;
  73. align-items: center;
  74. padding: 1vw 2vw;
  75. line-height: 4vw;
  76. letter-spacing: .05vw;
  77. }
  78. @media(min-width: 300px) {
  79. #hemp {
  80. margin-left: 50vw;
  81. }
  82. #spider {
  83. margin-left: 56vw;
  84. }
  85. #cube {
  86. margin-left: 5vw;
  87. }
  88. #offgrid {
  89. margin-left: 56vw;
  90. }
  91. #machina {
  92. margin-left: 58vw;
  93. }
  94. #miner {
  95. margin-left: 30vw;
  96. }
  97. }
  98. @media(min-width: 400px) {
  99. #hemp {
  100. margin-left: 50vw;
  101. }
  102. #offgrid {
  103. margin-left: 60vw;
  104. }
  105. button {
  106. width: 2.5rem !important;
  107. height: 2.5rem !important;
  108. }
  109. }
  110. @media(min-width: 500px) {
  111. button {
  112. width: 3rem !important;
  113. height: 3rem !important;
  114. }
  115. }
  116. @media(min-width: 600px) {
  117. }
  118. @media(min-width: 800px) {
  119. button {
  120. width: 3.5rem !important;
  121. height: 3.5rem !important;
  122. }
  123. }
  124. @media(min-width: 1000px) {
  125. button {
  126. width: 4.5rem !important;
  127. height: 4.5rem !important;
  128. }
  129. }
  130. @media (min-height: 500px) {
  131. #hemp {
  132. margin-top: 5vw;
  133. }
  134. #permapp {
  135. margin-top: 33vw;
  136. }
  137. #spider {
  138. margin-top: 60vw;
  139. }
  140. #cube {
  141. margin-top: 90vw;
  142. }
  143. #offgrid {
  144. margin-top: 130vw;
  145. }
  146. #cyber {
  147. margin-top: 145vw;
  148. }
  149. #machina {
  150. margin-top: 180vw;
  151. }
  152. #miner{
  153. margin-top: 230vw;
  154. }
  155. }