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.

724 lines
13 KiB

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