html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Will highlight the record in the table if id of the record is passed in URL*/
.highlight {
    background-color: #efef8b; 
    transition: background-color 1s ease-in-out;
}

/* Sets the min height on a card in cardyvirlit, so they all align */
.card-kortyvirlit-item {
    min-height: 200px;
    max-width: 300px
}

/* Ensure that the card footer always stays at the
bottom and the body stretches to fill the space. */
.card {
    display: flex;
    flex-direction: column;
}

.card-body {
    flex-grow: 1; /* This makes the body expand */
}
/* END of section */

/* Set the max widht of image in the card,
and scale it proportionally */
.card-img-kortyvirlit-item {
    max-width: 300px;
    height: auto; /* Keeps aspect ratio */
}
/* Set effect to image in kortyvirlit item on hover*/
.card-img-kortyvirlit-item {
    transition: transform 0.3s ease; /* Smooth zoom transition */
}
.card-img-kortyvirlit-item:hover {
    transform: scale(1.1); /* Scale the image to 110% of its original size */
}
/* END of section*/


/* Sets the button size and margins used for moving items */

.btn-move-item {
    margin-right: 6px;
    background-color: slategray;
}