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.

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