@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
/*@import "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css";*/

:root {
  --primary-colour: #144d8f;
  --secondary-colour: #57a5ff;
  --dark-colour: #08203b;
  --light-colour: #f4f4f4;
  --success-colour: #5cb85c;
  --error-colour: #d9534f;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
}

body {
  font-family: 'Lato', 'sans-serif';
  color: #333;
  line-height: 1.6;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333;
}

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0;
}

p {
  margin: 10px 0;
}

img {
  width: 100%;
}

code,
pre {
  background-color: #333;
  color: #fff;
  padding: 10px;
}

/* Navbar Styling */
.navbar {
  background-color: var(--primary-colour);
  color: #fff;
  height: 70px;
  background: linear-gradient(
    to right,
    var(--primary-colour) 20%,
    var(--secondary-colour)
  );
}

.navbar-fixed-top {
  top: 0;
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1030;
}

.navbar ul {
  display: flex;
}

.navbar a {
  color: #fff;
  padding: 10px;
  margin: 0 5px;
}

.navbar .logo img {
  width: 180px;
  content: url('../assets/img/brand.svg');
  padding-top: 15px;
}

.navbar a:hover {
  background: var(--dark-colour);
  transition: 0.5s;
  border-radius: 3px;
  border-bottom: none;
}

.navbar .flex {
  justify-content: space-between;
  overflow: hidden;
}

.navbar-fixed-top.scrolled {
  background-color: #fff !important;
  transition: background-color 200ms linear;
  color: var(--primary-colour);
  background: transparent;
}

.navbar-fixed-top a.scrolled {
  transition: background-color 200ms linear;
  color: var(--primary-colour);
  background: transparent;
}

.navbar-fixed-top a:hover.scrolled {
  background: var(--dark-colour);
  color: #fff;
  border-radius: 3px;
}

.navbar-fixed-top img.scrolled {
  transition: background-color 200ms linear;
  content: url('../assets/img/brand-primary.svg');
}

.active-page {
  border-bottom: 1px #fff solid;
}

.active-page.scrolled {
  border-bottom: 1px var(--dark-colour) solid;
}

/* Showcase */
.showcase {
  height: 600px;
  background-color: var(--primary-colour);
  color: #fff;
  position: relative;
  padding-top: 80px;
  background: linear-gradient(
    to right,
    var(--primary-colour) 20%,
    var(--secondary-colour)
  );
}

.showcase h1 {
  font-size: 40px;
}

.showcase h2 {
  font-size: 40px;
  grid-template-columns: 3fr;
}

.showcase p {
  margin: 20px 0;
}

.showcase i {
  justify-self: center;
  animation: slideInFromRight 1s ease-in;
}

.showcase img {
  justify-self: center;
  width: 200px;
  animation: slideInFromRight 1s ease-in;
}

.showcase .grid {
  overflow: visible;
  grid-template-columns: 55% 45%;
  gap: 30px;
}

.showcase-text {
  animation: slideInFromLeft 1s ease-in;
}

.showcase-text .grid {
  grid-template-columns: 55% 45%;
}

.showcase-form {
  position: relative;
  top: 60px;
  height: 350px;
  width: 400px;
  padding: 40px;
  z-index: 100;
  justify-self: flex-end;
  animation: slideInFromRight 1s ease-in;
}

.showcase-form .form-control {
  margin: 30px 0;
}

.showcase-form input[type='text'],
.showcase-form input[type='email'] {
  border: 0;
  border-bottom: 1px solid #b4becb;
  width: 100%;
  padding: 3px;
  font-size: 16px;
}

.showcase-form input:focus {
  outline: none;
}

.showcase::before,
.showcase::after {
  content: '';
  position: absolute;
  height: 100px;
  bottom: -70px;
  right: 0;
  left: 0;
  background-color: #fff;
  -webkit-transform: skewY(-2deg);
  -moz-transform: skewY(-2deg);
  -ms-transform: skewY(-2deg);
}

/* portfolio */
.portfolio {
  height: auto;
  position: relative;
}

.portfolio .portfolio-text {
  animation: slideInFromLeft 1s ease-in;
  background-color: #fff;
  color: var(--primary-colour);
  padding: 20px;
}

.portfolio-heading {
  max-width: auto;
  margin: auto;
}

.portfolio .card h1,
.portfolio .card h2,
.portfolio .card h3,
.portfolio .card h4 {
  text-align: center;
  animation: none;
  padding: 20px;
  margin: 0;
  color: var(--primary-colour);
}

.portfolio h2 {
  font-size: 48px;
  text-align: center;
}

.portfolio .grid-4 {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.portfolio .card {
  text-align: center;
  margin: 18px 10px 10px;
  animation: slideInFromBottom 1s ease-in;
  padding-bottom: 80px;
  padding-top: 80px;
  height: 200px;
  width: 200px;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: none;
}

.portfolio .card:hover {
  transform: scale(1.02, 1.02);
  transition: ease-in 0.2s;
}

/* About */
.about {
  height: 700px;
}

.about .grid-2 {
  background-color: #fff;
  color: var(--primary-colour);
  padding-top: 30px;
  height: auto;
  overflow: hidden;
}

.about .text-center {
  font-size: 50px;
  animation: slideInFromRight 1s ease-in;
  grid-column: 2;
  align-self: start;
}

.about .lg {
  text-align: left;
}

.about .brand {
  font-weight: bold;
}

.about .lead {
  animation: slideInFromRight 1s ease-in;
  text-align: left;
}

.about .flex {
  flex-wrap: wrap;
  grid-column: 1;
  grid-row: 1;
  overflow: hidden;
}

.about .card {
  text-align: center;
  margin: 18px 10px 40px;
  transition: transform 0.2s ease-in;
  animation: slideInFromLeft 1s ease-in;
  height: 40%;
  width: 40%;
}

.about .card i {
  margin-bottom: 20px;
  color: var(--primary-colour);
}

.about .card img {
  margin-bottom: 10px;
  color: var(--primary-colour);
  width: 70px;
}

.about .card h1,
.about .card h2,
.about .card h3,
.about .card h4 {
  text-align: center;
  animation: none;
  padding: 0;
  margin: 0;
  color: var(--primary-colour);
}

.about .card:hover {
  transform: translateY(-15px);
  box-shadow: 0 6px 20px rgba(8, 8, 8, 0.2);
}

.about .card:hover h1,
.about .card:hover h2,
.about .card:hover h3,
.about .card:hover h4,
.about .card:hover i {
  color: var(--primary-colour);
}

/* Why */
.why {
  height: auto;
  background-color: var(--primary-colour);
  color: #fff;
  position: relative;
  background: linear-gradient(
    to right,
    var(--primary-colour) 20%,
    var(--secondary-colour)
  );
}

.why .why-text {
  font-size: 50px;
  animation: slideInFromLeft 1s ease-in;
  grid-column: 1 / span 1;
  position: relative;
  height: auto;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

.why .grid-2 {
  grid-template-columns: 70% 30%;
  overflow: visible;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-top: 20px;
}

.why .grid-4 {
  overflow: visible;
  gap: 20px;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-top: 20px;
  animation: slideInFromBottom 1s ease-in;
}

.why .lg {
  text-align: left;
}

.why .brand {
  font-weight: bold;
}

.why h1 {
  font-size: 60px;
}

.why h2 {
  font-size: 48px;
  grid-template-columns: 3fr;
}

.why p {
  margin: 20px 0;
}

.why i {
  justify-self: center;
  animation: slideInFromRight 1s ease-in;
}

.why .card {
  text-align: center;
  margin: 18px 10px 40px;
  transition: transform 0.2s ease-in;
  animation: slideInFromLeft 1s ease-in;
  padding-bottom: 0;
  height: 40%;
  width: 40%;
}

.why .card i {
  margin-bottom: 20px;
  color: var(--primary-colour);
}

.why .card img {
  margin-bottom: 10px;
  color: var(--primary-colour);
  width: 70px;
}

.why::before,
.why::after {
  content: '';
  position: absolute;
  height: 100px;
  bottom: -70px;
  right: 0;
  left: 0;
  background-color: #fff;
}

.why .super-box {
  width: auto;
  position: relative;
  height: auto;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.why .text {
  position: relative;
  text-align: center;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transition-delay: 0.22s;
  transition-delay: 0.22s;
  margin: 20px;
  text-align: center;
}

.why .box {
  position: absolute;
  width: 220px;
  height: 220px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  border-radius: 3px;
  overflow: hidden;
  -webkit-transition: -webkit-box-shadow ease 1s;
  transition: -webkit-box-shadow ease 1s;
  transition: box-shadow ease 1s;
  transition: box-shadow ease 1s, -webkit-box-shadow ease 1s;
}

.why .icon {
  position: relative;
  margin-top: 8px;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
  -webkit-transition-delay: 0.32s;
  transition-delay: 0.32s;
  will-change: transform;
}

.why .icon_bg {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  border: 1px solid rgba(225, 227, 232, 0.18);
  -webkit-box-shadow: 0 3px 4px 0 rgba(44, 71, 146, 0.25);
  box-shadow: 0 3px 4px 0 rgba(44, 71, 146, 0.25);
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  will-change: transform;
}

.why .super-box:hover .box {
  /*   border: 1px solid rgba(225, 227, 232, 0.18); */
  -webkit-box-shadow: 0 3px 4px 0 rgba(44, 71, 146, 0.25);
  box-shadow: 0 3px 4px 0 rgba(44, 71, 146, 0.25);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.why .super-box:hover .icon_bg {
  -webkit-transform: translateY(-32px) scale(6);
  transform: translateY(-32px) scale(6);
}

.why .super-box:hover .icon {
  -webkit-transform: translateY(-48px) scale(1.4);
  transform: translateY(-48px) scale(1.4);
}

.why .super-box:hover .text {
  opacity: 0;
  -webkit-transform: translateY(-4px) scale(0.8);
  transform: translateY(-4px) scale(0.8);
}

.why .box::after {
  content: '';
  text-align: center;
  position: absolute;
  width: 170px;
  top: 111px;
  opacity: 0;
  font-size: 14px;
  color: #5d6494;
  line-height: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transition-delay: 0.52s;
  transition-delay: 0.52s;
}

.why .box-1::after {
  content: 'Strategic investments in blockchain technologies and decentralized applications with focus on long-term growth potential.';
}

.why .box-2::after {
  content: 'Diversified equity investments across public markets with emphasis on growth companies and emerging sectors.';
}

.why .box-3::after {
  content: 'Digital asset investments including Bitcoin, Ethereum, and other cryptocurrencies with strong fundamentals.';
}

.why .box-4::after {
  content: 'Active management of investment portfolio with strategic allocation across multiple asset classes and markets.';
}

.why .super-box:hover .box::after {
  opacity: 1;
}

.why img {
  width: 40px;
}

.title {
  position: relative;
  text-align: center;
}

/* blog */
.blog {
  height: auto;
  background-color: var(--primary-colour);
  color: #fff;
  position: relative;
  background: linear-gradient(
    to right,
    var(--primary-colour) 20%,
    var(--secondary-colour)
  );
}

.blog .grid-2 {
  grid-template-columns: 50% 50%;
  padding-top: 30px;
  height: auto;
  overflow: hidden;
  margin-bottom: 50px;
}

.blog .blog-grid-2 {
  display: flex;
}

.blog .blog-text {
  font-size: 50px;
  animation: slideInFromRight 1s ease-in;
  grid-column: 2 / span 1;
  position: relative;
  height: auto;
  padding-bottom: 20px;
  color: #fff;
}

.blog .lg {
  text-align: left;
}

.blog-heading {
  max-width: auto;
  margin: auto;
}

.blog img {
  width: 170px;
  grid-row: 1;
  justify-self: center;
  animation: slideInFromLeft 1s ease-in;
}

.blog .card {
  text-align: center;
  margin: 18px 10px 40px;
  transition: transform 0.2s ease-in;
  animation: slideInFromLeft 1s ease-in;
  padding-bottom: 0;
  height: 420px;
  width: 350px;
}

.blog .card i {
  margin-bottom: 20px;
  color: var(--primary-colour);
}

.blog .card:hover {
  transition: transform 0.1s ease-in;
  transform: scale(1.01, 1.01);
  box-shadow: 0 6px 20px rgba(8, 8, 8, 0.2);
}

.blog .card img {
  margin-bottom: 10px;
  color: var(--primary-colour);
  width: 300px;
  animation: none;
}

.blog .card h1,
.blog .card h2,
.blog .card h3,
.blog .card h4 {
  text-align: center;
  animation: none;
  padding: 10px;
  margin: 0;
  color: var(--primary-colour);
}

.blog h1 {
  font-size: 60px;
}

.blog h2 {
  font-size: 48px;
  text-align: center;
}

.blog h3:hover {
  transition: transform 0.1s ease-in;
  color: var(--secondary-colour);
}

.blog p {
  font-size: 20px;
  text-align: left;
}

.blog .card p {
  margin: 20px 0;
  text-align: left;
  color: var(--primary-colour);
  font-size: 16px;
}

.blog i {
  justify-self: center;
  animation: slideInFromRight 1s ease-in;
}

/* Footer */
.footer {
  height: auto;
  background: linear-gradient(
    to right,
    var(--dark-colour) 20%,
    var(--primary-colour)
  );
}
.footer .social a {
  margin: 0 5px;
}

.footer h1 {
  font-size: 24px;
}

.footer p {
  font-size: 12px;
}

.footer .social {
  text-align: end;
}

.footer .social i:hover {
  transition: transform 0.1s ease-in;
  transform: translateY(-5%);
  color: var(--secondary-colour);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.footer .logo img {
  width: 180px;
  padding-top: 15px;
}

/* Animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(+100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideInFromTop {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(+100%);
  }

  100% {
    transform: translateY(0);
  }
}

/* Tablets and under */
@media (max-width: 768px) {
  .grid,
  .showcase .grid,
  .portfolio .grid,
  .about .grid,
  .why .grid,
  .blog .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .showcase {
    height: auto;
  }

  .showcase-text {
    text-align: center;
    margin-top: 40px;
    animation: slideInFromLeft 1s ease-in;
  }

  .showcase img {
    margin-bottom: 80px;
  }

  .about {
    height: auto;
  }

  .about .text-center h2,
  .about .text-center p {
    text-align: center;
  }

  .about .grid-2 {
    grid-template-columns: 1fr;
    display: flex;
    flex-wrap: wrap;
  }

  .about .card {
    text-align: center;
    margin: 18px 10px 40px;
    transition: transform 0.2s ease-in;
    animation: slideInFromLeft 1s ease-in;
    padding-bottom: 0;
    height: 220px;
    width: 160px;
  }

  .about .card i {
    margin-bottom: 20px;
    color: var(--primary-colour);
  }

  .about .card img {
    margin-bottom: 10px;
    color: var(--primary-colour);
    width: 50px;
  }

  .about .card h1,
  .about .card h2,
  .about .card h3,
  .about .card h4 {
    text-align: center;
    animation: none;
    padding: 0;
    margin: 0;
    color: var(--primary-colour);
  }

  .about .flex {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    max-width: 90%;
  }

  .why .grid-2 {
    grid-template-columns: 70% 30%;
    overflow: visible;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 20px;
  }

  .why .grid-4 {
    grid-template-columns: 1fr;
    display: flex;
    flex-wrap: wrap;
  }

  .why .flex {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    max-width: 90%;
  }

  .why i {
    animation: slideInFromRight 1s ease-in;
  }

  .why .why-text {
    font-size: 50px;
    animation: slideInFromLeft 1s ease-in;
    grid-column: 1 / span 1;
    position: relative;
    height: auto;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
  }

  .blog .blog-grid-2 {
    grid-template-columns: 1fr;
    overflow: visible;
    height: 100%;
    padding-top: 20px;
    flex-wrap: wrap;
  }

  .blog .flex {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    max-width: 90%;
  }
}

/* Mobile */
@media (max-width: 500px) {
  .navbar {
    height: 110px;
  }

  .navbar .flex {
    flex-direction: column;
    overflow: visible;
  }

  .navbar ul {
    padding: 10px;
  }

  .navbar .logo img {
    margin: auto;
    position: relative;
  }

  .showcase-text {
    animation: slideInFromBottom 1s ease-in;
  }

  .showcase img {
    animation: slideInFromBottom 1s ease-in;
  }

  .about .text-center {
    animation: slideInFromBottom 1s ease-in;
  }

  .about .card {
    animation: slideInFromBottom 1s ease-in;
  }

  .why .grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    animation: slideInFromBottom 1s ease-in;
  }

  .why .why-text h2,
  .why .why-text p {
    text-align: center;
  }

  .why .grid-4 {
    padding: 10px;
    margin: 10px;
  }

  .why p {
    justify-self: center;
  }

  .portfolio .grid {
    animation: slideInFromBottom 1s ease-in;
  }

  .contact .screen {
    animation: slideInFromBottom 1s ease-in;
  }

  .blog .grid-2 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    animation: slideInFromBottom 1s ease-in;
  }

  .footer .social {
    text-align: end;
    font-size: 14px;
  }
}

/* Contact */
*,
*:before,
*:after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.contact {
  display: none;
}

.contact .background {
  display: flex;
  min-height: 50vh;
  padding: 80px;
}

.contact .container {
  flex: 0 1 700px;
  margin: auto;
  padding: 10px;
  overflow: visible;
}

.contact body,
button,
input {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--primary-colour);
}

.screen {
  position: relative;
  background: #fff;
  border-radius: 15px;
  justify-self: flex-end;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  animation: slideInFromLeft 1s ease-in;
}

.screen:hover {
  transition: ease-in 0.2s;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.screen-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(
    to right,
    var(--primary-colour) 20%,
    var(--secondary-colour)
  );
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  position: relative;
}

.screen-header-left {
  margin-right: auto;
}

.screen-header-button {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  border-radius: 8px;
  background: white;
}

.screen-header-button.close {
  background: #ed1c6f;
}

.screen-header-button.maximize {
  background: #e8e925;
}

.screen-header-button.minimize {
  background: #74c54f;
}

.screen-header-right {
  display: flex;
}

.screen-header-ellipsis {
  width: 3px;
  height: 3px;
  margin-left: 2px;
  border-radius: 8px;
  background: rgb(255, 255, 255);
}

.screen-body {
  display: flex;
}

.screen-body-item {
  flex: 1;
  padding: 50px;
}

.screen-body-item.left {
  display: flex;
  flex-direction: column;
}

.app-title {
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--primary-colour);
  font-size: 26px;
  font-weight: 700;
}

.app-title:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 25px;
  height: 4px;
  background: var(--primary-colour);
}

.app-contact {
  margin-top: auto;
  font-size: 8px;
  color: var(--primary-colour);
}

.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--primary-colour);
  color: var(--primary-colour);
  font-size: 14px;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s;
}

.app-form-control::placeholder {
  color: #666;
  font-weight: 300;
}

.app-form-control:focus {
  border-bottom-color: var(--dark-colour);
}

.app-form-button {
  background: none;
  border: none;
  color: var(--primary-colour);
  font-size: 14px;
  cursor: pointer;
  outline: none;
  font-weight: bold;
}

.contact .btn {
  border-radius: 10px;
  background: linear-gradient(
    to right,
    var(--primary-colour) 20%,
    var(--secondary-colour)
  );
}

.contact .btn:hover {
  border-radius: 10px;
  background: linear-gradient(
    to right,
    var(--primary-colour) 20%,
    var(--secondary-colour)
  );
  transition: 10b0ms linear;
}

@media screen and (max-width: 520px) {
  .screen-body {
    flex-direction: column;
  }

  .screen-body-item.left {
    margin-bottom: 30px;
  }

  .app-title {
    flex-direction: row;
  }

  .app-title span {
    margin-right: 12px;
  }

  .app-title:after {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .screen-body {
    padding: 40px;
  }

  .screen-body-item {
    padding: 0;
  }
}
