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.

512 lines
9.8 KiB

3 years ago
  1. @font-face {
  2. font-family: 'Lato', sans-serif;
  3. src: url('fonts/Lato-Thin.ttf') format('truetype');
  4. font-style: normal;
  5. font-weight: 100;
  6. }
  7. *{
  8. margin:0;
  9. padding:0;
  10. box-sizing:border-box;
  11. }
  12. :root{
  13. --top_padding:5px;
  14. }
  15. html,
  16. body {
  17. width: 100%;
  18. height: 100%;
  19. font-family: 'Lato', sans-serif;
  20. font-weight:500;
  21. overflow-x: hidden;
  22. }
  23. @media screen and (min-width: 1024px){
  24. footer {
  25. grid-area:footer;
  26. }
  27. #footer-wrapper {
  28. color: white !important;
  29. border-top: solid 3px white;
  30. border-bottom: solid 1px white;
  31. background-color: black;
  32. height:100%;
  33. display: grid;
  34. grid-template-columns: 1fr 0.8fr 1fr 1fr;
  35. grid-template-rows: 2fr 1fr;
  36. padding-bottom:1%;
  37. padding-top: 10vh;
  38. }
  39. #column1 {
  40. background-color: black;
  41. display: none;
  42. font-family: 'Lato', sans-serif;
  43. }
  44. #column1 a h3 {
  45. display: flex;
  46. align-items: center;
  47. }
  48. #column2 {
  49. display: flex;
  50. flex-direction: column;
  51. text-align: center;
  52. grid-column: 1;
  53. }
  54. #column2 ul {
  55. list-style: none;
  56. text-align: center;
  57. }
  58. #column2 ul li p a {
  59. text-decoration:none;
  60. color:white;
  61. }
  62. #column2 ul li {
  63. margin: 5vh 0;
  64. }
  65. h6 {
  66. font-family: 'Lato', sans-serif;
  67. font-weight: 350;
  68. font-size: 135%;
  69. text-transform: uppercase;
  70. }
  71. #column3 {
  72. display: flex;
  73. flex-direction: column;
  74. text-align: center;
  75. }
  76. #column2 ul li a:hover {
  77. color: rgb(0, 255, 170);
  78. }
  79. #column3 ul {
  80. list-style: none;
  81. text-align: center;
  82. }
  83. #column3 ul li p a {
  84. text-decoration:none;
  85. color:white;
  86. }
  87. #column3 ul li {
  88. margin: 5vh 0;
  89. }
  90. #column3 ul li a:hover {
  91. color: rgb(0, 255, 170);
  92. }
  93. #column4 {
  94. display:flex;
  95. flex-direction: column;
  96. text-align: center;
  97. }
  98. #column4 p {
  99. font-size: 2vh;
  100. line-height: 4vh;
  101. margin-top: 5vh;
  102. }
  103. #column5 {
  104. display: flex;
  105. flex-direction: column;
  106. text-align: center;
  107. }
  108. #column5 #social-media {
  109. margin-top: 5vh;
  110. }
  111. #social-media ul {
  112. margin-top:1%;
  113. }
  114. #social-media ul li {
  115. display:inline;
  116. list-style-type: none;
  117. padding-left: 9%;
  118. }
  119. #social-media ul li .youtube {
  120. padding-left: 0;
  121. }
  122. #youtube {
  123. height: auto;
  124. width: 7%;
  125. }
  126. #instagram {
  127. height:auto;
  128. width: 7%;
  129. }
  130. #gitea {
  131. height:auto;
  132. width: 10%;
  133. }
  134. #row2 {
  135. border-top: .1em solid white;
  136. color: white;
  137. grid-column: 1/2;
  138. display:flex;
  139. align-self: center;
  140. justify-self: center;
  141. padding-top: 1vh;
  142. }
  143. #row2 p {
  144. text-align: center;
  145. padding-top:2%;
  146. cursor: pointer;
  147. }
  148. #row3 {
  149. grid-column: 3/5;
  150. display:flex;
  151. align-self: center;
  152. justify-self: center;
  153. }
  154. #row3 .languages a {
  155. color: #fff;
  156. padding: 0 1vh !important;
  157. transition: all .3s;
  158. }
  159. #row3 .languages a:hover {
  160. color:hsl(160, 50%, 70%);
  161. }
  162. .arrow .down {
  163. display:none;
  164. }
  165. #dropdown {
  166. display:none;
  167. }
  168. .ham-btn {
  169. display:none;
  170. }
  171. .hamburger {
  172. display: none;
  173. }
  174. .hamburger-icon{
  175. display: none;
  176. }
  177. #mobile-dropdown-container {
  178. display: none;
  179. }
  180. #footer-languages {
  181. display:none;
  182. }
  183. }
  184. @media only screen and (max-width: 1023px) {
  185. footer {
  186. grid-area:footer;
  187. }
  188. #footer-wrapper {
  189. grid-template-columns: 50% 50%;
  190. grid-template-rows: .6fr 0.1fr 0.1fr 0.1fr 0.1fr;
  191. display: grid;
  192. background-color:black;
  193. }
  194. #column1 {
  195. grid-row: 1;
  196. grid-column: 1;
  197. display: flex;
  198. justify-content: center;
  199. min-height: 25vh;
  200. }
  201. #column1 a {
  202. color: white;
  203. text-decoration: none;
  204. text-transform: uppercase;
  205. margin-left: 0;
  206. font-size:100%;
  207. padding-top:5%;
  208. padding-bottom:5%;
  209. display:flex;
  210. padding-left: 2.5vh;
  211. }
  212. #column1 a:active {
  213. color: rgb(0, 255, 170);
  214. }
  215. #column1 a h3 {
  216. display:flex;
  217. align-items: center;
  218. letter-spacing: .1em;
  219. font-weight: 100;
  220. padding-left: .5em;
  221. }
  222. #column1 a h3 span {
  223. color: hsl(160, 51%, 80%);
  224. letter-spacing: .095em;
  225. margin-right: .5vh;
  226. }
  227. #column2{
  228. grid-column:1/3;
  229. grid-row: 2;
  230. margin-top:0;
  231. border-top:1px solid white;
  232. padding-top:5%;
  233. padding-left: 5%;
  234. padding-right: 5%;
  235. padding-bottom: 5%;
  236. border-bottom:1px solid white;
  237. font-family: 'Lato', sans-serif;
  238. }
  239. #column2 ul {
  240. display:none;
  241. position: relative;
  242. width:100%;
  243. overflow:auto;
  244. z-index: 1;
  245. list-style : none;
  246. justify-content: space-between;
  247. padding: 1vh 5% 0 5%;
  248. text-align: center;
  249. border-top: 1px solid rgb(62, 190, 147);
  250. flex-direction: column;
  251. }
  252. #column2 ul li p a {
  253. font-weight: 300;
  254. text-decoration: none;
  255. color:white;
  256. letter-spacing: .075em
  257. }
  258. #column2 ul li p a:active{
  259. color: rgb(0, 255, 170);
  260. }
  261. #column2 ul li {
  262. margin-bottom: 5%;
  263. margin-top:5%;
  264. }
  265. h6 {
  266. font-size: 100%;
  267. font-weight: 400;
  268. letter-spacing: .075em;
  269. padding: 2vh 0;
  270. text-transform: uppercase;
  271. color:white;
  272. cursor: pointer;
  273. transition: .6s ease;
  274. }
  275. h6:active {
  276. color: rgb(0, 255, 170);
  277. }
  278. .arrow {
  279. border: solid white;
  280. border-width: 0 2px 2px 0;
  281. display: inline-block;
  282. padding: 3px;
  283. cursor: pointer;
  284. transition: .1s;
  285. }
  286. .down {
  287. transform: rotate(45deg);
  288. position: relative;
  289. margin-left:55%;
  290. }
  291. .down2 {
  292. transform: rotate(45deg);
  293. position: relative;
  294. margin-left:73%;
  295. }
  296. #column3 {
  297. grid-column: 1/3;
  298. grid-row: 3;
  299. margin-top:0;
  300. border-top:1px solid white;
  301. padding-top:5%;
  302. padding-bottom:4%;
  303. padding-left: 5%;
  304. padding-right: 1%;
  305. border-bottom:1px solid white;
  306. }
  307. #column3 ul {
  308. display:none;
  309. position: relative;
  310. width:100%;
  311. overflow:auto;
  312. z-index: 1;
  313. list-style : none;
  314. justify-content: space-between;
  315. border-top: 1px solid rgb(62, 190, 147);
  316. padding-right: 5%;
  317. padding-left: 5%;
  318. text-align: center;
  319. }
  320. #column3 h6 {
  321. padding: 2vh 0;
  322. transition: .6s ease;
  323. }
  324. #column3 ul li {
  325. margin: 5vh 0 3vh 0;
  326. }
  327. #column3 ul li p a {
  328. font-family: 'Lato', sans-serif;
  329. font-weight: 300;
  330. text-decoration:none;
  331. color: #fff;
  332. }
  333. #column3 ul li p a:active {
  334. color: hsl(160, 100%, 50%);
  335. }
  336. #column4 {
  337. grid-column: 1/3;
  338. grid-row:4;
  339. border-bottom: solid white 1px;
  340. font-family: 'Lato', sans-serif;
  341. }
  342. #column4 p {
  343. display: flex;
  344. align-items: center;
  345. justify-content: space-evenly;
  346. padding: 1.5vh 0;
  347. color:white;
  348. font-size: 1.75vh;
  349. font-weight: 400;
  350. text-transform: uppercase;
  351. }
  352. #column4 h6 {
  353. display:none;
  354. }
  355. #column5 {
  356. grid-column:2;
  357. grid-row: 1;
  358. margin-top:15%;
  359. padding-bottom: 10%;
  360. display:flex;
  361. align-items: center;
  362. }
  363. #social-media {
  364. padding-left: 5vh;
  365. }
  366. #social-media ul li {
  367. display:inline;
  368. list-style-type: none;
  369. padding-left: 10%;
  370. padding-bottom:5%;
  371. }
  372. #column5 h6 {
  373. display:none;
  374. }
  375. #gitea {
  376. width:18%;
  377. height:auto;
  378. }
  379. #youtube {
  380. height: auto;
  381. width: 4.5vw;
  382. }
  383. #instagram {
  384. height:auto;
  385. width: 6.5vw;
  386. }
  387. #row2 {
  388. grid-column:1;
  389. grid-row:5;
  390. display:flex;
  391. align-items:center;
  392. justify-content:center;
  393. margin: 2.5vh 0;
  394. background-color: black;
  395. font-family: 'Lato', sans-serif;
  396. font-weight: 500;
  397. letter-spacing: .095em;
  398. }
  399. #row2 p {
  400. align-items: center;
  401. padding-top:0;
  402. font-size: .75em;
  403. color:white;
  404. }
  405. #row3 {
  406. grid-column:2/3;
  407. grid-row:5;
  408. margin: 2.5vh 0;
  409. }
  410. #row3 .languages {
  411. margin-left:0;
  412. align-self:flex-end;
  413. }
  414. #row3 .languages a {
  415. color: hsl(160, 51%, 80%);
  416. font-size: .75em;
  417. text-decoration: none;
  418. }
  419. #row3 .languages a:active {
  420. color: rgb(0, 255, 170);
  421. }
  422. .desktop {
  423. display: none;
  424. }
  425. }