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.

767 lines
16 KiB

3 years ago
  1. :root {
  2. --space : 5px;
  3. }
  4. .page-wrapper {
  5. display:grid;
  6. }
  7. .title{
  8. margin-top: var(--space);
  9. }
  10. #about {
  11. margin-top: var(--space);
  12. background-color:white;
  13. }
  14. #about p {
  15. color:black;
  16. }
  17. #app-link .image img {
  18. box-shadow: 1px 1px 3px 5px #eee;
  19. border-radius: 25px;
  20. padding: 1.5rem;
  21. }
  22. @media screen and (min-width:1024px) {
  23. .page-wrapper {
  24. grid-template-columns: 25% 25% 25% 25%;
  25. grid-template-rows: auto auto auto;
  26. }
  27. .title {
  28. grid-column: 1/5;
  29. grid-row:1;
  30. background-size: cover;
  31. display: grid;
  32. grid-template-columns: repeat(2, 1fr);
  33. height: 67vh;
  34. padding-left: 5.75vh;
  35. }
  36. .title #heading {
  37. grid-column: 1;
  38. grid-row: 1/2;
  39. display: flex;
  40. padding-top: 1vh;
  41. }
  42. .title #heading #two {
  43. color: rgb(62, 190, 147);
  44. padding-top: 1.65em;
  45. }
  46. .title .short {
  47. grid-column: 1;
  48. grid-row: 1/2;
  49. font-family:'IBM Plex Sans', sans-serif;
  50. font-size: 1.75em;
  51. color: rgb(100,190, 149);
  52. margin-left:.1em;
  53. text-align: center;
  54. align-self: flex-end;
  55. letter-spacing: .03em;
  56. line-height: 2em;
  57. padding-bottom: 13.5vh;
  58. }
  59. .title .image img {
  60. max-width: 30vw;
  61. }
  62. .title .image {
  63. display: flex;
  64. align-items: center;
  65. justify-content: flex-end;
  66. flex-direction: column;
  67. transition: 0.4s;
  68. grid-column: 2;
  69. grid-row: 1/2;
  70. padding-bottom: 7.5vh;
  71. }
  72. h1 {
  73. font-size: 5.85rem;
  74. font-weight: 300;
  75. line-height: 80px;
  76. letter-spacing: .01em;
  77. padding-top: 1.15em;
  78. margin-left: .1em;
  79. font-family: 'IBM Plex Sans', sans-serif;
  80. text-transform: uppercase;
  81. }
  82. #about {
  83. grid-column:1/5;
  84. grid-row: 2;
  85. display: flex;
  86. background-color: white;
  87. margin: 0 5rem 2rem 5rem;
  88. border-radius: 25px;
  89. box-shadow: .01em .01em .01em .05em hsl(160, 51%, 49%);
  90. }
  91. #about p {
  92. font-size:1.5rem;
  93. font-weight: 300;
  94. padding:1.5rem;
  95. text-align: center;
  96. font-family: 'IBM Plex Sans', sans-serif;
  97. line-height: 3;
  98. letter-spacing: 0.02em;
  99. }
  100. #links {
  101. grid-column:1/5;
  102. grid-row:3;
  103. padding: 1rem;
  104. background-color: white;
  105. border-radius: 25px;
  106. z-index: 10000;
  107. margin-top: 2.5vh;
  108. min-height: 75vh;
  109. }
  110. #app-link {
  111. display:grid;
  112. grid-template-columns: 45% 65%;
  113. grid-template-rows: 20% 40% 20% ;
  114. box-shadow: 1px 1px 1px 3px hsl(160, 100%, 50%);
  115. border-radius: 25px;
  116. min-height: 90vh;
  117. padding-top: 1.5rem;
  118. }
  119. #app-link .image {
  120. grid-column:1 ;
  121. grid-row:1/4;
  122. display:flex;
  123. align-items: center;
  124. justify-content:center
  125. }
  126. #app-link .image img {
  127. height: 35vh;
  128. width: 20vw;
  129. }
  130. #app-link .description {
  131. grid-column:2 ;
  132. grid-row:1/3;
  133. display: flex;
  134. flex-direction: column;
  135. align-self: center;
  136. padding: 2em 1em 1em 1em;
  137. }
  138. #app-link .description h3 {
  139. font-size: 6.25em;
  140. font-weight: 300;
  141. letter-spacing: .04em;
  142. color: hsl(160, 100%, 50%);
  143. margin-bottom: .25em;
  144. margin-top: .5em;
  145. font-family: 'IBM Plex Sans', sans-serif;
  146. }
  147. #app-link .description h3 span {
  148. color: #333;
  149. }
  150. #app-link .description p {
  151. font-size: 1.3em;
  152. color: #333;
  153. line-height: 2;
  154. justify-self: flex-end;
  155. padding-top: 1rem;
  156. text-align: center;
  157. width: 60vh;
  158. }
  159. .description ul {
  160. display: flex;
  161. flex-direction: column;
  162. align-items: flex-start;
  163. font-size: 1.25em;
  164. color: #333;
  165. line-height: 2;
  166. margin-top: 2rem;
  167. padding-left: 15vw;
  168. }
  169. #app-link .page-button {
  170. grid-column: 2 ;
  171. grid-row:4;
  172. display:flex;
  173. align-items: center;
  174. justify-content: center;
  175. padding: 2rem 0 2.75rem 0;
  176. }
  177. #app-link .page-button a {
  178. text-decoration: none;
  179. background-color:#fff;
  180. color: #000;
  181. padding: .25em 1em;
  182. border: .01em solid #000;
  183. border-radius: 27px;
  184. margin-right: 20vw;
  185. text-align: center;
  186. font-size: 1.5em;
  187. font-family: 'Lato', sans-serif;
  188. text-transform: uppercase;
  189. font-weight: 300;
  190. transition: all ease .5s;
  191. }
  192. #app-link .page-button a:hover {
  193. background-color: hsl(160, 100%, 75%);
  194. }
  195. #lab-link {
  196. display:grid;
  197. grid-template-columns: 50% 50%;
  198. grid-template-rows: 20% 40% 20% ;
  199. box-shadow: 1px 1px 1px 3px hsl(75, 100%, 50%);
  200. border-radius: 25px;
  201. min-height: 80vh;
  202. padding-top: 1.5rem;
  203. margin-top: 10vh;
  204. }
  205. #lab-link .image {
  206. grid-column: 2;
  207. grid-row:1/3;
  208. display: flex;
  209. align-items: center;
  210. justify-content: center;
  211. flex-direction: column;
  212. min-height: 85vh;
  213. padding-top: 7.5vh;
  214. }
  215. #lab-link .image img {
  216. height: 60vh;
  217. width: auto;
  218. }
  219. #lab-link .description {
  220. grid-column:1 ;
  221. grid-row:1/3;
  222. display:flex;
  223. flex-direction: column;
  224. margin-left: 5rem;
  225. padding:1em;
  226. height: 60vh;
  227. }
  228. #lab-link .description h3 {
  229. font-size: 6.25em;
  230. font-weight: 300;
  231. letter-spacing: .04em;
  232. color:hsl(75, 100%, 50%);
  233. margin-bottom: .25em;
  234. margin-top: .5em;
  235. font-family: 'IBM Plex Sans', sans-serif;
  236. }
  237. #lab-link .description h3 span {
  238. color:#333;
  239. }
  240. #lab-link .description p {
  241. font-size: 1.3em;
  242. color: #333;
  243. line-height: 2;
  244. text-align: center;
  245. justify-self: flex-end;
  246. padding-top: 2rem;
  247. }
  248. #lab-link .page-button {
  249. grid-column:1 ;
  250. grid-row: 4;
  251. display:flex;
  252. align-items: center;
  253. justify-content: center;
  254. padding: 0 0 3rem 0;
  255. }
  256. #lab-link .page-button a {
  257. text-decoration: none;
  258. background-color: #fff;
  259. color: #000;
  260. border: .01em solid #000;
  261. padding: .25em 1em;
  262. margin-left: 5vw;
  263. border-radius: 27px;
  264. text-align: center;
  265. font-size: 1.5em;
  266. font-weight: 300;
  267. font-family: 'lato', sans-serif;
  268. margin-top:.75em;
  269. text-transform: uppercase;
  270. transition: all ease .5s;
  271. }
  272. #lab-link .page-button a:hover {
  273. background-color: hsl(75, 100%, 75%);
  274. }
  275. #about-link {
  276. display:grid;
  277. grid-template-columns: 35% 75%;
  278. grid-template-rows: 20% 40% 20% ;
  279. box-shadow: 1px 1px 1px 3px hsl(160, 51%, 50%);
  280. border-radius: 25px;
  281. min-height: 70vh;
  282. padding: 2rem 0 2rem 0;
  283. margin-top: 10vh;
  284. }
  285. #about-link .image {
  286. grid-column:1 ;
  287. grid-row:1/3;
  288. display: flex;
  289. align-items: center;
  290. margin: 12.5vh 0 0 5vh;
  291. }
  292. #about-link .image #question {
  293. margin-top:0;
  294. font-size: 30em;
  295. font-weight: 300;
  296. color:hsl(160, 49%, 50%);
  297. font-family: 'IBM Plex Sans', sans-serif;
  298. padding-top: 0;
  299. }
  300. #about-link .description {
  301. grid-column:2/5 ;
  302. grid-row:1/2;
  303. }
  304. #about-link .description h3 {
  305. font-size: 6.25em;
  306. font-weight: 300;
  307. letter-spacing: .04em;
  308. color: #333;
  309. margin-bottom: .25em;
  310. margin-top: .5em;
  311. font-family: 'IBM Plex Sans', sans-serif;
  312. }
  313. #about-link h3 span {
  314. color:hsl(160, 49%, 50%);
  315. }
  316. #about-link .description p {
  317. font-size: 1.25em;
  318. color: #333;
  319. line-height: 2;
  320. justify-self: flex-end;
  321. width: 80vh;
  322. padding-top: 1.25rem;
  323. }
  324. #about-link .description p span {
  325. color:hsl(160, 49%, 50%);
  326. }
  327. #about-link a {
  328. text-decoration: none;
  329. }
  330. #about-link .page-button {
  331. grid-column: 2;
  332. grid-row:4;
  333. display:flex;
  334. align-items: center;
  335. justify-content: flex-start;
  336. }
  337. #about-link .page-button a {
  338. text-decoration: none;
  339. background-color:#fff;
  340. color: #000;
  341. padding: .25em 1em;
  342. border: .01em solid #000;
  343. border-radius: 27px;
  344. text-align: center;
  345. font-size: 1.5em;
  346. font-family: 'Lato', sans-serif;
  347. text-transform: uppercase;
  348. transition: all ease .5s;
  349. font-weight: 300;
  350. margin-left: 15vw;
  351. }
  352. #about-link .page-button a:hover {
  353. background-color: hsl(160, 49%, 75%);
  354. }
  355. #footer-wrapper {
  356. margin-top:.5rem;
  357. }
  358. .discover {
  359. display:none;
  360. }
  361. #app-link .image #icon {
  362. display:none;
  363. }
  364. }
  365. @media only screen and (max-width:1023px) {
  366. .page-wrapper {
  367. grid-template-columns: 100%;
  368. grid-template-rows: auto auto auto auto ;
  369. }
  370. .title {
  371. grid-column: 1;
  372. grid-row:1/2;
  373. display: flex;
  374. flex-direction: column;
  375. align-items:center;
  376. justify-content: flex-start;
  377. height: 80vh;
  378. padding-top: 4.25rem;
  379. }
  380. .title .short {
  381. font-family:'IBM Plex Sans', sans-serif;
  382. font-size: 1.1em;
  383. font-weight: 300;
  384. padding: 1em 2em;
  385. color: rgb(62, 190, 147);
  386. margin-left:.1em;
  387. text-align: center;
  388. letter-spacing: 0.01em;
  389. line-height: 5vh;
  390. }
  391. .title .image {
  392. display: flex;
  393. align-items: center;
  394. justify-content: center;
  395. flex-direction: column;
  396. margin-top: 2rem;
  397. }
  398. .title .image img {
  399. max-width: 70vw;
  400. }
  401. h1 {
  402. font-size: 2.75rem;
  403. font-weight: 300;
  404. line-height: 60px;
  405. letter-spacing: .04em;
  406. margin-left: .1em;
  407. font-family: 'IBM Plex Sans', sans-serif;
  408. text-transform: uppercase;
  409. }
  410. #two {
  411. color: hsl(160, 51%, 49%);
  412. padding-left: 2rem;
  413. }
  414. #about {
  415. grid-column:1;
  416. grid-row: 2;
  417. background-color: white;
  418. display: flex;
  419. margin:2rem 1rem;
  420. margin-top:0;
  421. border-radius: 25px;
  422. box-shadow: .01em .01em .01em .04em hsl(160, 51%, 49%);
  423. padding:1rem;
  424. }
  425. #about p {
  426. font-size:1.125rem;
  427. font-weight: 300;
  428. line-height: 2;
  429. color: #333;
  430. text-align: center;
  431. }
  432. #links {
  433. grid-column:1;
  434. grid-row:3;
  435. padding: 1rem;
  436. background-color: white;
  437. border-radius: 25px;
  438. z-index: 10000;
  439. margin-top: 2.5vh;
  440. min-height: 90vh;
  441. }
  442. #app-link {
  443. display:grid;
  444. grid-template-rows: repeat(2, .7fr);
  445. padding-bottom: 1.5rem;
  446. box-shadow: 1px 1px 1px 3px hsl(160, 100%, 50%);
  447. border-radius: 25px;
  448. }
  449. #app-link .image {
  450. grid-row: 1;
  451. padding-top: 2em;
  452. display: flex;
  453. justify-content: center;
  454. }
  455. #app-link .image img {
  456. height: 20vh;
  457. width: auto;
  458. }
  459. #app-link .description {
  460. grid-row: 2;
  461. padding:.25em 1em 1em 1em;
  462. }
  463. #app-link .description h3 {
  464. font-size: 2.75rem;
  465. font-weight: 200;
  466. color: #333;
  467. margin-bottom: 1.5rem;
  468. font-family: 'IBM Plex Sans', sans-serif;
  469. text-transform: uppercase;
  470. text-align: center;
  471. letter-spacing: .04em;
  472. padding-top: 3vh;
  473. }
  474. #app-link .description h3 span {
  475. color: hsl(160, 100%, 50%);
  476. }
  477. #app-link .description p {
  478. font-size: .95rem;
  479. font-weight: 300;
  480. color: #333;
  481. text-align: center;
  482. line-height: 2;
  483. }
  484. #app-link .page-button{
  485. display:flex;
  486. justify-content: center;
  487. padding-top: 1rem;
  488. }
  489. #app-link .page-button a {
  490. text-decoration: none;
  491. background-color: #fff;
  492. color: #000;
  493. border: .01em solid #000;
  494. padding: .35em 1em;
  495. border-radius: 27px;
  496. text-align: center;
  497. font-size: 1em;
  498. font-family: 'Lato', sans-serif;
  499. font-weight: 300;
  500. margin: .75em;
  501. text-transform: uppercase;
  502. transition: all ease .2s;
  503. }
  504. #app-link .page-button a:active {
  505. border-color:hsl(160, 100%, 75%);
  506. }
  507. #lab-link {
  508. display:grid;
  509. grid-template-rows: repeat(2, .7fr);
  510. padding-bottom: 1.5rem;
  511. box-shadow: 1px 1px 1px 3px hsl(75, 100%, 50%);
  512. border-radius: 25px;
  513. margin-top: 10vh;
  514. max-height: 105vh;
  515. }
  516. #lab-link .image {
  517. grid-row: 1;
  518. display: flex;
  519. justify-content: center;
  520. padding-top: 2em;
  521. }
  522. #lab-link .image img {
  523. height: 25vh;
  524. width: auto;
  525. }
  526. #lab-link .description {
  527. grid-row: 2;
  528. padding:.5em 2em 3em 2em;
  529. }
  530. #lab-link .description h3 {
  531. font-size: 2.75rem;
  532. color: #333;
  533. margin-bottom: 1.5rem;
  534. font-family: 'IBM Plex Sans', sans-serif;
  535. font-weight: 300;
  536. text-transform: uppercase;
  537. text-align: center;
  538. letter-spacing: .04em;
  539. padding-top: 3vh;
  540. }
  541. #lab-link .description h3 span {
  542. color: hsl(75, 100%, 50%);
  543. }
  544. #lab-link .description p {
  545. font-size: .95em;
  546. font-weight: 300;
  547. color: #333;
  548. text-align: center;
  549. line-height: 2;
  550. }
  551. #lab-link .page-button{
  552. display:flex;
  553. justify-content: center;
  554. }
  555. #lab-link .page-button a {
  556. text-decoration: none;
  557. background-color: #fff;
  558. color: #000;
  559. border: .01em solid #000;
  560. padding: .35em 1em;
  561. border-radius: 27px;
  562. text-align: center;
  563. font-size: 1em;
  564. font-family: 'Lato', sans-serif;
  565. font-weight: 300;
  566. margin: .75em;
  567. text-transform: uppercase;
  568. transition: all ease .2s;
  569. }
  570. #lab-link .page-button a:active {
  571. border-color:hsl(75, 100%, 75%);
  572. }
  573. #about-link {
  574. display:grid;
  575. grid-template-rows: repeat(2, .7fr);
  576. grid-template-columns: 100%;
  577. padding-bottom: 1.5rem;
  578. box-shadow: 1px 1px 1px 3px hsl(160, 49%, 50%);
  579. border-radius: 25px;
  580. margin-top: 10vh;
  581. max-height: 90vh;
  582. padding-top: 5vh;
  583. }
  584. #about-link a {
  585. text-decoration: none;
  586. }
  587. #about-link .image {
  588. grid-row: 1/2;
  589. grid-column: 1;
  590. }
  591. #about-link .image #question {
  592. margin-top:.35em;
  593. font-size: 30vh;
  594. color: hsl(160, 49%, 50%);
  595. font-family: 'IBM Plex Sans', sans-serif;
  596. padding-left: 2vh;
  597. }
  598. #about-link .description {
  599. grid-row: 1/2;
  600. grid-column: 1;
  601. padding: 1em;
  602. }
  603. #about-link .description h3 {
  604. font-size: 2.75rem;
  605. color: #333;
  606. margin-bottom: 1.5rem;
  607. font-family: 'IBM Plex Sans', sans-serif;
  608. font-weight: 300;
  609. text-transform: uppercase;
  610. text-align: center;
  611. padding-top: 15vh;
  612. }
  613. #about-link .description h3 span {
  614. color: hsl(160, 49%, 50%);
  615. }
  616. #about-link .description p {
  617. font-size: .95rem;
  618. font-weight: 300;
  619. color: #333;
  620. text-align: center;
  621. line-height: 2;
  622. margin-top: 2rem;
  623. }
  624. #about-link .description p span {
  625. color:hsl(160, 49%, 50%);
  626. }
  627. #about-link .page-button{
  628. display:flex;
  629. justify-content: center;
  630. align-items: center;
  631. grid-row: 2;
  632. }
  633. #about-link .page-button a {
  634. text-decoration: none;
  635. background-color: #fff;
  636. color: #000;
  637. border: .01em solid #000;
  638. padding: .35em 1.5em;
  639. border-radius: 27px;
  640. text-align: center;
  641. font-size: 1em;
  642. font-family: 'Lato', sans-serif;
  643. font-weight: 300;
  644. margin: 1em;
  645. text-transform: uppercase;
  646. transition: all ease .2s;
  647. }
  648. #about-link .page-button a:active {
  649. border-color:hsl(160, 49%, 75%);
  650. }
  651. #footer-wrapper {
  652. margin-top:.5rem;
  653. }
  654. .description .additional {
  655. display: none;
  656. }
  657. #app-link .image #icon-desktop {
  658. display:none;
  659. }
  660. }