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.

631 lines
11 KiB

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