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.

615 lines
11 KiB

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