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.

443 lines
7.8 KiB

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