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.

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