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.

538 lines
9.8 KiB

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