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.

964 line
24 KiB

  1. @import "_variables";
  2. @import "_reset";
  3. @import "_mixins";
  4. @import "_breakpoints";
  5. #menu {
  6. position: absolute;
  7. opacity: 0;
  8. &:checked {
  9. +.hamberger-menu {
  10. .patty {
  11. background-color: white;
  12. &::before {
  13. transform: rotate(-45deg);
  14. top: 0;
  15. }
  16. &::after {
  17. transform: rotate(45deg);
  18. top: 0;
  19. }
  20. }
  21. }
  22. ~.nav-holder {
  23. height: 45vh;
  24. }
  25. }
  26. }
  27. header {
  28. @include container();
  29. @include flex-center();
  30. padding: 2rem;
  31. border-right: $verticle-line;
  32. justify-content: space-between;
  33. position: relative;
  34. @include sm {
  35. @include container-sm();
  36. @include flex-column-baseline();
  37. @include flex-left();
  38. padding: 2rem;
  39. padding-bottom: 0;
  40. padding-right: 0;
  41. margin-right: 1rem;
  42. width: auto;
  43. margin-left: auto
  44. }
  45. .logo-holder {
  46. @include flex-left();
  47. flex-direction: column;
  48. }
  49. .logo-holder h1 {
  50. text-transform: uppercase;
  51. font-size: 3rem;
  52. @include sm {
  53. font-size: 2rem
  54. }
  55. }
  56. .search-lang-nav-holder {
  57. @include flex-right();
  58. flex-direction: column;
  59. @include sm {
  60. @include flex-column-center();
  61. width: 100%;
  62. }
  63. .search-lang-holder {
  64. padding-bottom: 3rem;
  65. display: flex;
  66. @include sm {
  67. @include flex-column-center();
  68. width: 100%;
  69. padding-bottom: 0;
  70. }
  71. .header-form {
  72. @include flex-right();
  73. @include sm {
  74. @include flex-center();
  75. margin: 2rem 0;
  76. width: 100%;
  77. }
  78. .search {
  79. border: 1px solid $lite-mid-gray;
  80. margin-right: 1rem;
  81. border-radius: 0.3rem;
  82. @include sm {
  83. width: 80%;
  84. @include flex-row-center;
  85. }
  86. input {
  87. border: none;
  88. background-color: transparent;
  89. padding: 0.2rem 0.5rem;
  90. outline: transparent;
  91. width: 6rem;
  92. @include sm {
  93. width: 100%;
  94. padding: 1rem;
  95. }
  96. }
  97. .search-button {
  98. border: none;
  99. background-color: transparent;
  100. padding: 0.2rem;
  101. @include sm {
  102. padding: 0.5rem;
  103. }
  104. img {
  105. width: 1rem;
  106. @include sm {
  107. width: 1.5rem;
  108. }
  109. }
  110. }
  111. }
  112. .lang select {
  113. padding: 0.2rem;
  114. margin: 0;
  115. background-color: transparent;
  116. border: none;
  117. }
  118. }
  119. }
  120. .hamberger-menu {
  121. display: none;
  122. cursor: pointer;
  123. @include sm {
  124. display: block;
  125. position: absolute;
  126. top: 3rem;
  127. right: 2rem;
  128. .patty {
  129. width: 1rem;
  130. height: 0.2rem;
  131. background-color: black;
  132. position: relative;
  133. transition: transform 0.3s;
  134. &::before {
  135. content: "";
  136. position: absolute;
  137. top: -0.5rem;
  138. left: -0.25rem;
  139. width: 1.5rem;
  140. height: 0.2rem;
  141. background-color: black;
  142. transition: transform 0.3s;
  143. }
  144. &::after {
  145. content: "";
  146. position: absolute;
  147. top: 0.5rem;
  148. left: -0.25rem;
  149. width: 1.5rem;
  150. height: 0.2rem;
  151. background-color: black;
  152. transition: transform 0.3s;
  153. }
  154. }
  155. }
  156. }
  157. .hamberger-menu.active {
  158. .patty {
  159. color: white;
  160. &::before {
  161. transform: translateY(2rem) rotate(45deg);
  162. }
  163. &::after {
  164. transform: translateY(2rem) rotate(-45deg);
  165. }
  166. }
  167. }
  168. .nav-holder {
  169. display: flex;
  170. @include sm {
  171. width: 100% + 5%;
  172. background-color: white;
  173. height: 0;
  174. overflow: hidden;
  175. text-align: center;
  176. position: absolute;
  177. z-index: 1;
  178. top: 12.5rem;
  179. left: 0;
  180. @include flex-column-center();
  181. box-shadow: 0rem 1rem 1rem rgba(0, 0, 0, 0.473);
  182. transition: height 1s;
  183. }
  184. a {
  185. margin-right: 3rem;
  186. text-decoration: none;
  187. color: rgb(51, 51, 51);
  188. @include sm {
  189. margin: 2rem 0;
  190. width: auto;
  191. }
  192. &:last-child {
  193. margin: 0;
  194. @include sm {
  195. margin: 2rem 0;
  196. width: auto;
  197. }
  198. }
  199. }
  200. a.active {
  201. position: relative;
  202. &::after {
  203. content: "";
  204. height: 3px;
  205. width: 100%;
  206. background-color: rgb(51, 51, 51);
  207. position: absolute;
  208. bottom: -7px;
  209. left: 0;
  210. }
  211. }
  212. }
  213. }
  214. }
  215. .carousel-container {
  216. width: 100%;
  217. background-image: -moz-linear-gradient(white 25%, rgb(245, 245, 245) 25%);
  218. .carousel-holder,
  219. .news-holder {
  220. @include container();
  221. @include flex-center();
  222. border-left: $verticle-line;
  223. @include sm {
  224. @include container-sm();
  225. }
  226. .carousel {
  227. position: relative;
  228. @include sm {
  229. width: 100%;
  230. }
  231. .slider-count {
  232. position: absolute;
  233. left: -4.3%;
  234. rotate: -90deg;
  235. top: 54vh;
  236. z-index: 1;
  237. @include sm {
  238. left: -12%;
  239. }
  240. .count {
  241. display: none;
  242. span {
  243. font-size: 2rem;
  244. }
  245. }
  246. .count.active {
  247. display: block;
  248. }
  249. }
  250. .slider {
  251. width: 98%;
  252. position: relative;
  253. left: 2%;
  254. .slide {
  255. width: 100%;
  256. display: none;
  257. .slide-image {
  258. width: 90%;
  259. height: 60vh;
  260. overflow: hidden;
  261. @include sm {
  262. width: 100%;
  263. height: auto;
  264. }
  265. img {
  266. @include sm {
  267. width: 100%;
  268. height: 60vh;
  269. object-fit: cover;
  270. }
  271. }
  272. }
  273. .slider-text {
  274. position: absolute;
  275. top: 10%;
  276. right: 0;
  277. width: 25%;
  278. font-size: 5rem;
  279. font-weight: 900;
  280. text-transform: uppercase;
  281. @include sm {
  282. width: 120%;
  283. rotate: -90deg;
  284. font-size: 3.3rem;
  285. top: 15%;
  286. right: -48%;
  287. }
  288. &::after {
  289. content: "";
  290. width: 100%;
  291. height: 10px;
  292. background-color: black;
  293. position: absolute;
  294. bottom: -5%;
  295. left: 0;
  296. }
  297. }
  298. .slider-content {
  299. @include flex-column-baseline();
  300. margin: 5% 0;
  301. .slider-date {
  302. font-size: 1rem;
  303. margin-bottom: 2%;
  304. @include sm {
  305. margin-left: 2rem;
  306. margin-bottom: 1rem;
  307. }
  308. }
  309. .slider-description {
  310. @include flex-row-baseline();
  311. @include sm {
  312. @include flex-column-center();
  313. position: relative;
  314. }
  315. p {
  316. margin-right: 3rem;
  317. width: 25%;
  318. font-weight: lighter;
  319. @include sm {
  320. @include flex-row-baseline();
  321. width: auto;
  322. margin: 1rem 2rem;
  323. margin-bottom: 0;
  324. }
  325. &:nth-child(1) {
  326. font-weight: bold;
  327. @include flex-column-baseline();
  328. @include sm {
  329. @include flex-row-baseline();
  330. margin-top: 20vh;
  331. }
  332. }
  333. &:nth-child(3) {
  334. margin-bottom: 5rem;
  335. }
  336. &:nth-child(4) {
  337. margin-right: 0;
  338. padding: 2%;
  339. padding-right: 6%;
  340. border: 5px solid black;
  341. font-size: 2.4rem;
  342. font-weight: 900;
  343. @include sm {
  344. position: absolute;
  345. top: 0;
  346. margin-right: 2rem;
  347. }
  348. }
  349. }
  350. .more {
  351. @include black-button();
  352. margin-top: 70%;
  353. @include sm {
  354. margin: auto;
  355. padding: 1rem 0.5rem;
  356. width: 80%;
  357. margin-left: 0;
  358. position: absolute;
  359. bottom: 0;
  360. }
  361. }
  362. }
  363. }
  364. }
  365. .slide.active {
  366. display: block;
  367. }
  368. }
  369. .slider-control {
  370. position: absolute;
  371. right: 9.7%;
  372. top: 54.8vh;
  373. display: flex;
  374. @include sm {
  375. top: 54.1vh;
  376. right: 0;
  377. }
  378. button {
  379. margin: 0;
  380. }
  381. .previous,
  382. .next {
  383. padding: 0.5rem 1.5rem;
  384. margin: 0;
  385. font-size: 2rem;
  386. border-radius: 0;
  387. border: none;
  388. background-color: white;
  389. &:hover {
  390. background-color: #dfdfdf;
  391. }
  392. }
  393. }
  394. }
  395. }
  396. }
  397. .news-container {
  398. width: 100%;
  399. background-image: -moz-linear-gradient(rgb(245, 245, 245) 7%, white 7%);
  400. .news-holder {
  401. position: relative;
  402. @include container();
  403. @include flex-center();
  404. border-left: $verticle-line;
  405. align-items: inherit;
  406. @include sm {
  407. @include container-sm();
  408. @include flex-column-baseline();
  409. }
  410. .section-side-text {
  411. @include side-text();
  412. left: -6%;
  413. top: 7%;
  414. @include sm {
  415. left: -17%;
  416. top: 2.5%;
  417. }
  418. }
  419. .primary-news {
  420. @include flex-column-baseline();
  421. width: 48%;
  422. margin-left: 2%;
  423. position: relative;
  424. @include sm {
  425. width: 98%;
  426. }
  427. .primary-news-image {
  428. @include flex-center();
  429. img {
  430. height: 60vh;
  431. object-fit: cover;
  432. }
  433. }
  434. .primary-news-floting-text {
  435. position: absolute;
  436. top: 5%;
  437. left: 5%;
  438. .primary-news-date {
  439. font-size: 1rem;
  440. margin-bottom: 2rem;
  441. }
  442. .primary-news-title {
  443. font-size: 3rem;
  444. width: 44%;
  445. text-transform: uppercase;
  446. font-weight: 900;
  447. position: relative;
  448. line-height: 3rem;
  449. letter-spacing: 0rem;
  450. &::after {
  451. content: "";
  452. position: absolute;
  453. bottom: -1.5rem;
  454. left: 0;
  455. width: 100%;
  456. height: 6px;
  457. background-color: black;
  458. }
  459. }
  460. }
  461. .primary-news-description {
  462. background-color: black;
  463. padding: 15% 10% 10%;
  464. color: white;
  465. position: relative;
  466. &::before {
  467. content: "";
  468. position: absolute;
  469. top: -15px;
  470. left: 80%;
  471. width: 0;
  472. height: 0;
  473. border-bottom: 15px solid black;
  474. border-right: 15px solid transparent;
  475. border-left: 15px solid transparent;
  476. }
  477. p {
  478. font-weight: 100;
  479. margin-bottom: 10%;
  480. }
  481. .more {
  482. @include border-button();
  483. }
  484. }
  485. }
  486. .secondary-news {
  487. @include flex-left();
  488. width: 50%;
  489. margin-top: 33%;
  490. margin-bottom: 5%;
  491. @include sm {
  492. @include flex-column-baseline;
  493. width: 100%;
  494. margin-top: 3rem;
  495. }
  496. .secondary-news-description {
  497. @include flex-column-baseline();
  498. margin-left: 5%;
  499. position: relative;
  500. width: 50%;
  501. @include sm {
  502. width: 98%;
  503. margin-left: 2%;
  504. }
  505. &::before {
  506. content: "";
  507. position: absolute;
  508. top: -10%;
  509. width: 100%;
  510. height: 7px;
  511. background-color: black;
  512. @include sm {
  513. top: 1%;
  514. right: 0;
  515. width: 70%;
  516. }
  517. }
  518. p,
  519. h3,
  520. .secondary-news-image,
  521. .secondary-news-date {
  522. margin: 8%;
  523. margin-top: 0;
  524. @include sm {
  525. margin-left: 2%;
  526. }
  527. }
  528. .secondary-news-image {
  529. width: 100%;
  530. height: 11rem;
  531. overflow: hidden;
  532. }
  533. .more {
  534. @include black-button();
  535. margin-left: 8%;
  536. @include sm {
  537. margin-left: 2%;
  538. margin-bottom: 2rem;
  539. }
  540. }
  541. }
  542. }
  543. }
  544. }
  545. .row-3-container {
  546. width: 100%;
  547. background-image: -moz-linear-gradient(white 35%, rgb(245, 245, 245) 35%);
  548. background-size: 87.2% auto;
  549. background-repeat: no-repeat;
  550. .row-3 {
  551. @include flex-center();
  552. @include container();
  553. padding-top: 10%;
  554. border-left: $verticle-line;
  555. padding-bottom: 4rem;
  556. position: relative;
  557. @include sm {
  558. @include container-sm();
  559. @include flex-column-baseline();
  560. flex-direction: column-reverse;
  561. }
  562. .row-3-col-1 {
  563. @include flex-column-baseline();
  564. justify-content: space-between;
  565. width: 40%;
  566. height: 30vh;
  567. margin-right: 10%;
  568. position: relative;
  569. margin-left: 2%;
  570. @include sm {
  571. width: 98%;
  572. height: 40vh;
  573. margin-right: auto;
  574. }
  575. &::before {
  576. content: "";
  577. position: absolute;
  578. width: 30%;
  579. height: 7px;
  580. background-color: black;
  581. top: -18%;
  582. @include sm {
  583. top: 1%;
  584. width: 70%;
  585. right: 0;
  586. }
  587. }
  588. .more {
  589. @include black-button();
  590. }
  591. }
  592. .row-3-col-2 {
  593. width: 50%;
  594. position: relative;
  595. @include sm {
  596. width: 98%;
  597. margin-left: 2%;
  598. margin-top: 5rem;
  599. }
  600. .row-3-image {
  601. width: 95%;
  602. @include sm {
  603. width: 100%;
  604. margin-bottom: 3rem;
  605. }
  606. img {
  607. width: 100%;
  608. }
  609. }
  610. }
  611. .row-3-float-text {
  612. top: -27%;
  613. right: 5%;
  614. padding: 5%;
  615. width: 40%;
  616. position: absolute;
  617. border: 5px solid black;
  618. font-size: 4rem;
  619. line-height: 3.5rem;
  620. font-weight: 900;
  621. text-transform: uppercase;
  622. @include sm {
  623. width: 65%;
  624. }
  625. span {
  626. position: relative;
  627. font-size: 3rem;
  628. }
  629. }
  630. .row-3-side-text {
  631. left: -6%;
  632. top: 29%;
  633. @include side-text();
  634. @include sm {
  635. left: -17%;
  636. top: 10%;
  637. }
  638. }
  639. }
  640. }
  641. footer {
  642. @include flex-center();
  643. @include container();
  644. border-left: $verticle-line;
  645. padding-bottom: 2%;
  646. position: relative;
  647. padding-top: 12%;
  648. @include sm {
  649. @include container-sm();
  650. padding-top: 0;
  651. padding-bottom: 3rem;
  652. }
  653. .footer-side-text {
  654. @include side-text();
  655. left: -5%;
  656. top: -40%;
  657. @include sm {
  658. top: 8%;
  659. left: -14%;
  660. }
  661. }
  662. .footer-holder {
  663. @include flex-center();
  664. position: absolute;
  665. top: 80%;
  666. @include sm {
  667. @include flex-column-baseline();
  668. position: relative;
  669. top: 10%;
  670. }
  671. .footer-col {
  672. @include flex-column-baseline();
  673. justify-content: space-between;
  674. font-style: normal;
  675. border-right: $verticle-line;
  676. padding: 3%;
  677. padding-top: 0;
  678. width: 25%;
  679. height: 25vh;
  680. @include sm {
  681. width: 80%;
  682. margin-top: 3rem;
  683. height: 20vh;
  684. border-right: none;
  685. padding: 0;
  686. padding-left: 2%;
  687. }
  688. h3 {
  689. position: absolute;
  690. top: -25%;
  691. font-weight: 100;
  692. @include sm {
  693. position: relative;
  694. top: 0;
  695. }
  696. }
  697. span {
  698. text-transform: uppercase;
  699. font-weight: 900;
  700. }
  701. h4 {
  702. margin-bottom: 5%;
  703. margin-top: 0;
  704. @include sm {
  705. position: relative;
  706. &::after {
  707. content: "";
  708. position: absolute;
  709. width: 60%;
  710. height: 2px;
  711. background-color: lightgray;
  712. right: 0;
  713. top: 35%;
  714. }
  715. }
  716. }
  717. a {
  718. text-decoration: none;
  719. color: black;
  720. &:hover {
  721. opacity: 0.6;
  722. }
  723. }
  724. .newsletter p {
  725. font-size: 0.8rem;
  726. }
  727. .subscribe-form {
  728. @include flex-row-baseline;
  729. border: 1px solid rgb(0, 0, 0);
  730. margin-top: 5%;
  731. input {
  732. border: none;
  733. background-color: transparent;
  734. padding: 1rem;
  735. padding-right: 0;
  736. width: 65%;
  737. }
  738. button {
  739. background-color: black;
  740. border-radius: 0;
  741. border: none;
  742. color: white;
  743. padding-left: 1rem;
  744. padding-right: 1rem;
  745. width: 35%;
  746. }
  747. }
  748. .social-media {
  749. @include flex-center();
  750. margin: 0;
  751. margin-top: 5%;
  752. a {
  753. margin-left: 5%;
  754. opacity: 0.6;
  755. margin-top: 5%;
  756. &:hover {
  757. opacity: 1;
  758. }
  759. figure {
  760. width: 70%;
  761. margin: 0;
  762. img {
  763. width: 100%;
  764. }
  765. }
  766. }
  767. }
  768. }
  769. }
  770. }