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.

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