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.

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