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.

809 lines
14 KiB

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