:root {
  --color-primary: #006fc4;
  --color-primary-green: #04af3a;
  --color-primary-light: #8bc3ed;
  --color-primary-dark: #002d8f;
  --color-light: #ffffff;
  --color-dark-grey: #717f9c;
  --color-black: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
}

body {
  width: 100%;
  font-size: 16px;
  background-color: var(--color-light);
  color: var(--color-black);
  font-family: Arial, Helvetica, sans-serif;
  display: block;
  background: linear-gradient(45deg, #ffffff 0%, #d8eaf3 100%);
}

section {
  margin: 1rem 0 2.5rem 0;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.row {
  margin: 1rem 0;
}

.card {
  background-color: var(--color-light);
  border-radius: 15px !important;
  border: solid var(--color-grey) 1px !important;
  font-size: 16px;
  height: 100% !important;
  text-align: justify;
  text-justify: inter-word;
}

.containerGrafico {
  width: 100%;
  height: 30rem;
  padding: 2rem;
}

section .card-body {
  font-size: 16px;
}

section .card-text {
  font-size: 14px;
}

.card-font {
  font-size: 12px;
  font-weight: bolder;
  opacity: 0.5;
}

nav {
  z-index: 1050;
  width: 10rem;
  position: fixed;
  height: 100vh;
  background: var(--color-primary-dark);
  background: linear-gradient(0deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  justify-content: center;
  padding: 1rem !important;
  color: var(--color-light);
  gap: 1rem;
}

nav .nav-link {
  color: var(--color-light);
  text-decoration: none;
  text-align: center;
  z-index: 10;
  font-size: 14px;
  opacity: 0.7;
}

.nav-logo {
  display: block;
  width: 100%;
  height: 6rem;
  content: '';
  margin-bottom: 3rem;
  background-image: url(../imgs/Logo-vertical.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-filter: drop-shadow(0px 0px 5px #ffffff2d);
  filter: drop-shadow(0px 0px 5px #ffffff2d);
}

.nav-link {
  color: var(--color-light) !important;
  text-decoration: none;
  text-align: center;
  z-index: 10;
  font-size: 1rem;
  opacity: 0.7;
}

#nav-menu,
nav button {
  visibility: hidden;
  position: absolute;
}

.contentWrapper {
  padding: 2rem 2rem 2rem 12rem;
  position: relative;
  width: 100vw;
}

.contentWrapper-main {
  width: 100%;
  position: sticky;
  margin: 1rem 0 2.5rem 0;
  top: 1rem;
  z-index: 10;
  border-radius: 15px;
  padding: 1rem;
  background-color: var(--color-light);
  font-weight: bold;
  border: solid var(--color-grey) 1px;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.contentWrapper-main button {
  background-color: var(--color-light);
  color: var(--color-primary-dark);
  padding: 0.5rem 2rem;
  flex: 1;
}

.contentWrapper-main--buttons {
  display: flex;
  flex-direction: column;
  position: sticky;
  width: 100%;
  flex: 4;
}

.scoreConteiner {
  width: 10rem;
  flex-direction: column;
  flex: 1;
}

.scoreConteiner .scoreConteiner-info {
  transition: 1s;
  font-size: 16px;
  line-height: 1.3rem;
  font-weight: lighter;
  -webkit-text-stroke: 0.5px var(--color-black);
}

.progress {
  width: 100%;
  margin-top: 0.5rem;
  flex: 1;
}

#scoreBar {
  width: 100%;
}

.dbCard {
  font-size: 14px;
  color: var(--color-dark-grey);
}

.dbCard span:first-child {
  text-transform: uppercase;
}

.dbCard-row--title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-grey);
  margin-top: 0.5rem;
}

.dbCard-text {
  flex: 1 !important;
}

.dbCard-text span {
  font-weight: bold;
  display: block;
}

.dbCard .row {
  width: 100%;
  margin: 0;
}

.dbCard .col {
  flex: 0;
}

.dbCard-icon {
  width: 2.4rem !important;
  height: 2.4rem;
  min-width: 2.4rem;
  min-height: 2.4rem;
  background-color: var(--color-primary-dark);
}

.dbCard-inst {
  -webkit-mask-image: url(../imgs/endpoint.svg);
  mask-image: url(../imgs/endpoint.svg);
}

.dbCard-orig {
  -webkit-mask-image: url(../imgs/tag.svg);
  mask-image: url(../imgs/tag.svg);
}

.menu-btn {
  display: none;
}

@media screen and (max-width: 1000px) {
  nav {
    width: 100%;
    height: 5rem;
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.5rem !important;
  }

  .nav-logo {
    background-image: url(../imgs/logo.png);
    height: 3.5rem !important;
    width: 10rem !important;
    margin-bottom: 0 !important;
    margin-right: auto !important;
  }

  nav .nav-link {
    display: none;
  }

  .nav-admin {
    display: none;
  }

  .menu-btn {
    display: inline-block !important;
    width: auto;
    visibility: visible;
    position: relative !important;
    padding: 8px 16px;
    color: white !important;
    margin-left: auto;
    margin-top: 10px;
  }

  .menu {
    display: none;
  }

  .menu.collapse.show {
    display: block !important;
    visibility: visible !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-primary-dark);
    padding: 1rem;
    z-index: 1000;
  }

  .menu-item {
    display: block;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 10px;
  }

  .scoreConteiner {
    width: 48%;
  }

  .scoreConteiner .progress {
    width: 60%;
    height: 1.5rem !important;
    min-height: 1.5rem !important;
  }

  .contentWrapper {
    padding: 6rem 1.5rem 1.5rem 1.5rem;
    width: 100%;
  }

  .contentWrapper-main {
    flex-direction: row;
    flex-wrap: wrap;
    /* position: relative; */
    top: 5.5rem;
  }

  .contentWrapper-main--buttons {
    flex: 0 0 100%;
  }

  .col-9 {
    width: 100% !important;
    margin-bottom: 1rem;
  }

  .col-3 {
    width: 100% !important;
  }

  .col-3 .card {
    height: auto !important;
    padding: 0.5rem;
  }

  .dbCard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0.3rem 2rem;
  }

  .dbCard span:first-child {
    grid-column: 1 / 3;
    grid-row: 1;
    margin-bottom: 0.5rem;
  }

  .dbCard-row--title:first-of-type {
    grid-column: 1;
    grid-row: 2;
  }
  .dbCard .row:first-of-type {
    grid-column: 1;
    grid-row: 3;
  }

  .dbCard-row--title:last-of-type {
    grid-column: 2;
    grid-row: 2;
  }
  .dbCard .row:last-of-type {
    grid-column: 2;
    grid-row: 3;
  }
  .scoreConteiner .scoreConteiner-info {
    font-size: 14px;
    line-height: 1.1rem;
  }
}

.nav-admin {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-light);
  opacity: 0.25;
  line-height: 0;
  transition: opacity 0.2s;
}

.nav-admin:hover,
.nav-admin:focus-visible {
  opacity: 0.9;
}
