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.

529 lines
9.2 KiB

3 years ago
  1. body {
  2. overflow-x: hidden;
  3. }
  4. .global-wrapper {
  5. width: 100%;
  6. }
  7. .page-wrapper {
  8. display:grid;
  9. width: 100%;
  10. }
  11. .info h1 {
  12. color:#333;
  13. font-family:'IBM Plex Sans', sans-serif;
  14. text-transform: uppercase;
  15. justify-self: center;
  16. align-self: center;
  17. padding-top: 2.5rem;
  18. margin-bottom: 1.5rem;
  19. }
  20. .info h1 span{
  21. color:rgb(191, 255, 0);
  22. }
  23. .info p {
  24. color: black;
  25. }
  26. .info p span {
  27. color:rgb(191, 255, 0);
  28. font-weight: 600;
  29. }
  30. .info img {
  31. width: 25vh;
  32. height: auto;
  33. align-self: center;
  34. margin-top: 5vh;
  35. }
  36. .about p span {
  37. color:rgb(191, 255, 0);
  38. font-weight: 400;
  39. }
  40. .product p span{
  41. color:rgb(62, 190, 147);
  42. }
  43. .product h5 {
  44. color: #333;
  45. }
  46. .product p a {
  47. text-decoration: none;
  48. color: rgb(191, 255, 0);
  49. }
  50. .product p a:hover {
  51. opacity: 50%;
  52. color:rgb(62, 190, 147)
  53. }
  54. .product p a:active {
  55. opacity: 50%;
  56. color:rgb(62, 190, 147)
  57. }
  58. @media (max-width:480px) {
  59. .page-wrapper {
  60. grid-template-columns: 100%;
  61. grid-template-rows: auto auto;
  62. grid-template-areas:
  63. "info"
  64. "page-content";
  65. width: 100%;
  66. }
  67. .info {
  68. width:100%;
  69. height: 75vh;
  70. grid-area: info;
  71. display: flex;
  72. flex-direction: column;
  73. margin: 0 1vh;
  74. padding-top: 10vh;
  75. }
  76. .info p {
  77. font-size: 1.1rem;
  78. font-weight: 300;
  79. margin: 1rem;
  80. text-align: center;
  81. line-height: 4vh;
  82. }
  83. .info p span {
  84. font-size: 1.2rem;
  85. }
  86. .info h1 {
  87. font-size: 2.8rem;
  88. font-weight: 400;
  89. padding: 0;
  90. margin-bottom: 1.25rem;
  91. }
  92. .image {
  93. display:flex;
  94. justify-content: center;
  95. min-height: 35vh;
  96. }
  97. .info img {
  98. max-width: 70vw;
  99. height: auto;
  100. align-self: center;
  101. margin-top: 0;
  102. }
  103. .green-container {
  104. width: 100%;
  105. grid-area: page-content;
  106. padding: 1rem;
  107. padding-top: 1.5rem;
  108. position: relative;
  109. width: 100%;
  110. min-height: 100vh;
  111. overflow: hidden;
  112. background-color:rgb(191, 255, 0);
  113. display:flex;
  114. flex-direction: column;
  115. }
  116. .strip {
  117. height: auto;
  118. grid-template-columns: 1fr;
  119. grid-template-rows: .95fr 1fr;
  120. padding: 2rem .75rem 2rem .75rem;
  121. background-color: white;
  122. border-radius: 25px;
  123. }
  124. .strip .about {
  125. grid-column: 1;
  126. grid-row: 1;
  127. }
  128. .about h3 {
  129. font-size: 2rem;
  130. font-weight: 400;
  131. line-height: 3rem;
  132. text-align: center;
  133. color: rgb(191, 255, 0);
  134. }
  135. .about p {
  136. text-align: center;
  137. font-weight: 300;
  138. line-height: 4.5vh;
  139. margin: 1rem .75rem;
  140. }
  141. .about p span {
  142. font-size: 1.2rem;
  143. }
  144. .about img {
  145. width:40vh;
  146. height: auto;
  147. padding: 1rem 0 2rem 0;
  148. }
  149. .strip2 {
  150. padding:.75rem;
  151. background-color: white;
  152. border-radius: 25px;
  153. z-index: 10000;
  154. margin-top: 3vh;
  155. min-height: 90vh;
  156. }
  157. .products h3 {
  158. font-size: 1.75rem;
  159. font-weight: 300;
  160. line-height: 3rem;
  161. color: rgb(62, 190, 147);
  162. margin: 1rem 0 .75rem 1.5rem;
  163. text-transform: uppercase;
  164. font-family:'IBM Plex Sans', sans-serif;
  165. }
  166. .products img {
  167. max-width: 45vw;
  168. margin: 1rem;
  169. }
  170. .products h5 {
  171. font-size: 2rem;
  172. font-weight: 300;
  173. font-family:'IBM Plex Sans', sans-serif;
  174. text-transform: uppercase;
  175. margin-bottom: .5rem;
  176. }
  177. .products p {
  178. display: flex;
  179. flex-direction: column;
  180. line-height: 4vh;
  181. font-weight: 300;
  182. text-align: center;
  183. margin: .75rem;
  184. }
  185. .product {
  186. display: flex;
  187. flex-direction: column;
  188. align-items: center;
  189. box-shadow: 1px 1px 1px 1px #999;
  190. border-radius: 25px;
  191. padding: 1rem;
  192. }
  193. .product .click {
  194. margin: 1rem;
  195. }
  196. .product .click button {
  197. padding: .5rem 1.25rem;
  198. background-color: #fff;
  199. border: .01em solid #000;
  200. font-size: 1.25rem;
  201. font-family:'Lato', sans-serif;
  202. line-height: 1rem;
  203. border-radius: 25px;
  204. font-weight: 300;
  205. cursor: pointer;
  206. margin-top: 1rem;
  207. margin-left: .25rem;
  208. transition: .5s;
  209. }
  210. .product .click button a {
  211. text-decoration: none;
  212. color: #333;
  213. }
  214. .product .click button a:active {
  215. opacity: 50%;
  216. color: rgb(0, 255, 170);
  217. }
  218. #app {
  219. margin-left: 5vh;
  220. text-decoration: none;
  221. color: white;
  222. }
  223. #desktop {
  224. display:none;
  225. }
  226. }
  227. @media (min-width:768px){
  228. .page-wrapper {
  229. grid-template-columns: 100%;
  230. grid-template-rows: auto auto;
  231. grid-template-areas:
  232. "info"
  233. "page-content";
  234. width: 100%;
  235. }
  236. .info {
  237. width:100%;
  238. height: 65vh;
  239. grid-area: info;
  240. display: grid;
  241. grid-template-columns: 60% 40%;
  242. grid-template-rows: repeat(2, 50%);
  243. padding-top: 1.5vh;
  244. }
  245. .info h1 {
  246. grid-column: 1;
  247. grid-row: 1;
  248. font-size: 6rem;
  249. font-weight: 300;
  250. margin-bottom: 0;
  251. display: flex;
  252. justify-self: center;
  253. align-self: center;
  254. }
  255. .info p {
  256. grid-column: 1;
  257. grid-row: 2;
  258. display: flex;
  259. flex-direction: column;
  260. justify-self: center;
  261. align-self: flex-start;
  262. font-size: 1.5rem;
  263. text-align: center;
  264. line-height: 5rem;
  265. letter-spacing: .5px;
  266. }
  267. .info p span {
  268. font-size: 1.65rem;
  269. }
  270. .info .image {
  271. grid-column: 2;
  272. grid-row: 1/3;
  273. }
  274. .info img {
  275. width: 50vh;
  276. height: auto;
  277. display:flex;
  278. justify-self: center;
  279. align-self: center;
  280. margin-top: 8vh;
  281. }
  282. .green-container {
  283. width: 100%;
  284. grid-area: page-content;
  285. padding:2rem;
  286. overflow: hidden;
  287. background-color:rgb(191, 255, 0);
  288. display:flex;
  289. flex-direction: column;
  290. }
  291. .strip {
  292. padding:2.5rem 0 0 2.5rem;
  293. background-color: white;
  294. border-radius: 25px;
  295. min-height: 90vh;
  296. }
  297. .about {
  298. display: grid;
  299. grid-template-columns: 1fr 1fr;
  300. grid-template-rows: .2fr 1fr;
  301. padding-bottom: 5vh;
  302. }
  303. .about h3 {
  304. font-size: 2.5rem;
  305. font-weight: 400;
  306. line-height: 3rem;
  307. color:rgb(191, 255, 0);
  308. margin: 2rem 0 2rem 1rem;
  309. }
  310. .about span {
  311. color: rgb(191, 255, 0)
  312. ;
  313. }
  314. .about p {
  315. margin: 1rem 0 0 1rem;
  316. float: left;
  317. font-size: 1.5rem;
  318. line-height: 5.25vh;
  319. }
  320. .about .image {
  321. grid-column: 2;
  322. grid-row:1/3;
  323. display:flex;
  324. justify-content: center;
  325. align-items: center;
  326. }
  327. .about img {
  328. max-width: 35vw;
  329. height: auto;
  330. margin-top: 10vh;
  331. }
  332. .strip2 {
  333. padding: 2rem;
  334. background-color: white;
  335. border-radius: 25px;
  336. z-index: 10000;
  337. margin-top: 3vh;
  338. min-height: 90vh;
  339. padding-bottom: 8vh;
  340. }
  341. .products h3 {
  342. font-size: 2.5rem;
  343. font-weight: 300;
  344. line-height: 3rem;
  345. letter-spacing: .1em;
  346. color: rgb(62, 190, 147);
  347. margin: 3rem 0 3rem 1.5rem;
  348. text-transform: uppercase;
  349. font-family:'IBM Plex Sans', sans-serif;
  350. padding-left: 1.5rem;
  351. }
  352. .products img {
  353. width: 50vh;
  354. }
  355. .product h5 {
  356. font-size: 1.5rem;
  357. font-family:'IBM Plex Sans', sans-serif;
  358. text-transform: uppercase;
  359. margin-bottom: .5rem;
  360. padding-top: 4.5vh;
  361. }
  362. .products p {
  363. text-align: center;
  364. margin: 1rem;
  365. }
  366. .product {
  367. display: grid;
  368. grid-template-columns: .25fr 1fr;
  369. grid-template-rows: .25fr .5fr .25fr;
  370. box-shadow: 3px 3px 3px 3px #eee;
  371. border-radius: 25px;
  372. padding: 2vh 1vw 5vh 1vw;
  373. }
  374. .product .image {
  375. grid-column: 1;
  376. grid-row:1/4;
  377. padding: 3vh 3vw;
  378. margin: 1rem 0;
  379. display: flex;
  380. align-items: center;
  381. border-right: .1em solid #999;
  382. }
  383. .product h5 {
  384. grid-column: 2;
  385. grid-row: 1;
  386. font-size: 3rem;
  387. font-weight: 300;
  388. display:flex;
  389. justify-self: center;
  390. align-self: flex-end;
  391. }
  392. .product h5 span{
  393. color: #999;
  394. }
  395. .product p {
  396. display:flex;
  397. flex-direction: column;
  398. justify-self: center;
  399. align-self: center;
  400. grid-column: 2;
  401. grid-row: 2;
  402. line-height: 4vh;
  403. padding: 0 2.5rem;
  404. font-size: 1.15rem;
  405. }
  406. .product p a {
  407. color: #999;
  408. }
  409. .product .click {
  410. grid-column: 2;
  411. grid-row: 3;
  412. display:flex;
  413. justify-self: center;
  414. align-self: center;
  415. justify-content: space-between;
  416. padding: 0 0 2.5rem 0;
  417. }
  418. .product .click button {
  419. padding: .75rem 1.5rem;
  420. background-color: #fff;
  421. border: .01em solid #000;
  422. font-size: 1.5rem;
  423. font-family:'Lato', sans-serif;
  424. line-height: 1rem;
  425. border-radius: 25px;
  426. font-weight: 300;
  427. cursor: pointer;
  428. margin-top: 1rem;
  429. margin-left: .25rem;
  430. transition: .3s;
  431. }
  432. .product .click button a {
  433. color: #333;
  434. text-decoration: none;
  435. }
  436. .product .click button:hover {
  437. opacity: 50%;
  438. background-color: rgb(0, 255, 170);
  439. }
  440. #app {
  441. margin-left: 10vh;
  442. }
  443. #app:hover {
  444. opacity: 50%;
  445. background-color: red !important;
  446. }
  447. }