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.

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