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.

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