the bola v2 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.

main.css 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. @import url(https://db.onlinewebfonts.com/c/2206d6cc490084998d531e8c1b2cbb4a?family=Druk+Wide+Bold);
  2. @import url(https://fonts.googleapis.com/css?family=Poppins);
  3. :root {
  4. --primary-clr: #67eb47;
  5. --dark-clr: #000;
  6. --light-clr: #fff;
  7. }
  8. ::-webkit-calendar-picker-indicator {
  9. filter: invert(1);
  10. }
  11. /* DEFAULT */
  12. * {
  13. padding: 0;
  14. margin: 0;
  15. }
  16. body {
  17. font-family: "Poppins";
  18. }
  19. p {
  20. font-size: clamp(1rem, 0.938vw, 1.125rem);
  21. }
  22. .text-db {
  23. color: var(--primary-clr);
  24. }
  25. .text-highlight {
  26. font-family: "Druk Wide Bold" !important;
  27. }
  28. .db-btn {
  29. background-color: var(--primary-clr);
  30. color: var(--dark-clr) !important;
  31. border-radius: 50px;
  32. max-width: -moz-fit-content;
  33. max-width: fit-content;
  34. border: none;
  35. }
  36. .db-h3 {
  37. font-size: clamp(2.2rem, 2.083vw, 2.5rem);
  38. line-height: clamp(2.925rem, 2.604vw, 3.125rem);
  39. font-weight: 500;
  40. }
  41. .db-h5 {
  42. font-size: clamp(1.175rem, 1.146vw, 1.375rem);
  43. line-height: clamp(1.7rem,2.083vw,2.5rem);
  44. }
  45. .db-h6 {
  46. font-size: clamp(1.25rem, 1vw, 1.75rem);
  47. font-weight: 500;
  48. }
  49. .about-paragraph {
  50. width: 100%;
  51. }
  52. .feature-paragraph {
  53. width: 100%;
  54. }
  55. .section-2 {
  56. padding: 4rem 3rem;
  57. background-size: cover;
  58. padding-top: 10rem;
  59. padding-bottom: 5rem;
  60. background-repeat: no-repeat;
  61. background-position: center top;
  62. }
  63. .section3-img {
  64. background-size: cover;
  65. background-position: left;
  66. width: 100%;
  67. min-height: 70vh;
  68. border: 1px solid gray;
  69. }
  70. .db-input {
  71. background-color: black;
  72. padding: 1.125rem 0;
  73. border: none;
  74. color: var(--light-clr);
  75. border-bottom: 2px solid var(--primary-clr);
  76. width: 100%;
  77. font-size: 18px;
  78. }
  79. .section-8{
  80. background-size: cover;
  81. background-repeat: no-repeat;
  82. background-position: right top;
  83. padding: 7.5rem 3rem;
  84. }
  85. .db-input::-moz-placeholder {
  86. color: var(--light-clr);
  87. opacity: 0.5; /* Firefox */
  88. }
  89. .db-input::placeholder {
  90. color: var(--light-clr);
  91. opacity: 0.5; /* Firefox */
  92. }
  93. .db-input:focus-visible {
  94. outline: none;
  95. }
  96. /* HERO - SECTION 1*/
  97. .hero-text-highlight {
  98. font-size: 2.3rem;
  99. line-height: 2.8rem;
  100. font-weight: bold;
  101. }
  102. .hero-text-description {
  103. font-size: clamp(1.563rem, 1vw, 1.563rem);
  104. line-height: 2.5rem;
  105. }
  106. /* NAVBAR */
  107. #main-nav {
  108. padding: 2rem 3rem;
  109. }
  110. .nav-logo-desktop {
  111. width: 3.75rem;
  112. height: 3.75rem;
  113. }
  114. .nav-logo-text {
  115. font-size: clamp(1.313rem, 1.146vw, 1.375rem);
  116. padding-left: 1rem;
  117. vertical-align: middle;
  118. }
  119. #main-nav .nav-item {
  120. padding: 0;
  121. }
  122. #main-nav .nav-item a {
  123. color: var(--light-clr);
  124. transition: all 0.5s ease-in-out;
  125. font-size: 1.25rem;
  126. font-weight: 500;
  127. }
  128. #main-nav .nav-item a:hover {
  129. color: var(--primary-clr);
  130. }
  131. #main-nav .nav-item a.active {
  132. color: var(--primary-clr);
  133. }
  134. /* FOOTER */
  135. .footer-container{
  136. width: 100%;
  137. }
  138. .footer-logo{
  139. width: 337px;
  140. margin-bottom: 5rem;
  141. }
  142. .footer-details-heading{
  143. font-size: 1.563rem;
  144. }
  145. .footer-details-desc{
  146. line-height: 30px;
  147. font-size: 1.25rem;
  148. font-weight: normal;
  149. }
  150. .db-link{
  151. color: var(--light-clr);
  152. text-decoration: none;
  153. transition: all 200ms ease-in-out;
  154. }
  155. .db-link:hover{
  156. color: var(--primary-clr);
  157. }
  158. .db-link-icon{
  159. text-decoration: none;
  160. color: var(--primary-clr);
  161. transition: all 200ms ease-in-out;
  162. }
  163. .db-link-icon:hover{
  164. color: var(--light-clr);
  165. }
  166. .section-5 {
  167. padding-left: 0;
  168. padding-right: 0;
  169. }
  170. .article-container{
  171. margin-bottom: 5.25rem;
  172. }
  173. .article-item{
  174. padding-top: 80%;
  175. background-size: cover;
  176. background-repeat: no-repeat;
  177. background-position: center center;
  178. }
  179. .article-details{
  180. height: 100%;
  181. width: 100%;
  182. top:0;
  183. left:0
  184. }
  185. .article-details-datetime{
  186. width: 100%;
  187. height: -moz-fit-content;
  188. height: fit-content;
  189. }
  190. .article-details-link{
  191. width: 100%;
  192. height: -moz-fit-content;
  193. height: fit-content;
  194. }
  195. .article-details-line{
  196. width: 60px;
  197. height: 5px;
  198. opacity: 1;
  199. }
  200. .article-details-href{
  201. text-decoration: none;
  202. vertical-align: middle;
  203. }
  204. .booking-container{
  205. margin-bottom: 5.25rem;
  206. overflow: hidden;
  207. }
  208. .booking-item{
  209. padding-top: 80%;
  210. background-size: cover;
  211. background-repeat: no-repeat;
  212. background-position: center center;
  213. }
  214. .booking-details{
  215. height: 100%;
  216. width: 100%;
  217. top:0;
  218. left:0
  219. }
  220. .booking-overlay{
  221. background-color: rgba(0, 0, 0, 0.5);
  222. width: 100%;
  223. padding: 1.688rem 3.625rem;
  224. transition: all 300ms ease-in-out;
  225. height: -moz-fit-content;
  226. height: fit-content;
  227. }
  228. .booking-item.active .booking-overlay{
  229. background-color: rgba(103, 235, 71, 0.5);
  230. }
  231. .booking-item:hover .booking-overlay{
  232. background-color: rgba(103, 235, 71, 0.5);
  233. }
  234. .container-contactus{
  235. padding-left: 6.5rem;
  236. padding-right: 6.5rem;
  237. }
  238. @media (min-width: 768px) {
  239. #main-nav {
  240. padding: 2rem 4.5rem;
  241. }
  242. .hero-text-highlight {
  243. font-size: clamp(4rem, 3.646vw, 4.375rem);
  244. line-height: clamp(4.2rem, 3.75vw, 4.5rem);
  245. }
  246. .hero-text-description {
  247. font-size: clamp(1.563rem, 1.302vw, 1.563rem);
  248. line-height: 2.5rem;
  249. }
  250. .section2 {
  251. padding: 3.75rem 3rem;
  252. }
  253. .section-8{
  254. background-size: cover;
  255. background-repeat: no-repeat;
  256. background-position: center top;
  257. padding: 7.5rem 3rem;
  258. }
  259. #main-nav {
  260. padding: 2rem 4.5rem;
  261. }
  262. .about-paragraph {
  263. width: 70%;
  264. }
  265. .feature-paragraph {
  266. width: 80%;
  267. }
  268. .section3-img {
  269. background-position: center;
  270. }
  271. .container-contactus{
  272. padding-left: 9.738rem;
  273. padding-right: 8.438rem;
  274. }
  275. .footer-logo{
  276. width: 237px;
  277. }
  278. }
  279. @media (min-width: 992px) {
  280. #main-nav .nav-item {
  281. padding: 0 1.875rem;
  282. }
  283. .article-container {
  284. padding-left: 8.438rem;
  285. padding-right: 8.438rem;
  286. }
  287. }
  288. /* UTILS */
  289. .p-7 {
  290. padding: 3.75rem;
  291. }
  292. .px-7 {
  293. padding: 0 3.75rem;
  294. }
  295. .py-6 {
  296. padding-top: 4.5rem;
  297. padding-bottom: 4.5rem;
  298. }
  299. .py-7 {
  300. padding-top: 5rem;
  301. padding-bottom: 5rem;
  302. }
  303. .my-7 {
  304. margin-top: 5rem;
  305. margin-bottom: 5rem;
  306. }