:root[data-theme="light"] {
  --text: #02030d;
  --background: #f1f4fe;
  --primary: #2844bd;
  --secondary: #2bca4d;
  --accent: #5eed5e;
}
:root[data-theme="dark"] {
  --text: #f2f3fd;
  --background: #01040e;
  --primary: #425dd7;
  --secondary: #35d458;
  --accent: #12a112;
}

body {
  background-color: var(--background) !important;
  color: var(--text) !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar-brand {
  > img {
    height: 6vh;
  }
}

.navbar-buttons {
  margin-right: 40%;
}

.card .card-body .card-text img {
  width: 100%;
  height: auto;
}

.carousel > .carousel-inner > .carousel-item > img{
  width:240px; /* Yeap you can change the width and height*/
  height: 70vh;
  background-repeat: no-repeat;
  /*background-size: cover !important;*/
  object-fit: cover;
}

.wrapper .title{
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  line-height: 100px;
  color: #fff;
  user-select: none;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(-135deg, #c850c0, #4158d0);
}

footer{
  margin-top: auto;
}

.bg-1 {
  background-image: url('../img/background.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.bg-2 {
  background-image: url('../img/background2.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.bg-3 {
  background-image: url('../img/background3.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.pillar-card {
  transition-duration: 0.3s;
}

.pillar-card:hover {
  box-shadow: 0 0 5px 0 var(--primary);
  background-color: rgba(0,0,0,0.03);
}

.text-title {
  color: white;
  margin-top: 5%;
}

.homepage-hero {
  max-height: 60vh;
  overflow: hidden;

  img {
    max-height: 60vh;
    width: 100vw;
    object-fit: cover;
  }
}

.news-card {
  .card-img-top {
    aspect-ratio: 2/1;
    object-fit: cover;
  }

  align-items: stretch;
}

@media only screen and (max-width: 768px) {
  .text-title {
    color: black;
    margin-top: 20%;
  }

  .activity .card-body img {
    max-height: 100vh;
  }
}

@media only screen and (min-width: 1650px) {
  .text-title {
    margin-top: 10%;
  }
}

@media only screen and (min-width: 768px) {
  .activity .card-body img {
    max-width: 50%;
    max-height: 50vh;
  }
}

.login-card {
  min-width: 40%;
}

.contain {
  object-fit: contain !important;
}