.darkblue-background {
  background: linear-gradient(to right, rgba(22,17,64), rgba(57,53,106));
}
.nav-scroll {
  height: 65px;
  transition: 0.2s;
  padding-bottom: 10px;
}

body {
  font-family: Calibri;
  font-size: 18px;
  background-color:rgb(197, 195, 208);
}

#mainNavbar a:hover {
  text-decoration: none;
  color:white !important;
}

#mainBody a {
  text-decoration: none;
  font-size: 20px;
  box-shadow: -7px 7px red;
  background-color: #fff;
  transition: 0.2s;
}
#logo{
  height: -moz-fit-content ;
  width: -moz-fit-content  ;
  height: fit-content ;
  width: fit-content ;
}

.red-title {
  font-weight: bold;
  font-family: Montserrat, sans-serif;
  font-size: 25px;
}

p {
  color: black;
  font-family: Calibri;
}
h2 {
  color: rgba(22,17,64);
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-weight: bold;
}
.text-rules p {
  color: #231D46;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
}

.underline-selected {
  display: inline-block;
  position: relative;
}
.underline-selected:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: red;
  transform-origin: bottom left;
  transition: transform 0.25s ease-out;
  transform: scaleX(0.5);
  transform-origin: bottom left;
}
.underline-animation {
  display: inline-block;
  position: relative;
  color: white;
}
.underline-animation:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom left;
  transition: transform 0.25s ease-out;
}
.underline-animation:hover:after {
  transform: scaleX(0.5);
  transform-origin: bottom left;
}

.pie-foto {
  text-align: center;
  font-size: smaller;
  font-style: italic;
}
