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.

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