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.

474 lines
8.3 KiB

3 years ago
  1. :root {
  2. --space : 5px;
  3. }
  4. .global-wrapper {
  5. width: 100%;
  6. }
  7. .page-wrapper {
  8. display:grid;
  9. width: 100%;
  10. }
  11. .contact-container {
  12. position: relative;
  13. width: 100%;
  14. min-height: 100vh;
  15. padding:2rem;
  16. overflow: hidden;
  17. background-color: rgb(0, 255, 170);
  18. display:flex;
  19. align-items: center;
  20. justify-content: center;
  21. }
  22. .contact-container .form {
  23. width: 100%;
  24. background-color: white;
  25. border-radius: 15px;
  26. box-shadow: 0 0 20px 1px grey;
  27. overflow: hidden;
  28. display: grid;
  29. grid-template-columns: repeat(2, 1fr);
  30. overflow: hidden;
  31. min-height: 95vh;
  32. }
  33. .contact-info {
  34. background-color:black;
  35. }
  36. .contact-form {
  37. background-color: white;
  38. position: relative;
  39. }
  40. form{
  41. padding: 2.25rem;
  42. overflow: hidden;
  43. position: relative;
  44. }
  45. form h3{
  46. color: rgb(62, 190, 147);
  47. font-weight: 200;
  48. font-size: 3rem;
  49. line-height: 5rem;
  50. margin: 1rem 0 2rem 0;
  51. }
  52. form .input-container {
  53. position: relative;
  54. margin: 1rem 0;
  55. }
  56. .input-container .input {
  57. width: 100%;
  58. outline: none;
  59. border: .01em solid rgb(62, 190, 147);
  60. box-shadow: .1em .1em .1em .01em hsl(160, 50%, 70%);
  61. background-color: hsl(160, 50%, 50%);
  62. padding: 1rem 1rem;
  63. color: #333;
  64. font-weight: 400;
  65. font-family:'Lato', sans-serif;
  66. font-size: 1.5rem;
  67. letter-spacing: .1em;
  68. transition: .5s;
  69. }
  70. .input-container.textarea .input {
  71. padding: 2rem 2rem;
  72. resize: none;
  73. overflow-y: auto;
  74. }
  75. ::placeholder {
  76. top: 50%;
  77. font-size: 1.5rem;
  78. color:white;
  79. font-weight: 600;
  80. pointer-events: none;
  81. transition: .5s;
  82. opacity: 90%;
  83. }
  84. form .btn {
  85. padding: .75rem 1.5rem;
  86. background-color: #000;
  87. border: none;
  88. font-size: 1.5rem;
  89. color: white;
  90. font-family:'Lato', sans-serif;
  91. line-height: 1rem;
  92. border-radius: 25px;
  93. font-weight: 300;
  94. cursor: pointer;
  95. margin-top: 1rem;
  96. margin-left: .25rem;
  97. transition: ease.5s;
  98. }
  99. form .btn:hover, .btn:active{
  100. background-color: hsl(160, 49%, 60%);
  101. }
  102. .contact-info {
  103. padding: 2.5rem 5rem 3rem 5rem;
  104. position: relative;
  105. display: flex;
  106. flex-direction: column;
  107. justify-content: space-around;
  108. }
  109. .adress-info {
  110. color: white;
  111. margin-bottom: 2rem;
  112. }
  113. .adress-info h3 {
  114. color: hsl(160, 49%, 60%);
  115. font-size: 2rem;
  116. font-weight: 300;
  117. padding: 1vh 1vw 4vh 1vw;
  118. }
  119. .adress-info h5 {
  120. color: #eee;
  121. font-size: 1.15rem;
  122. font-weight: 300;
  123. letter-spacing: .115em;
  124. text-transform: uppercase;
  125. padding: 1vh 0 1vh 1.5vh;
  126. }
  127. .adress-info p {
  128. font-size: 1.15rem;
  129. line-height: 4vh;
  130. padding: 1vh 0 1vh 1vw;
  131. }
  132. .phone-info {
  133. color:white;
  134. }
  135. .phone-info h3 {
  136. color: hsl(160, 49%, 60%);
  137. font-size: 2rem;
  138. font-weight: 300;
  139. padding: 4vh 1vw 2vh 1vw;
  140. }
  141. .phone-info p {
  142. font-size: 1.15rem;
  143. line-height: 4vh;
  144. padding: 1vh 0 1vh 1vw;
  145. }
  146. .social-info {
  147. color: white;
  148. }
  149. .social-info figure {
  150. display: grid;
  151. grid-template-columns: repeat(2, 1fr);
  152. grid-template-rows: repeat(2, 1fr);
  153. grid-gap: 0 5vw;
  154. }
  155. figure #pixelfed {
  156. grid-column: 1;
  157. grid-row: 1;
  158. display: flex;
  159. align-self: center;
  160. }
  161. figure #pixelfed-adress {
  162. grid-column: 1;
  163. grid-row: 2;
  164. display: flex;
  165. align-self: flex-end;
  166. }
  167. figure #peertube {
  168. grid-column: 2;
  169. grid-row: 1;
  170. display: flex;
  171. align-self: center;
  172. }
  173. figure #peertube-adress {
  174. grid-column: 2;
  175. grid-row: 2;
  176. display: flex;
  177. align-self: flex-end;
  178. }
  179. .social-info h3 {
  180. color: hsl(160, 49%, 60%);
  181. font-size: 2rem;
  182. font-weight: 300;
  183. padding: 4vh 1vw 2vh 1vw;
  184. }
  185. .social-info h5 {
  186. color: #eee;
  187. font-size: 1.05rem;
  188. font-weight: 300;
  189. letter-spacing: .115em;
  190. text-transform: uppercase;
  191. padding: 1vh 0 1vh 1.5vh;
  192. }
  193. .social-info a {
  194. text-decoration: none;
  195. color: #eee;
  196. padding-top: 1vh;
  197. transition: .5s;
  198. }
  199. .social-info a:hover {
  200. color: hsl(160, 49%, 60%);
  201. }
  202. .info h1 {
  203. color:rgb(62, 190, 147);
  204. font-size: 3rem;
  205. font-family:'IBM Plex Sans', sans-serif;
  206. font-weight: 300;
  207. text-transform: uppercase;
  208. justify-self: center;
  209. align-self: center;
  210. margin-bottom: 1.5rem;
  211. }
  212. .info p {
  213. color: black;
  214. }
  215. .info p span {
  216. color: rgb(62, 190, 147);
  217. font-weight: 500;
  218. }
  219. @media screen and (min-width:769px) {
  220. .page-wrapper {
  221. grid-template-columns: 100%;
  222. grid-template-rows: auto auto;
  223. grid-template-areas:
  224. "info"
  225. "page-content";
  226. width: 100%;
  227. }
  228. .info {
  229. width:100%;
  230. height: 65vh;
  231. grid-area: info;
  232. display: grid;
  233. grid-template-columns: repeat(2, 50%);
  234. grid-template-rows: 45% 55%;
  235. }
  236. .info h1 {
  237. grid-column: 1;
  238. grid-row: 1;
  239. font-size: 5rem;
  240. font-weight: 300;
  241. margin-bottom: 0;
  242. padding-top: 7.5vh;
  243. }
  244. .info p {
  245. grid-column: 1;
  246. grid-row: 2;
  247. display: flex;
  248. flex-direction: column;
  249. align-items: center;
  250. text-align: center;
  251. font-size: 1.25rem;
  252. line-height: 4rem;
  253. padding: .5vh 7.5vw 0 7.5vw;
  254. }
  255. .info p span {
  256. font-size: 1.35rem;
  257. padding-top: 2vh;
  258. }
  259. .info img {
  260. max-height: 50vh;
  261. width: auto;
  262. grid-column: 2;
  263. grid-row: 1/4;
  264. display:flex;
  265. justify-self: flex-start;
  266. align-self: flex-end;
  267. margin: 0 0 5vh 5vw;
  268. }
  269. .contact-container {
  270. width: 100%;
  271. height: 100vh;
  272. grid-area: page-content;
  273. padding:2rem;
  274. background-color:rgb(0, 255, 170);
  275. overflow: hidden;
  276. }
  277. }
  278. @media (max-width: 480px){
  279. .page-wrapper {
  280. grid-template-columns: 100%;
  281. grid-template-rows: auto auto;
  282. grid-template-areas:
  283. "info"
  284. "page-content";
  285. width: 100%;
  286. }
  287. .info {
  288. width:100%;
  289. height: 80vh;
  290. grid-area: info;
  291. display: flex;
  292. flex-direction: column;
  293. padding-top: 10vh;
  294. }
  295. .info h1 {
  296. margin: 0 0 1rem 0;
  297. }
  298. .info p {
  299. font-size: 1rem;
  300. font-weight: 300;
  301. line-height: 4.5vh;
  302. text-align: center;
  303. padding: 3vh 7.5vw;
  304. }
  305. .info p span {
  306. font-weight: 400;
  307. font-size: 1.05rem;
  308. }
  309. .info img {
  310. max-height: 25vh;
  311. height: auto;
  312. align-self: center;
  313. }
  314. .contact-container {
  315. width: 100%;
  316. grid-area: page-content;
  317. padding: 1rem;
  318. padding-top: 1.5rem;
  319. }
  320. .contact-container .form {
  321. height: auto;
  322. grid-template-columns: 1fr;
  323. grid-template-rows: .65fr 1fr;
  324. }
  325. .contact-info {
  326. grid-row: 2;
  327. align-items: flex-start;
  328. padding: 7.5vh 5vw;
  329. }
  330. .adress-info h3 {
  331. font-size: 1.8rem;
  332. }
  333. .adress-info p {
  334. font-weight: 300;
  335. font-size: 1.05rem;
  336. letter-spacing: 0.03em;
  337. padding: 1vh 0 1vh 2vw;
  338. }
  339. .phone-info h3 {
  340. font-size: 1.8rem;
  341. padding: 3vh 1vw 2vh 1vw;
  342. }
  343. .phone-info p {
  344. font-weight: 300;
  345. font-size: 1.05rem;
  346. padding: 0 0 1vh 2vw;
  347. letter-spacing: 0.03em;
  348. }
  349. .social-info h3 {
  350. font-size: 1.75rem;
  351. }
  352. .social-info figure {
  353. display: flex;
  354. flex-direction: column;
  355. }
  356. figure h5 {
  357. display: flex;
  358. align-self: flex-start !important;
  359. color: #eee;
  360. font-size: 1.15rem;
  361. font-weight: 300;
  362. letter-spacing: .115em;
  363. text-transform: uppercase;
  364. padding: 5vh 0 0 0;
  365. margin: 1vh 0 0 0;
  366. }
  367. figure #peertube {
  368. padding-top: 3vh;
  369. }
  370. figure a {
  371. display: flex;
  372. align-self: flex-start !important;
  373. color: #eee;
  374. font-size: 1.05rem;
  375. font-weight: 300;
  376. text-decoration: none;
  377. margin: 1vh 0 ;
  378. padding-left: 2vw;
  379. transition: .5s all ease;
  380. }
  381. .contact-form {
  382. grid-row: 1;
  383. max-width: 90vw;
  384. margin-top: 2rem;
  385. }
  386. form {
  387. padding: .75rem .65rem 1.5rem .75rem;
  388. }
  389. form h3 {
  390. font-size: 2rem;
  391. line-height: 4rem;
  392. margin-top: 0;
  393. }
  394. form .input-container {
  395. margin: 1.5rem 0;
  396. }
  397. .input-container .input{
  398. padding: .5rem .5rem;
  399. font-size: 1.25rem;
  400. }
  401. #phone {
  402. display: none;
  403. }
  404. }